/* ============ RESET & BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  --bg: #0a0a0a;
  --bg-elevated: #141414;
  --bg-card: #1a1a1a;
  --yellow: #FFD400;
  --yellow-dim: #C9A800;
  --white: #F5F5F5;
  --gray: #8a8a8a;
  --gray-line: #2a2a2a;
  --gold: #D4AF37;
  --danger: #ff4d4d;
  --success-green: #3ddc71;
  --radius: 16px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255,212,0,0.08), transparent),
    var(--bg);
}

button { font-family: inherit; border: none; cursor: pointer; background: none; color: inherit; }

.app {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

/* ============ TOP BAR ============ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: linear-gradient(90deg, #000 0%, #1a1a00 50%, #000 100%);
  border-bottom: 1px solid var(--gray-line);
  padding: 10px 16px;
  text-align: center;
}
.topbar-text {
  color: var(--yellow);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.2px;
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============ PROGRESS BAR ============ */
.progress-wrap {
  padding: 14px 20px 10px;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.progress-track {
  height: 8px;
  background: var(--bg-elevated);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--gray-line);
}
.progress-fill {
  height: 100%;
  width: 10%;
  background: linear-gradient(90deg, var(--yellow-dim), var(--yellow));
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 12px rgba(255,212,0,0.5);
}

/* ============ SCREEN BASE ============ */
.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  animation: fadeIn 0.35s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ LANDING ============ */
.landing {
  padding: 28px 18px 40px;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}
.landing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 14px;
}
.eyebrow {
  color: var(--yellow);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(15px, 4.4vw, 25px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.2px;
  color: var(--white);
  text-shadow: 0 0 30px rgba(255,212,0,0.12);
  white-space: nowrap;
  max-width: 100%;
}
.hero-sub {
  font-size: 16px;
  line-height: 1.5;
  color: #c9c9c9;
  max-width: 420px;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 6px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.glow-ring {
  position: absolute;
  inset: -6%;
  border-radius: 24px;
  background: radial-gradient(circle, rgba(255,212,0,0.22) 0%, transparent 70%);
  filter: blur(10px);
  z-index: 0;
}
.hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 20px;
  border: 1px solid var(--gray-line);
  box-shadow: 0 16px 40px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,212,0,0.08);
  -webkit-mask-image: linear-gradient(to bottom, black 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 78%, transparent 100%);
}

.emo-callout {
  background: var(--bg-card);
  border: 1px solid var(--gray-line);
  border-left: 3px solid var(--yellow);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: #ededed;
  text-align: left;
  max-width: 440px;
}

.btn-primary {
  width: 100%;
  max-width: 440px;
  background: linear-gradient(180deg, var(--yellow) 0%, var(--yellow-dim) 100%);
  color: #0a0a0a;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.3px;
  padding: 18px 20px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(255,212,0,0.28), inset 0 1px 0 rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  margin-top: 6px;
}
.btn-primary:active {
  transform: scale(0.97);
  box-shadow: 0 4px 14px rgba(255,212,0,0.22);
}
.btn-start { margin-top: 8px; }

/* ============ QUIZ ============ */
.quiz {
  padding: 14px 20px 24px;
  justify-content: flex-start;
}
.quiz-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quiz-hero {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-line);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}
.quiz-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 30%;
}

.quiz-question {
  font-size: clamp(16px, 4.2vw, 19px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.1px;
  color: var(--white);
}

.btn-continue {
  max-width: none;
  margin-top: 4px;
}
.btn-continue:disabled {
  background: var(--bg-card);
  color: #6a6a6a;
  box-shadow: none;
  border: 1.5px solid var(--gray-line);
  cursor: not-allowed;
}
.btn-continue:disabled:active {
  transform: none;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1.5px solid var(--gray-line);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  text-align: left;
  transition: border-color 0.15s ease, transform 0.12s ease, background 0.15s ease;
  min-height: 54px;
}
.quiz-option .opt-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.quiz-option:active {
  transform: scale(0.98);
}
.quiz-option.selected {
  border-color: var(--yellow);
  background: linear-gradient(90deg, rgba(255,212,0,0.14), rgba(255,212,0,0.04));
  box-shadow: 0 0 0 1px var(--yellow) inset;
}
.quiz-option:disabled {
  pointer-events: none;
}
.quiz-option.dimmed {
  opacity: 0.35;
}

/* ============ ANALYZING ============ */
.analyzing {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 32px 26px;
  background: #000;
}
.analyzing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 340px;
}
.analyzing-avatar {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.analyzing-glow {
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,212,0,0.30) 0%, transparent 70%);
  filter: blur(8px);
  animation: pulseGlow 1.6s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
.analyzing-avatar img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  box-shadow: 0 0 30px rgba(255,212,0,0.35);
}
.spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 4px solid var(--gray-line);
  border-top-color: var(--yellow);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.analyzing-title {
  font-size: clamp(18px, 5.5vw, 21px);
  font-weight: 900;
  color: var(--white);
}
.analyzing-sub {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  margin-top: -10px;
}

/* ============ RESULT ============ */
.result {
  padding: 32px 20px 36px;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  background: #000;
}
.result-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 460px;
}
.result-avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--yellow);
  box-shadow: 0 0 30px rgba(255,212,0,0.3);
}
.result-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.result-title {
  font-size: clamp(20px, 6vw, 26px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
}
.detect-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--gray-line);
  border-left: 3px solid var(--yellow);
  border-radius: 10px;
  padding: 12px 14px;
  text-align: left;
  font-size: 14px;
  line-height: 1.4;
  color: #d5d5d5;
  width: 100%;
}
.detect-icon { font-size: 18px; flex-shrink: 0; }
.detect-card strong {
  color: var(--yellow);
  font-weight: 800;
}

.chart-card {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--gray-line);
  border-radius: 16px;
  padding: 18px 16px 10px;
  margin-top: 4px;
}
.chart-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 8px;
}
.chart-head-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: clamp(9px, 2.6vw, 11px);
  font-weight: 800;
  color: var(--white);
  text-align: left;
  line-height: 1.3;
  white-space: nowrap;
}
.chart-icon { font-size: 16px; flex-shrink: 0; }
.chart-legend {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}
.legend-row {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
}
.legend-tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.legend-value {
  font-size: 20px;
  font-weight: 900;
}
.legend-yellow .legend-tag { color: var(--yellow); }
.legend-yellow .legend-value { color: var(--yellow); }
.legend-red .legend-tag { color: var(--danger); }
.legend-red .legend-value { color: var(--danger); }

.chart-svg {
  width: 100%;
  height: 140px;
  display: block;
  overflow: visible;
}
.chart-grid {
  stroke: var(--gray-line);
  stroke-width: 1;
}
.chart-line-red {
  fill: none;
  stroke: var(--danger);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart-line-yellow {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart-area-yellow {
  fill: rgba(255,212,0,0.14);
}
.chart-dot-red, .chart-dot-yellow {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.chart-dot-red { fill: var(--danger); }
.chart-dot-yellow { fill: var(--yellow); }

#yellowGroup {
  transform: scaleY(0);
  transform-origin: 300px 220px;
  transition: transform 1.7s cubic-bezier(.22,.9,.32,1);
}
#yellowGroup.grow {
  transform: scaleY(1);
}

.chart-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  padding: 0 2px;
}
.chart-axis span {
  font-size: 8px;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.2px;
}

.result-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  font-size: 14px;
  line-height: 1.55;
  color: #d5d5d5;
  padding: 2px 4px;
}
.result-note-icon { font-size: 18px; flex-shrink: 0; }
.result-note span span#resultDesc {
  color: var(--yellow);
  font-weight: 700;
}

/* ============ OFFER ============ */
.offer {
  padding: 36px 0 48px;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  background: #000;
}
.offer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 460px;
  padding: 0 24px;
}
.offer-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--yellow);
  box-shadow: 0 0 30px rgba(255,212,0,0.3);
}
.offer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.offer-section {
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.offer-section-urgency {
  background: var(--bg-card);
  border: 1px solid var(--gray-line);
  border-left: 3px solid var(--danger);
  border-radius: 12px;
  padding: 16px;
}
.offer-heading {
  font-size: clamp(17px, 5vw, 20px);
  font-weight: 900;
  color: var(--yellow);
  line-height: 1.25;
}
.offer-heading-red {
  color: var(--danger);
}

.countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: rgba(255,77,77,0.08);
  border: 1px solid rgba(255,77,77,0.35);
  border-radius: 12px;
}
.countdown-label {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--white);
  text-align: center;
}
.countdown-clock {
  display: flex;
  align-items: center;
  gap: 6px;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #0a0a0a;
  border: 1px solid var(--gray-line);
  border-radius: 8px;
  padding: 6px 10px;
  min-width: 46px;
}
.countdown-value {
  font-size: 20px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: var(--danger);
  line-height: 1.1;
}
.countdown-unit-label {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.countdown-sep {
  font-size: 18px;
  font-weight: 900;
  color: var(--danger);
  margin-top: -12px;
}
.offer-heading-center {
  text-align: center;
  color: var(--white);
  width: 100%;
}
.offer-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: #d5d5d5;
}
.offer-text strong {
  color: var(--success-green);
  font-weight: 800;
}

.offer-carousel {
  width: calc(100% + 48px);
  margin-left: -24px;
}
.carousel-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 24px 8px;
  justify-content: flex-start;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 auto;
  width: 46%;
  max-width: 220px;
  aspect-ratio: 9 / 19.5;
  scroll-snap-align: center;
  background: var(--bg-card);
  border: 1.5px solid var(--gray-line);
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,0.5);
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.value-section {
  background: var(--bg-card);
  border: 1px solid var(--gray-line);
  border-radius: 12px;
  padding: 18px 16px;
}
.value-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 4px 0 2px;
  padding: 0;
  list-style: none;
}
.value-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.value-icon {
  font-size: 18px;
  line-height: 1.4;
  flex-shrink: 0;
}
.value-list li span:last-child {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
}
.value-italic {
  font-style: italic;
  color: var(--gray);
}
.value-transition {
  text-align: center;
  font-size: 15px;
  font-weight: 900;
  color: var(--yellow);
  padding-top: 4px;
}

.social-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 4px 0 2px;
}
.social-proof-avatars {
  display: flex;
}
.social-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1.5px var(--yellow);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  color: var(--yellow);
  margin-left: -14px;
  overflow: hidden;
  flex-shrink: 0;
}
.social-avatar:first-child { margin-left: 0; }
.social-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.social-proof-count {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
}
.social-proof-count strong {
  color: var(--success-green);
  font-weight: 900;
}
.social-proof-ticker {
  width: calc(100% + 48px);
  margin-left: -24px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 10px;
  animation: tickerScroll 42s linear infinite;
}
.ticker-item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--gray-line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gray);
  white-space: nowrap;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.stat-pill {
  align-self: center;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--yellow);
  border-radius: 999px;
  padding: 8px 18px;
}
.stat-pill-number {
  font-size: 19px;
  font-weight: 900;
  color: var(--success-green);
}
.stat-pill-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--white);
}

.testimonial-carousel .carousel-slide {
  width: 88%;
  max-width: 340px;
  aspect-ratio: 3 / 2;
  background: #0b0f14;
}
.testimonial-carousel .carousel-slide img {
  object-fit: contain;
}

.highlight-card {
  border-color: var(--yellow);
  box-shadow: 0 0 24px rgba(255,212,0,0.12);
}
.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--yellow);
  color: #000;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.check-list li span:last-child {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--white);
}

/* ============ BONUS ============ */
.bonus-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 0 4px;
  border-top: 1px solid var(--gray-line);
}
.bonus-eyebrow {
  font-size: clamp(18px, 5.5vw, 22px);
  font-weight: 900;
  color: var(--yellow);
  text-align: center;
  text-shadow: 0 0 18px rgba(255,212,0,0.35);
}
.bonus-intro {
  text-align: center;
}

.bonus-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 2px;
}

.bonus-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(155deg, var(--bg-card) 0%, #101010 100%);
  border: 1px solid var(--gray-line);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.bonus-card.in-view {
  opacity: 1;
  transform: translateY(0);
}
.bonus-card:nth-child(2) { transition-delay: 0.06s; }
.bonus-card:nth-child(3) { transition-delay: 0.12s; }
.bonus-card:nth-child(4) { transition-delay: 0.18s; }
.bonus-card:nth-child(5) { transition-delay: 0.24s; }
.bonus-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,212,0,0.5), rgba(255,212,0,0) 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.bonus-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 15px;
  background: radial-gradient(circle at 30% 30%, rgba(255,212,0,0.18), rgba(255,212,0,0.04));
  border: 1px solid rgba(255,212,0,0.35);
}
.bonus-body {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.bonus-name {
  font-size: 14px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 2px;
}
.bonus-desc {
  font-size: 12px;
  line-height: 1.35;
  color: #b8b8b8;
  margin-bottom: 6px;
}
.bonus-value {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bonus-old-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray);
  text-decoration: line-through;
  text-decoration-color: var(--danger);
}
.bonus-free-badge {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.3px;
  color: #000;
  background: linear-gradient(90deg, var(--yellow-dim), var(--yellow));
  border-radius: 999px;
  padding: 3px 11px;
  box-shadow: 0 0 12px rgba(255,212,0,0.4);
}

.bonus-total {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,212,0,0.35);
  background: linear-gradient(155deg, var(--bg-card) 0%, #101010 100%);
}
.bonus-total-label {
  font-size: 14px;
  font-weight: 900;
  color: var(--white);
}
.bonus-total .bonus-old-price {
  font-size: 14px;
}

.bonus-closing {
  text-align: center;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--white);
  margin-top: 6px;
}
/* ============ CUPÓN ============ */
.coupon-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--gray-line);
}
.coupon-intro {
  text-align: center;
}

.coupon-picker {
  display: flex;
  justify-content: center;
  gap: 14px;
  width: 100%;
  margin-top: 4px;
}
.coupon-box {
  flex: 1;
  max-width: 100px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, var(--bg-card) 0%, #101010 100%);
  border: 1.5px solid var(--gray-line);
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.5);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  animation: couponFloat 1s ease-in-out infinite;
}
.coupon-box:nth-child(2) { animation-delay: 0.15s; }
.coupon-box:nth-child(3) { animation-delay: 0.3s; }
@keyframes couponFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.05); }
}
.coupon-box:active {
  transform: scale(0.94);
}
.coupon-box:disabled {
  cursor: default;
  animation: none;
}
.coupon-box.picked {
  border-color: var(--yellow);
  box-shadow: 0 0 24px rgba(255,212,0,0.4);
  animation: couponPulse 0.5s ease;
}
@keyframes couponPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.coupon-box-icon {
  font-size: 34px;
}

.coupon-hint {
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gray);
  margin-top: -2px;
}

.coupon-checking {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 18px 0 6px;
}
.coupon-checking-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray);
}

.coupon-reveal {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: couponReveal 0.5s ease;
}
@keyframes couponReveal {
  from { opacity: 0; transform: scale(0.9) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.confetti-container {
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 260px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.confetti-piece {
  position: absolute;
  top: -14px;
  width: 8px;
  height: 14px;
  opacity: 0.95;
  animation-name: confettiFall;
  animation-timing-function: cubic-bezier(0.35, 0, 0.65, 1);
  animation-fill-mode: forwards;
}
@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(280px) rotate(600deg); opacity: 0; }
}
.coupon-win {
  text-align: center;
  font-size: 16px;
  font-weight: 900;
  color: var(--yellow);
  text-shadow: 0 0 18px rgba(255,212,0,0.35);
}

.price-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: linear-gradient(155deg, var(--bg-card) 0%, #101010 100%);
  border: 1.5px solid var(--yellow);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: 0 0 30px rgba(255,212,0,0.15);
}
.price-badge {
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.3px;
  color: #000;
  background: linear-gradient(90deg, var(--yellow-dim), var(--yellow));
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 4px;
}
.price-old {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray);
  text-decoration: line-through;
  text-decoration-color: var(--danger);
}
.price-new {
  font-size: 38px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
}
.coupon-cta {
  width: 100%;
}

.offer-options {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.offer-option {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(155deg, var(--bg-card) 0%, #101010 100%);
  border: 1.5px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 20px 18px 18px;
}
.offer-option-name {
  font-size: 15px;
  font-weight: 900;
  color: var(--white);
  text-align: center;
}
.offer-option-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.offer-option-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #d5d5d5;
  line-height: 1.4;
}
.offer-check {
  flex-shrink: 0;
  font-weight: 900;
  color: var(--success-green);
}
.offer-option-item-off {
  color: var(--gray);
}
.offer-check-no {
  color: var(--gray);
}
.offer-option-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 0 2px;
}
.offer-option-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
}
.offer-option-savings {
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--success-green);
  background: rgba(61,220,113,0.12);
  border-radius: 999px;
  padding: 4px 12px;
}
.offer-option-savings-best {
  font-size: 13.5px;
  color: #0a0a0a;
  background: linear-gradient(90deg, var(--yellow-dim), var(--yellow));
}
.btn-secondary {
  width: 100%;
  background: transparent;
  color: var(--white);
  font-weight: 800;
  font-size: 15px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1.5px solid var(--gray-line);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.btn-secondary:active {
  transform: scale(0.97);
  border-color: var(--yellow);
}

.offer-option-best {
  border: 2px solid var(--yellow);
  box-shadow: 0 0 30px rgba(255,212,0,0.2);
  padding-top: 28px;
}
.offer-option-value-best {
  color: var(--yellow);
  font-size: 34px;
  text-shadow: 0 0 18px rgba(255,212,0,0.35);
}
.offer-option-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--yellow-dim), var(--yellow));
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.3px;
  padding: 5px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(255,212,0,0.35);
  white-space: nowrap;
}
.coupon-warning {
  width: 100%;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  color: #d5d5d5;
  background: var(--bg-card);
  border: 1px solid var(--gray-line);
  border-left: 3px solid var(--danger);
  border-radius: 12px;
  padding: 12px 14px;
}
.coupon-warning strong {
  color: var(--danger);
}
.coupon-full-price {
  font-weight: 800;
  color: var(--white);
}

/* ============ GARANTÍA ============ */
.guarantee-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 0 4px;
  border-top: 1px solid var(--gray-line);
}
.guarantee-seal {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: radial-gradient(circle at 35% 30%, rgba(255,212,0,0.16), var(--bg-card) 70%);
  border: 2px solid var(--yellow);
  box-shadow: 0 0 26px rgba(255,212,0,0.3), inset 0 0 14px rgba(255,212,0,0.08);
}
.guarantee-seal-icon {
  font-size: 18px;
  margin-bottom: 1px;
}
.guarantee-seal-days {
  font-size: 26px;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}
.guarantee-seal-label {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--white);
  text-align: center;
  line-height: 1.25;
}
.guarantee-text {
  text-align: center;
}
.guarantee-checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin-top: 2px;
}
.guarantee-checks span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--white);
}

/* ============ FAQ ============ */
.faq-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 0 4px;
  border-top: 1px solid var(--gray-line);
}
.faq-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--gray-line);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item.open {
  border-color: rgba(255,212,0,0.4);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  background: none;
  border: none;
  padding: 13px 14px;
  cursor: pointer;
  color: var(--white);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
}
.faq-toggle {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,212,0,0.1);
  border: 1px solid rgba(255,212,0,0.4);
  color: var(--yellow);
  font-size: 15px;
  font-weight: 900;
  transition: transform 0.25s ease;
}
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}
.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-item.open .faq-answer-wrap {
  grid-template-rows: 1fr;
}
.faq-answer-inner {
  overflow: hidden;
}
.faq-answer-text {
  padding: 0 14px 14px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #b8b8b8;
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-line);
  background: var(--bg-card);
  color: var(--white);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

/* ============ UTIL ============ */
[hidden] { display: none !important; }

@media (min-width: 560px) {
  .app { border-left: 1px solid var(--gray-line); border-right: 1px solid var(--gray-line); }
}
