:root {
  --ink: #05070f;
  --ink2: #091122;
  --panel: #101a32;
  --panel2: #142042;
  --blue: #0642ff;
  --blue2: #315fff;
  --gold: #ffd229;
  --gold2: #ffe875;
  --white: #ffffff;
  --muted: #aeb8d4;
  --line: rgba(255, 255, 255, 0.12);
  --paper: #f6f8ff;
  --paperText: #111827;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 16% 4%, rgba(6, 66, 255, .35), transparent 34rem),
    radial-gradient(circle at 84% 8%, rgba(255, 210, 41, .18), transparent 26rem),
    linear-gradient(180deg, #05070f 0%, #071024 48%, #05070f 100%);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.container { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 7, 15, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.header-row { min-height: 74px; display: flex; align-items: center; gap: 22px; }
.brand img { width: 168px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 10px 12px;
  color: #dce5ff;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 850;
  border-radius: 8px;
}
.main-nav a:hover, .main-nav a.active { color: #05102a; background: var(--gold); }
.header-actions { display: flex; gap: 8px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: #0b1429; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 18px; height: 2px; margin: 5px auto; background: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  color: #061024;
  background: var(--gold);
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 9px 0 #9d7300;
}
.btn:hover { transform: translateY(1px); box-shadow: 0 7px 0 #9d7300; }
.btn.secondary { color: var(--white); background: #12306d; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.btn.small { min-height: 38px; padding-inline: 14px; font-size: .78rem; }

.hero { position: relative; overflow: hidden; padding: 58px 0 42px; border-bottom: 1px solid rgba(255,255,255,.09); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,7,15,.98) 0 42%, rgba(5,7,15,.42) 62%, rgba(5,7,15,.78)),
    url("img/lobby.webp") center right / cover no-repeat;
  opacity: .72;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 7px 10px; color: var(--gold2); background: rgba(255,210,41,.1); border: 1px solid rgba(255,210,41,.28); border-radius: 999px; font-size: .72rem; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px var(--gold); }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(2.5rem, 6vw, 5.6rem); line-height: .94; letter-spacing: -.055em; }
.hero-lead { max-width: 620px; margin: 20px 0 0; color: #d8e1ff; font-size: clamp(1rem, 1.7vw, 1.22rem); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 34px; border: 1px solid var(--line); background: rgba(9,17,34,.78); border-radius: 12px; overflow: hidden; }
.trust-row div { padding: 15px; border-right: 1px solid var(--line); }
.trust-row div:last-child { border-right: 0; }
.trust-row strong { display: block; color: var(--gold); font-size: 1.25rem; }
.trust-row span { color: var(--muted); font-size: .72rem; }

.checker {
  position: relative;
  padding: 20px;
  background: linear-gradient(180deg, rgba(16,26,50,.96), rgba(7,14,31,.96));
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  box-shadow: 0 28px 80px rgba(0,0,0,.46);
}
.checker-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.score { display: grid; place-items: center; width: 82px; height: 82px; color: #061024; background: var(--gold); border-radius: 50%; font-weight: 1000; font-size: 1.25rem; }
.checklist { display: grid; gap: 9px; padding: 0; margin: 18px 0 0; list-style: none; }
.checklist li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 13px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 9px; color: #dfe6ff; font-weight: 800; }
.checklist li span { color: var(--gold); font-size: .78rem; }

.section { padding: 68px 0; }
.section.light { color: var(--paperText); background: var(--paper); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 26px; margin-bottom: 24px; }
.section-kicker { color: var(--blue2); font-size: .72rem; font-weight: 1000; letter-spacing: .1em; text-transform: uppercase; }
h2 { margin: 6px 0 0; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.045em; }
.section-head p, .hub-card p, .route-card p, .article-card p { color: #596174; }
body:not(.home) .section-head p, body:not(.home) .article-card p { color: var(--muted); }

.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hub-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  color: var(--paperText);
  background: #fff;
  border: 1px solid #dce2f4;
  border-radius: 12px;
  text-decoration: none;
}
.hub-card b { color: var(--blue); font-size: .75rem; }
.hub-card strong { display: block; margin: 12px 0 8px; font-size: 1.45rem; line-height: 1.05; }
.hub-card:hover { border-color: var(--blue); box-shadow: 0 16px 42px rgba(6,66,255,.15); }

.route { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.route-card, .article-card {
  padding: 24px;
  background: #0b1429;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.route-card { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: start; }
.route-num { display: grid; place-items: center; height: 92px; color: #061024; background: var(--gold); border-radius: 12px; font-weight: 1000; font-size: 1.4rem; }
.route-card h3, .article-card h3 { margin: 0 0 8px; font-size: 1.45rem; line-height: 1.1; }
.route-card p, .article-card p { margin: 0; }

.bonus-lab { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lab-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 12px; }
.lab-table th, .lab-table td { padding: 13px 14px; border-bottom: 1px solid #dce2f4; text-align: left; }
.lab-table th { color: #061024; background: var(--gold); font-size: .75rem; text-transform: uppercase; }
.lab-table td { color: #172034; background: #fff; font-weight: 800; }
.visual-card { min-height: 320px; padding: 18px; border-radius: 14px; background: #0b1429; border: 1px solid var(--line); }
.visual-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 10px; }
.visual-card p { color: var(--muted); }

.games-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.game-tile { overflow: hidden; min-height: 180px; background: #0b1429; border: 1px solid var(--line); border-radius: 12px; }
.game-tile img { width: 100%; height: 132px; object-fit: cover; }
.game-tile strong { display: block; padding: 10px; color: #fff; font-size: .82rem; line-height: 1.1; }

.page-hero { padding: 54px 0 32px; background: linear-gradient(135deg, rgba(6,66,255,.34), transparent 45%), var(--ink); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 900px; margin: 0; font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: .96; letter-spacing: -.05em; }
.page-hero p { max-width: 720px; color: #d8e1ff; font-size: 1.08rem; font-weight: 700; }
.article-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.article-card ul { margin: 14px 0 0; padding-left: 18px; color: #dce5ff; }

.author-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px;
  background: #0b1429;
  border: 1px solid rgba(255, 210, 41, .28);
  border-radius: 14px;
}
.author-card img {
  width: 132px;
  height: 132px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--gold);
}
.author-card h3 { margin: 4px 0 8px; font-size: 1.7rem; line-height: 1.05; }
.author-card p { margin: 0; color: var(--muted); }
.author-role { color: var(--gold); font-size: .72rem; font-weight: 1000; letter-spacing: .1em; text-transform: uppercase; }
.author-tip {
  margin-top: 16px;
  padding: 15px 16px;
  color: #172034;
  background: var(--gold);
  border-radius: 10px;
  font-weight: 850;
}
.decision-band {
  padding: 24px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6,66,255,.28), transparent 45%),
    #081126;
  border: 1px solid rgba(255, 210, 41, .25);
  border-radius: 14px;
}
.decision-band h3 { margin: 0 0 10px; font-size: 1.7rem; line-height: 1.08; }
.decision-band p { margin: 0 0 14px; color: #d8e1ff; }
.decision-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.decision-list div {
  padding: 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
}
.decision-list b { display: block; color: var(--gold); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.decision-list span { display: block; margin-top: 5px; color: #fff; font-weight: 850; line-height: 1.25; }

.payments-row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 9px; }
.payments-row img { width: 100%; height: 56px; object-fit: contain; padding: 12px; background: #fff; border-radius: 8px; }

.site-footer { padding: 34px 0; background: #03050b; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 28px; }
.footer-grid img { width: 150px; }
.footer-grid p { color: var(--muted); }
.footer-links { display: grid; gap: 7px; }
.footer-links a { color: #dce5ff; text-decoration: none; font-weight: 800; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); color: #7d89aa; font-size: .72rem; }

@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    inset: 74px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: rgba(5,7,15,.98);
    border-bottom: 1px solid var(--line);
  }
  body.menu-open .main-nav { display: flex; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-actions { display: none; }
  .hero-grid, .route, .bonus-lab, .article-grid, .footer-grid { grid-template-columns: 1fr; }
  .decision-list { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr 1fr; }
  .games-strip { grid-template-columns: repeat(3, 1fr); }
  .trust-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 24px), var(--max)); }
  .brand img { width: 132px; }
  .hero { padding-top: 34px; }
  .hero h1, .page-hero h1 { letter-spacing: -.035em; }
  .hub-grid, .games-strip, .payments-row { grid-template-columns: 1fr 1fr; }
  .route-card { grid-template-columns: 1fr; }
  .author-card { grid-template-columns: 1fr; }
  .route-num { width: 72px; height: 72px; }
  .section-head { display: block; }
  .footer-bottom { display: grid; }
}
