:root {
  color-scheme: dark;
  --bg: #0b0a0d;
  --surface: #15131a;
  --surface-light: #1f1b25;
  --accent: #e2c59b;
  --accent-soft: #f7e2c4;
  --text: #f4efe6;
  --muted: #c2b6a6;
  --border: rgba(226, 197, 155, 0.25);
  --shadow: 0 18px 30px rgba(4, 3, 6, 0.5);
  --radius: 12px;
  font-family: "Georgia", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(circle at top, #19151f 0%, var(--bg) 60%);
  color: var(--text);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

body.midnight {
  --accent: #7fd7ff;
  --accent-soft: #c7f0ff;
  --border: rgba(127, 215, 255, 0.35);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.02) 0px,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 3px
    ),
    radial-gradient(circle at 20% 20%, rgba(226, 197, 155, 0.06), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(226, 197, 155, 0.05), transparent 35%);
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  padding: 32px 6vw 80px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-logo {
  margin: 12px 0 18px;
}

.hero-logo img {
  width: min(760px, 92vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 18px rgba(226, 197, 155, 0.35));
  margin: 0 auto;
}

.hero-logo-wrap {
  position: relative;
  width: min(760px, 92vw);
  margin: 0 auto;
  display: block;
}

.lantern-glow {
  position: absolute;
  top: 48%;
  left: 73%;
  width: clamp(30px, 4vw, 42px);
  height: clamp(30px, 4vw, 42px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(247, 226, 196, 0.95) 0%,
    rgba(226, 197, 155, 0.72) 36%,
    rgba(226, 197, 155, 0.3) 68%,
    transparent 100%
  );
  box-shadow:
    0 0 10px rgba(247, 226, 196, 0.75),
    0 0 24px rgba(226, 197, 155, 0.5),
    0 0 42px rgba(226, 197, 155, 0.28);
  filter: blur(0.3px);
  animation: lanternDrift 5600ms ease-in-out infinite;
}

.lantern-glow::after {
  content: "";
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: rgba(255, 241, 214, 0.92);
  box-shadow: 0 0 8px rgba(255, 241, 214, 0.8);
}

@keyframes lanternDrift {
  0% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(0.9);
    box-shadow: 0 0 10px rgba(247, 226, 196, 0.65), 0 0 22px rgba(226, 197, 155, 0.4), 0 0 38px rgba(226, 197, 155, 0.2);
  }
  14% {
    opacity: 0.78;
    transform: translate(-50.4%, -50.4%) scale(1.08);
    box-shadow: 0 0 14px rgba(247, 226, 196, 0.88), 0 0 30px rgba(226, 197, 155, 0.62), 0 0 50px rgba(226, 197, 155, 0.34);
  }
  31% {
    opacity: 0.56;
    transform: translate(-49.9%, -50.1%) scale(0.95);
    box-shadow: 0 0 10px rgba(247, 226, 196, 0.7), 0 0 24px rgba(226, 197, 155, 0.45), 0 0 40px rgba(226, 197, 155, 0.22);
  }
  47% {
    opacity: 0.82;
    transform: translate(-50.2%, -50%) scale(1.1);
    box-shadow: 0 0 15px rgba(247, 226, 196, 0.9), 0 0 32px rgba(226, 197, 155, 0.66), 0 0 54px rgba(226, 197, 155, 0.36);
  }
  66% {
    opacity: 0.54;
    transform: translate(-50%, -50.2%) scale(0.94);
    box-shadow: 0 0 10px rgba(247, 226, 196, 0.68), 0 0 23px rgba(226, 197, 155, 0.44), 0 0 39px rgba(226, 197, 155, 0.21);
  }
  82% {
    opacity: 0.76;
    transform: translate(-50.3%, -50.1%) scale(1.06);
    box-shadow: 0 0 13px rgba(247, 226, 196, 0.84), 0 0 29px rgba(226, 197, 155, 0.6), 0 0 48px rgba(226, 197, 155, 0.31);
  }
  100% {
    opacity: 0.52;
    transform: translate(-50%, -50%) scale(0.92);
    box-shadow: 0 0 10px rgba(247, 226, 196, 0.68), 0 0 23px rgba(226, 197, 155, 0.43), 0 0 39px rgba(226, 197, 155, 0.2);
  }
}

body.midnight .hero-logo img {
  filter: drop-shadow(0 0 22px rgba(127, 215, 255, 0.5));
}

.logo-mark {
  font-size: 20px;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;

  .hero {
    margin-top: 40px;
  }

  .hero-logo img {
    width: min(520px, 92vw);
  }

  .section {
    padding: 64px 6vw;
  }
  color: var(--muted);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
    align-items: center;
  border-radius: 999px;

  .site-header {
    padding: 24px 6vw 60px;
  }

  .nav {
    align-items: flex-start;
  }

  .hero-copy {
    max-width: 100%;
  }

  .tier-grid,
  .perks-grid,
  .testimonial-grid,
  .music-grid,
  .album-grid {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 28px;
  }

  .gate-form {
    flex-direction: column;
    align-items: stretch;
  }

  .gate-form input {
    width: 100%;
  }
  font-size: 13px;

@media (max-width: 420px) {
  .hero-logo img {
    width: 92vw;
  }

  .eyebrow {
    letter-spacing: 0.2em;
  }
}
}

.hero {
  display: flex;
  justify-content: center;
  margin-top: 70px;
}

.hero-content {
  text-align: center;
  max-width: 760px;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 4.6vw, 4.2rem);
  margin: 12px 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 11px;
  color: var(--muted);
}

.hero-copy {
  max-width: 620px;
  margin: 0 auto;
}

.hero-vault-hint {
  margin: -6px auto 12px;
  color: var(--accent-soft);
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  text-shadow: 0 0 12px rgba(247, 226, 196, 0.35);
}

.album-strip {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 10px;
  margin-top: 18px;
  overflow-x: auto;
  white-space: nowrap;
}

.album-icon {
  width: 132px;
  height: 132px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  background: rgba(15, 12, 18, 0.6);
  overflow: hidden;
}

.album-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  justify-content: center;
}

.hero-note {
  margin-top: 16px;
  color: var(--muted);
}

.hero-note-line {
  display: block;
  margin-top: 6px;
}

.hero-art {
  position: relative;
  min-height: 280px;
  background: radial-gradient(circle, rgba(226, 197, 155, 0.12), transparent 70%);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-art .orb {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 65%);
  top: 40px;
  right: 30px;
}

.hero-art .moon {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  bottom: 40px;
  left: 40px;
  opacity: 0.7;
}

.hero-art .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(16, 10, 20, 0.8), transparent 60%);
}

.section {
  padding: 80px 6vw;
}

.section.band {
  background: linear-gradient(180deg, rgba(21, 19, 26, 0.9), rgba(12, 10, 13, 0.85));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.midnight-panel {
  text-align: center;
}

.midnight-panel .section-title {
  margin-left: auto;
  margin-right: auto;
}

.midnight-panel blockquote {
  margin-top: 16px;
  font-style: italic;
  color: var(--accent-soft);
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.tier-card {
  background: var(--surface);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.tier-card.featured {
  background: linear-gradient(180deg, #2a241e, var(--surface));
  border-color: var(--accent);
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--accent);
  color: #130e08;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.price {
  font-size: 32px;
  margin: 12px 0 20px;
}

.price span {
  font-size: 14px;
  color: var(--muted);
}

.tier-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.tier-card li::before {
  content: "✦";
  color: var(--accent);
  margin-right: 8px;
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.perk-card {
  background: var(--surface-light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.perk-art {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  padding: 0;
  overflow: hidden;
}

.perk-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.ritual {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.ritual-content ol {
  margin-top: 16px;
  padding-left: 18px;
  color: var(--muted);
}

.ritual-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.testimonial-grid article {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.testimonial-grid span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 16px;
}

details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
}

details summary {
  cursor: pointer;
  font-weight: 600;
}

details p {
  margin-top: 12px;
  color: var(--muted);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(226, 197, 155, 0.12), rgba(18, 14, 20, 0.9));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  margin: 0 6vw 80px;
}

.btn {
  border: none;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #1b1206;
  box-shadow: 0 10px 25px rgba(226, 197, 155, 0.25);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn:hover {
  transform: translateY(-2px);
}

.premium-only[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  border-style: dashed;
}

.premium-only {
  display: none;
}

.site-footer {
  padding: 40px 6vw 60px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
}

.footer-note {
  color: var(--muted);
  font-size: 13px;
}

.gate-form {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.gate-form input {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 6px;
  min-width: 240px;
  font-family: inherit;
}

.gate-message {
  color: var(--muted);
  font-size: 14px;
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.album-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.album-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(5, 4, 7, 0.65);
}

.album-cover {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, rgba(226, 197, 155, 0.2), rgba(11, 10, 13, 0.9));
  display: grid;
  place-items: center;
  color: var(--accent-soft);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  overflow: hidden;
}

.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album-meta {
  padding: 16px 18px 20px;
}

.playlist {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px 22px;
  max-width: 980px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.playlist-header {
  margin-bottom: 14px;
}

.playlist-header h3 {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.music-room .section-title,
.music-room .gate-form,
.music-room .gate-message {
  text-align: center;
}

.gate-message {
  margin-bottom: 20px;
  display: block;
}

.music-room .section-title {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 18px;
}

.music-room .gate-form {
  justify-content: center;
}

.music-room audio {
  width: 100%;
  margin: 8px 0 10px;
}

.track-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.track-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px minmax(160px, 220px) auto;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.track-row:last-child {
  border-bottom: none;
}

.track-info {
  display: grid;
  gap: 4px;
}

.track-title {
  font-size: 16px;
  font-weight: 700;
}

.track-meta {
  font-size: 13px;
  color: var(--muted);
}

.track-runtime {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.track-audio {
  width: 100%;
  max-width: 220px;
  height: 28px;
}

.premium-download {
  margin-top: 6px;
  margin-bottom: 6px;
  text-decoration: none;
  padding: 4px 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.muted {
  color: var(--muted);
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .logo {
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    z-index: 2;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid var(--border);
    position: absolute;
    top: 70px;
    right: 6vw;
  }
}

@media (max-width: 640px) {
  .perk-art {
    height: 180px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta {
    margin: 0 6vw 60px;
  }
  .track-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .track-audio {
    max-width: 100%;
  }

  .premium-download {
    margin-top: 0;
  }
}

.classified-terminal {
  position: fixed;
  inset: 0;
  background: rgba(7, 6, 9, 0.84);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 40;
}

.classified-terminal[hidden] {
  display: none;
}

.classified-terminal__window {
  width: min(760px, 92vw);
  max-height: 80vh;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(16, 14, 20, 0.96), rgba(10, 9, 12, 0.98));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.classified-terminal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
}

.classified-terminal__bar h2 {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.classified-terminal__close {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  cursor: pointer;
}

.classified-terminal__close:hover {
  color: var(--text);
  border-color: var(--accent);
}

.classified-terminal__output {
  padding: 16px;
  overflow-y: auto;
  max-height: calc(80vh - 56px);
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  line-height: 1.5;
}

.classified-terminal__line {
  color: var(--accent-soft);
  margin-bottom: 8px;
}

.classified-terminal__line::before {
  content: "> ";
  color: var(--accent);
}


/* Auth controls in nav */
.nav-auth-controls{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.nav-auth-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.18);
  text-decoration:none;
  font-weight:600;
  line-height:1;
  cursor:pointer;
  background:rgba(0,0,0,0.25);
}
.nav-auth-link:hover{opacity:0.92;}
.nav-auth-primary{
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.10);
}
.nav-auth-button{
  color: inherit;
}

/* Member console */
.hero-compact .hero-title{font-size:clamp(2rem, 3vw, 2.75rem);}
.section-panel .panel-grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.panel-card{
  grid-column: span 12;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 18px;
}
@media (min-width: 900px){
  .panel-card{grid-column: span 6;}
  .panel-card:last-child{grid-column: span 12;}
}
.kv{display:grid; grid-template-columns: 160px 1fr; gap:10px 16px; margin:0;}
.kv dt{opacity:0.8;}
.kv dd{margin:0; font-weight:600;}
.muted{opacity:0.8;}
.small{font-size:0.92rem;}
.notice{margin-top:14px; padding:12px 14px; border-radius:14px; border:1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.06);}
.quick-links{display:flex; gap:12px; flex-wrap:wrap;}
.sub-list{list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px;}
.sub-title{font-weight:700;}
.sub-meta{opacity:0.82; font-size:0.95rem;}
.form{margin-top:16px;}
.form label{display:block; margin:10px 0;}
.form input{width:100%; max-width:420px;}
.form-msg{margin-top:10px;}
