:root {
  --bg: #002347;
  --header: #003265;
  --header-2: #003C78;
  --menu: #003266;
  --menu-2: #003265;
  --btn: #FA5B00;
  --btn-blue: #4D98E8;
  --text: #e8f1ff;
  --muted: #9bb6d6;
  --card: #003265;
  --line: rgba(77, 152, 232, 0.28);
  --radius: 14px;
  --aff: #FA5B00;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #7ec3ff; text-decoration: none; }
a:hover { color: #fff; text-decoration: underline; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid #ffe36b;
  outline-offset: 3px;
}
ul, ol { padding-left: 1.2rem; }

.skip-link {
  position: absolute; left: -999px; top: 0;
}
.skip-link:focus { left: 8px; top: 8px; background: #fff; color: #002347; padding: 8px 12px; z-index: 100; }

/* Top bar */
.topbar {
  background: linear-gradient(90deg, #003C78, #003265);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar span { white-space: nowrap; }
.age { color: #ffb347; font-weight: 700; }

/* Header */
.site-header {
  background: linear-gradient(180deg, #003C78 0%, #003265 100%);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 6px 24px rgba(0,0,0,.28);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
}
.logo-link { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-link img { height: 40px; width: auto; }
.logo-link:hover { text-decoration: none; }

.nav-main {
  display: flex;
  gap: 4px;
  flex: 1;
  flex-wrap: wrap;
  background: #003266;
  border-radius: 10px;
  padding: 4px;
}
.nav-main a {
  color: #d7e7fb;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.nav-main a:hover,
.nav-main a.is-active {
  background: #003C78;
  color: #fff;
  text-decoration: none;
}

.header-cta { display: flex; gap: 8px; flex-shrink: 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  border-radius: 10px;
  padding: 11px 18px;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 15px;
  line-height: 1.2;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-orange { background: #FA5B00; box-shadow: 0 6px 16px rgba(250,91,0,.35); }
.btn-blue { background: #4D98E8; box-shadow: 0 6px 16px rgba(77,152,232,.32); }
.btn-lg { padding: 14px 26px; font-size: 17px; }
.btn-block { width: 100%; }

.burger {
  display: none;
  width: 42px; height: 42px;
  background: #003C78;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fff;
  align-items: center;
  justify-content: center;
}
.burger-bars,
.burger-bars::before,
.burger-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  position: relative;
}
.burger-bars::before,
.burger-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger-bars::before { top: -6px; }
.burger-bars::after { top: 6px; }
.burger[aria-expanded="true"] .burger-bars { background: transparent; }
.burger[aria-expanded="true"] .burger-bars::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger-bars::after { top: 0; transform: rotate(-45deg); }

/* Promo strip */
.promo-strip {
  background: linear-gradient(90deg, #003C78, #002347 40%, #003265);
  border-bottom: 1px solid var(--line);
}
.promo-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.promo-sum {
  font-size: 28px;
  font-weight: 800;
  color: #ffe36b;
  letter-spacing: .3px;
}
.promo-sum small { display: block; font-size: 13px; color: #9bb6d6; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; }
.promo-code {
  background: #003265;
  border: 1px dashed #4D98E8;
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
}

/* Layout */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}
.wrap.single { grid-template-columns: 1fr; }

.content {
  min-width: 0;
}
.content h1 {
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 16px;
  color: #fff;
}
.content h2 {
  font-size: 24px;
  margin: 32px 0 12px;
  color: #fff;
  padding-left: 12px;
  border-left: 4px solid #FA5B00;
}
.content h3 {
  font-size: 19px;
  margin: 22px 0 10px;
  color: #cfe4ff;
}
.content p { margin: 0 0 14px; color: #d7e6f8; }
.content li { margin: 0 0 8px; }

.crumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.crumbs a { color: #9ec9f5; }

.lead {
  font-size: 18px;
  color: #eef5ff;
  background: #003265;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 18px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #ffe36b;
  font-weight: 700;
  margin-bottom: 8px;
}

.toc {
  background: #003266;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 18px 0 24px;
}
.toc h2 { font-size: 16px; margin: 0 0 10px; border: 0; padding: 0; color: #ffe36b; }
.toc ol { margin: 0; padding-left: 20px; }
.toc a { color: #d7e7fb; }

.figure {
  margin: 22px 0 26px;
  background: #003265;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #001a36;
}
.figure.is-phone {
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.figure figcaption {
  font-size: 13px;
  color: var(--muted);
  padding: 10px 14px 12px;
}

.cta-box {
  background: linear-gradient(135deg, #003C78, #003265);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin: 24px 0;
  text-align: center;
}
.cta-box h2, .cta-box h3 { border: 0; padding: 0; margin: 0 0 10px; }
.cta-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  border: 0;
  padding: 0;
}
.cta-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}
.steps li {
  background: #003265;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px 14px 58px;
  position: relative;
  margin-bottom: 10px;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 12px; top: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #FA5B00;
  color: #fff;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.table-wrap { overflow-x: auto; margin: 16px 0 22px; }
table {
  width: 100%;
  border-collapse: collapse;
  background: #003265;
  font-size: 15px;
}
caption {
  text-align: left;
  font-weight: 700;
  color: #cfe4ff;
  padding: 0 0 8px;
}
th, td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}
th { background: #003C78; color: #fff; }

.faq details {
  background: #003265;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 8px;
}
.faq summary { cursor: pointer; font-weight: 700; color: #fff; }
.faq p { margin: 8px 0 4px; }

.note {
  background: rgba(250,91,0,.12);
  border-left: 4px solid #FA5B00;
  padding: 12px 14px;
  border-radius: 8px;
  margin: 16px 0;
  color: #ffe8d6;
}

/* Sidebar */
.sidebar { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 14px; }
.side-card {
  background: #003265;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.side-title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}
.site-footer .side-title { font-size: 15px; color: #fff; }
.side-card ul { list-style: none; padding: 0; }
.side-card li { margin: 0 0 8px; }
.side-card p { font-size: 14px; color: #9bb6d6; margin: 0 0 12px; }
.side-card p.side-title { font-size: 16px; color: #fff; margin: 0 0 10px; }
.side-dl {
  background: linear-gradient(180deg, #003C78, #003265);
  text-align: center;
}
.side-dl img { margin: 0 auto 10px; height: 44px; width: auto; }
.side-dl .btn-blue { margin-top: 8px; }
.is-here { color: #ffe36b; font-weight: 700; }
.side-meta p { margin: 0; font-size: 13px; }

.games-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 16px 0 22px;
}
.game-card {
  background: #003265;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 16px 0 8px;
}
.game-card img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.game-card p { padding: 10px 12px 14px; font-size: 14px; color: var(--muted); }

.phones {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 18px 0;
}
.phones .figure { margin: 0; }
.phones img { max-height: 640px; object-fit: contain; margin: 0 auto; }

.related {
  margin: 28px 0 8px;
  background: #003266;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.related h2 { font-size: 16px; margin: 0 0 12px; border: 0; padding: 0; color: #ffe36b; }
.related ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.related a {
  display: block;
  background: #003265;
  border-radius: 10px;
  padding: 10px 12px;
  color: #d7e7fb;
}
.related a:hover { text-decoration: none; background: #003C78; color: #fff; }
.related strong { display: block; }
.related span { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }

/* Footer */
.site-footer {
  background: #003265;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 16px 18px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 22px;
}
.site-footer h2, .site-footer h3 { color: #fff; font-size: 15px; margin-bottom: 8px; border: 0; padding: 0; }
.site-footer a { color: #9ec9f5; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin: 0 0 6px; }
.footer-copy {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 12px 16px 20px;
  font-size: 13px;
}

/* Hero */
.hero {
  background: linear-gradient(160deg, #003C78 0%, #002347 55%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  align-items: center;
}
.hero h1 { margin-bottom: 12px; font-size: 32px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.hero .figure { margin: 0; }

@media (max-width: 980px) {
  .wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .hero { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav-main { display: none; }
  .nav-main.open {
    display: flex;
    position: absolute;
    left: 12px; right: 12px; top: 68px;
    flex-direction: column;
    z-index: 60;
    padding: 8px;
    box-shadow: 0 12px 30px rgba(0,0,0,.4);
  }
  .burger { display: inline-flex; }
  .header-inner { flex-wrap: wrap; }
  .header-cta { margin-left: auto; }
  .content h1, .hero h1 { font-size: 24px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-cta .btn { padding: 10px 12px; font-size: 13px; }
  .promo-sum { font-size: 22px; }
  .btn-lg { width: 100%; }
  .hero { padding: 16px; }
  .topbar span { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
