@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a1a 0%, #1a1030 50%, #0a0a1a 100%);
  font-family: 'Inter', sans-serif;
  color: #d6d0e0;
  overflow-x: hidden;
}

/* ─── Stars ─── */
.stars { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.star {
  position: absolute; width: 2px; height: 2px;
  background: white; border-radius: 50%;
  animation: twinkle 3s infinite;
}
@keyframes twinkle { 0%,100% { opacity: 0.15; } 50% { opacity: 0.6; } }

/* ─── Nav ─── */
.nav {
  position: fixed; top: 0; left: 0; width: 100%;
  padding: 16px 30px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 26, 0.85);
  border-bottom: 1px solid rgba(255, 215, 0, 0.08);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; color: #ffd700;
  letter-spacing: 1px; text-decoration: none;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
}
.nav-links a {
  color: #a098b0; text-decoration: none;
  font-size: 0.88rem; font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover { color: #ffd700; }
.nav-cta {
  padding: 9px 22px;
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 0.85rem;
  color: #0a0a1a;
  background: linear-gradient(135deg, #ffd700, #ffb347);
  border: none; border-radius: 30px;
  cursor: pointer; transition: all 0.3s;
  text-decoration: none;
}
.nav-cta:hover { box-shadow: 0 4px 20px rgba(255,215,0,0.4); transform: translateY(-1px); }

/* ─── Hero ─── */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 100px 20px 60px;
}
.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 30px;
  color: #ffd700; font-size: 0.8rem;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.8rem; line-height: 1.12;
  background: linear-gradient(135deg, #ffd700 0%, #f5c6d0 40%, #ffd700 80%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: 700px; margin-bottom: 20px;
  animation: fadeInDown 1s ease 0.1s both;
}
.hero p {
  font-size: 1.2rem; color: #a098b0;
  max-width: 520px; line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeInDown 1s ease 0.2s both;
}
.hero-cta {
  display: inline-block;
  padding: 18px 52px;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: #0a0a1a;
  background: linear-gradient(135deg, #ffd700, #ffb347, #ffd700);
  border: none; border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 30px rgba(255,215,0,0.25);
  transition: all 0.3s; text-decoration: none;
  animation: fadeInDown 1s ease 0.3s both;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(255,215,0,0.4); }
.hero-sub {
  margin-top: 16px;
  font-size: 0.85rem; color: #6a6280;
  animation: fadeInDown 1s ease 0.4s both;
}

/* Demo spinner */
.hero-demo {
  margin-top: 50px;
  animation: fadeIn 1.5s ease 0.5s both;
  display: flex; flex-direction: column; align-items: center;
}
.demo-wheel-wrapper {
  position: relative;
  width: 280px; height: 280px;
}
.demo-pointer {
  position: absolute; top: -16px; left: 50%;
  transform: translateX(-50%); z-index: 10;
  font-size: 32px; color: #ffd700;
  filter: drop-shadow(0 2px 8px rgba(255,215,0,0.6));
  animation: pointerBounce 1s ease infinite;
}
@keyframes pointerBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(4px); }
}
#demoWheel {
  width: 280px; height: 280px;
  border-radius: 50%;
  box-shadow:
    0 0 30px rgba(212,160,176,0.3),
    0 0 60px rgba(212,160,176,0.15),
    inset 0 0 20px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: filter 0.3s;
}
#demoWheel:hover { filter: brightness(1.08); }
.demo-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #1a0a2e;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  box-shadow: 0 0 20px rgba(255,215,0,0.4);
  pointer-events: none; z-index: 5;
}
.demo-spin-btn {
  margin-top: 20px;
  padding: 14px 40px;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: #0a0a1a;
  background: linear-gradient(135deg, #ffd700, #ffb347, #ffd700);
  border: none; border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 25px rgba(255,215,0,0.4);
  transition: all 0.3s;
  letter-spacing: 0.5px;
}
.demo-spin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 35px rgba(255,215,0,0.6);
}
.demo-spin-btn:disabled {
  opacity: 0.5; cursor: not-allowed; transform: none;
}
.demo-result {
  margin-top: 20px;
  padding: 20px 32px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  text-align: center;
  opacity: 0; transform: translateY(15px) scale(0.95);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 360px;
}
.demo-result.visible {
  opacity: 1; transform: translateY(0) scale(1);
}
.demo-result-icon {
  font-size: 40px; margin-bottom: 8px;
}
.demo-result-msg {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; color: #fff;
  line-height: 1.3;
  text-shadow: 0 0 20px rgba(255,215,0,0.2);
}
.demo-tagline {
  margin-top: 24px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: #8a82a0;
  letter-spacing: 0.5px;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Section base ─── */
.section {
  position: relative; z-index: 1;
  padding: 100px 20px;
}
.section-center { text-align: center; }
.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; color: #ffd700;
  margin-bottom: 16px;
}
.section .section-sub {
  font-size: 1.05rem; color: #8a82a0;
  max-width: 520px; margin: 0 auto 50px;
  line-height: 1.6;
}

/* ─── How it works ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 900px; margin: 0 auto;
}
.step-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px; padding: 40px 24px;
  backdrop-filter: blur(8px);
  transition: all 0.3s;
}
.step-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,215,0,0.15);
  transform: translateY(-4px);
}
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 50%; color: #ffd700;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; margin-bottom: 20px;
}
.step-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: #fff; margin-bottom: 10px;
}
.step-card p { font-size: 0.9rem; color: #8a82a0; line-height: 1.6; }

/* ─── Comparison ─── */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px; max-width: 780px; margin: 0 auto;
}
.compare-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px; padding: 36px 28px;
  backdrop-filter: blur(8px);
}
.compare-card.highlight {
  border-color: rgba(255,215,0,0.3);
  background: rgba(255,215,0,0.04);
}
.compare-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; margin-bottom: 20px;
}
.compare-card.highlight h3 { color: #ffd700; }
.compare-card.dull h3 { color: #6a6280; }
.compare-list {
  list-style: none; display: flex;
  flex-direction: column; gap: 12px;
}
.compare-list li {
  font-size: 0.9rem; line-height: 1.5;
  padding-left: 28px; position: relative;
}
.compare-list li::before {
  position: absolute; left: 0; top: 0;
  font-size: 1rem;
}
.compare-card.dull .compare-list li { color: #6a6280; }
.compare-card.dull .compare-list li::before { content: '\2717'; color: #e74c3c; }
.compare-card.highlight .compare-list li { color: #c0b8d0; }
.compare-card.highlight .compare-list li::before { content: '\2713'; color: #2ecc71; }

/* ─── Occasions ─── */
.occasions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px; max-width: 680px; margin: 0 auto;
}
.occasion-card {
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  padding: 24px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s;
}
.occasion-card:hover {
  background: rgba(255,215,0,0.06);
  border-color: rgba(255,215,0,0.2);
  transform: translateY(-3px);
}
.occasion-emoji { font-size: 2rem; }
.occasion-name { font-size: 0.82rem; color: #c0b8d0; font-weight: 500; }

/* ─── Features ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px; max-width: 780px; margin: 0 auto;
}
.feature-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 28px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  transition: all 0.3s;
}
.feature-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,215,0,0.12);
}
.feature-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.feature-text h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; color: #fff; margin-bottom: 6px;
}
.feature-text p { font-size: 0.85rem; color: #8a82a0; line-height: 1.5; }

/* ─── Gift card section ─── */
.giftcard-banner {
  max-width: 780px; margin: 0 auto;
  background: rgba(255,215,0,0.04);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 24px; padding: 48px 40px;
  text-align: center;
}
.giftcard-banner h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; color: #fff; margin-bottom: 12px;
}
.giftcard-banner p {
  font-size: 1rem; color: #a098b0; line-height: 1.6;
  max-width: 500px; margin: 0 auto 24px;
}
.brand-logos {
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: 16px; margin-bottom: 24px;
}
.brand-pill {
  padding: 8px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  font-size: 0.82rem; color: #c0b8d0;
}
.giftcard-price {
  font-size: 0.9rem; color: #ffd700;
}

/* ─── Social proof / trust ─── */
.trust-grid {
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: 40px;
  max-width: 700px; margin: 0 auto;
}
.trust-item { text-align: center; }
.trust-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; color: #ffd700;
  display: block; margin-bottom: 4px;
}
.trust-label { font-size: 0.85rem; color: #8a82a0; }

/* ─── Final CTA ─── */
.final-cta {
  position: relative; z-index: 1;
  padding: 100px 20px;
  text-align: center;
}
.final-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  background: linear-gradient(135deg, #ffd700 0%, #f5c6d0 40%, #ffd700 80%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.final-cta p {
  font-size: 1.1rem; color: #a098b0;
  margin-bottom: 32px;
}
.final-cta .hero-cta { animation: none; }

/* ─── Footer ─── */
.footer {
  position: relative; z-index: 1;
  text-align: center; padding: 30px 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: #4a4260; font-size: 0.85rem;
}
.footer a { color: #6a6280; text-decoration: none; }
.footer a:hover { color: #ffd700; }

/* ─── Responsive ─── */
@media (max-width: 700px) {
  .hero h1 { font-size: 2.4rem; }
  .hero p { font-size: 1rem; }
  .steps-grid { grid-template-columns: 1fr; max-width: 360px; }
  .compare-grid { grid-template-columns: 1fr; }
  .occasions-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .giftcard-banner { padding: 32px 20px; }
  .final-cta h2 { font-size: 2rem; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 2rem; }
  .hero-cta { padding: 15px 36px; font-size: 1.05rem; }
  .occasions-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-wheel-wrapper { width: 240px; height: 240px; }
  #demoWheel { width: 240px; height: 240px; }
  .demo-result-msg { font-size: 1.2rem; }
}
