/* === Free Fire 9 Anos — Quiz (visual 2026, mobile-first) === */

@font-face {
  font-family: 'FFTitle';
  src: url('../fonts/impact.ttf') format('truetype');
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: 'FFCopy';
  src: url('../fonts/din-condensed-bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  /* paleta base Free Fire, atualizada */
  --bg-deep: #0a0420;
  --bg-grad: linear-gradient(180deg, #170630 0%, #0a0420 100%);
  --panel: rgba(28, 10, 56, 0.78);
  --panel-strong: rgba(20, 8, 44, 0.94);
  --ink: #f3edff;
  --muted: #b0a6c8;
  --gold: #ffd24d;
  --purple: #9b4dff;
  --purple-strong: #7a2cff;
  --pink: #ff3b6b;
  --green: #2ee87a;
  --border: rgba(155, 77, 255, 0.28);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.45);
  --ff-title: 'FFTitle', Impact, 'Arial Black', sans-serif;
  --ff-copy: 'FFCopy', 'DIN Condensed', 'Inter', system-ui, sans-serif;
  --ff-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg-deep);
  color: var(--ink);
  font-family: var(--ff-body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: var(--bg-grad);
  background-attachment: fixed;
}

/* === Arena / phone frame === */

.arena-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 0;
}

.phone-frame {
  position: relative;
  width: min(100vw, 460px);
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  isolation: isolate;
  padding: 18px 16px 100px;
  background:
    radial-gradient(ellipse at top, rgba(255, 210, 77, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(155, 77, 255, 0.28) 0%, transparent 55%),
    var(--bg-grad);
  box-shadow: inset 0 0 80px rgba(155, 77, 255, 0.08);
}

.phone-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url('../images/fundo-mobile-quiz.png');
  background-position: center;
  background-size: cover;
  opacity: 0.18;
  pointer-events: none;
}

/* === Top HUD === */

.top-hud {
  position: relative;
  z-index: 2;
  height: 64px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(123, 44, 255, 0.35), rgba(20, 5, 50, 0.65));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand-mark {
  width: 48px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(255, 210, 77, 0.35));
}

.hud-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.hud-copy span {
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.hud-copy strong {
  font-family: var(--ff-title);
  font-style: italic;
  font-size: 1.05rem;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.02em;
  color: #fff;
}

.mission-chip {
  padding: 6px 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), #ff9d00);
  color: #2a1500;
  font-weight: 900;
  font-family: var(--ff-title);
  font-size: 0.78rem;
  font-style: italic;
  letter-spacing: 0.08em;
  box-shadow: 0 0 18px rgba(255, 210, 77, 0.4);
}

/* === Intro countdown (timer header) === */

.intro-countdown {
  position: relative;
  z-index: 2;
  margin: 14px 0;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255, 210, 77, 0.15), rgba(20, 5, 50, 0.6));
  backdrop-filter: blur(10px);
}

.intro-countdown span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.intro-countdown strong {
  font-family: var(--ff-title);
  font-size: 1.5rem;
  font-style: italic;
  color: #fff;
  text-shadow: 0 0 24px rgba(255, 210, 77, 0.6);
}

/* === Discount banner === */

.discount-banner {
  position: relative;
  z-index: 2;
  height: 96px;
  margin-top: 8px;
  display: none;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.discount-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.discount-banner strong {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 96px;
  text-align: center;
  color: #fff;
  font-family: var(--ff-title);
  font-size: clamp(2.4rem, 13vw, 3.6rem);
  font-style: italic;
  font-weight: 900;
  text-shadow: 2px 2px 0 var(--pink), -2px -2px 0 var(--pink),
    2px -2px 0 var(--pink), -2px 2px 0 var(--pink),
    0 8px 18px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.02em;
}

/* === Progress bar === */

.progress-track {
  position: relative;
  z-index: 2;
  height: 8px;
  margin: 16px 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
}

.progress-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--purple) 0%, var(--pink) 50%, var(--gold) 100%);
  border-radius: inherit;
  box-shadow: 0 0 14px rgba(255, 210, 77, 0.5);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Mission card (main content) === */

.mission-card {
  position: relative;
  z-index: 2;
  min-height: 480px;
  padding: 24px 20px 20px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--panel-strong));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  text-align: center;
  overflow: hidden;
}

.mission-card.is-step-one h1 {
  font-size: clamp(1.15rem, 4.7vw, 1.42rem);
}

.mission-card.is-final-question h1 {
  font-size: clamp(0.92rem, 3.6vw, 1.08rem);
  line-height: 1.05;
}

.mission-card.is-redeem {
  background: linear-gradient(135deg, rgba(46, 232, 122, 0.18), rgba(20, 5, 50, 0.95)),
    var(--bg-deep);
}

/* Decorative scanline overlay (subtle, modern) */
.scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(155, 77, 255, 0.04) 50%);
  background-size: 100% 4px;
  opacity: 0.4;
  pointer-events: none;
}

.mission-kicker {
  display: none;
  margin: 0 0 14px;
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), #ff9d00);
  color: #2a1500;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0 auto 12px;
  max-width: 100%;
  font-family: var(--ff-title);
  font-style: italic;
  font-size: clamp(1.18rem, 4.8vw, 1.6rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 4px 22px rgba(155, 77, 255, 0.4);
}

.subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.45;
  text-align: center;
}

.body-copy p {
  margin: 12px 0 0;
  color: #e8e0f7;
  font-size: 0.96rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-align: center;
}

.body-copy p strong {
  color: var(--gold);
  font-weight: 800;
}

.intro-copy p {
  font-size: 1.05rem;
}

/* === Intro banner image === */

.intro-banner {
  position: relative;
  margin: 8px -8px 18px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.4);
}

.intro-banner img {
  display: block;
  width: 100%;
  aspect-ratio: 1052 / 592;
  object-fit: cover;
}

.intro-title {
  margin: 0 auto 14px;
  max-width: 100%;
  font-family: var(--ff-title);
  font-style: italic;
  font-size: clamp(1.32rem, 5.6vw, 1.78rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 4px 22px rgba(155, 77, 255, 0.45);
}

/* === Options grid === */

.options-grid {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.options-grid.logo-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.options-grid.image-only-options .option-button {
  grid-template-rows: 1fr;
  min-height: 138px;
  padding: 14px;
}

.options-grid.image-only-options .option-media {
  height: 96px;
}

.options-grid.compact-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.option-button {
  min-height: 72px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(123, 44, 255, 0.32), rgba(20, 5, 50, 0.88));
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #fff;
  transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 200ms ease,
    background 200ms ease,
    box-shadow 200ms ease;
  display: flex;
  align-items: center;
  width: 100%;
  font-family: inherit;
}

.option-button:hover {
  border-color: rgba(255, 210, 77, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(123, 44, 255, 0.35);
}

.option-button:active {
  transform: translateY(0) scale(0.98);
}

.option-button.selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(255, 210, 77, 0.3),
    0 8px 24px rgba(255, 210, 77, 0.25);
}

.option-button.is-correct {
  background: linear-gradient(135deg, rgba(46, 232, 122, 0.5), rgba(20, 100, 40, 0.9));
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(46, 232, 122, 0.4),
    0 8px 28px rgba(46, 232, 122, 0.35);
}

.option-button.is-wrong {
  background: linear-gradient(135deg, rgba(255, 59, 107, 0.4), rgba(80, 10, 30, 0.9));
  border-color: rgba(255, 59, 107, 0.6);
}

.option-text {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-copy);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

.option-text b {
  flex: 0 0 32px;
  font-size: 1.4rem;
}

.options-grid.logo-options .option-button {
  min-height: 156px;
  display: grid;
  grid-template-rows: 90px auto;
  align-content: center;
  align-items: center;
  gap: 12px;
  padding: 12px;
  text-align: center;
}

.option-media {
  width: 100%;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5));
}

.option-label {
  font-family: var(--ff-copy);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  color: #fff;
}

/* === Primary action (CTA) === */

.primary-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 58px;
  margin-top: 22px;
  padding: 14px 20px;
  border: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #2ee87a, #b6ff00);
  color: #082008;
  font-family: var(--ff-title);
  font-size: 1.32rem;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(46, 232, 122, 0.4),
    inset 0 -2px 0 rgba(0, 0, 0, 0.15);
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
  animation: ctaPulse 1.8s ease-in-out infinite;
}

.primary-action:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 12px 32px rgba(46, 232, 122, 0.55);
}

.primary-action:active {
  transform: translateY(0) scale(0.98);
}

.primary-action.compact-action {
  min-height: 50px;
  margin-top: 16px;
  padding: 12px 16px;
  font-size: clamp(0.95rem, 4.2vw, 1.1rem);
}

/* === Reserve box === */

.reserve-box {
  margin-top: 22px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(155, 77, 255, 0.18), rgba(20, 5, 50, 0.7));
  text-align: center;
}

.reserve-box strong {
  display: block;
  font-family: var(--ff-title);
  font-size: clamp(3rem, 12vw, 5rem);
  font-style: italic;
  line-height: 0.9;
  color: #fff;
  text-shadow: 0 0 24px rgba(255, 210, 77, 0.5);
}

.reserve-box small {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.reserve-progress-shell {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.reserve-progress-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.reserve-meter,
.reserve-side-card {
  position: relative;
  min-height: 178px;
  padding: 14px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(46, 232, 122, 0.3);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 8px;
}

.reserve-meter-title,
.reserve-side-card strong {
  font-family: var(--ff-copy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.reserve-ring {
  --pct: 0%;
  position: relative;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  margin: 8px auto 0;
  border-radius: 50%;
  background: conic-gradient(var(--green) var(--pct), rgba(255, 255, 255, 0.1) 0);
  box-shadow: 0 0 22px rgba(46, 232, 122, 0.35);
  transition: background 0.3s ease;
}

.reserve-ring::before {
  content: "";
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #14072a;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.7);
}

.reserve-ring strong {
  position: relative;
  z-index: 1;
  font-family: var(--ff-title);
  font-size: 2.05rem;
  font-style: italic;
  color: #fff;
}

.reserve-count-pill {
  padding: 12px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 210, 77, 0.3);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-family: var(--ff-title);
  font-size: 0.95rem;
  font-style: italic;
  text-transform: uppercase;
}

.reserve-side-card img {
  width: 100%;
  height: 100px;
  border-radius: 8px;
  border: 1px solid var(--border);
  object-fit: cover;
}

.reserve-timer {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 210, 77, 0.3);
  background: rgba(255, 210, 77, 0.08);
  color: #fff;
  font-family: var(--ff-copy);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.reserve-timer strong {
  color: var(--green);
}

/* === Coupons / Redeem === */

.coupon-card {
  margin-top: 22px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
  text-align: center;
}

.coupon-card strong {
  font-family: var(--ff-title);
  font-size: 5rem;
  line-height: 0.9;
  color: var(--gold);
  text-shadow: 0 0 28px rgba(255, 210, 77, 0.5);
}

.reserve-art {
  display: block;
  width: 100%;
  max-height: 190px;
  margin: 0 auto 14px;
  border-radius: 12px;
  border: 1px solid rgba(46, 232, 122, 0.3);
  object-fit: cover;
}

/* === Redeem screen === */

.redeem-panel {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}

.redeem-booyah {
  display: block;
  width: min(60%, 220px);
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(255, 210, 77, 0.5));
}

.redeem-title {
  margin: 0 auto;
  font-family: var(--ff-title);
  font-size: clamp(1.42rem, 7vw, 2.1rem);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 4px 22px rgba(155, 77, 255, 0.4);
  letter-spacing: -0.02em;
}

.redeem-prize {
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 210, 77, 0.3);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.18));
}

.redeem-art {
  display: block;
  width: 100%;
  max-height: 280px;
  border-radius: 12px;
  object-fit: cover;
}

.redeem-status,
.redeem-copy,
.redeem-note {
  margin: 0;
  text-align: center;
  font-family: var(--ff-copy);
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.redeem-status {
  color: var(--gold);
  font-size: 0.92rem;
}

.redeem-copy {
  color: #fff;
  font-size: 0.95rem;
}

.redeem-copy strong {
  color: var(--green);
}

.redeem-note {
  color: var(--muted);
  font-size: 0.78rem;
}

.reserve-badge {
  display: inline-block;
  margin: 0 0 8px;
  padding: 0 0 6px;
  border-bottom: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--ff-title);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reserve-copy {
  margin: 12px 0 16px;
  color: #fff;
  font-family: var(--ff-copy);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
}

.reserve-copy strong {
  color: var(--green);
}

/* === Social loading + Proof board === */

.social-loading-panel {
  display: grid;
  gap: 12px;
  margin: 8px 0 18px;
  text-align: center;
}

.social-load-bar {
  position: relative;
  height: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.social-load-bar span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), #ffd980);
  box-shadow: 0 0 16px rgba(255, 210, 77, 0.4);
  transition: width 0.15s linear;
}

.social-load-bar strong {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--ff-copy);
  font-size: 0.78rem;
  font-weight: 900;
}

.social-loading-panel p {
  margin: 0;
  font-family: var(--ff-copy);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

.proof-board {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  text-align: left;
}

.testimony-card {
  margin: 0;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.testimony-card.authority {
  border-color: rgba(46, 232, 122, 0.4);
  background: rgba(46, 232, 122, 0.08);
}

.testimony-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.testimony-card span {
  display: block;
  font-family: var(--ff-copy);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.testimony-card em {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.75rem;
  font-style: normal;
}

.testimony-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-style: italic;
  line-height: 1.45;
}

.testimony-card p strong {
  color: #fff;
}

.testimony-card.authority p strong {
  color: var(--green);
}

.testimony-card small {
  display: block;
  margin-top: 10px;
  color: var(--gold);
  font-size: 0.92rem;
  letter-spacing: 0.1em;
}

.testimony-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  object-fit: cover;
}

.authority .testimony-avatar {
  border: 2px solid var(--green);
  padding: 2px;
}

/* === Loading (skeleton) === */

.loading-panel {
  display: grid;
  gap: 12px;
}

.loading-panel span {
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.loading-panel span::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  animation: loadbar 1.1s ease-in-out infinite;
}

.loading-panel span:nth-child(2)::before {
  animation-delay: 120ms;
}

.loading-panel span:nth-child(3)::before {
  animation-delay: 240ms;
}

/* === Bottom HUD === */

.bottom-hud {
  display: none;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  margin-top: 18px;
}

.bottom-hud button {
  height: 6px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  padding: 0;
  transition: background 0.2s ease;
}

.bottom-hud button.active {
  background: linear-gradient(90deg, var(--pink), var(--gold));
  box-shadow: 0 0 10px rgba(255, 210, 77, 0.4);
}

/* === Error modal === */

.result-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 1, 11, 0.76);
  backdrop-filter: blur(10px);
}

.result-modal.open {
  display: flex;
  animation: resultModalIn 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.result-modal > div {
  width: 100%;
  max-width: 340px;
  margin: auto;
  padding: 26px 22px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255, 59, 107, 0.2), rgba(20, 5, 50, 0.95));
  text-align: center;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes resultModalIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

.result-modal h2 {
  margin: 8px 0;
  font-family: var(--ff-title);
  font-size: 1.85rem;
  font-style: italic;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.result-modal p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.45;
}

.result-modal button {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  border: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--green), #b6ff00);
  color: #082008;
  font-family: var(--ff-title);
  font-size: 1.15rem;
  font-style: italic;
  text-transform: uppercase;
  cursor: pointer;
}

.error-art {
  width: 138px;
  height: 138px;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 12px;
}

/* === Animations === */

@keyframes loadbar {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

@keyframes ctaPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 8px 24px rgba(46, 232, 122, 0.4); }
  50% { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(46, 232, 122, 0.55); }
}

/* === Responsive === */

@media (min-width: 680px) {
  .arena-shell { padding: 28px; }
  .phone-frame {
    min-height: 880px;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-card);
  }
}

@media (max-width: 380px) {
  .phone-frame { padding-inline: 12px; }
  .top-hud { grid-template-columns: 52px 1fr auto; gap: 8px; }
  .brand-mark { width: 44px; height: 38px; }
  .mission-card { padding-inline: 14px; }
  .options-grid.logo-options { grid-template-columns: 1fr; }
}
