:root {
  --ink: #102018;
  --muted: #66736b;
  --line: #dce7df;
  --soft: #f3f8f4;
  --paper: #ffffff;
  --accent: #16894b;
  --accent-dark: #0d5f34;
  --accent-soft: #e8f7ed;
  --accent-2: #550e13;
  --gold: #f2b84b;
  --gold-soft: #fff4d8;
  --radius: 8px;
  --shadow: 0 20px 55px rgba(16, 32, 24, .12);
  --shadow-soft: 0 10px 28px rgba(16, 32, 24, .08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0, #fbfdfb 420px, #f6faf7 100%);
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.topline { background: #0f2017; color: #fff; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.08); }
.topline .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(16, 32, 24, .04);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: 0; }
.brand-mark { width: 38px; height: 38px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), #6ed68f); display: grid; place-items: center; color: #fff; box-shadow: 0 10px 24px rgba(22,137,75,.25); }
.brand-logo { width: 150px; height: auto; max-height: 48px; }
.menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-button span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .18s ease, opacity .18s ease;
}
.nav-links { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a { padding: 10px 12px; border-radius: 7px; color: #263d30; font-weight: 800; font-size: 14px; transition: background .18s ease, color .18s ease, transform .18s ease; }
.nav-links a:hover { background: var(--accent-soft); color: var(--accent-dark); transform: translateY(-1px); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, #1aa75b, var(--accent-dark));
  color: #fff;
  font-weight: 900;
  border: 0;
  box-shadow: 0 13px 26px rgba(22,137,75,.26);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 32px rgba(22,137,75,.32); filter: saturate(1.05); }
.btn.secondary { background: #fff; color: var(--accent-dark); border: 1px solid var(--line); box-shadow: 0 8px 18px rgba(16,32,24,.05); }
.btn.secondary:hover { box-shadow: var(--shadow-soft); }
.btn.dark { background: linear-gradient(180deg, #7c1b23, var(--accent-2)); }
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(255,255,255,.96) 0%, rgba(246,251,247,.94) 42%, rgba(255,255,255,.63) 72%, rgba(255,255,255,.32) 100%),
    url("foto/2_bg.webp") center right/cover;
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 9px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent-2));
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 42px;
  align-items: center;
  padding: 74px 0 58px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--accent-dark);
  background: rgba(232,247,237,.88);
  border: 1px solid rgba(22,137,75,.14);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 950;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(242,184,75,.18); }
h1, h2, h3 { line-height: 1.12; letter-spacing: 0; margin: 0 0 14px; }
h1 { font-size: clamp(38px, 6vw, 66px); max-width: 820px; }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 21px; }
p { margin: 0 0 16px; }
.lead { font-size: 20px; color: #304238; max-width: 760px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.hero-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(22,137,75,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: #1d3c29;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(16,32,24,.06);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-panel {
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(251,253,251,.92));
  border: 1px solid rgba(255,255,255,.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  outline: 1px solid rgba(22,137,75,.12);
  position: relative;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 8px 8px 0 0;
}
.score-row, .fact-row { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.score-row:last-child, .fact-row:last-child { border-bottom: 0; }
.score { font-size: 40px; font-weight: 950; color: var(--accent-dark); letter-spacing: 0; }
.stars { color: var(--gold); letter-spacing: 2px; white-space: nowrap; }
.trustbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 auto 34px; }
.trustbar div { background: #fff; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.trustbar b { display: block; font-size: 15px; color: var(--ink); }
.trustbar span { color: var(--muted); font-size: 13px; }
.section { padding: 68px 0; }
.section.tint { background: var(--soft); border-block: 1px solid var(--line); }
.lobby-section {
  background:
    linear-gradient(180deg, #ffffff, #f7fbf8);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
  margin-bottom: 18px;
}
.section-head p { color: var(--muted); max-width: 620px; margin-bottom: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(22,137,75,.28); }
.bonus-card { border-top: 5px solid var(--accent); background: linear-gradient(180deg, #fff, #f9fdf9); }
.mini { color: var(--muted); font-size: 14px; }
.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: table; box-shadow: var(--shadow-soft); }
.table th, .table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { background: linear-gradient(180deg, #eef8f1, #e4f3e9); color: #163621; }
.table tr:nth-child(even) td { background: #fcfefd; }
.table tr:last-child td { border-bottom: 0; }
.game-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.game-grid-home { margin-top: 18px; }
.game { overflow: hidden; padding: 0; position: relative; border-color: rgba(16,32,24,.10); }
.game:hover { transform: translateY(-5px); box-shadow: 0 22px 42px rgba(16,32,24,.18); }
.game img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #e9f2ec; transition: transform .24s ease, filter .24s ease; }
.game:hover img { transform: scale(1.045); filter: saturate(1.08) contrast(1.04); }
.game .body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 42px 12px 13px;
  color: #fff;
  background: linear-gradient(180deg, rgba(9,18,13,0), rgba(9,18,13,.88));
}
.game .body b { display: block; font-size: 15px; text-shadow: 0 2px 8px rgba(0,0,0,.45); }
.game .body .mini { color: rgba(255,255,255,.82); margin: 2px 0 0; }
.badge { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 9px; border-radius: 999px; background: #e9f7ee; color: #116b3c; font-size: 12px; font-weight: 900; }
.warning { border-left: 5px solid var(--gold); background: #fffaf0; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.list { padding-left: 20px; margin: 0; }
.list li { margin: 8px 0; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 10px 0; box-shadow: 0 8px 18px rgba(16,32,24,.04); }
.faq summary { cursor: pointer; font-weight: 900; }
.footer { background: linear-gradient(180deg, #102018, #0a1710); color: #dce8df; padding: 56px 0 104px; border-top: 5px solid var(--accent); }
.footer a { color: #fff; font-weight: 700; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, .8fr); gap: 26px; }
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: none;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 10px 16px;
}

@media (max-width: 920px) {
  .hero-grid, .grid-2, .proscons, .footer-grid { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
  .grid-3, .grid-4, .trustbar { grid-template-columns: repeat(2, 1fr); }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { min-height: 64px; padding: 10px 0; }
  .menu-button { display: inline-flex; margin-left: auto; }
  .nav-links {
    display: none;
    width: 100%;
    order: 3;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 0 6px;
  }
  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--soft);
    border: 1px solid var(--line);
  }
  .nav-links .btn { grid-column: 1 / -1; }
  .menu-toggle:checked ~ .nav-links { display: grid; }
  .menu-toggle:checked + .menu-button span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle:checked + .menu-button span:nth-child(2) { opacity: 0; }
  .menu-toggle:checked + .menu-button span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 24px, 1160px); }
  .topline { display: none; }
  .brand-logo { width: 132px; }
  .hero-grid { padding: 34px 0 28px; }
  h1 { font-size: 36px; }
  .lead { font-size: 18px; }
  .hero-chips span { width: 100%; justify-content: center; }
  .grid-3, .grid-4, .trustbar { grid-template-columns: 1fr; }
  .nav-links { grid-template-columns: 1fr; }
  .table { display: block; overflow-x: auto; }
  .mobile-cta { display: block; }
}
