:root {
  --bg: #0f1020;
  --accent: #b6a7ff;
  --muted: #9fa0d8;
  --glass: rgba(255,255,255,0.06);
}

@font-face {
  font-family: 'Anastacia Script';
  src: url('fonts/AnastaciaScript.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

.anastacia-soft {
  font-family: 'Anastacia Script', cursive;
  font-size: 2.2rem;
  letter-spacing: 0.12em;   /* THIS is critical */
  line-height: 1.4;
  color: #5a5a5a;

  /* font smoothing */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, #1b1c3a, #0f1020);
  color: #f5f5f5;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =====================
   HERO / BRAND
===================== */

.hero {
  text-align: center;
  padding: 5rem 2rem 4rem;
}

.hero .glyph {
  font-size: 3rem;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.club-name {
  font-family: 'UnifrakturMaguntia', cursive;
  font-size: 3.8rem;
  letter-spacing: 0.12em;
  margin: 0.6rem 0 0.2rem;
}

.club-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--muted);
}

.tagline {
  font-style: italic;
  color: var(--muted);
  font-size: 0.95rem;
}

/* =====================
   SECTIONS
===================== */
.fun-font {
  font-family: 'Pacifico', cursive;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--accent);
}


h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  letter-spacing: 0.04em;
}


.section {
  max-width: 900px;
  margin: 4rem auto;
  padding: 3rem;
  background: var(--glass);
  border-radius: 30px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  position: relative;
}

.section::before {
  content: "✶";
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 5rem;
  opacity: 0.04;
}

.featured {
  text-align: center;
}

.dark {
  background: rgba(0,0,0,0.4);
}

/* =====================
   TYPOGRAPHY
===================== */





h2, h3, h4 {
  font-family: 'Playfair Display', serif;
}

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

.label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.7rem;
  color: var(--accent);
}

/* =====================
   BUTTONS (GLOW FIXED)
===================== */

.btn {
  display: block;
  width: fit-content;
  margin: 2.5rem auto 0;
  padding: 0.85rem 2.4rem;
  border-radius: 40px;
  background: var(--accent);
  color: #0f1020;
  text-decoration: none;
  font-weight: 500;
  transition:
    box-shadow 0.4s ease,
    transform 0.3s ease;
}

.btn:hover {
  box-shadow:
    0 0 12px rgba(182,167,255,0.7),
    0 0 30px rgba(182,167,255,0.45),
    0 0 60px rgba(182,167,255,0.25);
  transform: translateY(-2px);
}

/* =====================
   DECOR
===================== */

.divider {
  margin: 2rem 0;
  text-align: center;
  letter-spacing: 1rem;
  opacity: 0.5;
}

/* =====================
   READING TIMELINE
===================== */

.reading-timeline {
  margin: 3rem auto 2rem;
  max-width: 520px;
}

.timeline-track {
  position: relative;
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  overflow: hidden;
}

.timeline-progress {
  position: absolute;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #ffffff);
  transition: width 0.8s ease;
}

.planet-marker {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -60%);
  font-size: 1.5rem;
  color: #ffffff;
  transition: left 0.8s ease;
}

.planet-marker .tooltip {
  position: absolute;
  bottom: 160%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.75);
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  font-size: 0.7rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.planet-marker:hover .tooltip {
  opacity: 1;
}

.timeline-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.6rem;
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: var(--muted);
}

/* =====================
   BOOK GRID
===================== */

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.book-card {
  background: rgba(0,0,0,0.3);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
}

.mini-glyph {
  font-size: 2rem;
  display: block;
  opacity: 0.6;
}

/* =====================
   GATHERINGS
===================== */

.gatherings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
  margin-top: 2rem;
}

.gathering-card {
  background: rgba(0,0,0,0.35);
  padding: 2.5rem;
  border-radius: 24px;
  text-align: center;

  display: flex;
  flex-direction: column;
}

.gathering-card .btn {
  margin-top: auto;
}



/* =====================
   AUDIO ORBIT (RESTORED)
===================== */

.audio-orbit {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 2rem auto 2.5rem;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(182,167,255,0.4);
  border-radius: 50%;
  animation: orbitPulse 3s ease-in-out infinite;
}

.orbit-ring.delay {
  animation-delay: 1.5s;
  opacity: 0.6;
}

.orbit-glyph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent);
}

@keyframes orbitPulse {
  0% { transform: scale(0.9); opacity: 0.4; }
  50% { transform: scale(1.05); opacity: 0.9; }
  100% { transform: scale(0.9); opacity: 0.4; }
}

/* =====================
   AUDIO PLAYER
===================== */

audio {
  width: 100%;
  margin-top: 1.5rem;
  filter: drop-shadow(0 0 10px rgba(182,167,255,0.25));
}

/* =====================
   FOOTER
===================== */

footer {
  text-align: center;
  padding: 3rem;
  color: var(--muted);
}

/* =====================
   NOTES AVAILABILITY
===================== */

.unavailable {
  opacity: 0.45;
}

.notes-unavailable {
  display: block;
  margin-top: 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =====================
   LEARN PAGE
===================== */

.aspect-visual {
  text-align: center;
  margin: 2rem 0;
}

.circle {
  width: 220px;
  height: 220px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  margin: 0 auto 1rem;
  position: relative;
}

.planet {
  position: absolute;
  font-size: 1.5rem;
}

.planet.a {
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.planet.b {
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.aspect-list {
  max-width: 500px;
  margin: 2rem auto;
  line-height: 1.8;
}

/* =====================
   INTERACTIVE ASPECT GAME
===================== */

.aspect-ui {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#zodiac {
  position: relative;
  width: 300px;
  height: 300px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  margin-bottom: 2rem;
}

#center {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.planet {
  position: absolute;
  font-size: 1.6rem;
  cursor: pointer;
  user-select: none;
}

.fixed {
  transform: translateX(-50%);
}

#aspect-line {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#line {
  stroke: var(--muted);
  stroke-width: 2;
}

.aspect-readout {
  text-align: center;
  font-size: 1rem;
}

/* =====================
   RESPONSIVE DESIGN
===================== */

/* Tablets & small laptops */
@media (max-width: 900px) {

  .section {
    margin: 2.5rem 1.5rem;
    padding: 2.5rem;
  }

  .club-name {
    font-size: 3rem;
    letter-spacing: 0.08em;
  }

  .reading-timeline {
    max-width: 100%;
  }

  .book-grid,
  .gatherings-grid {
    grid-template-columns: 1fr;
  }
}

/* Phones */
@media (max-width: 600px) {

  body {
    font-size: 0.95rem;
  }

  .hero {
    padding: 3.5rem 1.2rem 3rem;
  }

  .glyph {
    font-size: 2.4rem;
  }

  .club-name {
    font-size: 2.4rem;
    letter-spacing: 0.06em;
  }

  .club-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
  }

  .section {
    margin: 2rem 1rem;
    padding: 2rem 1.5rem;
    border-radius: 22px;
  }

  .section::before {
    display: none;
  }

  h2 {
    font-size: 1.7rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 0.9rem 1.5rem;
  }

  .reading-timeline {
    margin: 2rem auto;
  }

  .timeline-labels {
    font-size: 0.6rem;
  }

  .audio-orbit {
    width: 90px;
    height: 90px;
    margin: 1.5rem auto 2rem;
  }

  audio {
    margin-top: 1rem;
  }
}

/* Very small phones */
@media (max-width: 400px) {

  .club-name {
    font-size: 2.1rem;
  }

  .section {
    padding: 1.6rem 1.2rem;
  }

  .tagline {
    font-size: 0.85rem;
  }
}

/* =====================
   WHATSAPP PORTAL
===================== */

.join-group {
  text-align: center;
}

.join-title {
  margin-bottom: 2rem;
  font-family: 'Playfair Display', serif;
}

/* Portal button */
.whatsapp-portal {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  text-decoration: none;
  overflow: hidden;
}

/* Glow ring */
.portal-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182,167,255,0.25), transparent 70%);
  animation: pulseGlow 3s ease-in-out infinite;
}

/* Text */
.portal-text {
  position: relative;
  z-index: 2;
  color: var(--accent);
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Hover effect */
.whatsapp-portal:hover .portal-glow {
  animation: none;
  box-shadow:
    0 0 20px rgba(182,167,255,0.8),
    0 0 60px rgba(182,167,255,0.4);
}

/* Animation */
@keyframes pulseGlow {
  0% {
    transform: scale(0.9);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.5;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .whatsapp-portal {
    width: 150px;
    height: 150px;
  }

  .portal-text {
    font-size: 0.8rem;
  }
}

/* Disabled button (events) */
.btn.disabled {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.15);
  cursor: default;
  box-shadow: none;
  opacity: 0.7;
}

.btn.disabled:hover {
  transform: none;
  box-shadow: none;
}

/* =====================
   GLYPH BUTTON (NEW STYLE)
===================== */

.glyph-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 3rem auto 0;
  text-decoration: none;
  color: var(--accent);
}

/* symbol */
.glyph-symbol {
  font-size: 3rem;
  opacity: 0.8;
  animation: breathe 4s ease-in-out infinite;
}

/* text */
.glyph-label {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* hover = slight awakening */
.glyph-btn:hover .glyph-symbol {
  opacity: 1;
  transform: scale(1.1);
}

/* breathing animation */
@keyframes breathe {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}
