/* =========================================================
   ThetaSound Catalog Manager Pro
========================================================= */

.theta-catalog-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 150px 24px 95px;
  background:
    radial-gradient(circle at 50% 12%, rgba(155,232,255,.15), transparent 34%),
    radial-gradient(circle at 20% 80%, rgba(180,156,255,.08), transparent 32%),
    linear-gradient(180deg, #020204 0%, #050508 58%, #030305 100%);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.theta-catalog-hero > * {
  position: relative;
  z-index: 2;
}

.theta-catalog-hero h1 {
  max-width: 1200px;
  margin: 0 auto 28px;
  color: #fff !important;
  font-size: clamp(54px, 7.4vw, 126px);
  line-height: .82;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.theta-catalog-hero p:not(.section-kicker) {
  max-width: 760px;
  margin: 0 auto;
  color: #b9bfd6 !important;
  font-size: clamp(16px, 1.35vw, 22px);
  line-height: 1.55;
}

.theta-catalog-pro {
  padding: 86px 24px 140px;
  background:
    radial-gradient(circle at 50% 0%, rgba(155,232,255,.08), transparent 38%),
    linear-gradient(180deg, #030305, #080810);
}

.theta-catalog-mode-switch {
  max-width: 720px;
  margin: 0 auto 58px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
}

.theta-catalog-mode-switch button {
  border: none;
  border-radius: 999px;
  padding: 15px 18px;
  cursor: pointer;
  background: transparent;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: .25s ease;
}

.theta-catalog-mode-switch button.active {
  color: #030305;
  background: linear-gradient(90deg, #9be8ff, #b49cff);
  box-shadow: 0 0 34px rgba(155,232,255,.20);
}

.theta-catalog-mode {
  display: none;
}

.theta-catalog-mode.active {
  display: block;
}

.theta-albums-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.theta-album-card {
  cursor: pointer;
}

.theta-album-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  background: #0b0b10;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 28px 90px rgba(0,0,0,.50);
  transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}

.theta-album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.86) contrast(1.06);
  transition: transform .5s ease, filter .5s ease;
}

.theta-album-card:hover .theta-album-cover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(155,232,255,.50);
  box-shadow: 0 42px 120px rgba(0,0,0,.70), 0 0 44px rgba(155,232,255,.13);
}

.theta-album-card:hover .theta-album-cover img {
  transform: scale(1.06);
  filter: brightness(1.02) contrast(1.06);
}

.theta-album-info {
  padding: 20px 4px 0;
}

.theta-album-info h3 {
  color: #fff !important;
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.theta-album-info p {
  color: #9be8ff !important;
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.theta-album-info span {
  color: #aeb0c2 !important;
  font-size: 13px;
}

.theta-track-searchbar {
  max-width: 900px;
  margin: 0 auto 34px;
}

.theta-track-searchbar input {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(155,232,255,.25);
  background: rgba(255,255,255,.045);
  color: #fff;
  padding: 18px 24px;
  outline: none;
  font-size: 15px;
}

.theta-track-searchbar input::placeholder {
  color: rgba(255,255,255,.42);
}

.theta-tracks-list {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.theta-track-row {
  display: grid;
  grid-template-columns: auto 1fr minmax(240px, auto) 60px;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(155,232,255,.07), transparent 38%),
    linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.09);
  transition: .25s ease;
}

.theta-track-row:hover,
.theta-track-row.active {
  border-color: rgba(155,232,255,.42);
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
}

.theta-track-row.is-hidden {
  display: none;
}

.theta-track-row-play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(155,232,255,.44);
  background: rgba(255,255,255,.045);
  color: #fff;
  cursor: pointer;
}

.theta-track-row-main strong {
  color: #fff !important;
  display: block;
  font-size: 18px;
}

.theta-track-row-main span {
  display: block;
  color: #aeb0c2 !important;
  font-size: 12px;
  margin-top: 4px;
}

.theta-track-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.theta-track-row-tags span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(155,232,255,.08);
  color: #9be8ff !important;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.theta-track-row-duration {
  color: #aeb0c2 !important;
  font-size: 13px;
  text-align: right;
}

.theta-catalog-player {
  position: sticky;
  bottom: 22px;
  z-index: 50;
  max-width: 1180px;
  margin: 54px auto 0;
  display: grid;
  grid-template-columns: 54px 1fr auto auto auto 2fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(8,8,14,.86);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 100px rgba(0,0,0,.65);
  backdrop-filter: blur(18px);
}

.theta-catalog-player-cover {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #111;
  background-size: cover;
  background-position: center;
}

.theta-catalog-player-info strong {
  display: block;
  color: #fff !important;
  font-size: 14px;
}

.theta-catalog-player-info span {
  display: block;
  color: #aeb0c2 !important;
  font-size: 12px;
  margin-top: 3px;
}

.theta-catalog-prev,
.theta-catalog-next,
.theta-catalog-main-play {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  border: 1px solid rgba(155,232,255,.35);
  background: rgba(255,255,255,.045);
  color: #fff;
  cursor: pointer;
}

.theta-catalog-main-play {
  width: 48px;
  height: 48px;
}

.theta-catalog-progress {
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.14);
  cursor: pointer;
}

.theta-catalog-progress div {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #9be8ff, #b49cff);
}

.theta-catalog-time {
  color: #aeb0c2 !important;
  font-size: 12px;
  min-width: 42px;
}

.theta-empty {
  text-align: center;
  color: #aeb0c2 !important;
}

@media(max-width: 900px) {
  .theta-catalog-pro {
    padding: 58px 16px 110px;
  }

  .theta-catalog-mode-switch {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .theta-albums-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .theta-album-info h3 {
    font-size: 20px;
  }

  .theta-track-row {
    grid-template-columns: auto 1fr;
  }

  .theta-track-row-tags,
  .theta-track-row-duration {
    display: none;
  }

  .theta-catalog-player {
    grid-template-columns: 44px 1fr auto;
    gap: 10px;
  }

  .theta-catalog-prev,
  .theta-catalog-next,
  .theta-catalog-progress,
  .theta-catalog-time {
    display: none;
  }
}
