/* =========================================================
   7K Casino — единый стиль многостраничного сайта
   Тёмная red/gold казино-тема. Используется на всех страницах.
   ========================================================= */
:root {
    --bg-main: #0B0001;
    --bg-secondary: #1a1516;
    --bg-card: #2c2526;
    --bg-card-2: #221b1c;
    --brand-red: #D1021B;
    --brand-red-hover: #b30015;
    --brand-gradient: linear-gradient(180deg, #D1021B 0%, #A71023 100%);
    --hero-gradient: linear-gradient(180deg, #7C0818 0%, #3D050F 100%);
    --brand-yellow: #F5C66B;
    --brand-gold: #F5C66B;
    --text-main: #FFFFFF;
    --text-muted: #D1D1D1;
    --text-dim: #9a8f90;
    --border-color: rgba(255, 255, 255, 0.1);
    --ok: #46c46a;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.5;
    padding-bottom: 130px;
    position: relative;
}

a { text-decoration: none; color: inherit; }
button, input { outline: none; border: none; font-family: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }

/* ===================== HEADER ===================== */
.header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px; background-color: var(--bg-main);
    position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border-color);
}
.header-left, .header-right { display: flex; align-items: center; gap: 12px; }
.btn-icon { background: none; color: var(--text-main); width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center; cursor: pointer; }
.btn-icon svg { width: 24px; height: 24px; fill: currentColor; }
.logo { font-size: 24px; font-weight: 800; color: var(--brand-red); letter-spacing: -1px; text-transform: uppercase; display:flex; align-items:center; gap:8px; }
.header-auth-buttons { display: flex; gap: 8px; }

.btn-primary {
    background: var(--brand-gradient); color: var(--text-main); font-weight: 700;
    padding: 8px 16px; border-radius: var(--radius-sm); text-transform: uppercase;
    font-size: 13px; box-shadow: 0 2px 8px rgba(209,2,27,.3); transition: transform .1s; cursor: pointer;
}
.btn-primary:active { transform: scale(.96); }
.btn-secondary {
    background: transparent; color: var(--text-main); font-weight: 700; padding: 8px 16px;
    border-radius: var(--radius-sm); border: 1px solid var(--brand-red); text-transform: uppercase;
    font-size: 13px; transition: background .2s, transform .1s; cursor: pointer;
}
.btn-secondary:active { transform: scale(.96); }
.btn-secondary:hover { background: rgba(209,2,27,.1); }
@media (max-width: 360px) { .btn-secondary { display: none; } }

/* ===================== CATEGORIES NAV (pills) ===================== */
.categories-nav { overflow-x: auto; white-space: nowrap; padding: 12px 16px;
    -ms-overflow-style: none; scrollbar-width: none; border-bottom: 1px solid var(--border-color); }
.categories-nav::-webkit-scrollbar { display: none; }
.categories-list { display: inline-flex; gap: 8px; }
.cat-item {
    background: var(--bg-secondary); color: var(--text-muted); padding: 9px 16px;
    border-radius: 20px; font-size: 14px; font-weight: 600; cursor: pointer;
    transition: all .2s ease; border: 1px solid var(--border-color); display:inline-block;
}
.cat-item:hover { color: var(--text-main); }
.cat-item.active { background: var(--brand-red); color: var(--text-main); border-color: var(--brand-red); }

/* ===================== BREADCRUMB ===================== */
.breadcrumb { font-size: 12.5px; color: var(--text-dim); padding: 14px 0 0; }
.breadcrumb a:hover { color: var(--brand-yellow); }
.breadcrumb span { color: var(--text-muted); }

/* ===================== PAGE HERO ===================== */
.page-hero { padding: 22px 0 8px; }
.hero-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 24px; align-items: start; }
@media (max-width: 820px){ .hero-grid { grid-template-columns: 1fr; } }
.eyebrow { display:inline-flex; align-items:center; gap:8px; font-size:12px; text-transform:uppercase;
    letter-spacing:.5px; color: var(--brand-yellow); background: rgba(245,198,107,.08);
    border:1px solid rgba(245,198,107,.25); padding:6px 12px; border-radius: 20px; margin-bottom:14px; }
.pulse { width:8px; height:8px; border-radius:50%; background: var(--ok); box-shadow:0 0 0 0 rgba(70,196,106,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(70,196,106,.5);} 70%{box-shadow:0 0 0 8px rgba(70,196,106,0);} 100%{box-shadow:0 0 0 0 rgba(70,196,106,0);} }
.page-hero h1 { font-size: 30px; font-weight: 900; line-height: 1.12; margin-bottom: 12px; }
.page-hero h1 .hl { color: var(--brand-yellow); }
@media (max-width:560px){ .page-hero h1 { font-size: 24px; } }
.sub { color: var(--text-muted); font-size: 15px; max-width: 60ch; }
.hero-cta { display:flex; flex-wrap:wrap; gap:12px; margin:18px 0 16px; }
.btn { display:inline-block; padding:12px 20px; border-radius: var(--radius-sm); font-weight:800; font-size:14px; cursor:pointer; transition: transform .1s; }
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--brand-yellow); color:#1a0f00; box-shadow:0 2px 10px rgba(245,198,107,.35); }
.btn-ghost { background: transparent; color: var(--text-main); border:1px solid var(--brand-red); }
.btn-ghost:hover { background: rgba(209,2,27,.12); }
.trust-row { display:flex; flex-wrap:wrap; gap:10px 18px; font-size:13px; color: var(--text-muted); margin-top:6px; }
.trust-row b { color: var(--text-main); }
.chk { color: var(--ok); font-weight:700; margin-right:4px; }

/* bonus card (home / promo) */
.bonus-card { background: linear-gradient(180deg,#241015,#160a0d); border:1px solid rgba(245,198,107,.25);
    border-radius: var(--radius-lg); padding:20px; position:relative; box-shadow:0 8px 30px rgba(0,0,0,.5); }
.ribbon { position:absolute; top:14px; right:-2px; background: var(--brand-gradient); color:#fff; font-size:11px;
    font-weight:700; text-transform:uppercase; padding:5px 12px; border-radius: 6px 0 0 6px; }
.bonus-card h3 { font-size:14px; color: var(--text-muted); font-weight:600; margin-bottom:6px; }
.bonus-amount { font-size:34px; font-weight:900; color: var(--brand-yellow); line-height:1; }
.fs { margin:6px 0 12px; color: var(--text-main); }
.bonus-list { display:flex; flex-direction:column; gap:7px; font-size:13.5px; color: var(--text-muted); margin-bottom:14px; }
.bonus-list li { padding-left:18px; position:relative; }
.bonus-list li:before { content:"✦"; color: var(--brand-yellow); position:absolute; left:0; }
.bonus-list b { color: var(--text-main); }
.code-box { display:flex; align-items:center; justify-content:space-between; gap:12px;
    background:#0d0608; border:1px dashed rgba(245,198,107,.4); border-radius: var(--radius-sm); padding:10px 14px; margin-bottom:14px; }
.code-box .lab { font-size:11px; color: var(--text-dim); text-transform:uppercase; }
.code-box .val { font-size:20px; font-weight:800; color: var(--brand-yellow); letter-spacing:1px; }
.mini-note { font-size:11px; color: var(--text-dim); margin-top:10px; }

/* facts strip */
.facts { display:grid; grid-template-columns: repeat(4,1fr); gap:12px; margin-top: 26px; }
@media (max-width:700px){ .facts { grid-template-columns: repeat(2,1fr); } }
.fact { background: var(--bg-card-2); border:1px solid var(--border-color); border-radius: var(--radius-md); padding:14px; }
.fact .k { font-size:11px; text-transform:uppercase; letter-spacing:.4px; color: var(--text-dim); margin-bottom:6px; }
.fact .v { font-size:16px; font-weight:800; }
.fact .v small { display:block; font-size:11px; font-weight:500; color: var(--text-dim); margin-top:3px; }

/* toc */
.toc { display:flex; flex-wrap:wrap; gap:8px; margin: 22px 0 4px; }
.toc a { font-size:13px; background: var(--bg-secondary); border:1px solid var(--border-color);
    padding:7px 12px; border-radius: 18px; color: var(--text-muted); }
.toc a:hover { color: var(--brand-yellow); border-color: rgba(245,198,107,.4); }

/* ===================== CONTENT SECTIONS ===================== */
main.wrap { display:block; }
section { border-top: 1px solid var(--border-color); padding: 30px 0; }
section:first-of-type { border-top: none; }
.section-tag { display:inline-block; font-size:11px; text-transform:uppercase; letter-spacing:.6px;
    color: var(--brand-yellow); background: rgba(245,198,107,.08); border:1px solid rgba(245,198,107,.22);
    padding:4px 10px; border-radius: 14px; margin-bottom:12px; }
h2 { font-size: 23px; font-weight: 800; line-height:1.2; margin-bottom: 12px; }
@media (max-width:560px){ h2 { font-size: 20px; } }
h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text-main); }
p { color: var(--text-muted); margin-bottom: 12px; }
p strong, li strong { color: var(--text-main); }
.lead-acc { color: var(--brand-yellow); font-weight:700; }
.hook { color: var(--text-main); }
.muted { color: var(--text-dim); }
.lead-block { background: var(--bg-card-2); border:1px solid var(--border-color); border-left:3px solid var(--brand-red);
    border-radius: var(--radius-md); padding:18px; }
.grid2 { display:grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width:700px){ .grid2 { grid-template-columns: 1fr; } }

/* tables */
.tbl-wrap { overflow-x:auto; border:1px solid var(--border-color); border-radius: var(--radius-md); margin: 8px 0 14px; }
table { width:100%; border-collapse: collapse; font-size: 14px; min-width: 480px; }
th, td { padding: 11px 13px; text-align:left; border-bottom:1px solid var(--border-color); }
th { background: var(--bg-secondary); color: var(--brand-yellow); font-weight:700; font-size:12.5px; text-transform:uppercase; letter-spacing:.3px; }
tr:last-child td { border-bottom:none; }
td b { color: var(--text-main); }
tbody tr:nth-child(even) { background: rgba(255,255,255,.02); }

/* callout / antifake / trust */
.callout { display:flex; gap:12px; align-items:flex-start; background: var(--bg-card-2);
    border:1px solid var(--border-color); border-radius: var(--radius-md); padding:14px 16px; margin:12px 0; }
.callout .ic { font-size:22px; line-height:1; flex-shrink:0; }
.callout.warn { border-left:3px solid var(--brand-red); }
.callout.fact { border-left:3px solid var(--brand-yellow); }
.callout.trust { border-left:3px solid var(--ok); }
.callout .t { font-size:14px; color: var(--text-muted); }
.callout .t b { color: var(--text-main); }
.mirror-box { display:flex; gap:14px; align-items:center; background: var(--bg-card-2);
    border:1px solid rgba(245,198,107,.25); border-radius: var(--radius-md); padding:14px 16px; margin:14px 0; }
.mirror-box .ic { font-size:26px; }
.mirror-box .t { flex:1; font-size:14px; color: var(--text-muted); }

/* steps */
.steps { display:grid; grid-template-columns: repeat(4,1fr); gap:12px; margin-top:8px; }
@media (max-width:820px){ .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width:460px){ .steps { grid-template-columns: 1fr; } }
.step { background: var(--bg-card-2); border:1px solid var(--border-color); border-radius: var(--radius-md); padding:16px; position:relative; }
.step .n { width:30px; height:30px; border-radius:50%; background: var(--brand-gradient); color:#fff;
    display:flex; align-items:center; justify-content:center; font-weight:800; margin-bottom:10px; }
.step h3 { font-size:15px; }
.step p { font-size:13px; margin-bottom:0; }

/* cta band */
.cta-band { background: var(--hero-gradient); border:1px solid var(--brand-red); border-radius: var(--radius-lg);
    padding:22px; text-align:center; }
.cta-band .cta-title { font-size:20px; font-weight:900; color: var(--text-main); margin-bottom:6px; }
.cta-band p { color: var(--text-muted); margin-bottom:14px; }

/* bonus cols */
.bonus-cols { display:grid; grid-template-columns: repeat(3,1fr); gap:12px; margin-top:8px; }
@media (max-width:700px){ .bonus-cols { grid-template-columns: 1fr; } }
.bcol { background: var(--bg-card-2); border:1px solid var(--border-color); border-radius: var(--radius-md); padding:18px; }
.bcol.feat { border-color: rgba(245,198,107,.5); background: linear-gradient(180deg,#241015,#160a0d); }
.bcol .ic { font-size:26px; margin-bottom:8px; }
.bcol .big { font-size:22px; font-weight:900; color: var(--brand-yellow); margin:4px 0 8px; }
.bcol p { font-size:13px; margin-bottom:0; }

/* slots / providers */
.slots { display:grid; grid-template-columns: repeat(5,1fr); gap:12px; margin-top:8px; }
@media (max-width:820px){ .slots { grid-template-columns: repeat(3,1fr); } }
@media (max-width:460px){ .slots { grid-template-columns: repeat(2,1fr); } }
.slot { background: var(--bg-card); border:1px solid var(--border-color); border-radius: var(--radius-md); overflow:hidden; }
.slot .thumb { aspect-ratio: 1/1; display:flex; align-items:center; justify-content:center; font-size:34px; }
.slot .meta { padding:8px 10px; }
.slot .nm { font-size:13px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.slot .rtp { font-size:11px; color: var(--brand-yellow); margin-top:2px; }
.prov { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.prov span { font-size:12px; background: var(--bg-secondary); border:1px solid var(--border-color); padding:6px 12px; border-radius: 16px; color: var(--text-muted); }

/* games grid (home) */
.games-grid { display:grid; grid-template-columns: repeat(2,1fr); gap:12px; margin-top:8px; }
@media (min-width:576px){ .games-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width:768px){ .games-grid { grid-template-columns: repeat(6,1fr); } }
.game-card { background: var(--bg-card); border-radius: var(--radius-md); overflow:hidden; position:relative;
    aspect-ratio: 3/4; border:1px solid transparent; transition: border-color .2s; }
.game-card:hover { border-color: var(--brand-red); }
.game-card img { width:100%; height:100%; transition: transform .3s ease; }
.game-card:hover img { transform: scale(1.05); }
.game-label { position:absolute; top:8px; left:8px; background: var(--brand-red); color:#fff; font-size:10px;
    font-weight:700; padding:3px 6px; border-radius:4px; text-transform:uppercase; }
.game-overlay { position:absolute; bottom:0; left:0; width:100%;
    background: linear-gradient(0deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,0) 100%); padding:20px 10px 10px; }
.game-name { font-size:12px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.game-provider { font-size:10px; color: var(--text-muted); margin-top:2px; }

/* review cards (otzyvy) */
.reviews { display:grid; grid-template-columns: 1fr 1fr; gap:12px; margin-top:8px; }
@media (max-width:700px){ .reviews { grid-template-columns: 1fr; } }
.rev { background: var(--bg-card-2); border:1px solid var(--border-color); border-radius: var(--radius-md); padding:14px 16px; }
.rev .top { display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; }
.rev .who { font-weight:700; font-size:14px; }
.rev .stars { color: var(--brand-yellow); font-size:13px; }
.rev p { font-size:13px; margin-bottom:0; }
.rev .tag { font-size:11px; padding:2px 8px; border-radius:10px; }
.rev .tag.plus { background: rgba(70,196,106,.15); color: var(--ok); }
.rev .tag.minus { background: rgba(209,2,27,.15); color:#ff6b7d; }

/* rating block */
.rating-big { display:flex; align-items:center; gap:18px; background: var(--bg-card-2);
    border:1px solid var(--border-color); border-radius: var(--radius-md); padding:18px; margin:8px 0 14px; }
.rating-big .score { font-size:46px; font-weight:900; color: var(--brand-yellow); line-height:1; }
.rating-big .meta { font-size:13px; color: var(--text-muted); }
.rating-big .meta .st { color: var(--brand-yellow); font-size:18px; }

/* faq */
.faq { display:flex; flex-direction:column; gap:10px; }
.qa { background: var(--bg-card-2); border:1px solid var(--border-color); border-radius: var(--radius-md); overflow:hidden; }
.qa summary { cursor:pointer; padding:14px 16px; font-weight:700; font-size:15px; list-style:none; position:relative; }
.qa summary::-webkit-details-marker { display:none; }
.qa summary:after { content:"+"; position:absolute; right:16px; color: var(--brand-yellow); font-size:20px; font-weight:400; }
.qa[open] summary:after { content:"–"; }
.qa .a { padding:0 16px 14px; font-size:14px; color: var(--text-muted); }
.qa .a b { color: var(--text-main); }

/* ===================== FIXED CTA BANNER ===================== */
.cta-banner-wrapper { position: fixed; bottom: 80px; left: 0; width: 100%; z-index: 90;
    display:flex; justify-content:center; pointer-events:none; }
.cta-banner-inner { background: var(--hero-gradient); border:1px solid var(--brand-red); border-radius: var(--radius-md);
    padding:12px 20px; display:flex; align-items:center; justify-content:space-between; gap:20px;
    box-shadow:0 4px 20px rgba(0,0,0,.8); pointer-events:auto; transform: translateY(100%); opacity:0;
    animation: slideUpFade .5s forwards 1s; max-width: 980px; width:100%; margin:0 16px; }
.cta-banner-inner .cta-amount { font-size:20px; font-weight:900; color: var(--text-main); line-height:1; }
.cta-banner-inner .cta-amount span { color: var(--brand-yellow); }
.cta-banner-inner .cta-desc { font-size:11px; color: var(--text-muted); text-transform:uppercase; margin-top:4px; }
.cta-banner-inner .cta-btn { background: var(--brand-yellow); color:#000; font-weight:800; padding:10px 20px;
    border-radius: var(--radius-sm); text-transform:uppercase; font-size:13px; box-shadow:0 2px 8px rgba(245,198,107,.4); cursor:pointer; }
@media (max-width:767px){
    .cta-banner-wrapper { bottom: calc(59px + env(safe-area-inset-bottom)); }
    .cta-banner-inner { width:100%; margin:0; border-radius:16px 16px 0 0; border:none; border-top:1px solid rgba(255,255,255,.2); padding:10px 16px; }
    .cta-banner-inner .cta-amount { font-size:16px; }
    .cta-banner-inner .cta-btn { padding:8px 16px; font-size:12px; }
}
@keyframes slideUpFade { to { transform: translateY(0); opacity:1; } }

/* ===================== BOTTOM NAV ===================== */
.bottom-nav { position: fixed; bottom:0; left:0; width:100%; background:#110c0d; border-top:1px solid var(--border-color);
    display:flex; justify-content:space-around; padding:8px 0; padding-bottom: calc(8px + env(safe-area-inset-bottom)); z-index:100; }
.nav-item { display:flex; flex-direction:column; align-items:center; gap:4px; color:#888; font-size:10px; cursor:pointer; transition: color .2s; }
.nav-item.active, .nav-item:hover { color: var(--brand-red); }
.nav-item svg { width:24px; height:24px; fill: currentColor; }

/* ===================== FOOTER ===================== */
footer { background: var(--bg-secondary); border-top:1px solid var(--border-color); padding:30px 0 24px; margin-top:20px; }
.foot-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr; gap:24px; }
@media (max-width:700px){ .foot-grid { grid-template-columns: 1fr; gap:18px; } }
footer h4 { font-size:13px; text-transform:uppercase; letter-spacing:.4px; color: var(--brand-yellow); margin-bottom:10px; }
footer .foot-grid a { display:block; font-size:13.5px; color: var(--text-muted); padding:4px 0; }
footer .foot-grid a:hover { color: var(--text-main); }
footer .logo { font-size:20px; }
footer .logo small { display:block; font-size:11px; color: var(--text-dim); font-weight:500; text-transform:none; letter-spacing:0; }
.age { font-size:13px; color: var(--text-muted); }
.disclaimer { font-size:12px; color: var(--text-dim); line-height:1.6; margin-top:22px; padding-top:18px; border-top:1px solid var(--border-color); }
.disclaimer b { color: var(--text-muted); }

/* desktop width cap */
@media (min-width: 1024px) {
    body { max-width: 1200px; margin: 0 auto; box-shadow: 0 0 40px rgba(0,0,0,.6); }
    .bottom-nav, .cta-banner-wrapper { left: 50%; transform: translateX(-50%); max-width: 1200px; }
}
