:root {
  --bg: #FFFFFF;
  --bg-soft: #F4F7FB;
  --navy: #0F224B;
  --navy-2: #1A3268;
  --orange: #FF7700;
  --orange-h: #FF8A00;
  --orange-a: #E06900;
  --green: #10B981;
  --green-tg: #25D366;
  --muted: #8A9BB5;
  --line: #E2E8F0;
  --text: #0F224B;
  --radius: 14px;
  --radius-btn: 9px;
  --header-h: 72px;
  --tabbar-h: 64px;
  --shadow: 0 10px 30px rgba(15, 34, 75, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  max-width: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-decoration: none; }
a:hover { color: var(--orange); }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--orange); color: #fff; padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: var(--radius-btn);
  font-weight: 700; border: 1.5px solid transparent; transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-h); color: #fff; }
.btn-primary:active { background: var(--orange-a); }
.btn-outline {
  background: transparent; border-color: var(--navy); color: var(--navy);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn-green { background: var(--green); color: #fff; }
.btn-sm { min-height: 44px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); height: var(--header-h);
}
.header-inner {
  height: var(--header-h); display: flex; align-items: center; gap: 16px;
}
.logo {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--navy);
}
.logo-mark {
  width: 40px; height: 40px; border-radius: 10px; background: var(--navy);
  color: #fff; display: grid; place-items: center; font-weight: 800;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 18px; }
.logo-text span { font-size: 12px; color: var(--muted); font-weight: 600; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  min-height: 40px; padding: 8px 12px; border-radius: 8px;
  color: var(--navy); font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center;
}
.nav a:hover, .nav a.is-active { background: var(--bg-soft); color: var(--orange); }
.lang-pill {
  min-height: 40px; min-width: 44px; border: 1px solid var(--line); border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--navy); background: #fff;
}
.header-cta { display: flex; gap: 8px; }
.burger {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; align-items: center; justify-content: center;
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 18px; height: 2px; background: var(--navy); position: relative;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  padding: 28px 0 12px;
}
.hero-split {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: stretch;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); overflow: hidden; min-height: 420px;
}
.hero-copy { padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  background: rgba(16,185,129,.12); color: #047857; font-weight: 700;
  padding: 8px 12px; border-radius: 999px; font-size: 13px; margin-bottom: 14px;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(16,185,129,.2);
}
.hero h1 { margin: 0 0 12px; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; }
.hero-lead { margin: 0 0 18px; color: #334155; font-size: 17px; }
.bonus-chip {
  display: inline-flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px;
}
.bonus-chip span {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 12px; font-weight: 700; font-size: 14px; color: var(--navy);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-media { position: relative; min-height: 320px; background: var(--navy); }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
}

.reassure {
  padding: 18px 0;
}
.reassure-bar {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 14px;
}
.reassure-item {
  display: flex; gap: 10px; align-items: flex-start; padding: 8px;
}
.reassure-icon {
  width: 40px; height: 40px; border-radius: 10px; background: #fff;
  display: grid; place-items: center; color: var(--green); font-weight: 800; flex-shrink: 0;
  border: 1px solid var(--line);
}
.reassure-item strong { display: block; font-size: 14px; }
.reassure-item span { color: var(--muted); font-size: 13px; }

.section { padding: 36px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { margin-bottom: 18px; }
.section-head h2 { margin: 0 0 8px; font-size: clamp(22px, 2.6vw, 30px); }
.section-head p { margin: 0; color: #475569; }

.chips {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 6px; -webkit-overflow-scrolling: touch;
}
.chip {
  flex: 0 0 auto; scroll-snap-align: start; min-height: 48px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line); background: #fff;
  color: var(--navy); font-weight: 700; white-space: nowrap;
}
.chip.is-active, .chip:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.slots-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.slot-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s;
}
.slot-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.slot-card img { aspect-ratio: 3/4; object-fit: cover; width: 100%; background: var(--bg-soft); }
.slot-body { padding: 10px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.slot-body h3 { margin: 0; font-size: 14px; line-height: 1.3; min-height: 36px; }
.slot-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.slot-card[hidden] { display: none !important; }

.dual-promo {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 14px;
}
.promo-card {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  background: #fff; display: grid; grid-template-columns: 1.1fr 0.9fr; min-height: 220px;
}
.promo-card.app { background: linear-gradient(135deg, #fff, #EEF5FF); }
.promo-card.tg { background: linear-gradient(135deg, #fff, #E9FBEF); grid-template-columns: 1fr; }
.promo-copy { padding: 24px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.promo-copy h3 { margin: 0; font-size: 22px; }
.promo-copy p { margin: 0; color: #475569; }
.promo-media { position: relative; min-height: 180px; }
.promo-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-card.tg .promo-media { position: relative; height: 180px; }
.promo-card.tg .promo-media img { object-fit: contain; padding: 16px; }

.tournament {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 0;
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff;
}
.tournament-copy { padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.tournament-copy h2 { margin: 0; }
.tournament-media { position: relative; min-height: 240px; background: var(--navy); }
.tournament-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.step {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px;
}
.step-num {
  width: 40px; height: 40px; border-radius: 10px; background: var(--orange); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 12px;
}
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: #475569; }

.payments {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.pay {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px;
  text-align: center; font-weight: 700; color: var(--navy);
}
.pay span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; font-weight: 500; }

.seo-content {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px;
}
.seo-content h2 { margin: 28px 0 12px; font-size: 24px; }
.seo-content h2:first-child { margin-top: 0; }
.seo-content h3 { margin: 18px 0 8px; font-size: 18px; color: var(--navy-2); }
.seo-content p { margin: 0 0 12px; color: #334155; }
.seo-content ul { margin: 0 0 12px; padding-left: 18px; list-style: disc; }
.seo-content li { margin: 0 0 6px; color: #334155; }
.seo-figure {
  margin: 8px 0 20px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft, #F4F7FB);
}
.seo-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.seo-figure--square {
  max-width: 320px;
}
.seo-figure--square img {
  aspect-ratio: 1 / 1;
}

.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 0 16px; margin-bottom: 10px;
}
.faq summary {
  min-height: 56px; display: flex; align-items: center; cursor: pointer;
  font-weight: 700; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details p { color: #475569; padding: 12px 0 16px; margin: 0; }

.site-footer {
  background: var(--navy); color: #Dbe4f3; padding: 36px 0 110px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; margin-bottom: 24px;
}
.site-footer a { color: #E8EEF8; }
.site-footer a:hover { color: var(--orange); }
.site-footer h3 { margin: 0 0 12px; color: #fff; font-size: 16px; }
.site-footer p, .site-footer li { color: #A9B8D0; font-size: 14px; }
.footer-nav { display: grid; gap: 8px; }
.compliance {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: 13px; color: #8FA2C0;
}
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid #F87171;
  color: #F87171; font-weight: 800; margin-right: 10px;
}

.mobile-tabbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  height: var(--tabbar-h); background: rgba(255,255,255,.98);
  border-top: 1px solid var(--line); padding: 4px 6px env(safe-area-inset-bottom);
  grid-template-columns: repeat(5, 1fr);
}
.mobile-tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; font-size: 11px; font-weight: 700; color: var(--muted); min-height: 48px;
}
.mobile-tabbar a.is-active, .mobile-tabbar a:hover { color: var(--orange); }
.tab-ico { font-size: 16px; line-height: 1; }

.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px;
}
.feature img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 12px; margin-bottom: 12px;
  background: var(--bg-soft);
}
.feature h3 { margin: 0 0 8px; font-size: 18px; }
.feature p { margin: 0; color: #475569; }

.page-hero {
  padding: 28px 0 8px; background: linear-gradient(180deg, var(--bg-soft), #fff);
}
.page-hero-card {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow);
}
.page-hero-copy { padding: 28px; }
.page-hero-copy h1 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 34px); line-height: 1.2; }
.page-hero-media { min-height: 260px; position: relative; background: var(--navy); }
.page-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.content-block {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-bottom: 14px;
}
.content-block h2 { margin: 0 0 10px; font-size: 22px; }
.content-block h3 { margin: 16px 0 8px; font-size: 17px; }
.content-block p { margin: 0 0 10px; color: #334155; }
.content-block ul { margin: 0 0 10px; padding-left: 18px; list-style: disc; }
.content-block li { margin-bottom: 6px; color: #334155; }
.content-block ol { margin: 0 0 10px; padding-left: 20px; }
.content-block ol li { margin-bottom: 8px; color: #334155; }

.breadcrumbs {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 14px;
}
.breadcrumbs a { color: var(--navy-2); }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs .sep { color: #CBD5E1; }
.breadcrumbs [aria-current="page"] { color: var(--navy); }

.download-hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 20px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); margin-bottom: 18px;
}
.download-copy { padding: 28px; }
.download-copy h1 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 34px); line-height: 1.2; }
.download-meta {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px;
}
.meta-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 12px; font-weight: 700; font-size: 13px; color: var(--navy);
}
.download-side {
  padding: 24px; background: linear-gradient(160deg, #0F224B, #1A3268);
  color: #fff; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
}
.download-side img {
  width: 100%; max-width: 220px; border-radius: 14px; border: 1px solid rgba(255,255,255,.15);
}
.qr-wrap {
  background: #fff; border-radius: 12px; padding: 12px; width: 148px; height: 148px;
  display: grid; place-items: center;
}
.qr-wrap svg { width: 124px; height: 124px; display: block; }
.qr-caption { font-size: 13px; color: #C5D2E8; margin: 0; font-weight: 600; }

.offer-banner {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center;
  background: linear-gradient(135deg, #FFF7ED, #EEF5FF); border: 1px solid var(--line);
  border-radius: 16px; padding: 22px 24px; margin-bottom: 18px;
}
.offer-banner h2 { margin: 0 0 8px; font-size: 22px; }
.offer-banner p { margin: 0; color: #475569; }
.offer-amount {
  font-size: 28px; font-weight: 800; color: var(--orange); white-space: nowrap;
}

.auth-surface {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 24px; margin-bottom: 18px;
}
.auth-surface h2 { margin: 0 0 8px; font-size: 22px; }
.auth-lead { margin: 0 0 16px; color: #475569; }
.auth-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px;
}
.auth-tab {
  min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line);
  background: #fff; color: var(--navy); font-weight: 700; font-size: 14px;
}
.auth-tab.is-active, .auth-tab:hover {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.auth-panel[hidden] { display: none !important; }
.auth-fields { display: grid; gap: 12px; margin-bottom: 16px; }
.field label {
  display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px;
}
.field input {
  width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 10px;
  padding: 0 14px; font: inherit; color: var(--navy); background: var(--bg-soft);
}
.field input:focus {
  outline: 2px solid rgba(255,119,0,.35); border-color: var(--orange); background: #fff;
}
.auth-social-note {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px; color: #475569; margin-bottom: 16px;
}
.auth-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.auth-hint { font-size: 13px; color: var(--muted); margin: 0; }

.status-board {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px;
}
.status-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px;
}
.status-card strong { display: block; margin-bottom: 4px; }
.status-card span { color: var(--muted); font-size: 13px; }
.status-live { color: #047857; font-weight: 800; font-size: 13px; }

.promo-showcase {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 18px;
}
.promo-tile {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px;
  display: flex; flex-direction: column; gap: 8px; min-height: 100%;
}
.promo-tile .tag {
  width: fit-content; background: rgba(255,119,0,.12); color: var(--orange-a);
  font-size: 12px; font-weight: 800; padding: 4px 8px; border-radius: 999px;
}
.promo-tile h3 { margin: 0; font-size: 16px; line-height: 1.3; }
.promo-tile p { margin: 0; color: #475569; font-size: 14px; flex: 1; }
.promo-tile .btn { margin-top: 4px; }

.data-table-wrap {
  overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; margin: 12px 0 16px;
}
.data-table {
  width: 100%; border-collapse: collapse; min-width: 560px; background: #fff;
}
.data-table th, .data-table td {
  padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px;
}
.data-table th {
  background: var(--bg-soft); color: var(--navy); font-weight: 800; white-space: nowrap;
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table td { color: #334155; }

.save-ways {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px;
}
.save-way {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px;
}
.save-way h3 { margin: 0 0 8px; font-size: 17px; }
.save-way p { margin: 0; color: #475569; font-size: 14px; }

.steps-vertical .step { margin-bottom: 0; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .slots-grid { grid-template-columns: repeat(3, 1fr); }
  .dual-promo, .tournament, .page-hero-card, .hero-split { grid-template-columns: 1fr; }
  .promo-card { grid-template-columns: 1fr; }
  .promo-media, .hero-media, .tournament-media, .page-hero-media { min-height: 220px; position: relative; }
  .promo-media img, .hero-media img, .tournament-media img, .page-hero-media img {
    position: relative; height: 220px; object-fit: cover;
  }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .payments { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .download-hero { grid-template-columns: 1fr; }
  .promo-showcase { grid-template-columns: repeat(3, 1fr); }
  .status-board, .save-ways, .steps-4 { grid-template-columns: 1fr 1fr; }
  .offer-banner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav, .header-cta .btn-outline, .lang-pill { display: none; }
  .burger { display: inline-flex; margin-left: auto; }
  .header-cta { gap: 6px; }
  .header-cta .btn-primary { padding: 0 14px; }
  .reassure-bar, .steps, .steps-4 { grid-template-columns: 1fr; }
  .slots-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .feature-grid, .payments, .footer-grid, .dual-promo { grid-template-columns: 1fr; }
  .promo-showcase, .status-board, .save-ways { grid-template-columns: 1fr; }
  .mobile-tabbar { display: grid; }
  .site-footer { padding-bottom: 120px; }
  .hero-copy, .page-hero-copy, .seo-content, .download-copy, .auth-surface { padding: 20px 16px; }
  .auth-actions .btn { width: 100%; }
  body.nav-open .nav {
    display: flex; flex-direction: column; position: fixed; inset: var(--header-h) 0 auto 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px; z-index: 110;
  }
  body.nav-open .nav a { min-height: 48px; }
}
