:root{
  --bg: #0e2532;
  --bg-alt: #0a1e29;
  --header: #0a1c27;
  --card: #17384a;
  --card-alt: #1e4257;
  --border: #26495c;
  --accent: #f7941d;
  --accent-dark: #d97e0a;
  --text: #e8f2f8;
  --text-muted: #92aebd;
  --white: #ffffff;
  --radius: 14px;
}
*{box-sizing:border-box; margin:0; padding:0;}
body{
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
.wrap{max-width:1180px; margin:0 auto; padding:0 24px;}
@media(max-width:767px){ .wrap{ padding:0 20px; } }
@media(max-width:400px){ .wrap{ padding:0 16px; } }
.btn{
  display:inline-block;
  background: var(--accent);
  color: #fff;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.5px;
  padding:14px 30px;
  border-radius:8px;
  border:none;
  cursor:pointer;
  font-size:14px;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover{ background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline{
  background: transparent;
  border:2px solid var(--accent);
  color: var(--accent);
}
.btn-sm{ padding:9px 18px; font-size:12px; }
h1,h2,h3{ color: var(--text); }
h2{
  font-size: clamp(24px, 3vw, 34px);
  text-transform:uppercase;
  font-weight:800;
  line-height:1.2;
  margin-bottom:14px;
}
.rule{ border:none; border-top:1px solid var(--border); margin: 18px 0 34px; }
section{ padding: 64px 0; }
.section-alt{ background: var(--bg-alt); }
.section-tight{ padding: 40px 0; }

/* ===== TOP BAR ===== */
.topbar{
  background: var(--header);
  color: var(--white);
  font-size: 14px;
  border-bottom:1px solid var(--border);
}
.topbar .wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:12px; padding-bottom:12px; gap:16px; flex-wrap:wrap;
}
.logo{
  font-weight:900; font-size:22px; letter-spacing:1px;
  color: var(--accent);
}
.topbar-msg{ font-weight:600; color: var(--text-muted); }
.topbar-actions{ display:flex; align-items:center; gap:10px; }
.topbar-actions .btn{ padding:10px 22px; font-size:13px; }
/* Language switcher: native <details>/<summary> dropdown — works with no JS */
.lang-switch{ position:relative; font-size:13px; }
.lang-switch summary{
  display:flex; align-items:center; gap:6px; cursor:pointer; list-style:none;
  padding:8px 10px; border:1px solid var(--border); border-radius:8px;
  color:var(--text); font-weight:700; user-select:none; white-space:nowrap;
}
.lang-switch summary::-webkit-details-marker{ display:none; }
.lang-switch summary::marker{ content:""; }
.lang-switch summary:hover{ border-color:var(--accent); }
.lang-switch .flag{ font-size:15px; line-height:1; }
.lang-switch .caret{ font-size:9px; opacity:.7; margin-left:1px; transition:transform .18s ease; }
.lang-switch[open] .caret{ transform:rotate(180deg); }
.lang-switch[open] summary{ border-color:var(--accent); }
.lang-menu{
  position:absolute; top:calc(100% + 8px); right:0; z-index:60;
  background:var(--card); border:1px solid var(--border); border-radius:10px;
  padding:6px; min-width:190px; list-style:none;
  display:flex; flex-direction:column; gap:1px;
  box-shadow:0 14px 32px rgba(0,0,0,.4);
}
.lang-menu a{
  display:flex; align-items:center; gap:9px; padding:8px 10px; border-radius:6px;
  color:var(--text-muted); font-weight:600; font-size:13px;
  text-transform:none; letter-spacing:normal;
}
.lang-menu a:hover{ background:var(--card-alt); color:var(--text); }
.lang-menu a.lang-active{ color:var(--accent); }
.lang-menu .flag{ font-size:15px; }
@media(max-width:600px){
  .topbar-msg{ display:none; }
}
@media(max-width:480px){
  .lang-switch summary .native-label{ display:none; }
  .lang-switch summary{ padding:7px 8px; }
  .topbar-actions .btn{ padding:9px 14px; font-size:12px; }
}

/* ===== NAV ===== */
nav.mainnav{ background: var(--header); border-bottom:1px solid var(--border); position:relative; }
.navbar-inner{ display:flex; align-items:center; padding-top:0; padding-bottom:0; }
nav.mainnav ul{
  display:flex; flex-wrap:wrap; list-style:none;
  gap:26px; padding:14px 0;
}
nav.mainnav a{
  color: var(--text-muted); font-weight:700; font-size:14px;
  text-transform:uppercase; letter-spacing:.4px;
}
nav.mainnav a:hover, nav.mainnav a.active{ color: var(--accent); }

/* Burger toggle — hidden on desktop */
.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:44px; height:44px; padding:0; margin-right:4px;
  background:transparent; border:none; cursor:pointer; flex:0 0 auto;
}
.nav-toggle span{
  display:block; width:24px; height:2px; background: var(--text); border-radius:2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2){ opacity:0; }
.nav-toggle.active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
.nav-backdrop{
  position:fixed; inset:0; background:rgba(4,8,14,.6);
  opacity:0; pointer-events:none; transition:opacity .2s ease; z-index:40;
}
.nav-backdrop.show{ opacity:1; pointer-events:auto; }

@media(max-width:900px){
  .nav-toggle{ display:flex; }
  .navbar-inner{ padding:6px 0; justify-content:flex-end; }
  nav.mainnav ul{
    position:fixed; top:0; right:0; z-index:50;
    width:min(320px, 86vw); height:100vh; height:100dvh;
    background: var(--header); border-left:1px solid var(--border);
    flex-direction:column; flex-wrap:nowrap; align-items:stretch; gap:2px;
    padding:24px 22px; padding-top:max(24px, env(safe-area-inset-top));
    padding-bottom:max(24px, env(safe-area-inset-bottom));
    transform:translateX(100%); transition:transform .25s ease;
    overflow-y:auto;
  }
  nav.mainnav ul.open{ transform:translateX(0); }
  nav.mainnav ul li{ border-bottom:1px solid var(--border); }
  nav.mainnav ul li:last-child{ border-bottom:none; }
  nav.mainnav a{
    display:block; padding:14px 4px; font-size:15px; min-height:44px;
  }
  body.nav-open{ overflow:hidden; }
}

/* ===== BREADCRUMB / PAGE HEADER ===== */
.breadcrumb{ font-size:13px; color: var(--text-muted); margin-bottom:14px; }
.breadcrumb a:hover{ color: var(--accent); }
.page-header{ padding:44px 0 30px; background: var(--bg-alt); border-bottom:1px solid var(--border); }
.page-header h1{
  font-size: clamp(26px, 3.6vw, 40px); text-transform:uppercase; font-weight:900;
  margin-bottom:10px;
}
.page-header p{ color: var(--text-muted); max-width:720px; }

/* ===== HERO (home) ===== */
.hero{
  padding:56px 0 40px;
  background:
    linear-gradient(90deg, rgba(6,10,20,.88) 0%, rgba(6,10,20,.68) 50%, rgba(6,10,20,.52) 100%),
    url('hero-bg.jpg') center/cover no-repeat;
  border-bottom:1px solid var(--border);
}
.hero-grid{
  display:grid; grid-template-columns: 1.3fr 1fr; gap:40px; align-items:start;
}
.hero h1{
  font-size: clamp(28px, 4vw, 44px);
  color: var(--text); text-transform:uppercase; font-weight:900;
  text-align:center; grid-column:1/-1; margin-bottom:20px;
}
.hero p{ margin-bottom:14px; color: var(--text-muted); }
.promo-card{
  background: linear-gradient(160deg, var(--card-alt), var(--header));
  color:#fff; border-radius: var(--radius);
  padding:30px; text-align:center; border:1px solid var(--border);
}
.promo-card h3{ font-size:15px; text-transform:uppercase; opacity:.8; margin-bottom:6px;}
.promo-card .big{ font-size:22px; font-weight:800; margin-bottom:18px; color: var(--accent);}
.promo-code{
  display:flex; align-items:center; justify-content:space-between;
  border:2px dashed var(--accent); border-radius:999px; padding:10px 18px;
  margin-bottom:20px; font-weight:700; letter-spacing:2px;
}

/* ===== CTA BANNER ===== */
.cta-banner{
  background: linear-gradient(120deg, var(--card-alt), var(--header));
  color:#fff; text-align:center;
  padding:70px 24px;
}
.cta-banner h2{ color: var(--accent); }
.cta-banner p{ color: var(--text-muted); margin-bottom:24px; }

/* ===== FEATURE STRIP ===== */
.feature-strip{
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
  margin-top:-40px; position:relative; z-index:2;
}
.feature-card{
  background: var(--card); color: var(--text); font-weight:800;
  border-radius: var(--radius); padding:22px 18px; text-align:center;
  border:1px solid var(--border);
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}

/* ===== ICON TILES (categories) ===== */
.tile-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
.tile{
  background: var(--card); border:1px solid var(--border); border-radius: var(--radius);
  padding:26px 14px; text-align:center; font-weight:700; text-transform:uppercase; font-size:13px;
  letter-spacing:.4px;
}
.tile .emoji{ font-size:30px; display:block; margin-bottom:10px; }
.tile .tile-icon{ width:72px; height:72px; display:block; margin:0 auto 10px; }
.tile:hover{ border-color: var(--accent); }

/* ===== STEPS ===== */
.steps{ list-style:none; margin: 20px 0; }
.steps li{
  display:flex; gap:14px; margin-bottom:16px; padding:16px;
  background: var(--card); border-radius:12px; border-left:4px solid var(--accent);
}
.steps .num{
  background: var(--accent); color:#fff; width:30px; height:30px; min-width:30px;
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:14px;
}

/* ===== ALTERNATING BLOCK ===== */
.alt-block{
  display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center;
  margin-bottom:50px;
}
.alt-block.reverse .media{ order:2; }
.media{
  background: linear-gradient(145deg, var(--card), var(--header));
  border-radius: var(--radius); min-height:220px;
  display:flex; align-items:center; justify-content:center;
  color: var(--accent); font-weight:700; letter-spacing:1px; text-align:center;
  padding:20px; border:1px solid var(--border);
  overflow:hidden;
}
.media:has(img){ padding:0; min-height:0; display:block; }
.media img{ width:100%; height:auto; display:block; border-radius:inherit; }

/* ===== TABLE ===== */
.table-scroll{
  overflow-x:auto; -webkit-overflow-scrolling:touch; margin:24px 0 30px;
  border-radius:12px; border:1px solid var(--border);
  scrollbar-width:thin;
}
.table-scroll table{ margin:0; min-width:560px; border:none; }
table{ width:100%; border-collapse:collapse; margin:24px 0 30px; background: var(--card); border-radius:12px; overflow:hidden;}
th, td{ padding:14px 16px; text-align:left; font-size:14px; }
thead{ background: var(--header); color:#fff; text-transform:uppercase; font-size:12px; }
tbody{ color: var(--text); }
tbody tr:nth-child(even){ background: var(--card-alt); }
@media(max-width:600px){
  .table-scroll table{ min-width:640px; }
  .table-scroll{ position:relative; margin-top:34px; }
  .table-scroll::before{
    content:"⇄ Прокрутите таблицу вбок"; position:absolute; top:-24px; left:0;
    font-size:11px; color: var(--text-muted); text-transform:uppercase; letter-spacing:.3px;
  }
}

/* ===== PROVIDER GRID ===== */
.provider-grid{
  display:grid; grid-template-columns:repeat(5,1fr); gap:16px; margin:24px 0;
}
.provider-chip{
  background: var(--card); border-radius:10px; padding:16px 10px; text-align:center;
  font-weight:700; color: var(--text); font-size:13px;
  border:1px solid var(--border);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px;
}
.provider-chip .logo-box{
  background:#fff; border-radius:8px; width:100%; height:40px;
  display:flex; align-items:center; justify-content:center; padding:6px 10px;
}
.provider-chip .logo-box img{ max-width:100%; max-height:100%; display:block; }

/* ===== BONUS CARDS ===== */
.bonus-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:24px;}
.bonus-card{
  background: var(--card); border-radius: var(--radius); padding:24px;
  border-top:4px solid var(--accent); border-left:1px solid var(--border);
  border-right:1px solid var(--border); border-bottom:1px solid var(--border);
}
.bonus-card h4{ color: var(--text); text-transform:uppercase; margin-bottom:10px; font-size:16px;}
.bonus-card p{ color: var(--text-muted); }
.bonus-card .tag{
  display:inline-block; background: var(--accent); color:#fff; font-size:11px; font-weight:800;
  text-transform:uppercase; padding:3px 10px; border-radius:999px; margin-bottom:12px;
}

/* ===== LIST WITH ICONS ===== */
.icon-list{ list-style:none; margin:16px 0; }
.icon-list li{ padding:8px 0 8px 28px; position:relative; color: var(--text-muted); }
.icon-list li::before{
  content:"✔"; position:absolute; left:0; color: var(--accent); font-weight:900;
}

/* ===== PROS CONS ===== */
.proscons{ display:grid; grid-template-columns:1fr 1fr; gap:30px; margin-top:20px;}
.proscons .box{ background: var(--card); border-radius:var(--radius); padding:24px; border:1px solid var(--border);}
.proscons .box h4{ color: var(--text); text-transform:uppercase; margin-bottom:6px; }
.proscons .pros{ border-top:4px solid #4caf50; }
.proscons .cons{ border-top:4px solid #e05353; }

/* ===== FAQ ===== */
.faq-item{ background: var(--card); border-radius:10px; margin-bottom:12px; padding:6px 18px; border:1px solid var(--border);}
.faq-item summary{ cursor:pointer; font-weight:700; padding:12px 0; color: var(--text); list-style:none; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:"+"; float:right; font-size:20px; color: var(--accent); }
.faq-item[open] summary::after{ content:"–"; }
.faq-item p{ padding-bottom:14px; color: var(--text-muted); }

/* ===== VERDICT ===== */
.verdict{
  background: var(--card); color:#fff; border-radius:var(--radius);
  padding:40px; text-align:center; border:1px solid var(--border);
}
.verdict p{ color: var(--text-muted); }
.verdict .btn{ margin-top:18px; }

/* ===== FILTER BAR (catalog pages) ===== */
.filter-bar{
  display:flex; flex-wrap:wrap; gap:10px; margin: 26px 0 34px;
}
.filter-chip{
  background: var(--card); border:1px solid var(--border); color: var(--text-muted);
  padding:10px 18px; border-radius:999px; font-size:13px; font-weight:700;
  text-transform:uppercase; cursor:pointer; min-height:40px;
  display:inline-flex; align-items:center; flex:0 0 auto;
}
.filter-chip.active, .filter-chip:hover{ background: var(--accent); color:#fff; border-color: var(--accent); }
.filter-select{
  background: var(--card); border:1px solid var(--border); color: var(--text-muted);
  padding:10px 16px; border-radius:999px; font-size:13px; font-weight:700;
  text-transform:uppercase; cursor:pointer; appearance:none; -webkit-appearance:none;
  min-height:40px; flex:0 0 auto;
}
.filter-select:focus{ outline:none; border-color: var(--accent); color: var(--text); }
.filter-empty{ padding:24px 0; color: var(--text-muted); text-align:center; }

@media(max-width:600px){
  .filter-bar{
    flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity; padding-bottom:8px; margin:20px -20px 28px; padding-left:20px; padding-right:20px;
  }
  .filter-chip, .filter-select{ scroll-snap-align:start; }
}
@media(max-width:400px){
  .filter-bar{ margin-left:-16px; margin-right:-16px; padding-left:16px; padding-right:16px; }
}

/* ===== GAME GRID / CARD ===== */
.game-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:30px;
}
.game-card{
  background: var(--card); border:1px solid var(--border); border-radius:12px; overflow:hidden;
  position:relative;
}
.game-card .cover{
  background: linear-gradient(160deg, var(--card-alt), var(--header));
  aspect-ratio: 3/4; display:flex; align-items:center; justify-content:center;
  color: var(--text-muted); font-size:12px; text-align:center; padding:10px;
  overflow:hidden;
}
.game-card .cover:has(img){
  aspect-ratio:auto; padding:0; display:block; position:relative;
}
.game-card .cover img{
  width:100%; height:auto; display:block;
}
.game-card .play-overlay{
  position:absolute; inset:0; background:rgba(10,12,20,.6);
  display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity .18s ease; pointer-events:none;
}
.game-card .cover:hover .play-overlay{
  opacity:1; pointer-events:auto;
}
.game-card .play-btn{
  background: var(--accent); color:#fff; text-decoration:none;
  font-size:13px; font-weight:800; text-transform:uppercase; letter-spacing:.02em;
  padding:10px 24px; border-radius:999px; transition:background .15s ease, transform .15s ease;
}
.game-card .play-btn:hover{
  background: var(--accent-dark); transform:scale(1.05);
}
.game-card .info{ padding:10px 12px; }
.game-card .name{ font-weight:700; font-size:13px; margin-bottom:2px; }
.game-card .provider{ font-size:12px; color: var(--text-muted); }
.game-card .badge{
  position:absolute; top:8px; left:8px; background: var(--accent); color:#fff;
  font-size:10px; font-weight:800; text-transform:uppercase; padding:3px 8px; border-radius:6px;
}
.game-card .star{ position:absolute; top:8px; right:8px; color: var(--text-muted); font-size:14px; }

/* ===== PAGINATION ===== */
.pagination{ display:flex; justify-content:center; gap:8px; margin: 20px 0 10px; }
.pagination a{
  width:40px; height:40px; display:flex; align-items:center; justify-content:center;
  background: var(--card); border:1px solid var(--border); border-radius:8px; font-size:13px; font-weight:700;
}
.pagination a.active, .pagination a:hover{ background: var(--accent); border-color: var(--accent); color:#fff; }

/* ===== SIDEBAR LAYOUT (sportsbook) ===== */
.sidebar-layout{ display:grid; grid-template-columns: 260px 1fr; gap:30px; align-items:start; }
.sidebar{ background: var(--card); border:1px solid var(--border); border-radius: var(--radius); padding:18px; }
.sidebar h4{ text-transform:uppercase; font-size:13px; color: var(--text-muted); margin-bottom:12px; }
.sport-list{ list-style:none; }
.sport-list li a{
  display:flex; align-items:center; gap:10px; padding:10px 8px; border-radius:8px;
  font-weight:600; font-size:14px; color: var(--text);
}
.sport-list li a:hover, .sport-list li a.active{ background: var(--card-alt); color: var(--accent); }

.event-row{
  display:grid; grid-template-columns: 1.6fr repeat(3, 70px); gap:10px; align-items:center;
  background: var(--card); border:1px solid var(--border); border-radius:10px;
  padding:14px 16px; margin-bottom:10px; font-size:13px;
}
.event-row .match{ font-weight:700; }
.event-row .meta{ font-size:12px; color: var(--text-muted); margin-top:2px; }
.odds-btn{
  background: var(--card-alt); border:1px solid var(--border); border-radius:6px;
  padding:8px 6px; text-align:center; font-weight:700; font-size:13px;
}
.odds-btn:hover{ border-color: var(--accent); color: var(--accent); }
@media(max-width:560px){
  .event-row{ grid-template-columns:repeat(3,1fr); row-gap:10px; }
  .event-row > div:first-child{ grid-column:1/-1; }
  .odds-btn{ min-height:44px; display:flex; align-items:center; justify-content:center; }
}

/* ===== FORMS ===== */
.form-wrap{ display:flex; justify-content:center; }
.form-card{
  background: var(--card); border:1px solid var(--border); border-radius: var(--radius);
  padding:40px; width:100%; max-width:460px;
}
@media(max-width:480px){
  .form-card{ padding:26px 20px; }
}
.form-card h2{ text-align:center; margin-bottom:8px; }
.form-card .sub{ text-align:center; color: var(--text-muted); font-size:13px; margin-bottom:26px; }
.form-group{ margin-bottom:16px; }
.form-group label{ display:block; font-size:13px; color: var(--text-muted); margin-bottom:6px; font-weight:600; }
.form-group input, .form-group select, .form-group textarea{
  width:100%; padding:12px 14px; border-radius:8px; border:1px solid var(--border);
  background: var(--bg-alt); color: var(--text); font-size:14px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{ outline:none; border-color: var(--accent); }
.form-row2{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-check{ display:flex; align-items:flex-start; gap:8px; font-size:12px; color: var(--text-muted); margin-bottom:20px; }
.form-card .btn{ width:100%; text-align:center; }
.form-alt-link{ text-align:center; margin-top:18px; font-size:13px; color: var(--text-muted); }
.form-alt-link a{ color: var(--accent); font-weight:700; }

/* ===== APP PAGE ===== */
.app-badges{ display:flex; gap:12px; margin: 22px 0; flex-wrap:wrap; }
.app-badge{
  background: var(--card); border:1px solid var(--border); border-radius:10px;
  padding:12px 20px; font-weight:700; font-size:13px; display:flex; gap:8px; align-items:center;
}
.app-badge img{ width:18px; height:18px; filter:brightness(0) invert(1); }
footer .foot-cols .app-icon{
  width:14px; height:14px; margin-right:6px; vertical-align:-2px;
  filter:brightness(0) invert(1); opacity:.85;
}
.qr-box{
  width:130px; height:130px; background: var(--card); border:1px dashed var(--border);
  border-radius:10px; display:flex; align-items:center; justify-content:center;
  color: var(--text-muted); font-size:12px; text-align:center;
}

/* ===== PARTNERS PAGE ===== */
.stat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin: 26px 0 40px; }
.stat-card{
  background: var(--card); border:1px solid var(--border); border-radius: var(--radius);
  padding:24px; text-align:center;
}
.stat-card .num{ font-size:30px; font-weight:900; color: var(--accent); margin-bottom:6px; }
.stat-card .label{ font-size:13px; color: var(--text-muted); text-transform:uppercase; }

/* ===== MUTED TEXT ===== */
.muted{ color: var(--text-muted); font-size:13px; }

/* ===== FOOTER ===== */
footer{ background: var(--header); color: var(--text-muted); padding:50px 0 30px; font-size:13px;}
footer .logo{ color: var(--accent); margin-bottom:14px; }
footer p{ max-width:640px; margin-bottom:20px; }
footer .foot-cols{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin:30px 0; }
footer .foot-cols h5{ color: var(--text); text-transform:uppercase; font-size:13px; margin-bottom:12px; }
footer .foot-cols ul{ list-style:none; }
footer .foot-cols li{ margin-bottom:8px; }
footer .foot-cols a:hover{ color: var(--accent); }
footer .bottom{ border-top:1px solid var(--border); margin-top:24px; padding-top:18px; opacity:.7;}
footer{ padding-bottom:max(30px, env(safe-area-inset-bottom)); }
@media(max-width:560px){
  footer .foot-cols{ grid-template-columns:1fr 1fr; gap:20px 16px; }
  footer .foot-cols li a{ display:inline-flex; align-items:center; min-height:32px; }
}

/* ===== ACCESSIBILITY: reduced motion & focus ===== */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    scroll-behavior:auto !important;
  }
}
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline:2px solid var(--accent); outline-offset:2px;
}

/* ===== SCROLL / LOAD REVEAL ANIMATIONS =====
   ".js" class is added to <html> by an inline head script; without JS
   the rule below never applies, so content stays fully visible. */
html.js .reveal{
  opacity:0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
/* Модификатор для hero-блоков: чистый fade-in, без сдвига снизу вверх */
html.js .reveal.reveal-fade{
  transform:none;
}
html.js .reveal.is-visible{
  opacity:1;
  transform:none;
}

@media(max-width:900px){
  .hero-grid, .alt-block, .proscons, .sidebar-layout{ grid-template-columns:1fr; }
  .feature-strip, .bonus-grid, .stat-grid{ grid-template-columns:1fr 1fr; }
  .provider-grid, .tile-grid{ grid-template-columns:repeat(3,1fr); }
  .game-grid{ grid-template-columns:repeat(3,1fr); }
  .alt-block.reverse .media{ order:0; }
  footer .foot-cols{ grid-template-columns:1fr 1fr; }
  .form-row2{ grid-template-columns:1fr; }
}
@media(max-width:560px){
  .feature-strip, .bonus-grid, .provider-grid, .tile-grid, .game-grid, .stat-grid{ grid-template-columns:1fr 1fr; }
}
