/* ---------- Local fonts (no external requests) ---------- */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('/static/fonts/nunito-latin.woff2') format('woff2');
}

/* ============================================
   Avia Masters 2 — aviamasters2.africa
   Theme: night-sky blue / logo yellow / plane red
   ============================================ */
:root {
  --sky-deep: #142a63;      /* deep game-night navy */
  --sky-mid: #2450c8;       /* mid blue from game background */
  --sky-light: #3d74f0;     /* bright sky */
  --sky-tint: #eef3ff;      /* pale sky tint for light sections */
  --cloud: #f7faff;
  --yellow: #FFCC2A;        /* logo yellow */
  --yellow-deep: #f0a80f;
  --red: #e8392b;           /* biplane red */
  --red-dark: #c22317;
  --ink: #17202e;
  --muted: #55617a;
  --radius: 22px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--sky-tint);
  color: var(--ink);
  font-family: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header / menu ---------- */
.site-header {
  background: linear-gradient(180deg, #ffd94d 0%, var(--yellow) 60%, #f5b91a 100%);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(20, 42, 99, .28);
  border-bottom: 3px solid #e09c00;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 56px; width: auto; filter: drop-shadow(0 2px 3px rgba(0,0,0,.2)); }

.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }

.main-nav a {
  color: #4a3200;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  padding: 8px 13px;
  border-radius: 999px;
  transition: background .2s, transform .15s;
}
.main-nav a:hover { background: rgba(74, 50, 0, .14); }
.main-nav a:active { transform: scale(.95); }

.nav-cta {
  background: linear-gradient(180deg, #ff5a45, var(--red) 55%, var(--red-dark)) !important;
  color: #fff !important;
  box-shadow: 0 3px 0 #8f1409, 0 5px 12px rgba(143, 20, 9, .35);
}
.nav-cta:hover { filter: brightness(1.08); background: linear-gradient(180deg, #ff5a45, var(--red) 55%, var(--red-dark)) !important; }

.burger {
  display: none;
  background: var(--sky-deep);
  border: none;
  color: var(--yellow);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 20px;
  cursor: pointer;
}

/* ---------- Hero: game night sky ---------- */
.hero {
  background:
    radial-gradient(ellipse 70% 45% at 85% 108%, rgba(255,255,255,.28), transparent 60%),
    radial-gradient(ellipse 55% 38% at 12% 105%, rgba(255,255,255,.22), transparent 60%),
    linear-gradient(178deg, #0e1f52 0%, var(--sky-deep) 30%, var(--sky-mid) 72%, var(--sky-light) 100%);
  color: #fff;
  padding: 58px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  pointer-events: none;
}
.hero::before { width: 420px; height: 420px; top: -190px; right: -110px; }
.hero::after { width: 300px; height: 300px; bottom: -160px; left: -90px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 18px;
  text-shadow: 0 3px 12px rgba(4, 12, 40, .5);
}
.hero h1 .hl { color: var(--yellow); }

.hero p.lead {
  font-size: 19px;
  margin-bottom: 26px;
  color: #dbe6ff;
  max-width: 540px;
}

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }

.badge {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  padding: 6px 15px;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}
.badge i { color: var(--yellow); }

.hero-img-wrap { display: flex; justify-content: center; }
.hero-img-wrap .press-img {
  max-width: 340px;
  border: 4px solid rgba(255, 255, 255, .85);
  outline: 2px solid rgba(255, 204, 42, .8);
  box-shadow: 0 22px 60px rgba(2, 8, 30, .55);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #ff5a45 0%, var(--red) 55%, var(--red-dark) 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 17px;
  padding: 15px 34px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 0 #8f1409, 0 12px 26px rgba(143, 20, 9, .4);
  transition: transform .12s ease, box-shadow .12s ease, filter .2s;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
.btn:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn:active {
  transform: translateY(3px) scale(.97);
  box-shadow: 0 1px 0 #8f1409, 0 4px 10px rgba(143, 20, 9, .3);
}
.btn i { color: var(--yellow); text-shadow: none; }

.btn-yellow {
  background: linear-gradient(180deg, #ffd94d, var(--yellow) 55%, var(--yellow-deep));
  color: #4a3200;
  box-shadow: 0 5px 0 #b57e00, 0 12px 26px rgba(181, 126, 0, .35);
  text-shadow: none;
}
.btn-yellow i { color: var(--red); }
.btn-yellow:active { box-shadow: 0 1px 0 #b57e00, 0 4px 10px rgba(181, 126, 0, .3); }

.btn-outline {
  background: transparent;
  border: 2.5px solid rgba(255, 255, 255, .85);
  box-shadow: none;
  text-shadow: none;
}
.btn-outline:hover { background: rgba(255, 255, 255, .14); filter: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
section { padding: 54px 0; }
.section-white { background: #fff; }
.section-sky { background: var(--sky-tint); }
.section-night {
  background:
    radial-gradient(ellipse 60% 40% at 15% 108%, rgba(255,255,255,.1), transparent 65%),
    radial-gradient(ellipse 60% 40% at 88% 106%, rgba(255,255,255,.08), transparent 65%),
    linear-gradient(176deg, var(--sky-deep), var(--sky-mid));
  color: #eaf1ff;
}
.section-night h2, .section-night h3 { color: #fff; }
.section-night p { color: #d7e2ff; }
.section-night .section-kicker { background: var(--yellow); color: #4a3200; }
.section-night .img-caption { color: #a9bce8; }

h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 900;
  color: var(--sky-deep);
  margin-bottom: 8px;
  line-height: 1.2;
}

h3 { font-size: 21px; font-weight: 800; margin: 24px 0 8px; color: var(--sky-deep); }

.section-kicker {
  display: inline-block;
  background: var(--sky-deep);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

section p { margin-bottom: 14px; }
section ul, section ol { margin: 0 0 16px 22px; }
section li { margin-bottom: 8px; }

/* ---------- Meta bar ---------- */
.meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1.5px solid #dbe4fb;
  border-radius: 14px;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 26px;
  box-shadow: 0 3px 12px rgba(20, 42, 99, .06);
}
.meta-bar strong { color: var(--ink); }
.meta-bar i { color: var(--sky-mid); }

/* ---------- Table of contents ---------- */
.toc {
  background: #fff;
  border: 2px solid var(--yellow);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: 0 6px 20px rgba(20, 42, 99, .08);
}
.toc h2 { font-size: 21px; margin-bottom: 12px; }
.toc ol { columns: 2; column-gap: 34px; margin-left: 20px; }
.toc a { color: var(--sky-mid); text-decoration: none; font-weight: 700; }
.toc a:hover { text-decoration: underline; color: var(--red); }

/* ---------- Frames / stat pill ---------- */
.pill-frame {
  background: var(--sky-deep);
  color: #fff;
  border-radius: 999px;
  padding: 10px 22px;
  display: inline-flex;
  gap: 20px;
  font-weight: 800;
  font-size: 14px;
  flex-wrap: wrap;
  box-shadow: 0 4px 14px rgba(20, 42, 99, .3);
}
.pill-frame span b { color: var(--yellow); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.mini-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  border: 1.5px solid #dde5f9;
  box-shadow: 0 4px 14px rgba(20, 42, 99, .07);
  transition: transform .15s, box-shadow .15s;
}
.mini-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(20, 42, 99, .12); }
.mini-card .icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: linear-gradient(150deg, #ffd94d, var(--yellow-deep));
  color: #4a3200;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
  box-shadow: 0 3px 8px rgba(181, 126, 0, .3);
}
.mini-card h3 { margin: 0 0 8px; font-size: 17px; }
.mini-card p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- Images: press-in effect ---------- */
.press-img {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(20, 42, 99, .22);
  transition: transform .16s ease, box-shadow .16s ease;
  display: block;
  border: 3px solid #fff;
  outline: 1.5px solid #cfdaf5;
}
.press-img img { width: 100%; transition: transform .16s ease; }
.press-img:hover {
  transform: scale(.972);
  box-shadow: inset 0 4px 16px rgba(4, 12, 40, .4), 0 3px 10px rgba(20, 42, 99, .16);
}
.press-img:hover img { transform: scale(1.035); }
.press-img:active { transform: scale(.94); }

.img-caption {
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 10px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 20px;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; list-style: none; margin-left: 0 !important; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 18px 16px 66px;
  background: #fff;
  border: 1.5px solid #dde5f9;
  border-radius: 16px;
  margin-bottom: 12px;
  box-shadow: 0 3px 10px rgba(20, 42, 99, .06);
  color: var(--ink);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  background: linear-gradient(160deg, #ffd94d, var(--yellow-deep));
  color: #4a3200;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  box-shadow: 0 2px 0 rgba(139, 96, 0, .5);
}

/* ---------- Demo window ---------- */
.demo-window {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(4, 12, 40, .45);
  max-width: 760px;
  margin: 26px auto 10px;
  border: 3px solid #fff;
  outline: 2.5px solid var(--yellow);
  display: block;
}
.demo-window img { width: 100%; }
.demo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 60, .42);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #fff;
  text-align: center;
  padding: 20px;
  transition: background .25s;
}
.demo-overlay:hover { background: rgba(10, 22, 60, .28); }
.demo-overlay .demo-title { font-size: 22px; font-weight: 900; text-shadow: 0 2px 10px rgba(0,0,0,.6); }

/* ---------- Video ---------- */
.video-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(4, 12, 40, .4);
  border: 3px solid #fff;
  outline: 2.5px solid var(--yellow);
  max-width: 860px;
  margin: 24px auto 0;
  background: #0d1b3d;
}
.video-frame video { width: 100%; display: block; }

/* ---------- Promo box ---------- */
.promo-box {
  background:
    radial-gradient(ellipse 50% 60% at 90% 110%, rgba(255,204,42,.15), transparent 60%),
    linear-gradient(140deg, #0e1f52, var(--sky-deep) 60%, #1c3a8f);
  color: #fff;
  border-radius: var(--radius);
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  margin-top: 30px;
  border: 2px solid var(--yellow);
  box-shadow: 0 12px 32px rgba(4, 12, 40, .35);
}
.promo-box h3 { margin: 0 0 8px; color: var(--yellow); font-size: 24px; }
.promo-box p { color: #cdd9f7; margin: 0; }
.promo-code {
  background: linear-gradient(180deg, #ffd94d, var(--yellow) 60%, var(--yellow-deep));
  color: #4a3200;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: .12em;
  padding: 12px 26px;
  border-radius: 14px;
  border: 2px dashed rgba(74, 50, 0, .5);
  user-select: all;
  text-align: center;
  box-shadow: 0 4px 0 #b57e00;
}
.promo-code small { display: block; font-size: 11px; letter-spacing: .04em; }

/* ---------- Country chips ---------- */
.country-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.chip {
  background: #fff;
  border: 1.5px solid #d5dff8;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(20, 42, 99, .07);
  color: var(--ink);
}

/* ---------- Spec table ---------- */
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 5px 18px rgba(20, 42, 99, .09); }
.spec-table th, .spec-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid #e8eefb; font-size: 15px; }
.spec-table th { background: var(--sky-deep); color: var(--yellow); font-weight: 800; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) td { background: #f6f9ff; }
.spec-table td:first-child { font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border: 1.5px solid #dde5f9;
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(20, 42, 99, .06);
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 800;
  font-size: 16.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: var(--sky-deep);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 900;
  color: var(--red);
  transition: transform .2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 18px; color: var(--muted); font-size: 15.5px; }

/* ---------- Pros list ---------- */
.pros-list { list-style: none; margin-left: 0 !important; }
.pros-list li {
  padding: 12px 16px 12px 48px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid #dde5f9;
  margin-bottom: 10px;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(20, 42, 99, .05);
}
.pros-list li::before {
  content: '\2713';
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  background: linear-gradient(160deg, #ffd94d, var(--yellow-deep));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 13px;
  color: #4a3200;
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(ellipse 65% 50% at 50% 118%, rgba(255,255,255,.25), transparent 62%),
    linear-gradient(165deg, #0e1f52, var(--sky-mid) 70%, var(--sky-light));
  color: #fff;
  text-align: center;
  border-radius: var(--radius);
  padding: 46px 28px;
  box-shadow: 0 16px 40px rgba(4, 12, 40, .35);
  border: 2px solid rgba(255, 204, 42, .5);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe6ff; max-width: 620px; margin: 0 auto 24px; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #0c1a45, #091333);
  color: #94a3cc;
  padding: 40px 0 26px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 26px;
}
.site-footer h4 { color: var(--yellow); font-size: 15px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .05em; }
.site-footer a { color: #bcc8e8; text-decoration: none; display: block; margin-bottom: 7px; }
.site-footer a:hover { color: var(--yellow); }
.footer-logo img { height: 52px; margin-bottom: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 13px;
}
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid #ff6b5e;
  color: #ff6b5e;
  font-weight: 900;
  font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid, .two-col, .footer-grid { grid-template-columns: 1fr; }
  .hero-img-wrap { order: -1; }
  .hero-img-wrap .press-img { max-width: 250px; }
  .toc ol { columns: 1; }
  .promo-box { grid-template-columns: 1fr; text-align: center; }
  .promo-code { justify-self: center; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--yellow);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 18px;
    box-shadow: 0 12px 24px rgba(4, 12, 40, .3);
    border-bottom: 3px solid #e09c00;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; font-size: 16px; }
  .burger { display: block; }
  section { padding: 42px 0; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; }
  .spec-table th, .spec-table td { padding: 10px 12px; font-size: 14px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .brand img { height: 46px; }
  .hero { padding: 36px 0 46px; }
  .demo-overlay .demo-title { font-size: 17px; }
  .pill-frame { gap: 12px; font-size: 13px; }
}

/* ============================================
   V3 additions: animations, ticker, mini-game,
   testimonials, sticky CTA, lightbox
   ============================================ */

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Hero: flying plane + clouds ---------- */
.hero-plane {
  position: absolute;
  width: 130px;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(2, 8, 30, .5));
  animation: heroFly 17s linear infinite;
  top: 12%;
}
@keyframes heroFly {
  0%   { left: -160px; transform: translateY(0) rotate(4deg); }
  25%  { transform: translateY(-26px) rotate(-3deg); }
  50%  { transform: translateY(12px) rotate(5deg); }
  75%  { transform: translateY(-18px) rotate(-2deg); }
  100% { left: 110%; transform: translateY(0) rotate(4deg); }
}
.hero-cloud {
  position: absolute;
  background: rgba(255, 255, 255, .1);
  border-radius: 999px;
  pointer-events: none;
  animation: cloudDrift linear infinite;
}
.hero-cloud::before, .hero-cloud::after {
  content: '';
  position: absolute;
  background: inherit;
  border-radius: 50%;
}
.hero-cloud::before { width: 55%; height: 160%; left: 14%; top: -80%; }
.hero-cloud::after { width: 40%; height: 120%; right: 16%; top: -50%; }
@keyframes cloudDrift {
  from { transform: translateX(-140px); }
  to   { transform: translateX(calc(100vw + 140px)); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-plane, .hero-cloud { animation: none; display: none; }
}

/* ---------- Stats counters strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 34px;
  position: relative;
  z-index: 1;
}
.stat-cell {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 16px;
  padding: 14px 18px;
  text-align: center;
  backdrop-filter: blur(4px);
}
.stat-cell .num { font-size: 26px; font-weight: 900; color: var(--yellow); line-height: 1.2; }
.stat-cell .lbl { font-size: 12.5px; color: #cdd9f7; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Live wins ticker ---------- */
.ticker-wrap {
  background: var(--sky-deep);
  border-top: 2px solid rgba(255, 204, 42, .5);
  border-bottom: 2px solid rgba(255, 204, 42, .5);
  overflow: hidden;
  padding: 10px 0;
  position: relative;
}
.ticker-label {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  padding: 0 16px;
  z-index: 2;
  text-transform: uppercase;
  box-shadow: 4px 0 12px rgba(0,0,0,.4);
}
.ticker-label .dot {
  width: 8px; height: 8px;
  background: #6dff8a;
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 1.4s ease infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: tickerMove 55s linear infinite;
  padding-left: 130px;
}
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tick-item {
  color: #b9c7ea;
  font-size: 13.5px;
  font-weight: 600;
  margin-right: 44px;
}
.tick-item i { color: var(--red); margin-right: 4px; }
.tick-item b { color: #fff; }
.tick-item .tick-mult { color: var(--yellow); }
.tick-item .tick-amt { color: #6dff8a; }

/* ---------- Mini-game ---------- */
.mg-shell {
  max-width: 860px;
  margin: 26px auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid #fff;
  outline: 2.5px solid var(--yellow);
  box-shadow: 0 18px 48px rgba(4, 12, 40, .45);
  background: #0d1b3d;
}
.mg-stage {
  position: relative;
  height: 340px;
  background:
    radial-gradient(ellipse 65% 38% at 50% 112%, rgba(255,255,255,.22), transparent 62%),
    linear-gradient(180deg, #0c1c4e 0%, #1c3a8f 55%, #2b57c9 100%);
  overflow: hidden;
  transition: background .3s;
}
.mg-stage.mg-crash { animation: shake .45s ease; }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(3px); }
}
.mg-cloud {
  position: absolute;
  background: rgba(255, 255, 255, .12);
  border-radius: 999px;
  animation: mgCloud linear infinite;
}
@keyframes mgCloud {
  from { transform: translateX(120%); }
  to   { transform: translateX(-350px); }
}
.mg-plane {
  position: absolute;
  left: 6%;
  bottom: 14%;
  width: 92px;
  transition: left .18s linear, bottom .18s linear;
  filter: drop-shadow(0 8px 14px rgba(2, 8, 30, .55));
  z-index: 3;
}
.mg-plane img { width: 100%; }
.mg-plane-fly { animation: bob 1.1s ease-in-out infinite; }
@keyframes bob {
  0%,100% { margin-bottom: 0; transform: rotate(-4deg); }
  50% { margin-bottom: 10px; transform: rotate(3deg); }
}
.mg-plane-crash { animation: spinFall 1s ease-in forwards; }
@keyframes spinFall {
  to { transform: rotate(160deg) translateY(300px); opacity: 0; }
}
.mg-plane-land { animation: touchdown .7s ease forwards; }
@keyframes touchdown {
  to { bottom: 6%; transform: rotate(0); }
}
.mg-mult {
  position: absolute;
  top: 18px; left: 0; right: 0;
  text-align: center;
  font-size: 52px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .5);
  z-index: 2;
  font-variant-numeric: tabular-nums;
}
.mg-stage.mg-win .mg-mult { color: #6dff8a; }
.mg-stage.mg-crash .mg-mult { color: #ff6b5e; }
.mg-deck {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 26px;
  background: linear-gradient(180deg, #46536e, #2c3547);
  border-top: 3px solid #5b6c8f;
}
.mg-deck::before {
  content: '';
  position: absolute;
  left: 8%; right: 8%; top: 9px;
  border-top: 3px dashed rgba(255, 204, 42, .65);
}
.mg-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 22px;
  background: var(--sky-deep);
  border-top: 2px solid rgba(255, 204, 42, .4);
}
.mg-stats { display: flex; gap: 22px; color: #b9c7ea; font-size: 13.5px; font-weight: 700; }
.mg-stats b { color: var(--yellow); font-size: 16px; display: block; }
.mg-btn {
  background: linear-gradient(180deg, #ff5a45, var(--red) 55%, var(--red-dark));
  color: #fff;
  border: none;
  font-family: inherit;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: .04em;
  padding: 14px 40px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 5px 0 #8f1409, 0 10px 22px rgba(143, 20, 9, .4);
  transition: transform .1s, box-shadow .1s, filter .2s;
}
.mg-btn:hover { filter: brightness(1.1); }
.mg-btn:active { transform: translateY(4px) scale(.97); box-shadow: 0 1px 0 #8f1409; }
.mg-btn-live {
  background: linear-gradient(180deg, #ffd94d, var(--yellow) 55%, var(--yellow-deep));
  color: #4a3200;
  box-shadow: 0 5px 0 #b57e00, 0 10px 22px rgba(181, 126, 0, .4);
  animation: btnPulse 1s ease infinite;
}
@keyframes btnPulse {
  0%,100% { filter: brightness(1); }
  50% { filter: brightness(1.14); }
}
.mg-msg { min-height: 26px; text-align: center; font-weight: 800; font-size: 16px; padding: 12px 20px 0; color: #cdd9f7; }
.mg-msg-good { color: #6dff8a; }
.mg-msg-bad { color: #ff8a7e; }
.mg-msg { background: var(--sky-deep); margin: 0; }
.mg-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }
.mg-confetti {
  position: absolute;
  bottom: 40%;
  width: 10px; height: 14px;
  border-radius: 3px;
  z-index: 5;
  animation: confettiFly 1.6s ease-out forwards;
  pointer-events: none;
}
@keyframes confettiFly {
  0% { transform: translate(0, 0) rotate(0); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; }
}

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  margin-top: 26px;
}
.testi-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  border: 1.5px solid #dde5f9;
  box-shadow: 0 5px 16px rgba(20, 42, 99, .08);
  position: relative;
  transition: transform .15s;
}
.testi-card:hover { transform: translateY(-3px); }
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 6px; right: 18px;
  font-size: 64px;
  font-weight: 900;
  color: rgba(255, 204, 42, .5);
  line-height: 1;
  font-family: Georgia, serif;
}
.testi-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.testi-ava {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 17px;
  color: #fff;
  flex-shrink: 0;
}
.testi-name { font-weight: 800; font-size: 15px; color: var(--ink); line-height: 1.3; }
.testi-loc { font-size: 12.5px; color: var(--muted); }
.testi-stars { color: var(--yellow-deep); font-size: 13px; margin-bottom: 8px; }
.testi-card p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 12, 34, .88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 18px;
  border: 3px solid #fff;
  outline: 2px solid var(--yellow);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.lightbox .lb-hint {
  position: absolute;
  bottom: 22px;
  color: #b9c7ea;
  font-size: 13px;
  font-weight: 700;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 86px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--sky-deep);
  color: var(--yellow);
  border: 2px solid rgba(255, 204, 42, .6);
  font-size: 17px;
  cursor: pointer;
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .25s, transform .25s, filter .2s;
  box-shadow: 0 8px 20px rgba(4, 12, 40, .4);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { filter: brightness(1.25); }
@media (min-width: 861px) { .to-top { bottom: 26px; } }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 140;
  background: linear-gradient(180deg, #ffd94d, var(--yellow) 60%, #f0b112);
  border-top: 3px solid #e09c00;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transform: translateY(110%);
  transition: transform .3s ease;
  box-shadow: 0 -8px 24px rgba(4, 12, 40, .25);
}
.sticky-cta.show { transform: none; }
.sticky-cta .sc-text { font-size: 13px; font-weight: 800; color: #4a3200; line-height: 1.35; }
.sticky-cta .sc-text b { display: block; font-size: 14.5px; }
.sticky-cta .btn { width: auto; padding: 11px 22px; font-size: 15px; flex-shrink: 0; }
@media (max-width: 860px) {
  .sticky-cta { display: flex; }
  .site-footer { padding-bottom: 110px; }
}
