:root {
  --bg-deep: #050510;
  --bg-card: rgba(10, 8, 30, 0.92);
  --gold: #c9a84c;
  --gold-dim: rgba(201, 168, 76, 0.3);
  --gold-glow: rgba(201, 168, 76, 0.15);
  --teal: #2dd4bf;
  --teal-dim: rgba(45, 212, 191, 0.15);
  --crimson: #6b3fa0;
  --crimson-bright: #a87cc4;
  --text-heading: #f5f0e8;
  --text-body: #c8bfa8;
  --text-dim: rgba(200, 191, 168, 0.6);
  --font-display: 'IM Fell English', serif;
  --font-label: 'Philosopher', serif;
  --font-body: 'Crimson Pro', serif;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-deep);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  overflow-x: hidden;
  cursor: default;
}

/* ── STARFIELD ── */
#stars-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── NEBULA ── */
.nebula {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  animation: nebula-pulse 20s ease-in-out infinite;
}
.nebula-1 { width: 800px; height: 800px; background: radial-gradient(circle, #0d4a4a, transparent); top: -200px; left: -200px; animation-delay: 0s; }
.nebula-2 { width: 600px; height: 600px; background: radial-gradient(circle, #1a0a3d, transparent); bottom: 10%; right: -100px; animation-delay: -7s; }
.nebula-3 { width: 500px; height: 500px; background: radial-gradient(circle, #3d1a00, transparent); top: 40%; left: 30%; animation-delay: -14s; }

@keyframes nebula-pulse {
  0%, 100% { transform: scale(1); opacity: 0.07; }
  50% { transform: scale(1.15); opacity: 0.12; }
}

/* ── LAYOUT ── */
.page-wrapper {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── DIVIDER ── */
.ornament {
  display: block;
  text-align: center;
  font-family: var(--font-label);
  color: var(--gold);
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  margin: 2.5rem 0;
  opacity: 0.7;
}

.line-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dim), transparent);
  margin: 2rem 0;
}

/* ── HEADER ── */
header {
  text-align: center;
  padding: 5rem 1rem 3rem;
}

.sacred-eye {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  animation: sacred-spin 30s linear infinite;
  filter: drop-shadow(0 0 16px rgba(201,168,76,0.5));
}

@keyframes sacred-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  color: var(--text-heading);
  text-shadow: 0 0 60px rgba(201,168,76,0.4), 0 0 120px rgba(201,168,76,0.15);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

header .subtitle {
  font-family: var(--font-label);
  font-size: 1rem;
  color: var(--crimson-bright);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.light-beam {
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  margin: 1.5rem auto;
  box-shadow: 0 0 12px var(--teal);
  animation: beam-flicker 4s ease-in-out infinite;
}

@keyframes beam-flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.intro-text {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.9;
  opacity: 0.85;
}

/* ── SCROLL INDICATOR ── */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 0 1.5rem;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: scroll-bounce 2s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(6px); opacity: 0.9; }
}

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 18px;
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 60px rgba(45,212,191,0.04), 0 0 0 1px rgba(201,168,76,0.05);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.3s ease;
}

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

.card:hover {
  box-shadow: 0 8px 80px rgba(201,168,76,0.08), 0 0 0 1px rgba(201,168,76,0.15);
}

/* ── LIVRO DIGITAL (TOP) ── */
.download-section {
  text-align: center;
  padding: 1rem 0 1rem;
}

.download-section .section-label {
  font-family: var(--font-label);
  font-size: 1rem;
  color: var(--crimson-bright);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.download-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--gold);
  text-shadow: 0 0 30px rgba(201,168,76,0.3);
  margin-bottom: 0.4rem;
}

.download-section .edition-label {
  font-family: var(--font-label);
  font-size: 0.95rem;
  color: var(--crimson-bright);
  letter-spacing: 0.25em;
  margin-bottom: 2rem;
  display: block;
}

/* ── DOWNLOAD BOX ── */
.download-box {
  background: rgba(10, 8, 30, 0.85);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
}

.download-box .book-cover-wrap {
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-glow {
  position: absolute;
  width: 180px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.5), rgba(201,168,76,0.15), transparent);
  filter: blur(30px);
  z-index: 0;
  animation: cover-pulse 3s ease-in-out infinite;
}

@keyframes cover-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.book-cover-img {
  width: 180px;
  height: 220px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 20px rgba(201,168,76,0.5));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.book-cover-img:hover {
  transform: scale(1.07);
  filter: drop-shadow(0 0 36px rgba(201,168,76,0.8));
}

.download-box-compact {
  padding: 1.8rem;
  gap: 1.8rem;
}

.download-section .card + .card {
  margin-top: 1.2rem;
}

.download-info h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
}

.download-bullets {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.download-bullets li {
  font-size: 0.95rem;
  color: var(--text-body);
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.download-bullets li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.65rem;
  top: 0.45rem;
}

.btn-download {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), #a88832);
  color: #0a0820;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 24px rgba(201,168,76,0.35);
}

.btn-download:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 40px rgba(201,168,76,0.55);
}

.btn-meta {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.6rem;
}

/* ── BOOK LABELS ── */
.book-label {
  font-family: var(--font-label);
  font-size: 0.85rem;
  color: var(--crimson-bright);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.book-header {
  margin-bottom: 1.25rem;
}

.book-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: var(--gold);
  text-shadow: 0 0 20px rgba(201,168,76,0.25);
}

.book-desc {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.85;
  margin-top: 1.25rem;
}

/* ── VIDEO ── */
.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: opacity 0.4s ease;
}

.play-btn-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(201,168,76,0.2);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold);
  transition: background 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(4px);
}

.play-btn-circle:hover {
  background: rgba(201,168,76,0.4);
  transform: scale(1.1);
}

.video-label {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}

/* ── QUOTE BANNER ── */
.quote-banner {
  text-align: center;
  padding: 3rem 1.5rem;
  margin: 2rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.quote-banner.visible {
  opacity: 1;
  transform: translateY(0);
}

.quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-heading);
  max-width: 620px;
  margin: 0 auto 1rem;
  line-height: 1.9;
  opacity: 0.9;
}

.quote-ref {
  font-family: var(--font-label);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* ── STAR BUTTON ── */
.star-btn {
  background: none;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 8px;
  padding: 0.3rem 0.6rem;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-dim);
  transition: color 0.2s, background 0.2s;
}

.star-btn:hover {
  color: var(--gold);
  background: rgba(201,168,76,0.1);
}

/* ── FREQUÊNCIAS SAGRADAS ── */
.freq-section {
  text-align: center;
  padding: 1rem 0 2rem;
}

.freq-section .section-label {
  font-family: var(--font-label);
  font-size: 1rem;
  color: var(--crimson-bright);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.freq-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: var(--gold);
  text-shadow: 0 0 30px rgba(201,168,76,0.3);
  margin-bottom: 0.5rem;
}

.freq-subtitle {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.freq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 750px;
  margin: 0 auto;
}

.freq-card {
  background: var(--bg-card);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 16px;
  padding: 1.8rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.3s ease;
}

.freq-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.freq-card:hover {
  box-shadow: 0 4px 40px rgba(201,168,76,0.1), 0 0 0 1px rgba(201,168,76,0.2);
}

/* Ring animado */
.freq-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(201,168,76,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 0.5rem;
}

.freq-ring-inner {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.freq-ring.playing {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201,168,76,0.3);
}

.freq-ring.playing .freq-ring-inner {
  opacity: 1;
  animation: ring-wave 1.5s ease-out infinite;
}

@keyframes ring-wave {
  0% { transform: scale(1); opacity: 0.6; border-color: rgba(201,168,76,0.4); }
  100% { transform: scale(1.6); opacity: 0; border-color: rgba(201,168,76,0); }
}

.freq-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(201,168,76,0.1);
  border: 1.5px solid rgba(201,168,76,0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.freq-btn:hover {
  background: rgba(201,168,76,0.2);
  transform: scale(1.08);
}

.freq-btn.active {
  background: rgba(201,168,76,0.25);
  box-shadow: 0 0 16px rgba(201,168,76,0.4);
}

.freq-btn-icon {
  color: var(--gold);
  font-size: 1.1rem;
  margin-left: 2px;
}

.freq-hz {
  font-family: var(--font-label);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.freq-name {
  font-family: var(--font-label);
  font-size: 0.78rem;
  color: var(--crimson-bright);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.freq-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-top: 0.3rem;
}

@media (max-width: 600px) {
  .freq-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    max-width: 320px;
  }
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 3rem 1rem 4rem;
}

.footer-eye {
  display: block;
  font-size: 2rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 12px rgba(201,168,76,0.4));
}

.footer-tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto 0.75rem;
}

.footer-copy {
  font-family: var(--font-label);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.2em;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .download-box {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .book-cover-img {
    width: 140px;
    height: 180px;
  }

  .cover-glow {
    width: 130px;
    height: 170px;
  }

  .download-info h3 {
    text-align: center;
  }

  .download-bullets {
    text-align: left;
  }

  header {
    padding: 3rem 1rem 2rem;
  }

  .card {
    padding: 1.5rem;
  }
}

/* ── FREQUÊNCIAS BLOQUEADAS (UPSELL) ── */
.freq-locked-section {
  position: relative;
}

.freq-card-locked {
  position: relative;
  overflow: hidden;
  pointer-events: none;
}

.freq-card-locked .freq-ring {
  filter: blur(2px);
  opacity: 0.4;
  user-select: none;
}

.freq-card-locked .freq-hz,
.freq-card-locked .freq-name,
.freq-card-locked .freq-desc {
  filter: none;
  opacity: 0.7;
  user-select: none;
}

.freq-lock-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0.8rem;
  gap: 0.2rem;
  cursor: pointer;
  pointer-events: auto;
  border-radius: 16px;
  background: rgba(5, 5, 16, 0.25);
  transition: background 0.3s ease;
}

.freq-lock-overlay:hover {
  background: rgba(5, 5, 16, 0.4);
}

.lock-icon {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 10px rgba(201,168,76,0.5));
}

.lock-text {
  font-family: var(--font-label);
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* Botão Desbloquear */
.btn-unlock {
  display: inline-block;
  margin-top: 2rem;
  background: linear-gradient(135deg, #25d366, #128c48);
  color: #fff;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 30px rgba(37, 211, 102, 0.35);
}

.btn-unlock:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 45px rgba(37, 211, 102, 0.5);
}

.unlock-meta {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.6rem;
  font-family: var(--font-label);
  letter-spacing: 0.1em;
}
