/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-deep: #0a0a1a;
  --bg-card: rgba(15, 12, 30, 0.85);
  --bg-card-hover: rgba(25, 20, 50, 0.9);
  --text-primary: #e8e0f0;
  --text-secondary: rgba(232, 224, 240, 0.55);
  --text-muted: rgba(232, 224, 240, 0.35);
  --accent-gold: #daa520;
  --accent-gold-soft: rgba(218, 165, 32, 0.15);
  --accent-purple: #8b5cf6;
  --accent-purple-soft: rgba(139, 92, 246, 0.15);
  --accent-pink: #ff82aa;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --glow-gold: 0 0 30px rgba(218, 165, 32, 0.3);
  --glow-purple: 0 0 30px rgba(139, 92, 246, 0.3);
  --font-heading: 'Cinzel', serif;
  --font-body: 'Cormorant Garamond', serif;
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-deep);
  overflow-x: hidden;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 1px;
}

.nav-logo-img {
  width: 32px;
  height: 32px;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-gold);
}

.nav-cta {
  background: var(--accent-gold);
  color: #000 !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
}

.nav-cta:hover {
  background: #c4941c !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: url('assets/indexbg.jpg') center center / cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(10, 10, 26, 0.5) 0%, rgba(10, 10, 26, 0.78) 60%),
              linear-gradient(180deg, rgba(10, 10, 26, 0.25) 0%, rgba(10, 10, 26, 0.88) 100%);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.hero-logo {
  width: 300px;
  height: 300px;
  margin-bottom: 36px;
  animation: spin-glow 12s linear infinite;
  filter: drop-shadow(0 0 50px rgba(139, 92, 246, 0.5)) drop-shadow(0 0 80px rgba(218, 165, 32, 0.3));
}

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

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff 0%, var(--accent-gold) 50%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  text-shadow: none;
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), #c4941c);
  color: #000;
  font-weight: 700;
  box-shadow: var(--glow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(218, 165, 32, 0.5);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

.btn-ghost:hover {
  border-color: var(--accent-purple);
  background: var(--accent-purple-soft);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}

.hero-scroll-hint span {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  margin: 0 auto;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 40px);
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff, var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 18px;
  margin-bottom: 56px;
  font-style: italic;
}

/* ===== FEATURES ===== */
.features {
  position: relative;
  background: url('assets/awaitsbg.jpg') center center / cover no-repeat fixed;
}

.features::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    var(--bg-deep) 0%,
    rgba(10, 10, 26, 0.72) 10%,
    rgba(10, 10, 26, 0.65) 50%,
    rgba(10, 10, 26, 0.72) 90%,
    var(--bg-deep) 100%);
  z-index: 0;
}

.features > .container {
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.4s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--glow-purple);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--accent-gold);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  position: relative;
  background: url('assets/tarot2.jpg') center center / cover no-repeat fixed;
}

.how-it-works::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    var(--bg-deep) 0%,
    rgba(10, 10, 26, 0.7) 10%,
    rgba(10, 10, 26, 0.62) 50%,
    rgba(10, 10, 26, 0.7) 90%,
    var(--bg-deep) 100%);
  z-index: 0;
}

.how-it-works > .container {
  position: relative;
  z-index: 1;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 28px;
  max-width: 320px;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-gold);
  text-shadow: var(--glow-gold);
  margin-bottom: 20px;
}

.step h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.step p {
  color: var(--text-secondary);
  font-size: 16px;
}

.step-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  margin-top: 36px;
  flex-shrink: 0;
}

/* ===== ORACLES ===== */
.oracles {
  position: relative;
  background: url('assets/oraclechamber.jpg') center center / cover no-repeat fixed;
}

.oracles::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    var(--bg-deep) 0%,
    rgba(10, 10, 26, 0.7) 10%,
    rgba(10, 10, 26, 0.62) 50%,
    rgba(10, 10, 26, 0.7) 90%,
    var(--bg-deep) 100%);
  z-index: 0;
}

.oracles > .container {
  position: relative;
  z-index: 1;
}

.oracles-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.oracle-card {
  width: calc(25% - 15px);
}

.oracle-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
  transition: all 0.4s;
}

.oracle-card:hover {
  border-color: rgba(218, 165, 32, 0.3);
  transform: translateY(-5px);
  box-shadow: var(--glow-gold);
}

.oracle-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center top;
  position: relative;
}
.oracle-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(15, 12, 30, 0.95) 100%);
}

.oracle-card-body {
  padding: 18px 18px 22px;
}

.oracle-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 4px;
  color: var(--accent-gold);
}

.oracle-character {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 13px;
  color: rgba(218, 165, 32, 0.6);
  margin-bottom: 10px;
}

.oracle-card p:last-child {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  position: relative;
  background: url('assets/tarot1.jpg') center center / cover no-repeat fixed;
}

.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    var(--bg-deep) 0%,
    rgba(10, 10, 26, 0.72) 10%,
    rgba(10, 10, 26, 0.65) 50%,
    rgba(10, 10, 26, 0.72) 90%,
    var(--bg-deep) 100%);
  z-index: 0;
}

.testimonials > .container {
  position: relative;
  z-index: 1;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 32px 28px;
  text-align: center;
}

.testimonial-stars {
  color: var(--accent-gold);
  font-size: 18px;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.testimonial-card p {
  color: var(--text-secondary);
  font-size: 16px;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 16px;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--accent-gold);
  letter-spacing: 1px;
}

/* ===== FAQ ===== */
.faq {
  position: relative;
  background: url('assets/seekersbg.jpg') center center / cover no-repeat fixed;
}

.faq::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    var(--bg-deep) 0%,
    rgba(10, 10, 26, 0.72) 10%,
    rgba(10, 10, 26, 0.65) 50%,
    rgba(10, 10, 26, 0.72) 90%,
    var(--bg-deep) 100%);
  z-index: 0;
}

.faq > .container {
  position: relative;
  z-index: 1;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  text-align: left;
}

.faq-toggle {
  font-size: 24px;
  color: var(--accent-gold);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

/* ===== DOWNLOAD ===== */
.download {
  position: relative;
  text-align: center;
  background: url('assets/enterchamber.jpg') center center / cover no-repeat fixed;
  padding: 120px 0;
}

.download::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    var(--bg-deep) 0%,
    rgba(10, 10, 26, 0.72) 10%,
    rgba(10, 10, 26, 0.6) 50%,
    rgba(10, 10, 26, 0.72) 90%,
    rgba(10, 10, 26, 0.95) 100%);
  z-index: 0;
}

.download > .container {
  position: relative;
  z-index: 1;
}

.download-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.4));
}

.download-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-block;
  transition: transform 0.3s;
}

.store-badge:hover {
  transform: scale(1.05);
}

.store-svg {
  height: 54px;
  width: 180px;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo {
  width: 28px;
  height: 28px;
}

.footer-brand p {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .oracle-card {
    width: calc(50% - 10px);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .step-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--accent-gold), transparent);
    margin: 0;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .oracle-card {
    width: 100%;
  }
  .hero-logo {
    width: 220px;
    height: 220px;
  }
  .section {
    padding: 64px 0;
  }
}

/* ===== Cosmic Weather ===== */
.cosmic-weather { background: linear-gradient(180deg, rgba(10,10,26,0) 0%, rgba(40,20,70,0.35) 50%, rgba(10,10,26,0) 100%); }
.weather-card {
  max-width: 860px;
  margin: 48px auto 0;
  background: rgba(15, 10, 35, 0.6);
  border: 1px solid rgba(218, 165, 32, 0.25);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35), 0 0 40px rgba(218,165,32,0.08);
}
.weather-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0a1a;
  object-fit: cover;
  display: block;
}
.weather-body { padding: 32px 36px 36px; }
.weather-date {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(218, 165, 32, 0.9);
  margin-bottom: 12px;
}
.weather-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
  white-space: pre-wrap;
}
.weather-text strong { color: #fff; font-weight: 600; }
.weather-loading, .weather-error {
  padding: 80px 24px;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
}
@media (max-width: 640px) {
  .weather-body { padding: 22px 20px 26px; }
  .weather-text { font-size: 1.05rem; }
}

/* ===== Download section QR ===== */
.download-qr {
  margin-top: 40px;
  text-align: center;
}
.download-qr-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(218, 165, 32, 0.85);
  margin-bottom: 18px;
}
.download-qr-img {
  width: 180px;
  height: 180px;
  background: #fff;
  padding: 12px;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(218, 165, 32, 0.12);
  transition: transform 0.3s, box-shadow 0.3s;
}
.download-qr-img:hover {
  transform: scale(1.04);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(218, 165, 32, 0.2);
}
@media (max-width: 640px) {
  .download-qr-img { width: 150px; height: 150px; }
}

/* Disabled store badge (Coming Soon) */
.store-badge-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}
