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


:root {
  --bg: #06080f;
  --surface: rgba(255, 255, 255, .04);
  --surface-hover: rgba(255, 255, 255, .07);
  --glass: rgba(255, 255, 255, .06);
  --glass-border: rgba(255, 255, 255, .1);
  --accent: #ff3b86;
  --accent-2: #ff6aa6;
  --accent-3: #ff9ac4;
  --accent-glow: rgba(255, 59, 134, .30);
  --cyan: #22d3ee;
  --gold: #fbbf24;
  --green: #34d399;
  --green-deep: #059669;
  --text: #f1f5f9;
  --text-secondary: #94a3b8;
  --muted: #64748b;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --duration: .3s;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 10%, rgba(255, 59, 134, .13) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(34, 211, 238, .08) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(251, 191, 36, .05) 0%, transparent 50%);
  animation: bgShift 12s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes bgShift {
  0% {
    opacity: .7;
    filter: hue-rotate(0deg);
  }

  100% {
    opacity: 1;
    filter: hue-rotate(20deg);
  }
}

body::after {
  content: '';
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 59, 134, .10) 0%, transparent 70%);
  top: -80px;
  right: -80px;
  z-index: 0;
  animation: floatOrb 8s ease-in-out infinite alternate;
  pointer-events: none;
}


.bg-symbols {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-symbol {
  position: absolute;
  user-select: none;
  opacity: .17;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .22));
  transform-origin: center;
  animation: symbolDrift 11s ease-in-out infinite alternate;
}

.sym-cherries { width: 76px; top: 7%; left: 3%; transform: rotate(-10deg); animation-duration: 10s; }
.sym-diamond { width: 82px; top: 10%; right: 6%; transform: rotate(8deg); animation-duration: 12s; }
.sym-seven { width: 66px; top: 58%; left: 5%; transform: rotate(-10deg); animation-duration: 9s; }
.sym-bell { width: 64px; bottom: 18%; left: 8%; transform: rotate(-12deg); animation-duration: 11s; }
.sym-crown { width: 74px; bottom: 8%; right: 18%; transform: rotate(8deg); animation-duration: 13s; }
.sym-grapes { width: 70px; bottom: 12%; left: 24%; transform: rotate(-5deg); animation-duration: 10.5s; }
.sym-game { width: 98px; bottom: 8%; right: 4%; transform: rotate(8deg); opacity: .14; animation-duration: 14s; }
.sym-strawberry { width: 70px; top: 28%; left: 1.5%; transform: rotate(-8deg); animation-duration: 10.8s; }
.sym-clover { width: 66px; top: 16%; left: 11%; transform: rotate(7deg); opacity: .16; animation-duration: 9.5s; }
.sym-coins { width: 74px; top: 44%; right: 2.5%; transform: rotate(9deg); opacity: .15; animation-duration: 12.5s; }
.sym-horseshoe { width: 68px; bottom: 28%; right: 7%; transform: rotate(-8deg); opacity: .14; animation-duration: 11.4s; }
.sym-dice { width: 62px; bottom: 24%; left: 16%; transform: rotate(10deg); opacity: .15; animation-duration: 9.6s; }
.sym-bar { width: 64px; top: 34%; right: 8%; transform: rotate(-6deg); opacity: .14; animation-duration: 13s; }

@keyframes symbolDrift {
  0% { transform: translate3d(0,0,0) rotate(var(--rot, 0deg)) scale(1); }
  50% { transform: translate3d(6px,-10px,0) rotate(calc(var(--rot, 0deg) + 5deg)) scale(1.04); }
  100% { transform: translate3d(-8px,12px,0) rotate(calc(var(--rot, 0deg) - 6deg)) scale(.98); }
}

@keyframes symbolPulse {
  0%,100% { opacity: .12; }
  50% { opacity: .2; }
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-40px, 60px) scale(1.15);
  }
}


.quiz-wrapper {
  width: 100%;
  max-width: 600px;
  min-height: calc(100dvh - 48px);
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-wrapper > .screen {
  width: 100%;
}

.screen {
  display: none;
  animation: screenIn .5s var(--ease) both;
}

.screen.active {
  display: flex;
  flex-direction: column;
  gap: 24px;
}


@keyframes cardDecorFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(8px); }
}

@keyframes cardDecorFloatB {
  0% { transform: translateX(0); }
  100% { transform: translateX(-6px); }
}

@keyframes screenIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.screen:not(#screen-intro):not(#screen-result) {
  position: relative;
  overflow: hidden;
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.screen:not(#screen-intro):not(#screen-result)::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .14;
  background-image:
    url('../assets/symbols/diamond.png'),
    url('../assets/symbols/cherries.png'),
    url('../assets/symbols/clover.png'),
    url('../assets/symbols/coins.png');
  background-repeat: no-repeat;
  background-size: 44px, 48px, 42px, 46px;
  background-position: right 18px top 18px, left 14px bottom 24px, left 22px top 18px, right 16px bottom 16px;
  animation: cardDecorFloat 10s ease-in-out infinite alternate;
}

.screen:not(#screen-intro):not(#screen-result)::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .08;
  background-image:
    url('../assets/symbols/seven.png'),
    url('../assets/symbols/bar.png'),
    url('../assets/symbols/grapes.png');
  background-repeat: no-repeat;
  background-size: 52px, 48px, 44px;
  background-position: left -8px center, right -6px 34%, center calc(100% - 18px);
  animation: cardDecorFloatB 12s ease-in-out infinite alternate;
}

.screen:not(#screen-intro):not(#screen-result) > * {
  position: relative;
  z-index: 1;
}


#screen-intro {
  align-items: center;
  text-align: center;
}

.intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 59, 134, .10);
  border: 1px solid rgba(255, 59, 134, .28);
  color: var(--accent-2);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}

.intro-title {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, #fff 0%, var(--accent-2) 60%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: 520px;
}

.intro-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 460px;
  line-height: 1.7;
}

.bonus-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: .95rem;
  color: var(--text-secondary);
  max-width: 480px;
  text-align: left;
}

.bonus-box strong {
  color: var(--text);
}

.bonus-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.progress-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.progress-bar {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, .06);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--cyan) 100%);
  border-radius: var(--radius-pill);
  transition: width .6s var(--ease);
  box-shadow: 0 0 12px rgba(124, 92, 252, .4);
}

.progress-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: .04em;
}

.question-title {
  font-size: clamp(1.05rem, 3.2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  letter-spacing: -.01em;
}

.insight-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(251, 191, 36, .1);
  border: 1px solid rgba(251, 191, 36, .25);
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  align-self: flex-start;
}

.options {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, .03);
  border: 1.5px solid rgba(255, 255, 255, .07);
  border-radius: 12px;
  padding: 15px 18px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition:
    border-color var(--duration) var(--ease),
    background var(--duration) var(--ease),
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    color var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
  user-select: none;
}

.option-item::before {
  content: attr(data-letter);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  border: 1.5px solid rgba(255, 255, 255, .1);
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  transition:
    background var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    color var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.option-item:hover {
  border-color: rgba(124, 92, 252, .4);
  background: rgba(124, 92, 252, .06);
  color: var(--text);
  transform: translateX(4px);
}

.option-item:hover::before {
  border-color: rgba(124, 92, 252, .4);
  background: rgba(255, 59, 134, .10);
  color: var(--accent-3);
}

.option-item.selected {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(124, 92, 252, .14) 0%, rgba(34, 211, 238, .06) 100%);
  color: var(--text);
  box-shadow:
    0 0 0 1px rgba(124, 92, 252, .25),
    0 8px 32px rgba(255, 59, 134, .13);
}

.option-item.selected::before {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #fff;
  transform: scale(1.05);
}

.option-item.selected::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      transparent 40%,
      rgba(255, 255, 255, .06) 45%,
      rgba(255, 255, 255, .06) 55%,
      transparent 60%);
  animation: shimmer 2.5s ease infinite;
}

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

  100% {
    transform: translateX(100%);
  }
}

.option-item:active {
  transform: scale(.985);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  padding: 14px 28px;
  letter-spacing: .01em;
  transition:
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    background var(--duration) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #6d28d9 50%, var(--accent-2) 100%);
  background-size: 200% 200%;
  animation: gradientMove 4s ease infinite;
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
  flex: 1;
}

@keyframes gradientMove {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.btn-primary:hover {
  box-shadow: 0 8px 36px rgba(124, 92, 252, .45);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, .04);
  color: var(--text-secondary);
  border: 1.5px solid rgba(255, 255, 255, .1);
  padding: 13px 20px;
  flex-shrink: 0;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, .2);
  color: var(--text);
  background: rgba(255, 255, 255, .07);
}

#btn-start {
  width: 100%;
  padding: 18px;
  font-size: 1.1rem;
  border-radius: var(--radius);
  max-width: 360px;
}

#screen-result {
  align-items: center;
  text-align: center;
}

.result-icon {
  font-size: 3.5rem;
  filter: drop-shadow(0 0 20px rgba(52, 211, 153, .5));
  animation: popBounce .6s var(--ease) both;
}

@keyframes popBounce {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  60% {
    transform: scale(1.15);
    opacity: 1;
  }

  100% {
    transform: scale(1);
  }
}

.result-heading {
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, #fff 0%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: 480px;
}

.result-card {
  background: var(--glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  max-width: 520px;
  width: 100%;
}

.result-verdict {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 10px;
}

.result-verdict::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(52, 211, 153, .6);
  flex-shrink: 0;
}

.result-body {
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.7;
}

.result-body strong {
  color: var(--text);
  font-weight: 600;
}

.result-cta-hint {
  color: var(--muted);
  font-size: .88rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding-top: 16px;
  margin-top: 4px;
}


.result-actions {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.result-bonus-note {
  width: 100%;
  text-align: center;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: rgba(251, 191, 36, .08);
  border: 1px solid rgba(251, 191, 36, .22);
  box-shadow: 0 8px 28px rgba(251, 191, 36, .08);
}

.btn-install {
  width: 100%;
  max-width: 360px;
  padding: 18px;
  font-size: 1.1rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  background-size: 200% 200%;
  animation: gradientMove 4s ease infinite;
  box-shadow: 0 4px 28px rgba(52, 211, 153, .35);
  color: #fff;
}

.btn-install:hover {
  box-shadow: 0 8px 40px rgba(52, 211, 153, .5);
  transform: translateY(-2px);
}

.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: rgba(30, 27, 75, .9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 59, 134, .28);
  color: var(--accent-3);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .88rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
  pointer-events: none;
  transition: transform .35s var(--ease), opacity .35s;
  opacity: 0;
  z-index: 9999;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-6px);
  }

  40% {
    transform: translateX(6px);
  }

  60% {
    transform: translateX(-4px);
  }

  80% {
    transform: translateX(4px);
  }
}

.shake {
  animation: shake .45s ease both;
}



.footer-spacer {
  width: 100%;
  height: 220dvh;
  flex: 0 0 auto;
  pointer-events: none;
}

.site-footer {
  width: 100%;
  max-width: 760px;
  position: relative;
  z-index: 1;
  padding: 0 0 max(28px, env(safe-area-inset-bottom));
}

.footer-card {
  width: 100%;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: rgba(255,255,255,.025);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

.footer-brand {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(241,245,249,.7);
  margin-bottom: 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px 28px;
}

.footer-item {
  min-width: 0;
  color: rgba(148,163,184,.7);
  font-size: .78rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.footer-label {
  display: block;
  margin-bottom: 4px;
  color: rgba(100,116,139,.72);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-item a {
  color: rgba(196,181,253,.8);
  text-decoration: none;
  border-bottom: 1px solid rgba(196,181,253,.18);
}

.footer-item a:hover {
  color: var(--text);
  border-bottom-color: rgba(196,181,253,.5);
}

.footer-address {
  grid-column: 1 / -1;
}

@media (max-width: 480px) {
  body {
    padding: 16px 10px;
  }

  .screen:not(#screen-intro):not(#screen-result) {
    padding: 24px 18px;
    border-radius: var(--radius);
  }

  .nav-row {
    flex-direction: column-reverse;
  }

  .btn-outline,
  .btn-primary {
    width: 100%;
  }

  .option-item {
    padding: 13px 14px;
    font-size: .9rem;
  }

  .intro-title {
    font-size: 1.5rem;
  }


  .bg-symbol {
    opacity: .13;
  }

  .sym-cherries { width: 56px; top: 7%; left: 2%; }
  .sym-diamond { width: 60px; top: 11%; right: 3%; }
  .sym-seven { width: 50px; top: 61%; left: 2.5%; }
  .sym-bell { width: 48px; bottom: 18%; left: 3%; }
  .sym-crown { width: 56px; bottom: 7%; right: 12%; }
  .sym-grapes { width: 52px; bottom: 12%; left: 20%; }
  .sym-game { width: 74px; bottom: 8%; right: 1%; opacity: .11; }
  .sym-strawberry { width: 52px; top: 30%; left: .5%; }
  .sym-clover { width: 50px; top: 15%; left: 9%; }
  .sym-coins { width: 54px; top: 44%; right: .5%; }
  .sym-horseshoe { width: 50px; bottom: 29%; right: 3%; }
  .sym-dice { width: 44px; bottom: 24%; left: 11%; }
  .sym-bar { width: 46px; top: 34%; right: 5%; }

  .screen:not(#screen-intro):not(#screen-result)::before {
    opacity: .18;
    background-size: 32px, 36px, 32px, 34px;
    background-position: right 8px top 10px, left 6px bottom 14px, left 10px top 10px, right 8px bottom 10px;
  }

  .screen:not(#screen-intro):not(#screen-result)::after {
    opacity: .1;
    background-size: 36px, 34px, 32px;
    background-position: left -8px center, right -8px 32%, center calc(100% - 12px);
  }

  .result-bonus-note {
    font-size: .94rem;
    padding: 11px 14px;
  }


  .footer-spacer {
    height: 240dvh;
  }

  .site-footer {
    padding-bottom: max(18px, env(safe-area-inset-bottom));
  }

  .footer-card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-address {
    grid-column: auto;
  }

}

/* Question-specific background artwork */
.screen.has-question-bg {
  isolation: isolate;
}

.screen.has-question-bg::before {
  opacity: .08;
}

.screen.has-question-bg::after {
  opacity: .05;
}

.screen.has-question-bg > .question-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.screen.has-question-bg > .question-art::before {
  content: '';
  position: absolute;
  inset: -6%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: .24;
  filter: saturate(.98) brightness(.94) contrast(1.04);
  transform-origin: center center;
}

.screen.has-question-bg > .question-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 13, 35, .18) 0%, rgba(4, 18, 48, .10) 20%, rgba(3, 15, 40, .08) 42%, rgba(3, 16, 39, .14) 62%, rgba(3, 15, 36, .24) 100%),
    linear-gradient(135deg, rgba(5, 38, 97, .56) 0%, rgba(3, 28, 75, .46) 45%, rgba(2, 17, 48, .58) 100%);
}

.question-art.bg-atm::before {
  background-image: url('../assets/question-bg/atm.jpg');
  background-position: center 18%;
  opacity: .22;
  transform: scale(1.12);
}

.question-art.bg-euapp::before {
  background-image: url('../assets/question-bg/euapp.jpg');
  background-size: auto 122%;
  background-position: 53% 48%;
  opacity: .21;
  transform: scale(1.20);
}

.question-art.bg-gates::before {
  background-image: url('../assets/question-bg/gates.jpg');
  background-position: center center;
  opacity: .20;
  transform: scale(1.18);
}

.question-art.bg-game-a::before {
  background-image: url('../assets/question-bg/game-a.jpg');
  background-position: center center;
  opacity: .20;
  transform: scale(1.08);
}

.question-art.bg-notify::before {
  background-image: url('../assets/question-bg/notify.jpg');
  background-size: auto 144%;
  background-position: 53% 60%;
  opacity: .16;
  transform: scale(1.20) rotate(-12deg);
}

.question-art.bg-game-b::before {
  background-image: url('../assets/question-bg/game-b.jpg');
  background-size: auto 136%;
  background-position: 57% 56%;
  opacity: .18;
  transform: scale(1.16) rotate(-9deg);
}

.question-art.bg-cashphone::before {
  background-image: url('../assets/question-bg/cashphone.jpg');
  background-position: center center;
  opacity: .17;
  transform: scale(1.10);
}


/* v4 visibility fix: keep artwork behind quiz content.
   The original generic .screen > * rule was overriding the background layer. */
.screen.has-question-bg > .question-art {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  border-radius: inherit !important;
  pointer-events: none !important;
}

.screen.has-question-bg > *:not(.question-art) {
  position: relative;
  z-index: 2;
}

.screen.has-question-bg > .question-art::before,
.screen.has-question-bg > .question-art::after {
  position: absolute;
  display: block;
}


/* v5 full-screen question artwork */
.page-question-art {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity .35s ease;
}

body.has-page-question-bg .page-question-art {
  opacity: 1;
}

.page-question-art::before {
  content: '';
  position: absolute;
  inset: -8%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: .24;
  filter: saturate(.98) brightness(.94) contrast(1.04);
  transform-origin: center center;
}

.page-question-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 44%, rgba(9, 24, 62, .10) 0%, rgba(5, 18, 47, .34) 58%, rgba(2, 9, 24, .62) 100%),
    linear-gradient(180deg, rgba(2, 8, 23, .20) 0%, rgba(2, 10, 27, .10) 18%, rgba(3, 16, 39, .10) 42%, rgba(3, 15, 36, .18) 68%, rgba(2, 9, 23, .34) 100%),
    linear-gradient(135deg, rgba(5, 38, 97, .48) 0%, rgba(3, 28, 75, .38) 45%, rgba(2, 17, 48, .52) 100%);
}

.page-question-art.bg-atm::before {
  background-image: url('../assets/question-bg/atm.jpg');
  background-position: center 18%;
  opacity: .23;
  transform: scale(1.10);
}

.page-question-art.bg-euapp::before {
  background-image: url('../assets/question-bg/euapp.jpg');
  background-size: auto 138%;
  background-position: 53% 48%;
  opacity: .21;
  transform: scale(1.26);
}

.page-question-art.bg-gates::before {
  background-image: url('../assets/question-bg/gates.jpg');
  background-position: center center;
  opacity: .18;
  transform: scale(1.16);
}

.page-question-art.bg-game-a::before {
  background-image: url('../assets/question-bg/game-a.jpg');
  background-position: center center;
  opacity: .20;
  transform: scale(1.08);
}

.page-question-art.bg-notify::before {
  background-image: url('../assets/question-bg/notify.jpg');
  background-size: auto 156%;
  background-position: 54% 61%;
  opacity: .17;
  transform: scale(1.28) rotate(-12deg);
}

.page-question-art.bg-game-b::before {
  background-image: url('../assets/question-bg/game-b.jpg');
  background-size: auto 150%;
  background-position: 57% 56%;
  opacity: .18;
  transform: scale(1.22) rotate(-9deg);
}

.page-question-art.bg-cashphone::before {
  background-image: url('../assets/question-bg/cashphone.jpg');
  background-position: center center;
  opacity: .17;
  transform: scale(1.08);
}

/* Hide the old in-card artwork approach */
.screen.has-question-bg > .question-art {
  display: none !important;
}


/* v6 cleanup: remove the previous generic decorative background so only the agreed artwork remains */
.bg-symbols {
  display: none !important;
}

body::before,
body::after {
  display: none !important;
}

.screen:not(#screen-intro):not(#screen-result)::before,
.screen:not(#screen-intro):not(#screen-result)::after {
  display: none !important;
  content: none !important;
}

/* make the full-screen artwork cleaner and more readable */
.page-question-art::before {
  opacity: .28;
}

.page-question-art::after {
  background:
    radial-gradient(ellipse 72% 62% at 50% 44%, rgba(8, 18, 48, .06) 0%, rgba(5, 14, 38, .20) 56%, rgba(2, 8, 22, .40) 100%),
    linear-gradient(180deg, rgba(2, 8, 22, .14) 0%, rgba(2, 9, 25, .06) 18%, rgba(3, 13, 34, .07) 42%, rgba(3, 14, 34, .14) 68%, rgba(2, 8, 22, .24) 100%),
    linear-gradient(135deg, rgba(5, 38, 97, .34) 0%, rgba(3, 28, 75, .26) 45%, rgba(2, 17, 48, .34) 100%);
}


/* v6 clean question backgrounds:
   remove all legacy decorative artwork while a question background is active */
body.has-page-question-bg::before,
body.has-page-question-bg::after,
body.has-page-question-bg .bg-symbols,
body.has-page-question-bg .screen:not(#screen-intro):not(#screen-result)::before,
body.has-page-question-bg .screen:not(#screen-intro):not(#screen-result)::after {
  display: none !important;
}

/* Let the approved full-screen artwork remain clearly visible through the quiz card. */
body.has-page-question-bg .screen:not(#screen-intro):not(#screen-result) {
  background: rgba(5, 16, 42, .22) !important;
  backdrop-filter: blur(2px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(2px) saturate(1.08) !important;
  border-color: rgba(150, 185, 235, .20) !important;
}

body.has-page-question-bg .page-question-art::after {
  background:
    linear-gradient(180deg, rgba(2, 9, 26, .05) 0%, rgba(3, 14, 36, .03) 36%, rgba(2, 10, 27, .10) 100%),
    linear-gradient(135deg, rgba(4, 35, 92, .20) 0%, rgba(3, 25, 67, .16) 48%, rgba(2, 15, 43, .24) 100%) !important;
}

body.has-page-question-bg .page-question-art.bg-atm::before { opacity: .48 !important; }
body.has-page-question-bg .page-question-art.bg-euapp::before { opacity: .46 !important; }
body.has-page-question-bg .page-question-art.bg-gates::before { opacity: .42 !important; }
body.has-page-question-bg .page-question-art.bg-game-a::before { opacity: .44 !important; }
body.has-page-question-bg .page-question-art.bg-notify::before { opacity: .40 !important; }
body.has-page-question-bg .page-question-art.bg-game-b::before { opacity: .42 !important; }
body.has-page-question-bg .page-question-art.bg-cashphone::before { opacity: .39 !important; }


/* v8: rebuild background presentation from real-device screenshots.
   Keep the approved picture full-screen, but stop aggressive zooming. */
body.has-page-question-bg .screen:not(#screen-intro):not(#screen-result) {
  background: rgba(4, 14, 38, .58) !important;
  backdrop-filter: blur(7px) saturate(1.04) !important;
  -webkit-backdrop-filter: blur(7px) saturate(1.04) !important;
  border-color: rgba(156, 190, 238, .22) !important;
}

body.has-page-question-bg .page-question-art::before {
  inset: 0 !important;
  background-size: cover !important;
  background-position: center center !important;
  opacity: .31 !important;
  filter: saturate(.82) brightness(.76) contrast(1.02) !important;
  transform: none !important;
}

body.has-page-question-bg .page-question-art::after {
  background:
    linear-gradient(180deg, rgba(2, 9, 25, .16) 0%, rgba(2, 13, 34, .08) 34%, rgba(2, 11, 29, .16) 100%),
    linear-gradient(135deg, rgba(8, 47, 108, .22) 0%, rgba(4, 30, 76, .18) 48%, rgba(2, 16, 46, .26) 100%) !important;
}

/* Per-background framing — no more giant crops. */
body.has-page-question-bg .page-question-art.bg-atm::before {
  background-size: cover !important;
  background-position: center 45% !important;
  opacity: .31 !important;
}

body.has-page-question-bg .page-question-art.bg-euapp::before {
  background-size: cover !important;
  background-position: center center !important;
  opacity: .30 !important;
}

body.has-page-question-bg .page-question-art.bg-gates::before {
  background-size: cover !important;
  background-position: center center !important;
  opacity: .29 !important;
}

body.has-page-question-bg .page-question-art.bg-game-a::before {
  background-size: cover !important;
  background-position: center center !important;
  opacity: .30 !important;
}

body.has-page-question-bg .page-question-art.bg-notify::before {
  background-size: 104% auto !important;
  background-position: center 53% !important;
  opacity: .29 !important;
  transform: rotate(-5deg) scale(1.02) !important;
}

body.has-page-question-bg .page-question-art.bg-game-b::before {
  background-size: 104% auto !important;
  background-position: center 52% !important;
  opacity: .29 !important;
  transform: rotate(-5deg) scale(1.02) !important;
}

body.has-page-question-bg .page-question-art.bg-cashphone::before {
  background-size: cover !important;
  background-position: center center !important;
  opacity: .29 !important;
}


/* v9 — restore the approved full-screen background style that was agreed in mockups.
   Goal: no centered frosted card; each background keeps its own angle/scale/position. */
body.has-page-question-bg {
  padding: 0 !important;
  background: #06153a !important;
}

body.has-page-question-bg .quiz-wrapper {
  width: 100% !important;
  max-width: none !important;
  min-height: 100dvh !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
}

body.has-page-question-bg .quiz-wrapper > .screen {
  width: 100% !important;
}

body.has-page-question-bg .screen:not(#screen-intro):not(#screen-result) {
  position: relative !important;
  min-height: 100dvh !important;
  padding: 18px 32px 28px !important;
  gap: 18px !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.has-page-question-bg .screen:not(#screen-intro):not(#screen-result) > * {
  position: relative !important;
  z-index: 2 !important;
}

body.has-page-question-bg .screen:not(#screen-intro):not(#screen-result)::before,
body.has-page-question-bg .screen:not(#screen-intro):not(#screen-result)::after,
body.has-page-question-bg .bg-symbols,
body.has-page-question-bg::before,
body.has-page-question-bg::after,
body.has-page-question-bg .question-art {
  display: none !important;
}

body.has-page-question-bg .page-question-art {
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

body.has-page-question-bg .page-question-art::before,
body.has-page-question-bg .page-question-art::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
}

body.has-page-question-bg .page-question-art::before {
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center center !important;
  opacity: .58 !important;
  filter: saturate(.88) brightness(.82) contrast(1.03) !important;
}

body.has-page-question-bg .page-question-art::after {
  background:
    linear-gradient(180deg, rgba(2, 12, 34, .34) 0%, rgba(4, 21, 58, .26) 34%, rgba(3, 16, 44, .34) 100%),
    linear-gradient(90deg, rgba(7, 31, 79, .36) 0%, rgba(7, 31, 79, .12) 22%, rgba(7, 31, 79, .12) 78%, rgba(7, 31, 79, .36) 100%) !important;
}

/* Header / progress */
body.has-page-question-bg .progress-wrap {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding-top: 56px !important;
  margin-bottom: 18px !important;
}

body.has-page-question-bg .progress-label {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  font-size: clamp(1.15rem, 3.8vw, 1.5rem) !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,.96) !important;
  letter-spacing: -.01em !important;
}

body.has-page-question-bg .progress-bar {
  height: 6px !important;
  background: rgba(255,255,255,.18) !important;
  border-radius: 999px !important;
}

body.has-page-question-bg .progress-fill {
  background: linear-gradient(90deg, #2f74ff 0%, #2fb4ff 100%) !important;
  box-shadow: 0 0 12px rgba(41, 140, 255, .28) !important;
}

/* Top left back arrow */
body.has-page-question-bg .btn-back {
  position: absolute !important;
  top: 12px !important;
  left: 18px !important;
  z-index: 3 !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
  font-size: 2rem !important;
  line-height: 1 !important;
  justify-content: center !important;
}

body.has-page-question-bg .btn-back span:last-child {
  display: none !important;
}

body.has-page-question-bg .btn-back span:first-child {
  font-size: 2rem !important;
  font-weight: 400 !important;
  transform: translateY(-1px) !important;
}

/* Question typography */
body.has-page-question-bg .question-title {
  font-size: clamp(2rem, 5.9vw, 3.2rem) !important;
  line-height: 1.16 !important;
  font-weight: 800 !important;
  color: #fff !important;
  max-width: 100% !important;
  margin-top: 6px !important;
  margin-bottom: 10px !important;
  letter-spacing: -.03em !important;
  text-shadow: 0 2px 20px rgba(0,0,0,.24) !important;
}

/* Answers */
body.has-page-question-bg .options {
  gap: 16px !important;
}

body.has-page-question-bg .option-item {
  min-height: 96px !important;
  padding: 20px 24px !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,.06) !important;
  border: 1.5px solid rgba(255,255,255,.24) !important;
  color: rgba(255,255,255,.95) !important;
  font-size: clamp(1.1rem, 3.3vw, 1.35rem) !important;
  font-weight: 500 !important;
  gap: 18px !important;
  backdrop-filter: blur(1px) !important;
  -webkit-backdrop-filter: blur(1px) !important;
  transform: none !important;
}

body.has-page-question-bg .option-item::before {
  content: '' !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: 2.2px solid rgba(255,255,255,.92) !important;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04) !important;
}

body.has-page-question-bg .option-item:hover {
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.34) !important;
  color: #fff !important;
}

body.has-page-question-bg .option-item:hover::before {
  background: transparent !important;
  border-color: rgba(255,255,255,.96) !important;
}

body.has-page-question-bg .option-item.selected {
  background: rgba(255,255,255,.12) !important;
  border-color: rgba(82, 164, 255, .92) !important;
  box-shadow: 0 0 0 1px rgba(59,130,246,.24) !important;
}

body.has-page-question-bg .option-item.selected::before {
  background: linear-gradient(135deg, #1d8cff 0%, #55c2ff 100%) !important;
  border-color: rgba(82, 164, 255, .92) !important;
}

body.has-page-question-bg .option-item.selected::after {
  display: none !important;
}

/* Bottom navigation */
body.has-page-question-bg .nav-row {
  margin-top: auto !important;
  padding-top: 16px !important;
  gap: 0 !important;
}

body.has-page-question-bg .btn-primary {
  width: 100% !important;
  min-height: 76px !important;
  border-radius: 999px !important;
  padding: 16px 30px !important;
  font-size: clamp(1.3rem, 4vw, 1.6rem) !important;
  font-weight: 800 !important;
  background: linear-gradient(90deg, #1d8cff 0%, #2aa6ff 100%) !important;
  box-shadow: 0 12px 34px rgba(28, 125, 255, .28) !important;
  animation: none !important;
}

body.has-page-question-bg .btn-primary:hover {
  transform: none !important;
  box-shadow: 0 12px 34px rgba(28, 125, 255, .28) !important;
}

/* Keep arrow-only back button from taking horizontal space */
body.has-page-question-bg .nav-row .btn-outline {
  flex: 0 0 auto !important;
}

/* Per-background framing from approved refs */
body.has-page-question-bg .page-question-art.bg-atm::before {
  background-image: url('../assets/question-bg/atm.jpg') !important;
  background-size: cover !important;
  background-position: center center !important;
  opacity: .56 !important;
  transform: none !important;
}

body.has-page-question-bg .page-question-art.bg-euapp::before {
  background-image: url('../assets/question-bg/euapp.jpg') !important;
  background-size: 124% auto !important;
  background-position: center 18% !important;
  opacity: .54 !important;
  transform: rotate(-7deg) scale(1.05) !important;
}

body.has-page-question-bg .page-question-art.bg-gates::before {
  background-image: url('../assets/question-bg/gates.jpg') !important;
  background-size: 118% auto !important;
  background-position: center 18% !important;
  opacity: .52 !important;
  transform: rotate(-6deg) scale(1.06) !important;
}

body.has-page-question-bg .page-question-art.bg-game-a::before {
  background-image: url('../assets/question-bg/game-a.jpg') !important;
  background-size: cover !important;
  background-position: center center !important;
  opacity: .54 !important;
  transform: none !important;
}

body.has-page-question-bg .page-question-art.bg-notify::before {
  background-image: url('../assets/question-bg/notify.jpg') !important;
  background-size: 120% auto !important;
  background-position: center 22% !important;
  opacity: .54 !important;
  transform: rotate(-8deg) scale(1.04) !important;
}

body.has-page-question-bg .page-question-art.bg-game-b::before {
  background-image: url('../assets/question-bg/game-b.jpg') !important;
  background-size: 118% auto !important;
  background-position: center 20% !important;
  opacity: .54 !important;
  transform: rotate(7deg) scale(1.05) !important;
}

body.has-page-question-bg .page-question-art.bg-cashphone::before {
  background-image: url('../assets/question-bg/cashphone.jpg') !important;
  background-size: cover !important;
  background-position: center center !important;
  opacity: .54 !important;
  transform: none !important;
}

/* Slightly tighten small screens */
@media (max-width: 640px) {
  body.has-page-question-bg .screen:not(#screen-intro):not(#screen-result) {
    padding: 16px 26px 24px !important;
  }

  body.has-page-question-bg .progress-wrap {
    padding-top: 52px !important;
    margin-bottom: 14px !important;
  }

  body.has-page-question-bg .btn-back {
    top: 10px !important;
    left: 12px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
  }

  body.has-page-question-bg .question-title {
    font-size: clamp(1.75rem, 7vw, 2.6rem) !important;
  }

  body.has-page-question-bg .option-item {
    min-height: 82px !important;
    padding: 16px 18px !important;
    border-radius: 18px !important;
    font-size: clamp(1rem, 4vw, 1.18rem) !important;
  }

  body.has-page-question-bg .option-item::before {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
  }

  body.has-page-question-bg .btn-primary {
    min-height: 64px !important;
    font-size: 1.1rem !important;
  }
}


/* v11 — restore a real separate Back button in the bottom navigation row */
body.has-page-question-bg .nav-row {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: auto !important;
  padding-top: 16px !important;
}

body.has-page-question-bg .btn-back {
  position: static !important;
  top: auto !important;
  left: auto !important;
  z-index: auto !important;
  width: auto !important;
  height: auto !important;
  min-width: 128px !important;
  min-height: 76px !important;
  padding: 16px 22px !important;
  border: 1.5px solid rgba(255,255,255,.28) !important;
  border-radius: 22px !important;
  background: rgba(6, 21, 54, .58) !important;
  color: rgba(255,255,255,.94) !important;
  box-shadow: none !important;
  font-size: 1.05rem !important;
  line-height: 1.2 !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
}

body.has-page-question-bg .btn-back span:last-child {
  display: inline !important;
}

body.has-page-question-bg .btn-back span:first-child {
  display: inline !important;
  font-size: 1.45rem !important;
  font-weight: 400 !important;
  transform: none !important;
}

body.has-page-question-bg .nav-row .btn-primary {
  width: auto !important;
  flex: 1 1 auto !important;
}

@media (max-width: 640px) {
  body.has-page-question-bg .btn-back {
    min-width: 108px !important;
    min-height: 64px !important;
    padding: 14px 16px !important;
    border-radius: 18px !important;
    font-size: .98rem !important;
  }
  body.has-page-question-bg .btn-back span:first-child {
    font-size: 1.25rem !important;
  }
  body.has-page-question-bg .nav-row {
    gap: 10px !important;
  }
}


/* v12 personalized result summary */
.profile-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 6px;
}

.profile-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
}

.profile-summary-label {
  color: var(--text-secondary);
  font-size: .82rem;
  line-height: 1.35;
}

.profile-summary-value {
  color: var(--text);
  font-size: .9rem;
  line-height: 1.35;
  text-align: right;
  max-width: 58%;
}

#screen-result .result-bonus-note strong {
  color: inherit;
}

@media (max-width: 520px) {
  .profile-summary-row {
    flex-direction: column;
    gap: 5px;
  }

  .profile-summary-value {
    max-width: 100%;
    text-align: left;
  }
}


/* Mobile gaming / legal UI overrides */
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;padding-top:96px}
.topbar{position:fixed;top:0;left:0;right:0;z-index:50;background:rgba(9,12,24,.92);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.08)}
.topbar-inner{width:min(980px,calc(100% - 28px));height:72px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:18px}.quiz-brand{display:flex;align-items:center;gap:12px}.quiz-brand img{width:44px;height:44px;border-radius:12px}.quiz-brand strong{display:block;font-size:14px}.quiz-brand span{display:block;color:var(--text-secondary);font-size:11px}.lang-control{display:flex;align-items:center;gap:8px;color:var(--text-secondary);font-size:12px}.lang-control select{background:#141829;color:#fff;border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:8px 10px;font-weight:800}
.bg-symbols span{position:absolute;font-size:54px;opacity:.11;filter:grayscale(.1);animation:symbolDrift 11s ease-in-out infinite alternate}.bg-symbols span:nth-child(1){left:4%;top:12%}.bg-symbols span:nth-child(2){right:6%;top:14%}.bg-symbols span:nth-child(3){left:7%;bottom:16%}.bg-symbols span:nth-child(4){right:4%;bottom:10%}.bg-symbols span:nth-child(5){left:2%;top:48%}.bg-symbols span:nth-child(6){right:10%;top:52%}.bg-symbols span:nth-child(7){left:18%;bottom:4%}.bg-symbols span:nth-child(8){right:21%;bottom:3%}
.question-art,.page-question-art{display:none!important}.screen.has-question-bg{padding-top:0!important}.screen.has-question-bg::before,.screen.has-question-bg::after{display:none!important}
.site-footer{position:relative;z-index:3;width:min(980px,100%);margin:34px auto 0;padding:0 16px 28px}.footer-card{background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.09);border-radius:22px;padding:24px}.footer-brand{font-weight:900;font-size:18px;margin-bottom:18px}.footer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.footer-item{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--text-secondary)}.footer-label{color:#fff;font-weight:800;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.footer-item a,.legal-links button{color:var(--accent-3);background:none;border:0;padding:0;text-align:left;text-decoration:underline}.legal-links{display:flex;gap:12px;flex-wrap:wrap}.footer-source{margin-top:18px;padding-top:14px;border-top:1px solid rgba(255,255,255,.08);font-size:11px;color:var(--muted)}
.cookie-banner{position:fixed;z-index:90;left:18px;right:18px;bottom:18px;max-width:980px;margin:auto;background:#111522;color:#fff;border:1px solid rgba(255,255,255,.12);border-radius:20px;box-shadow:0 24px 70px rgba(0,0,0,.45);padding:18px 20px;display:flex;justify-content:space-between;align-items:center;gap:20px}.cookie-banner.hidden{display:none}.cookie-banner p{margin:4px 0 0;color:#a7b0c3;font-size:12px;max-width:600px}.cookie-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.cookie-btn{border-radius:999px;padding:10px 14px;font-weight:800;font-size:12px}.cookie-btn.primary{border:0;background:var(--accent);color:#fff}.cookie-btn.secondary{background:#fff;color:#111827;border:0}.cookie-btn.ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.22)}
.legal-dialog{width:min(680px,calc(100% - 28px));max-height:82vh;overflow:auto;background:#111522;color:#fff;border:1px solid rgba(255,255,255,.12);border-radius:22px;padding:30px;box-shadow:0 30px 100px rgba(0,0,0,.55)}.legal-dialog::backdrop{background:rgba(0,0,0,.7);backdrop-filter:blur(4px)}.legal-dialog h2{margin:0 42px 18px 0}.legal-dialog p{color:#b6bfd0;margin:12px 0}.legal-dialog a{color:#c4b5fd}.dialog-close{position:absolute;right:14px;top:12px;width:36px;height:36px;border-radius:50%;border:0;background:#242a3d;color:#fff;font-size:22px}.setting-row{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:16px 0;border-bottom:1px solid rgba(255,255,255,.08)}.setting-row p{font-size:12px;margin:4px 0 0}.setting-row input{width:22px;height:22px}.dialog-save{margin-top:20px}.result-bonus-note{border-color:rgba(52,211,153,.34)!important;background:rgba(52,211,153,.08)!important}
@media(max-width:620px){body{padding-top:84px}.topbar-inner{height:64px}.quiz-brand span,.lang-control span{display:none}.footer-grid{grid-template-columns:1fr}.cookie-banner{align-items:stretch;flex-direction:column}.cookie-actions{justify-content:flex-start}.bg-symbols span{font-size:38px}}


/* ABO Games branding + result recommendations */
.screen:not(#screen-intro):not(#screen-result)::before,.screen:not(#screen-intro):not(#screen-result)::after{background-image:none!important;display:none!important}
.topbar{background:rgba(6,9,14,.96)}
.quiz-brand{min-width:0}.quiz-brand img{width:250px;height:56px;border-radius:0;object-fit:contain;object-position:left center}.quiz-brand>div{display:none}
@media(max-width:620px){.quiz-brand img{width:190px;height:44px}.topbar-inner{gap:10px}.lang-control select{padding:7px 8px}}
.recommended-games{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.recommended-game{display:flex;gap:13px;align-items:flex-start;padding:15px;border:1px solid rgba(255,255,255,.10);border-radius:16px;background:rgba(255,255,255,.045)}.recommended-game h3{margin:0 0 4px;font-size:1rem}.recommended-game p{margin:0;color:var(--text-secondary);font-size:.78rem;line-height:1.45}.game-logo-final{flex:0 0 72px;width:72px;height:72px;border-radius:14px;object-fit:cover;display:block;box-shadow:0 10px 24px rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.12)}
@media(max-width:520px){.recommended-games{grid-template-columns:1fr}}


.btn-pwa-install{width:100%;max-width:360px;margin-top:12px;padding:16px 18px;border-radius:var(--radius);border:1px solid rgba(255,59,134,.45);background:rgba(255,59,134,.10);color:var(--accent-3);font-weight:800;box-shadow:0 8px 24px rgba(255,59,134,.10);transition:.2s}.btn-pwa-install:hover{transform:translateY(-2px);background:rgba(255,59,134,.16)}.install-note{max-width:360px;margin:10px auto 0;text-align:center;color:var(--muted);font-size:.82rem;line-height:1.4}
