body.catalogPage {
  background: #000;
  color: #fff;
}

body.catalogPage .mainContent {
  display: block;
  padding: 2rem;
  margin-left: 250px; /* Space for floating header */
}

/* External link styles */
.external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.external-link:hover {
  color: #9ECD20;
}

.external-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* Back to Top Button */
.backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: rgba(158, 205, 32, 0.9);
  border: none;
  border-radius: 50%;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.backToTop:hover {
  background: rgba(158, 205, 32, 1);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.backToTop svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 828px) {
  .backToTop {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
  }
  
  .backToTop svg {
    width: 20px;
    height: 20px;
  }
}

.releaseLink {
  margin-top: 1rem;
}

body.catalogPage .mainContent .pageHeader {
  display: flex;
  align-items: center;
  font-weight: 700;
  padding-bottom: 1rem;
}

@media screen and (max-width: 828px) {
  body.catalogPage .mainContent .pageHeader {
    justify-content: center;
  }
}

body.catalogPage .mainContent .pageHeader .pageTitle {
  font-size: 3.2rem;
}

@media screen and (max-width: 1366px) {
  body.catalogPage .mainContent .pageHeader .pageTitle {
    font-size: 2.3426061493vw;
  }
}

@media screen and (max-width: 828px) {
  body.catalogPage .mainContent .pageHeader .pageTitle {
    font-size: 3.8647342995vw;
  }
}

body.catalogPage .mainContent .pageHeader .langSelect {
  display: flex;
  align-items: center;
  margin-left: 48px;
}

@media screen and (max-width: 1366px) {
  body.catalogPage .mainContent .pageHeader .langSelect {
    margin-left: 3.513909224vw;
  }
}

@media screen and (max-width: 828px) {
  body.catalogPage .mainContent .pageHeader .langSelect {
    margin-left: 7.729468599vw;
  }
}

body.catalogPage .mainContent .pageHeader .langSelect_item {
  color: #aaa;
  line-height: 1;
  padding-bottom: 4px;
  font-size: 3.2rem;
}

@media screen and (max-width: 1366px) {
  body.catalogPage .mainContent .pageHeader .langSelect_item {
    padding-bottom: 0.2928257687vw;
    font-size: 2.3426061493vw;
  }
}

@media screen and (max-width: 828px) {
  body.catalogPage .mainContent .pageHeader .langSelect_item {
    padding-bottom: 0.9661835749vw;
    font-size: 5.7971014493vw;
  }
}

body.catalogPage .mainContent .pageHeader .langSelect_item.is-current {
  color: #fff;
  border-bottom: 2px solid #fff;
}

body.catalogPage .mainContent .pageHeader .langSelect_item:not(:first-child) {
  margin-left: 24px;
}

@media screen and (max-width: 1366px) {
  body.catalogPage .mainContent .pageHeader .langSelect_item:not(:first-child) {
    margin-left: 1.756954612vw;
  }
}

@media screen and (max-width: 828px) {
  body.catalogPage .mainContent .pageHeader .langSelect_item:not(:first-child) {
    margin-left: 5.7971014493vw;
  }
}

body.catalogPage .mainContent .pageHeader .langSelect_item:not(:first-child)::before {
  content: "/";
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  color: #aaa;
  left: -16px;
}

@media screen and (max-width: 1366px) {
  body.catalogPage .mainContent .pageHeader .langSelect_item:not(:first-child)::before {
    left: -1.1713030747vw;
  }
}

@media screen and (max-width: 828px) {
  body.catalogPage .mainContent .pageHeader .langSelect_item:not(:first-child)::before {
    left: -3.8647342995vw;
  }
}

.catalogHeader {
  width: 100%;
  margin-bottom: 3rem;
  padding: 3rem;
  background: #111;
  border: 1px solid #333;
}

.catalogTitle {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #fff;
}

.catalogSubtitle {
  font-size: 1.3rem;
  color: #ccc;
  margin-bottom: 3rem;
}

.catalogControls {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  align-items: center;
}

.searchInput {
  flex: 1;
  max-width: 350px;
  padding: 1rem 1.25rem !important;
  border-bottom: 2px solid #333 !important;
  background: #000;
  color: #fff;
  font-size: 1.2rem;
}

.searchInput::placeholder {
  color: #ccc;
}

.searchInput:focus {
  outline: none;
  border-bottom-color: #fff !important;
}

.sortSelect {
  padding: 1rem 1.25rem;
  border: 1px solid #333;
  background: #000;
  color: #fff;
  font-size: 1.2rem;
}

.viewModes {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.viewModeBtn {
  padding: 0.75rem 1.5rem;
  background: #000;
  border: 1px solid #333;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.5rem;
}

.viewModeBtn.active {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.catalogGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}

.seriesCard {
  background: #111;
  border: 1px solid #333;
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.seriesCard:hover {
  transform: translateY(-3px);
  border-color: #fff;
}

.seriesImage {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #222;
}

.seriesContent {
  padding: 2rem;
}

.seriesTitle {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  color: #fff;
}

.seriesLead {
  color: #ccc;
  font-size: 1.3rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.seriesReleasesCount {
  background: #000;
  color: #fff;
  border: 1px solid #333;
  padding: 0.5rem 1rem;
  font-size: 1.3rem;
  display: inline-block;
}

.loading {
  text-align: center;
  padding: 3rem;
  background: #111;
  border: 1px solid #333;
  margin: 3rem 0;
}

.loading p {
  color: #fff;
  margin-top: 1.5rem;
  font-size: 1.2rem;
}

.spinner {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 5px solid #333;
  border-top: 5px solid #fff;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.errorMessage {
  background: #dc3545;
  color: white;
  padding: 1.5rem;
  border: 1px solid #dc3545;
  text-align: center;
  margin: 3rem 0;
  font-size: 1.2rem;
}

.backButton {
  background: #000;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: 1px solid #333;
  cursor: pointer;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.backButton:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.seriesDetail {
  max-width: none;
  margin: 0;
  padding: 0;
}

.seriesHeader {
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
  background: #111;
  border: 1px solid #333;
  padding: 3rem;
}

.seriesDetailImage {
  width: 50%;
  object-fit: cover;
}

.seriesDetailContent {
  justify-items: center;
  flex: 1;
}

.seriesDetailTitle {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1.25rem;
  color: #fff;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.seriesDetailTitle:only-child {
  margin-bottom: 0;
}

.seriesDetailLead {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.seriesDetailDescription {
  color: #fff;
  line-height: 1.6;
  font-size: 1.5rem;
}

.releasesSection {
  background: #111;
  border: 1px solid #333;
  padding: 3rem;
  margin-bottom: 3rem;
}

.releasesSection h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #fff;
}

.releaseItem {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  border-bottom: 1px solid #333;
  transition: background-color 0.3s ease;
}

.releaseItem:hover {
  background-color: #222;
}

.releaseItem:last-child {
  border-bottom: none;
}

.releaseImage {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.releaseImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.releaseContent {
  flex: 1;
}

.releaseTitle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #fff;
}
.artistProfileImage{
  width: auto;
  margin-bottom: 3rem;
}

.releaseFormat {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  margin-bottom: 0.75rem;
}

.releaseStatus {
  color: #fff;
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}
.releaseInfo {
  color: #fff;
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.noDataMessage {
  text-align: center;
  padding: 4rem;
  background: #111;
  border: 1px solid #333;
  margin: 3rem 0;
}

.noDataMessage h3 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.noDataMessage p {
  color: #ccc;
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
}

.noDataMessage ul {
  text-align: left;
  margin: 1.5rem 0;
  font-size: 1.5rem;
}

.noDataMessage li {
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.noDataMessage code {
  background: #222;
  padding: 0.25rem 0.5rem;
  color: #fff;
}

@media (max-width: 768px) {
  body.catalogPage .mainContent {
    margin-left: 0;
  }
  
  .catalogControls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .catalogGrid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  .seriesDetailImage {
    width: 100%;
  }
  
  .releaseItem {
    flex-direction: column;
    gap: 1rem;
  }
  
  .releaseImage {
    width: 120px;
    height: 120px;
    align-self: center;
  }
}
