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

:root {
  --gold:    #FFD700;
  --gold2:   #FFC107;
  --dark:    #0a0a0f;
  --card-bg: #141420;
  --card-border: rgba(255,215,0,.18);
  --text:    #f0f0f0;
  --muted:   #888;
  --radius:  18px;
  --shadow:  0 20px 60px rgba(0,0,0,.6), 0 0 40px rgba(255,215,0,.08);
  --trans:   .28s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--dark);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  padding: 20px;
}

/* ═══════════════════════════════════════════════
   ANIMATED STARS BACKGROUND
═══════════════════════════════════════════════ */
.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  animation: twinkle var(--dur) ease-in-out infinite alternate;
}

@keyframes twinkle {
  from { opacity: 0.1; transform: scale(.8); }
  to   { opacity: .9; transform: scale(1.2); }
}

/* ═══════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════ */
.logo-top {
  text-align: center;
  margin-bottom: 20px;
  padding-top: 32px;
}

.logo-m {
  font-size: 120px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -4px;
  line-height: 1;
  animation: logo-glow 2s ease-in-out infinite alternate;
  display: inline-block;
}

@keyframes logo-glow {
  from {
    text-shadow: 0 0 10px rgba(255,215,0,.4), 0 0 20px rgba(255,215,0,.2);
    transform: scale(1);
  }
  to {
    text-shadow: 0 0 25px rgba(255,215,0,.9), 0 0 50px rgba(255,215,0,.5), 0 0 80px rgba(255,215,0,.3);
    transform: scale(1.06);
  }
}

.logo-sub {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: rgba(255,215,0,.6);
  text-transform: uppercase;
  margin-top: 4px;
  animation: fadeIn 1.5s ease both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.quiz-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
}

/* ── Screens ── */
.screen {
  display: none;
  animation: fadeUp .45s var(--trans) both;
}
.screen.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════
   CARD
═══════════════════════════════════════════════ */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 40px 44px;
  box-shadow: var(--shadow);
  text-align: center;
}

@media (max-width: 500px) {
  .card { padding: 28px 20px; }
}

/* ═══════════════════════════════════════════════
   INTRO
═══════════════════════════════════════════════ */
.badge {
  display: inline-block;
  background: rgba(255,215,0,.12);
  border: 1px solid rgba(255,215,0,.3);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.title {
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -.5px;
}

.gold { color: var(--gold); }

.subtitle {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 26px;
}

.features {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.features li {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #ccc;
}

/* ═══════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════ */
.cta-btn {
  display: inline-block;
  width: 100%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
  color: #000;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  padding: 17px 24px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .8px;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}

.cta-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--trans);
}

.cta-btn:hover::after { background: rgba(255,255,255,.15); }
.cta-btn:active { transform: scale(.97); }

.cta-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

/* ═══════════════════════════════════════════════
   QUIZ CARD
═══════════════════════════════════════════════ */
.quiz-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.q-score { color: var(--gold); }

.progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 30px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold2), var(--gold));
  border-radius: 3px;
  width: 0%;
  transition: width .5s cubic-bezier(.4,0,.2,1);
}

.question-text {
  font-size: clamp(16px, 3.5vw, 20px);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 26px;
  min-height: 60px;
  text-align: left;
}

.options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-btn {
  background: rgba(255,255,255,.04);
  border: 1.5px solid rgba(255,215,0,.25);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--trans);
  display: flex;
  align-items: center;
  gap: 12px;
}

.option-btn .opt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,215,0,.1);
  border: 1px solid rgba(255,215,0,.3);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.option-btn:hover {
  background: rgba(255,215,0,.1);
  border-color: var(--gold);
  transform: translateX(4px);
}

.option-btn.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
  transform: scale(1.01);
}

.option-btn.selected .opt-icon {
  background: rgba(0,0,0,.2);
  border-color: rgba(0,0,0,.3);
  color: #000;
}

.option-btn.disabled { pointer-events: none; opacity: .55; }

/* ═══════════════════════════════════════════════
   RESULT
═══════════════════════════════════════════════ */
.trophy {
  font-size: 56px;
  margin-bottom: 10px;
  animation: bounce 1s ease infinite alternate;
}

@keyframes bounce {
  from { transform: translateY(0); }
  to   { transform: translateY(-10px); }
}

.result-title {
  font-size: 30px;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 6px;
}

.result-score-label {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}

.score-circle {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  background: rgba(255,215,0,.12);
  border: 2px solid rgba(255,215,0,.4);
  border-radius: 50px;
  padding: 10px 28px;
  margin-bottom: 20px;
}

.score-circle span {
  font-size: 42px;
  font-weight: 900;
  color: var(--gold);
}

.score-circle small {
  font-size: 18px;
  color: var(--muted);
}

.result-text {
  font-size: 15px;
  line-height: 1.65;
  color: #ccc;
  margin-bottom: 28px;
  text-align: left;
  background: rgba(255,255,255,.04);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 14px 16px;
}

/* ── Lead Form ── */
.lead-form {
  text-align: left;
  margin-bottom: 14px;
}

.field-wrap {
  margin-bottom: 16px;
}

.field-wrap label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.field-wrap input {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color var(--trans), box-shadow var(--trans);
}

.field-wrap input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255,215,0,.15);
}

.field-wrap input.error { border-color: #ff4d4d; }

.field-err {
  display: block;
  color: #ff6b6b;
  font-size: 12px;
  font-weight: 600;
  margin-top: 5px;
  min-height: 16px;
}

.privacy {
  color: #555;
  font-size: 12px;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════
   THANKS
═══════════════════════════════════════════════ */
.thanks-card { padding: 50px 44px; }

.fireworks {
  font-size: 64px;
  margin-bottom: 14px;
  display: block;
  animation: spin .8s linear infinite;
}

@keyframes spin {
  0%   { transform: rotate(-5deg) scale(1); }
  50%  { transform: rotate(5deg)  scale(1.1); }
  100% { transform: rotate(-5deg) scale(1); }
}

.thanks-card h2 { font-size: 28px; font-weight: 900; margin-bottom: 14px; }

.thanks-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 6px;
}

.divider {
  width: 60px;
  height: 2px;
  background: rgba(255,215,0,.3);
  margin: 24px auto;
  border-radius: 2px;
}

.small { font-size: 13px; color: var(--muted); margin-bottom: 10px !important; }

.countdown-wrap {
  margin-top: 24px;
  text-align: center;
}

.countdown-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 8px !important;
}

.countdown-num {
  font-size: 72px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  animation: pulse-count .9s ease-in-out infinite alternate;
}

@keyframes pulse-count {
  from { transform: scale(1);   opacity: 1; }
  to   { transform: scale(1.2); opacity: .7; }
}

.discount-text {
  margin-top: 14px !important;
  font-size: 16px;
  line-height: 1.6;
  color: #ccc;
}

.discount-num {
  color: var(--gold);
  font-size: 56px;
  font-weight: 900;
  display: inline-block;
  line-height: 1.1;
}

.social-link {
  color: var(--gold);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,215,0,.4);
  padding-bottom: 2px;
  transition: color var(--trans);
}

.social-link:hover { color: var(--gold2); }

/* ═══════════════════════════════════════════════
   LOADING SPINNER
═══════════════════════════════════════════════ */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0,0,0,.3);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin-simple .7s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes spin-simple { to { transform: rotate(360deg); } }

/* ── VIDEO SCREEN ──────────────────────────────────── */
#screen-videos {
  max-width: 680px;
  padding: 24px 16px 48px;
}

.logo-m--sm {
  font-size: 48px !important;
}

.videos-header {
  text-align: center;
  margin-bottom: 28px;
}

.videos-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  margin-top: 8px;
  margin-bottom: 16px;
}

.gift-btn {
  display: inline-block;
  padding: 10px 28px;
  background: var(--gold);
  color: #000;
  font-weight: 800;
  font-size: 15px;
  border-radius: 30px;
  text-decoration: none;
  letter-spacing: .3px;
  transition: opacity .2s;
}
.gift-btn:hover { opacity: .85; }

.share-box {
  max-width: 620px;
  margin: 0 auto 22px;
  padding: 14px;
  background: rgba(255, 215, 0, .08);
  border: 1px solid rgba(255, 215, 0, .24);
  border-radius: 16px;
}

.share-title {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.share-row {
  display: flex;
  gap: 8px;
}

.share-input {
  flex: 1;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #333;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 12px;
}

.share-copy-btn {
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: var(--gold);
  color: #000;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 520px) {
  .share-row {
    flex-direction: column;
  }

  .share-copy-btn {
    padding: 11px 16px;
  }
}

/* Accordion */
.vacc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.no-videos {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
}

.vacc {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .25s;
}

.vacc--open {
  border-color: var(--gold);
}

.vacc-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: background .2s;
}

.vacc-head:hover {
  background: #1e1e1e;
}

.vacc-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2a2a2a;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vacc--open .vacc-num {
  background: var(--gold);
  color: #000;
}

.vacc-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  flex: 1;
  line-height: 1.4;
}

.vacc-arrow {
  color: var(--gold);
  font-size: 11px;
  flex-shrink: 0;
  transition: transform .25s;
}

.vacc-body {
  display: none;
  padding: 0 16px 18px;
}

.vacc--open .vacc-body {
  display: block;
}

.vacc-player {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 10px;
  display: block;
}

.vacc-desc {
  font-size: 14px;
  color: #e8e2c7;
  margin: 14px 0 0;
  line-height: 1.65;
  padding: 14px 16px 14px 18px;
  background: linear-gradient(135deg, rgba(255,215,0,.12), rgba(255,255,255,.035));
  border: 1px solid rgba(255,215,0,.2);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
}

/* Submit task button */
.submit-task-btn {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 13px;
  background: rgba(255,215,0,.1);
  border: 1.5px solid rgba(255,215,0,.4);
  border-radius: 10px;
  color: var(--gold);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .15s;
  letter-spacing: .3px;
}
.submit-task-btn:hover {
  background: rgba(255,215,0,.18);
  transform: translateY(-1px);
}

/* ── Submit Modal ── */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-backdrop.modal--open {
  display: flex;
}

.modal-box {
  background: #141414;
  border: 1px solid rgba(255,215,0,.3);
  border-radius: 20px;
  padding: 32px 28px 28px;
  width: 100%;
  max-width: 440px;
  position: relative;
  animation: fadeUp .3s ease both;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: #666;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color .2s;
}
.modal-close:hover { color: #fff; }

.modal-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 6px;
}

.modal-task {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 600;
}

.modal-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.modal-input {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .2s;
}
.modal-input:focus { border-color: var(--gold); }

.file-label {
  display: block;
  cursor: pointer;
}
.file-label input[type="file"] { display: none; }
.file-label span {
  display: block;
  background: rgba(255,255,255,.05);
  border: 1.5px dashed rgba(255,215,0,.35);
  border-radius: 10px;
  padding: 13px 16px;
  color: #aaa;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: background .2s;
}
.file-label:hover span { background: rgba(255,215,0,.08); }

.sub-progress { margin-top: 4px; }
.sub-progress--hidden { display: none; }

.sub-bar-wrap {
  height: 8px;
  background: #2a2a2a;
  border-radius: 4px;
  overflow: hidden;
}
.sub-bar {
  height: 100%;
  background: var(--gold);
  width: 0%;
  transition: width .2s;
  border-radius: 4px;
}
.sub-pct {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  text-align: right;
}

.btn-gold {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  letter-spacing: .3px;
}
.btn-gold:hover { opacity: .88; transform: translateY(-1px); }
.btn-gold:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.sub-result {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  margin-top: 10px;
  min-height: 20px;
}
