/* ----------------------------------------------------
   STUDENT REWARDS — ONE DAY ML FLASH COURSE CAMPAIGN
   Warm Sunset Gold & Ivory Luxury Palette • Mobile-First
---------------------------------------------------- */

:root {
  --font-base: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --bg-page: #fafaf9;
  --bg-gradient: linear-gradient(180deg, #fafaf9 0%, #fffcf5 35%, #fef3c7 100%);
  --bg-card: #ffffff;
  
  --text-main: #0f172a;
  --text-sub: #475569;
  --text-muted: #64748b;
  
  /* Harmonious Sunset Gold & Obsidian Highlights */
  --gold-primary: #d97706;
  --gold-accent: #f59e0b;
  --gold-light: #fef08a;
  --gold-gradient: linear-gradient(135deg, #d97706 0%, #ea580c 50%, #b45309 100%);
  
  --cta-gradient: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
  --cta-shadow: 0 12px 32px rgba(234, 88, 12, 0.35);
  
  --border-light: rgba(245, 158, 11, 0.25);
  --border-subtle: #fef3c7;
  
  --shadow-sm: 0 4px 12px rgba(217, 119, 6, 0.06);
  --shadow-md: 0 10px 30px rgba(217, 119, 6, 0.12);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Mobile Touch Optimizations */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.warm-champagne-theme {
  font-family: var(--font-base);
  background: var(--bg-gradient);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding-bottom: calc(85px + env(safe-area-inset-bottom));
}

/* Ambient Background Orbs */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, rgba(255, 255, 255, 0) 70%);
}

.orb-2 {
  bottom: 10%;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
}

a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

a:hover { opacity: 0.85; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  touch-action: manipulation;
}


/* ----------------------------------------------------
   1. NAVBAR
---------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 249, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding-top: env(safe-area-inset-top);
}

.nav-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  font-weight: 700;
}

.logo-badge {
  width: 34px;
  height: 34px;
  background: var(--gold-gradient);
  color: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.logo-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.logo-highlight {
  color: var(--gold-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-status-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.btn-status-nav:hover {
  background: #fef3c7;
  border-color: var(--gold-primary);
  transform: translateY(-1px);
}


/* ----------------------------------------------------
   2. CONTINUOUS SCROLLING MARQUEE TICKER
---------------------------------------------------- */
.proof-ticker {
  background: #1e293b;
  color: #fef08a;
  padding: 10px 0;
  font-size: 0.85rem;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: marqueeScroll 22s linear infinite;
  will-change: transform;
}

.proof-ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-content {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--gold-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.8);
  animation: pulseGold 1.8s infinite;
  display: inline-block;
}

@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.8); }
  70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}


/* ----------------------------------------------------
   3. HERO SECTION (ML FLASH COURSE OFFER)
---------------------------------------------------- */
.hero {
  position: relative;
  z-index: 1;
  padding: 28px 16px 36px 16px;
  text-align: center;
}

.hero-wrapper {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--border-light);
  color: var(--gold-primary);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.hero-main-brand {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-main);
  margin-bottom: 4px;
}

.hero-offer-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin-bottom: 12px;
}

.headline-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .headline-gold { white-space: normal; }
}

.hero-hook-text {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 600;
  color: var(--text-sub);
  max-width: 640px;
  margin-bottom: 18px;
}

/* Pricing Highlight Box */
.hero-price-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 2px solid var(--gold-accent);
  box-shadow: var(--shadow-md);
  padding: 10px 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.price-symbol {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.price-value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.price-gst {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-left: 4px;
}

.price-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.price-old {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 500;
}

.price-off {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #dc2626;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
}

/* Product Showcase Visual */
.product-showcase {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto 20px auto;
}

.halo-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  height: 85%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.35) 0%, rgba(251, 191, 36, 0.12) 60%, transparent 70%);
  filter: blur(35px);
  z-index: 1;
  pointer-events: none;
}

.product-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(217, 119, 6, 0.2));
  animation: floatBounce 4s ease-in-out infinite;
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Primary CTA Button */
.cta-container {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-cta-primary {
  position: relative;
  width: 100%;
  padding: 18px 32px;
  background: var(--cta-gradient);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  border-radius: var(--radius-full);
  box-shadow: var(--cta-shadow);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.btn-cta-primary:active {
  transform: scale(0.98);
}

.btn-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 70%
  );
  transform: rotate(30deg);
  animation: shine 3.5s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(30deg); }
  25%, 100% { transform: translateX(100%) rotate(30deg); }
}

.cta-subtext {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}


/* ----------------------------------------------------
   4. TRUST BAR
---------------------------------------------------- */
.trust-bar {
  background: #ffffff;
  border-y: 1px solid var(--border-light);
  padding: 18px 16px;
}

.trust-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.trust-item { text-align: center; }

.trust-number {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-primary);
}

.trust-label {
  font-size: 0.75rem;
  color: var(--text-sub);
  font-weight: 500;
}

.trust-divider {
  width: 1px;
  height: 26px;
  background: var(--border-light);
}


/* ----------------------------------------------------
   5. STUDENT REWARD HERO SECTION
---------------------------------------------------- */
.reward-hero-section {
  padding: 50px 20px;
}

.reward-card-hero {
  background: #ffffff;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  max-width: 550px;
  margin: 24px auto 0 auto;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reward-img {
  width: 100%;
  max-width: 260px;
  height: auto;
  margin-bottom: 16px;
  filter: drop-shadow(0 12px 24px rgba(217, 119, 6, 0.25));
}

.reward-badge-pill {
  background: var(--gold-gradient);
  color: #fff;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.reward-card-hero h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
}

.reward-recipient {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 6px;
}

.reward-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.btn-cta-secondary {
  width: 100%;
  padding: 14px 28px;
  background: var(--gold-gradient);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.3);
}


/* ----------------------------------------------------
   6. COURSE OFFER & CURRICULUM GRID
---------------------------------------------------- */
.course-offer-section,
.curriculum-section,
.message-section,
.counter-section,
.how-section,
.urgency-section,
.final-cta-section,
.faq-section {
  padding: 48px 16px;
}

.course-offer-section {
  background: rgba(255, 255, 255, 0.6);
  border-y: 1px solid var(--border-light);
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.offer-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-md);
  max-width: 680px;
  margin: 0 auto;
}

.tag-gold {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold-primary);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.offer-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
}

.offer-pricing {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fffcf5;
  border: 1px solid var(--border-light);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 22px;
}

.old-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.new-price {
  display: flex;
  flex-direction: column;
}

.new-price .lbl { font-size: 0.68rem; color: var(--gold-primary); font-weight: 800; text-transform: uppercase; }
.new-price .val { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--text-main); }

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  text-align: left;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-sub);
}

.check {
  color: var(--gold-primary);
  font-weight: 800;
  font-size: 1.1rem;
}

.subtext-center {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.skill-card {
  background: #ffffff;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.skill-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.skill-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.skill-card p {
  font-size: 0.85rem;
  color: var(--text-sub);
}


/* ----------------------------------------------------
   7. MESSAGE & COUNTER SECTIONS
---------------------------------------------------- */
.message-box {
  background: #ffffff;
  border: 2px solid var(--gold-accent);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.message-quote {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-sub);
  margin-top: 16px;
  font-style: italic;
}

.counter-section {
  background: #1e293b;
  color: #ffffff;
  border-y: 1px solid var(--border-light);
}

.counter-section .sub-tag { color: var(--gold-accent); }

.counter-section h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
}

.counter-display {
  margin: 16px 0 8px 0;
}

.count-number {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 5rem);
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.counter-note {
  font-size: 0.95rem;
  color: #cbd5e1;
}

/* How It Works Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.step-card {
  position: relative;
  background: #ffffff;
  padding: 24px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.step-badge {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 8px;
}

.step-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.step-card p {
  font-size: 0.82rem;
  color: var(--text-sub);
}


/* ----------------------------------------------------
   8. URGENCY & FINAL CTA
---------------------------------------------------- */
.urgency-box {
  background: #ffffff;
  border: 2px solid var(--gold-accent);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  max-width: 650px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.urgency-head {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gold-primary);
  margin-bottom: 6px;
}

.urgency-box h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.final-cta-section {
  background: rgba(255, 255, 255, 0.7);
  border-y: 1px solid var(--border-light);
}

.final-cta-section h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
}

.final-offer-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fffcf5;
  border: 1px solid var(--border-light);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin: 12px 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.val-old { text-decoration: line-through; color: var(--text-muted); }
.arrow { color: var(--gold-primary); }
.val-new { color: var(--gold-primary); font-weight: 800; }

.final-reward-text {
  font-size: 0.95rem;
  color: var(--text-main);
}


/* ----------------------------------------------------
   9. FAQ ACCORDION
---------------------------------------------------- */
.faq-accordion {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  padding: 16px 18px;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--gold-primary);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 18px;
  color: var(--text-sub);
  font-size: 0.85rem;
}

.faq-item.active .faq-a {
  max-height: 200px;
  padding: 0 18px 16px 18px;
}


/* ----------------------------------------------------
   10. STICKY MOBILE BAR
---------------------------------------------------- */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(250, 250, 249, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-light);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)) 16px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -6px 20px rgba(217, 119, 6, 0.15);
}

.m-price-info {
  display: flex;
  flex-direction: column;
}

.m-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.m-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.btn-m-cta {
  padding: 12px 24px;
  background: var(--cta-gradient);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}

@media (max-width: 768px) {
  .mobile-sticky-bar { display: flex; }
}


/* ----------------------------------------------------
   11. FOOTER
---------------------------------------------------- */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 36px 20px;
  font-size: 0.82rem;
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-nav a { color: #cbd5e1; }

.footer-legal {
  border-top: 1px solid #1e293b;
  padding-top: 18px;
  font-size: 0.75rem;
  color: #64748b;
}


/* ----------------------------------------------------
   12. MODALS SYSTEM
---------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 430px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
  transform: scale(0.94) translateY(16px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drag-handle {
  display: none;
  width: 38px;
  height: 5px;
  background: #cbd5e1;
  border-radius: 99px;
  margin: 0 auto 14px auto;
}

@media (max-width: 640px) {
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal-card {
    border-radius: 24px 24px 0 0;
    max-height: 85vh;
    padding: 16px 20px calc(24px + env(safe-area-inset-bottom)) 20px;
    transform: translateY(100%);
  }

  .modal-overlay.active .modal-card {
    transform: translateY(0);
  }

  .mobile-drag-handle {
    display: block;
  }
}

.close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fef3c7;
  color: var(--text-main);
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover { background: #fde68a; }

.modal-header { margin-bottom: 18px; }

.modal-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
}

.modal-subtitle {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-top: 4px;
}

/* Forms */
.form-group {
  margin-bottom: 14px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  background: #fffcf5;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-main);
}

.form-input:focus {
  outline: none;
  border-color: var(--gold-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.input-mobile-box {
  display: flex;
  align-items: center;
  background: #fffcf5;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.prefix {
  padding: 12px 0 12px 14px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--gold-primary);
}

.input-phone {
  border: none;
  background: transparent;
  padding-left: 8px;
}

.btn-modal-primary {
  width: 100%;
  padding: 15px;
  background: var(--gold-gradient);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.35);
}

.btn-modal-primary:active { transform: scale(0.98); }

/* Success Ticket Pass */
.success-icon {
  width: 60px;
  height: 60px;
  background: #ecfdf5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
}

.digital-ticket {
  background: #fffcf5;
  border: 2px dashed #059669;
  border-radius: var(--radius-md);
  padding: 14px;
  margin: 14px 0;
  text-align: left;
}

.ticket-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.68rem;
  font-weight: 800;
}

.status-badge {
  background: #059669;
  color: #fff;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.ticket-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.field { display: flex; flex-direction: column; }
.lbl { font-size: 0.72rem; color: var(--text-muted); }
.val { font-size: 0.88rem; font-weight: 700; }
.val.highlight { font-family: var(--font-display); color: var(--gold-primary); font-size: 1rem; font-weight: 800; }
.val.green { color: #059669; }

.success-msg {
  font-size: 0.82rem;
  color: var(--text-sub);
  margin-bottom: 18px;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-whatsapp {
  width: 100%;
  padding: 13px;
  background: #25d366;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.link-subtle {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: underline;
}

.margin-top-sm { margin-top: 10px; }
.margin-top-xs { margin-top: 6px; }
.text-center { text-align: center; }

/* Status Result */
.status-result-box {
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: #fffcf5;
  border: 1px solid var(--border-light);
  text-align: left;
}

/* Utility: hidden */
.hidden { display: none !important; }

/* Outline / secondary button (e.g. Share) */
.btn-outline {
  width: 100%;
  padding: 13px;
  background: #ffffff;
  color: var(--gold-primary);
  border: 1.5px solid var(--border-light);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-outline:active { transform: scale(0.98); }

/* Wide modal for the live class video */
.modal-card-wide { max-width: 760px; }

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-md);
  margin: 6px 0 4px 0;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Campaign details / legal section */
.details-section { padding: 40px 0; }

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.details-block {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 90px;
}

.details-block h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 8px;
}

.details-block p {
  font-size: 0.86rem;
  color: var(--text-sub);
  line-height: 1.55;
}

.details-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 10px 16px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
}

#campaignDetails { scroll-margin-top: 80px; }
