/* ====== TOKENS + BASE ====== */
:root{
  --bg1:#f5f8ff; --bg2:#eaf2ff; --card:#ffffff; --stroke:rgba(0,50,150,.12);
  --text:#0f1a2a; --muted:#5b6b84; --accent:#1a6cff; --accent2:#7cc8ff;
  --ok:#19b27a; --star:#ffb020; --danger:#ff5a6b;
  --shadow:0 10px 40px rgba(26,108,255,.15);
}
html,body{
  margin:0;
  background:linear-gradient(180deg,var(--bg1),var(--bg2));
  color:var(--text);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif;
  line-height:1.5;
}
*{box-sizing:border-box}
img{max-width:100%;height:auto;display:block}
.wrap{max-width:1180px;margin:0 auto;padding:0 16px}
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media (prefers-reduced-motion: reduce){
  *{
    animation-duration:0.001ms!important;animation-iteration-count:1!important;
    transition-duration:0.001ms!important;scroll-behavior:auto!important
  }
}

/* ====== HERO ====== */
.hero{position:relative;overflow:hidden;padding:48px 0 24px}
.hero::before{
  content:"";position:absolute;inset:-20% -10% auto -10%;height:60%;
  background:radial-gradient(60% 60% at 50% 0%, rgba(26,108,255,.08), transparent)
}
.grid-hero{display:grid;grid-template-columns:1fr;gap:28px}
@media (min-width:900px){.grid-hero{grid-template-columns:1.05fr .95fr;gap:42px}}

.crumbs{font-size:12px;color:#7c8da9;margin-bottom:8px}
.crumbs a{opacity:.85}
.badge{
  display:inline-flex;gap:8px;align-items:center;font-size:12px;color:#5b6b84;
  padding:6px 10px;border:1px solid var(--stroke);border-radius:999px;background:#f0f6ff
}
.dot{width:6px;height:6px;border-radius:50%;background:var(--ok)}
h1{margin:10px 0;font-weight:900;letter-spacing:.2px;line-height:1.15;font-size:32px}
@media (min-width:900px){h1{font-size:44px}}
@media (min-width:700px) and (max-width:900px){h1{font-size:38px}}
.hero p{color:#5b6b84;max-width:620px}
.chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.chip{
  font-size:12px;color:#5b6b84;border:1px solid var(--stroke);
  padding:6px 10px;border-radius:999px;background:#f0f6ff
}
.cta{display:flex;gap:10px;margin-top:16px}
.btn{
  display:inline-flex;justify-content:center;align-items:center;border-radius:12px;
  padding:12px 18px;font-weight:800;font-size:14px
}
.btn-primary{background:linear-gradient(180deg,var(--accent),var(--accent2));color:#fff}
.btn-primary:hover{filter:brightness(1.05)}
.btn-ghost{border:1px solid var(--stroke);color:var(--text);background:transparent}
.btn-ghost:hover{background:#f0f6ff}

/* ====== HERO BANNER (правая колонка) ====== */
.hero-banner{
  position:relative;display:block;width:100%;
  border-radius:18px;overflow:hidden;
  box-shadow:none;background:transparent;border:0;padding:0;
}
.hero-banner img{
  width:100% !important;height:auto;object-fit:cover;object-position:center right;
}
@media (max-width:640px){.hero-banner{border-radius:16px}}

/* ====== RATING ====== */
.rating{text-align:center;padding:22px 0 4px}
.rating h2{font-size:28px;font-weight:900;color:var(--star)}
.stars{display:flex;justify-content:center;gap:10px;margin-top:12px}
.star{width:32px;height:32px;color:var(--star);filter:drop-shadow(0 0 10px rgba(255,176,32,.5))}
.star use{fill:currentColor}
.rate-note{margin-top:6px;font-size:12px;color:#7c8da9}

/* ====== FILTERS ====== */
.filters{margin:10px 0 0}
.filters .box{border:1px solid var(--stroke);background:#f0f6ff;border-radius:16px;padding:12px}
.filters .row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
select.sel{
  border:1px solid var(--stroke);background:#fff;color:#0f1a2a;border-radius:10px;padding:8px 12px;font-size:14px
}
.checkbox{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:#0f1a2a}
.checkbox input{width:16px;height:16px;border-radius:4px;border:1px solid #b5c9f5;background:#fff;appearance:auto}

/* ====== GENERIC GRID (для #grid1/#grid2) ====== */
.grid{display:grid;gap:16px;margin-top:18px}
@media (min-width:680px){.grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:980px){.grid{grid-template-columns:repeat(3,1fr)}}

/* ====== SEO + FAQ WRAPPERS ====== */
.seo{margin:28px auto 8px}
.seo-box{
  border:1px solid var(--stroke);background:#f9fbff;border-radius:22px;
  padding:22px;box-shadow:0 10px 24px rgba(26,108,255,.12)
}
.seo h2{font-size:22px;font-weight:900;margin:0 0 8px}

/* ====== FAQ BOOST ====== */
.faq-boost{margin:28px auto;max-width:1180px;padding:0 16px}
.faq-boost .box{border:1px solid rgba(0,50,150,.12);background:#f7faff;border-radius:16px;padding:18px}
.faq-boost h2{margin:0 0 10px;font-size:22px;font-weight:900}
.faq-boost details{
  border:1px solid rgba(0,50,150,.12);border-radius:12px;background:#f9fbff;padding:12px
}
.faq-boost details+details{margin-top:8px}
.faq-boost summary{cursor:pointer;font-weight:700}
.faq-boost p{color:#5b6b84;margin:8px 0 0}
.faq-boost b{font-weight:800}

/* ====== CARDS (динамически генерируемые) ====== */
.card{
  position:relative;
  border:1px solid var(--stroke);
  background:var(--card);
  border-radius:18px;
  padding:18px;
  transition:.25s transform,.25s box-shadow,.25s border-color;
}
.card:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 32px rgba(26,108,255,.18);
  border-color:rgba(26,108,255,.28);
}
.card-top{
  display:flex;align-items:flex-start;justify-content:space-between;
  gap:12px;margin-bottom:14px
}
.logo{height:32px;width:auto}
.tag{
  font-size:11px;color:#0f1a2a;background:#f3f6ff;
  border:1px solid var(--stroke);padding:4px 8px;border-radius:999px;margin-right:4px
}
.pill{
  font-size:11px;color:#0f1a2a;background:#e6fdf3;
  border:1px solid #c3f1de;padding:6px 10px;border-radius:999px
}
.rating-mini{display:flex;align-items:center;gap:6px;color:var(--accent)}
.meta{display:grid;gap:10px}
.row{
  background:#f7faff;border:1px solid var(--stroke);
  border-radius:14px;padding:10px 12px
}
.label{
  font-size:11px;text-transform:uppercase;color:#7c8da9;letter-spacing:.6px
}
.val{margin-top:4px;font-weight:700;color:#0f1a2a}
.actions{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}

/* ====== GAMES ====== */
.games-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:20px}
.game-card{
  background:#f7faff;border:1px solid var(--stroke);border-radius:12px;padding:16px;text-align:left;
  transition:transform .2s,box-shadow .2s
}
.game-card:hover{transform:translateY(-3px);box-shadow:0 6px 16px rgba(26,108,255,0.16)}
.game-card h3{margin:8px 0;font-size:18px;color:var(--accent)}
.game-card p{font-size:14px;color:#5b6b84}

/* ====== WITHDRAWAL TERMS ====== */
.withdrawal h2{font-size:22px;font-weight:900;margin:0 0 8px}
.w-lead{margin:0 0 8px;color:#364b6b}
.w-sub{margin:0 0 14px;color:#5b6b84}
.w-note{
  margin-top:14px;font-size:13px;color:#6a7fa2;border:1px dashed var(--stroke);
  border-radius:12px;padding:10px 12px;background:#f7faff
}
.payout-card{
  position:relative;overflow:hidden;border:1px solid var(--stroke);
  background:linear-gradient(180deg,#f9fbff,#f7faff);
  border-radius:16px;padding:16px;
  transition:.25s transform,.25s box-shadow,.25s border-color
}
.payout-card:hover{transform:translateY(-4px);box-shadow:0 10px 28px rgba(26,108,255,.18);border-color:rgba(26,108,255,.35)}
.p-ico{
  width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;
  font-size:22px;background:rgba(26,108,255,.12);border:1px solid rgba(26,108,255,.25);margin-bottom:10px
}
.payout-card h3{margin:2px 0 6px;font-size:16px;color:#0f1a2a}
.payout-card p{margin:0;color:#5b6b84;font-size:14px;line-height:1.45}

/* ====== PROS/CONS TABLE ====== */
.pc-table{
  width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--stroke);
  border-radius:16px;overflow:hidden;background:#f9fbff
}
.pc-table thead th{
  font-weight:800;text-align:left;padding:14px 16px;font-size:14px;background:#f0f6ff;border-bottom:1px solid var(--stroke)
}
.pc-table tbody td{padding:14px 16px;font-size:14px;vertical-align:top;border-top:1px solid var(--stroke)}
.pc-kcol{width:26%}
.pc-plus{color:var(--ok)}
.pc-minus{color:var(--danger)}
.pc-li{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}
.pc-li li{display:flex;gap:8px;line-height:1.45}
.pc-li li .ico{font-size:16px;line-height:1;margin-top:2px}
@media (max-width:860px){
  .pc-table thead{display:none}
  .pc-table tbody tr{display:block;border-bottom:1px solid var(--stroke)}
  .pc-table tbody td{display:block;border:none;border-top:1px dashed var(--stroke)}
  .pc-table tbody td:first-child{border-top:none}
  .pc-table tbody td[data-th]::before{
    content:attr(data-th);display:block;font-size:12px;color:#7c8da9;text-transform:uppercase;letter-spacing:.4px;margin-bottom:4px
  }
}

/* ====== STICKY CTA ====== */
.sticky-cta{position:fixed;left:12px;right:12px;bottom:12px;z-index:40;display:none}
.sticky-cta.visible{display:block}
.cta-inner{
  max-width:900px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;
  border:1px solid rgba(26,108,255,.28);background:rgba(255,255,255,.92);
  backdrop-filter:blur(8px);padding:10px 12px;border-radius:16px;box-shadow:0 10px 30px rgba(26,108,255,.18)
}

/* ====== REVEAL ANIMATION ====== */
.reveal{opacity:0;transform:translateY(14px);will-change:transform,opacity}
.reveal.in{opacity:1;transform:none;transition:opacity .6s ease, transform .6s ease}

/* ====== CLOUD ====== */
.cloud{margin:20px 0 0}
.cloud h3{margin:0 0 10px;font-size:16px;font-weight:700;color:#0f1a2a}
.cloud-grid{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:700px){.cloud-grid{grid-template-columns:repeat(4,1fr)}}
.cloud-grid a{
  display:inline-block;border:1px solid rgba(0,50,150,.12);background:#f7faff;border-radius:10px;
  padding:8px 10px;font-size:13px;line-height:1.35;color:#0f1a2a;text-decoration:none
}
.cloud-grid a:hover{background:#f0f6ff}

/* ====== FOOTER ====== */
.footer{margin-top:28px;border-top:1px solid var(--stroke);background:#f0f6ff}
.footer .inner{
  display:flex;flex-direction:column;gap:10px;padding:18px 0;color:#5b6b84;font-size:14px
}
@media (min-width:900px){.footer .inner{flex-direction:row;justify-content:space-between;align-items:center}}
.links{display:flex;gap:14px;flex-wrap:wrap;font-size:12px}
.links a:hover{text-decoration:underline;color:var(--accent)}

/* ====== OFFER CARDS (для .offer-grid / .offer-card) ====== */
.offer-grid{
  display:grid;
  grid-template-columns:repeat(1,minmax(0,1fr));
  gap:20px;
  margin-top:14px;
}
@media(min-width:700px){ .offer-grid{ grid-template-columns:repeat(2,1fr)} }
@media(min-width:1080px){ .offer-grid{ grid-template-columns:repeat(3,1fr)} }

.offer-card{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:12px;
  background:var(--card);
  border:1px solid #dbe6ff;
  border-radius:18px;
  padding:16px;
  box-shadow:0 10px 22px rgba(16,60,140,.10);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.offer-card:hover,.offer-card:focus-within{
  transform:translateY(-3px);
  border-color:#bcd0ff;
  box-shadow:0 14px 30px rgba(16,60,140,.16);
}

.offer-top{
  display:flex;align-items:center;gap:14px;
  padding-bottom:10px;border-bottom:1px dashed rgba(0,50,150,.16);
}
.offer-logo{
  width:140px;height:80px;object-fit:contain;
  border:none;background:transparent;box-shadow:none;border-radius:10px;
}
.offer-head{display:flex;flex-direction:column;gap:6px}
.offer-head h3{
  margin:0;font-weight:800;font-size:18px;line-height:1.25;letter-spacing:.2px;color:var(--text);
}
.offer-tags{display:flex;flex-wrap:wrap;gap:6px}
.offer-tags .tag{
  font-size:12px;color:#0f1a2a;background:#f3f6ff;
  border:1px solid rgba(0,50,150,.18);padding:4px 8px;border-radius:999px;
}

/* Текст карточки */
.offer-text{margin:0;color:var(--muted);font-size:14px;line-height:1.55}

/* Кнопки внизу карточки */
.offer-actions{margin-top:auto;display:flex;gap:10px;flex-wrap:wrap}
.offer-card .btn-primary{
  box-shadow:0 6px 16px rgba(26,108,255,.18);
  border:1px solid rgba(26,108,255,.25);
}
.offer-card .btn-primary:hover{
  filter:brightness(1.05);
  box-shadow:0 8px 22px rgba(26,108,255,.24);
}

/* Оранжевая «печать» для “Проверено” */
.offer-tags .tag-verified,.offer-tags .tag.is-verified{
  border:2px solid #ff9800;background:rgba(255,152,0,.06);color:#b96200;
  font-weight:900;letter-spacing:.08em;text-transform:uppercase;transform:rotate(-2deg);
}

/* Мобилка компактнее */
@media(max-width:640px){
  .offer-card{padding:14px;border-radius:16px}
  .offer-head h3{font-size:16px}
  .offer-text{font-size:13.5px}
}
