/* ============================================
   JILI Games — One-page design system
   Palette: black + gold + jewel green
   Type: Unbounded (display) + Manrope (body)
   ============================================ */

:root {
    --bg: #0a0908;
    --bg-2: #14110f;
    --bg-3: #1a1614;
    --card: #1c1815;
    --card-2: #221d18;
    --line: rgba(255, 184, 0, 0.14);
    --line-strong: rgba(255, 184, 0, 0.35);

    --gold: #FFB800;
    --gold-2: #FFD93D;
    --gold-3: #C8930A;
    --gold-soft: rgba(255, 184, 0, 0.08);

    --green: #16a34a;
    --green-deep: #0f3d22;
    --green-darker: #0a2615;

    --red: #ef4444;
    --orange: #f97316;
    --blue: #3b82f6;

    --text: #f5f3ee;
    --text-mute: #b8b1a6;
    --text-dim: #807a72;

    --radius: 18px;
    --radius-sm: 10px;
    --radius-lg: 28px;

    --shadow-soft: 0 10px 40px rgba(0,0,0,0.4);
    --shadow-gold: 0 8px 32px rgba(255, 184, 0, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 184, 0, 0.08), transparent 60%),
        radial-gradient(ellipse 60% 40% at 100% 60%, rgba(255, 184, 0, 0.04), transparent 60%);
    background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Headings */
h1, h2, h3, h4 {
    font-family: 'Unbounded', 'Manrope', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--text);
}
h1 { font-size: clamp(1.9rem, 4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; font-weight: 600; }

p { color: var(--text-mute); }
.gold-text {
    background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 50%, var(--gold-3) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ====== HEADER ====== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 9, 8, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: background .3s, border-color .3s;
}
.site-header.scrolled {
    background: rgba(10, 9, 8, 0.92);
    border-bottom-color: var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}
.logo {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    background: linear-gradient(180deg, var(--gold-2) 0%, var(--gold) 60%, var(--gold-3) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 28px rgba(255, 184, 0, 0.3);
}
.logo img {
    display: block;
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 18px rgba(255, 184, 0, 0.35));
    transition: filter .2s;
}
.logo:hover img {
    filter: drop-shadow(0 0 24px rgba(255, 184, 0, 0.55));
}
.footer-brand .logo img {
    height: 48px;
    margin-bottom: 6px;
}
.main-nav {
    display: flex;
    gap: 32px;
}
.main-nav a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-mute);
    transition: color .2s;
    position: relative;
}
.main-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.main-nav a:hover { color: var(--gold-2); }
.main-nav a:hover::after { transform: scaleX(1); }

/* ====== BUTTONS ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: transform .2s, box-shadow .25s, filter .2s;
    text-align: center;
    line-height: 1;
    white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

.btn-gold {
    background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 50%, var(--gold-3) 100%);
    color: #2a1f00;
    box-shadow: 0 6px 22px rgba(255, 184, 0, 0.28);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255, 184, 0, 0.4); filter: brightness(1.05); }

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: rgba(255, 184, 0, 0.08); border-color: var(--gold); }

.btn-play {
    background: linear-gradient(135deg, #16a34a 0%, #059669 100%);
    color: white;
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.3);
    width: 100%;
}
.btn-play:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(22, 163, 74, 0.45); }

/* ====== HERO ====== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 70px 0 60px;
}

@media (min-width: 1280px) {
    .hero {
        aspect-ratio: 8 / 3;
    }
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;   /* ← было просто center */
    background-repeat: no-repeat;
    opacity: 0.55;
    z-index: 0;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 100%);

}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(10,9,8,0.35) 0%, rgba(10,9,8,0.65) 60%, rgba(10,9,8,0.95) 100%),
        radial-gradient(ellipse at center, transparent 0%, rgba(10,9,8,0.5) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}
.eyebrow {
    display: inline-block;
    padding: 5px 13px;
    background: rgba(255, 184, 0, 0.1);
    color: var(--gold-2);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 18px;
    text-transform: uppercase;
}
.hero h1 {
    margin-bottom: 18px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}
.hero-lead {
    font-size: 1.02rem;
    color: var(--text);
    opacity: 0.92;
    max-width: 680px;
    margin-bottom: 28px;
}
.hero-ctas {
    display: flex;
    gap: 14px;
    margin-bottom: 38px;
    flex-wrap: wrap;
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    max-width: 680px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    font-weight: 700;
    color: var(--gold-2);
    line-height: 1;
}
.stat-num sup { font-size: 0.6em; color: var(--gold); }
.stat-label {
    font-size: 0.74rem;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ====== SECTION ====== */
.section {
    padding: 96px 0;
    position: relative;
}
.section-alt {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
}
.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 64px;
}
.kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 16px;
    padding: 4px 12px;
    background: var(--gold-soft);
    border-radius: 999px;
}
.section-head h2 { margin-bottom: 16px; }
.section-lead {
    font-size: 1.05rem;
    color: var(--text-mute);
}

/* ====== CASINO LIST ====== */
.casino-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.casino-card {
    position: relative;
    display: grid;
    grid-template-columns: 200px 1fr 200px 180px;
    gap: 22px;
    align-items: center;
    background: linear-gradient(135deg, var(--card) 0%, var(--card-2) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.casino-card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-soft);
}
.casino-card.top-pick {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}
.casino-card.top-pick::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.card-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    z-index: 2;
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.badge-top {
    background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
    color: #2a1f00;
}
.badge-bonus {
    background: linear-gradient(135deg, #60a5fa, #2563eb);
    color: white;
}
.badge-popular {
    background: linear-gradient(135deg, #fb923c, #ea580c);
    color: white;
}

.casino-logo {
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: 200px;
    height: 80px;
    flex-shrink: 0;
    background: #000;
}
.casino-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.casino-info {
    min-width: 0;
}
.casino-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.casino-info h3 {
    font-size: 1.4rem;
    color: var(--gold-2);
    margin: 0;
}
.promo-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    background: rgba(255, 184, 0, 0.08);
    border: 1px dashed var(--line-strong);
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--text-mute);
    letter-spacing: 0.05em;
}
.promo-pill strong {
    color: var(--gold-2);
    font-weight: 700;
    letter-spacing: 0.05em;
}
.copy-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0 2px;
    font-size: 0.85rem;
    color: var(--text-mute);
    transition: transform .15s;
}
.copy-btn:hover { transform: scale(1.15); color: var(--gold-2); }

.casino-info p {
    font-size: 0.92rem;
    margin-bottom: 12px;
    line-height: 1.55;
}
.feature-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.feature-tags li {
    font-size: 0.78rem;
    padding: 4px 10px;
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.25);
    color: #86efac;
    border-radius: 6px;
    font-weight: 500;
}

.bonus-block {
    background: linear-gradient(180deg, var(--green-deep) 0%, var(--green-darker) 100%);
    border: 1px solid rgba(22, 163, 74, 0.3);
    border-radius: var(--radius-sm);
    padding: 18px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.bonus-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #86efac;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.bonus-amount {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold-2);
    line-height: 1;
}
.bonus-amount span {
    font-size: 0.65rem;
    color: var(--text-mute);
    font-weight: 400;
    letter-spacing: 0.05em;
    display: block;
    margin-top: 4px;
}
.bonus-value {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold-2);
}

.casino-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
}
.rating {
    text-align: center;
    color: var(--gold-2);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}
.rating span { color: var(--text-mute); margin-left: 6px; font-size: 0.78rem; }

/* ====== CRITERIA / FEATURES ====== */
.criteria-grid,
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.criterion,
.feature {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: transform .25s, border-color .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
}
.criterion::before,
.feature::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity .3s;
}
.criterion:hover,
.feature:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-soft);
}
.criterion:hover::before,
.feature:hover::before { opacity: 1; }
.crit-icon, .feat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gold-soft);
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 1.5rem;
    margin-bottom: 16px;
}
.criterion h4, .feature h4 {
    color: var(--gold-2);
    margin-bottom: 8px;
}
.criterion p, .feature p {
    font-size: 0.92rem;
}

/* ====== ABOUT ====== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 56px;
    align-items: center;
}
.about-text .kicker { margin-bottom: 16px; }
.about-text h2 { margin-bottom: 20px; }
.about-text p {
    font-size: 1.02rem;
    margin-bottom: 14px;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.about-stat {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: transform .25s, border-color .25s;
}
.about-stat:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
}
.big-num {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gold-2);
    line-height: 1;
    margin-bottom: 8px;
}
.big-num sup { font-size: 0.55em; }
.big-label {
    font-size: 0.85rem;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ====== TYPES ====== */
.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}
.type-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 22px;
    text-align: center;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.type-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-gold);
}
.type-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255,184,0,0.15), rgba(255,184,0,0.05));
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    font-size: 2rem;
    margin-bottom: 18px;
}
.type-card h4 {
    color: var(--gold-2);
    margin-bottom: 10px;
}
.type-card p {
    font-size: 0.9rem;
}

/* ====== GAMES CAROUSEL ====== */
.games-carousel {
    position: relative;
    margin: 0 -4px;
}
.games-track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 6px 4px 18px;
    -webkit-overflow-scrolling: touch;
}
.games-track::-webkit-scrollbar { display: none; }
.game-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .3s, border-color .3s, box-shadow .3s;
    display: block;
}
.game-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}
.game-img {
    aspect-ratio: 353 / 518;
    overflow: hidden;
    position: relative;
}
.game-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}
.game-card:hover .game-img img { transform: scale(1.06); }
.game-meta {
    padding: 16px 18px 20px;
}
.game-meta h4 {
    color: var(--text);
    margin-bottom: 4px;
}
.game-type {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--gold-soft);
    padding: 3px 8px;
    border-radius: 999px;
    margin-bottom: 8px;
}
.game-meta p {
    font-size: 0.85rem;
    color: var(--text-mute);
}

.carousel-btn {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
    color: #2a1f00;
    border: none;
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 18px rgba(255,184,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .25s, transform .2s, box-shadow .2s;
    line-height: 1;
    font-family: 'Manrope', sans-serif;
    padding: 0;
}
.carousel-btn::before {
    display: block;
    line-height: 1;
    margin-bottom: 3px;
}
.carousel-btn.prev { left: -22px; }
.carousel-btn.prev::before { content: '‹'; font-size: 2.2rem; margin-right: 3px; }
.carousel-btn.next { right: -22px; }
.carousel-btn.next::before { content: '›'; font-size: 2.2rem; margin-left: 3px; }
.carousel-btn:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 10px 28px rgba(0,0,0,0.5), 0 0 24px rgba(255,184,0,0.4);
}
.carousel-btn:active { transform: translateY(-50%) scale(0.96); }
.carousel-btn:disabled {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(.85);
}

/* ====== MOBILE GRID ====== */
.mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.mobile-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px 32px;
}
.mobile-head {
    margin-bottom: 18px;
}
.os-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.04em;
}
.os-android {
    background: rgba(86, 196, 105, 0.15);
    color: #86efac;
    border: 1px solid rgba(86, 196, 105, 0.3);
}
.os-ios {
    background: rgba(165, 165, 165, 0.12);
    color: #d4d4d4;
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.mobile-card h3 {
    color: var(--gold-2);
    margin-bottom: 0;
}
.mobile-card > p {
    font-size: 0.95rem;
    margin-bottom: 18px;
}
.steps-list {
    list-style: none;
    counter-reset: step;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.steps-list li {
    counter-increment: step;
    position: relative;
    padding-left: 48px;
    font-size: 0.92rem;
    color: var(--text-mute);
    line-height: 1.55;
}
.steps-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
    color: #2a1f00;
    border-radius: 8px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.steps-list li strong { color: var(--text); font-weight: 600; }

/* ====== MODES (DEMO/REAL) ====== */
.modes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.mode-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px 32px;
    text-align: center;
}
.mode-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(255,184,0,0.15), rgba(255,184,0,0.05));
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    font-size: 2.2rem;
    margin-bottom: 18px;
}
.mode-card h4 {
    color: var(--gold-2);
    font-size: 1.3rem;
    margin-bottom: 10px;
}
.mode-card p {
    font-size: 0.95rem;
}

/* ====== PROS / CONS ====== */
.proscons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.pros, .cons {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
}
.pros {
    border-color: rgba(22, 163, 74, 0.3);
    background: linear-gradient(180deg, rgba(22, 163, 74, 0.06) 0%, var(--card) 60%);
}
.cons {
    border-color: rgba(239, 68, 68, 0.25);
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.05) 0%, var(--card) 60%);
}
.pros h3 { color: #86efac; margin-bottom: 16px; }
.cons h3 { color: #fca5a5; margin-bottom: 16px; }
.pros ul, .cons ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pros li, .cons li {
    padding-left: 28px;
    position: relative;
    font-size: 0.95rem;
    color: var(--text);
}
.pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #86efac;
    font-weight: 700;
}
.cons li::before {
    content: '×';
    position: absolute;
    left: 0;
    color: #fca5a5;
    font-weight: 700;
    font-size: 1.2em;
    line-height: 1;
}

/* ====== RG BANNER ====== */
.rg-banner {
    background: linear-gradient(135deg, rgba(255,184,0,0.06), rgba(22,163,74,0.04));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 36px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
}
.rg-icon {
    font-size: 2.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--gold-soft);
    border: 1px solid var(--line-strong);
    border-radius: 16px;
}
.rg-banner h3 {
    color: var(--gold-2);
    margin-bottom: 6px;
    font-size: 1.2rem;
}
.rg-banner p {
    font-size: 0.92rem;
}
.age {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fca5a5;
    border: 2px solid #fca5a5;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ====== FAQ ====== */
.faq-list {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color .25s;
}
.faq-item[open] {
    border-color: var(--line-strong);
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}
.faq-item summary {
    cursor: pointer;
    padding: 22px 28px;
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--text);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '＋';
    font-size: 1.4rem;
    color: var(--gold-2);
    transition: transform .25s;
    flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--gold-2); }
.faq-item p {
    padding: 0 28px 22px;
    font-size: 0.95rem;
}

/* ====== FINAL CTA ====== */
.final-cta-section { padding: 80px 0 100px; }
.final-cta {
    background:
        radial-gradient(ellipse at top, rgba(255,184,0,0.18), transparent 70%),
        linear-gradient(135deg, var(--card) 0%, var(--card-2) 100%);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    padding: 64px 32px;
    text-align: center;
    max-width: 880px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255,184,0,0.1), transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(22,163,74,0.08), transparent 40%);
    pointer-events: none;
}
.final-cta h2 {
    margin-bottom: 12px;
    position: relative;
}
.final-cta p {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 28px;
    position: relative;
}
.final-cta .btn { position: relative; }

/* ====== FOOTER ====== */
.site-footer {
    background: #060504;
    border-top: 1px solid var(--line);
    padding: 56px 0 32px;
    margin-top: 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 48px;
    align-items: start;
}
.footer-brand .logo { display: inline-block; margin-bottom: 12px; }
.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-dim);
    max-width: 320px;
}
.footer-rg {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(255,184,0,0.04);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 18px 22px;
}
.age-badge {
    font-family: 'Unbounded', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fca5a5;
    border: 2px solid #fca5a5;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.footer-rg p {
    font-size: 0.83rem;
    color: var(--text-dim);
    line-height: 1.55;
}
.footer-bottom {
    grid-column: 1 / -1;
    padding-top: 28px;
    margin-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 0.82rem;
    color: var(--text-dim);
    text-align: center;
}

/* ====== TOAST ====== */
.toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translate(-50%, 120px);
    background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
    color: #2a1f00;
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.92rem;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 24px rgba(255,184,0,0.3);
    transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .3s;
    opacity: 0;
    z-index: 999;
    pointer-events: none;
}
.toast.show {
    transform: translate(-50%, 0);
    opacity: 1;
}
.toast strong { font-weight: 800; }

/* ============ RESPONSIVE ============ */

/* Large laptops & smaller desktops */
@media (max-width: 1280px) {
    .casino-card {
        grid-template-columns: 180px 1fr 180px 170px;
        gap: 18px;
        padding: 20px;
    }
    .casino-logo { width: 180px; height: 72px; }
    .bonus-amount { font-size: 1.45rem; }
    .bonus-value { font-size: 1.2rem; }
}

/* Standard laptops (1366×768, 1440×900) */
@media (max-width: 1100px) {
    .container { padding: 0 22px; }
    .section { padding: 80px 0; }
    .section-head { margin-bottom: 50px; }

    .hero { padding: 56px 0 50px; }
    .hero-stats { gap: 18px; padding-top: 20px; }
    .stat-num { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
    .stat-label { font-size: 0.7rem; }

    .casino-card {
        grid-template-columns: 160px 1fr;
        grid-template-areas:
            "logo info"
            "bonus bonus"
            "cta cta";
        gap: 16px;
        padding: 20px;
    }
    .casino-logo {
        grid-area: logo;
        width: 160px;
        height: 64px;
    }
    .casino-info { grid-area: info; }
    .bonus-block {
        grid-area: bonus;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 18px;
        padding: 14px 22px;
    }
    .bonus-block .bonus-amount { font-size: 1.3rem; }
    .bonus-amount span { display: inline; margin-top: 0; margin-left: 4px; font-size: 0.65rem; }
    .bonus-value { font-size: 1.15rem; }
    .casino-cta {
        grid-area: cta;
        flex-direction: row;
        align-items: center;
        gap: 18px;
    }
    .casino-cta .btn-play { width: auto; flex: 1; }
    .rating { white-space: nowrap; font-size: 0.78rem; }
}

/* Tablets landscape */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .mobile-grid { grid-template-columns: 1fr; }
    .modes-grid { grid-template-columns: 1fr; }
    .proscons-grid { grid-template-columns: 1fr; }
    .game-card { flex: 0 0 220px; }
    .carousel-btn { width: 46px; height: 46px; }
    .carousel-btn.prev { left: -8px; }
    .carousel-btn.next { right: -8px; }
}

/* Tablets portrait */
@media (max-width: 768px) {
    .container { padding: 0 18px; }
    .section { padding: 60px 0; }
    .section-head { margin-bottom: 40px; }

    .main-nav { display: none; }
    .header-cta { padding: 9px 16px; font-size: 0.82rem; }

    .hero { padding: 44px 0 44px; }
    .hero h1 br { display: none; }
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        padding-top: 20px;
    }
    .stat-num { font-size: 1.3rem; }
    .stat-label { font-size: 0.65rem; letter-spacing: 0.04em; }
    .hero-ctas { flex-direction: column; gap: 12px; }
    .hero-ctas .btn { width: 100%; }

    .casino-card {
        grid-template-columns: 1fr;
        grid-template-areas:
            "logo"
            "info"
            "bonus"
            "cta";
        padding: 30px 18px 20px;
        gap: 16px;
    }
    .casino-logo { width: 200px; height: 80px; margin: 0 auto; }
    .card-badge { left: 50%; transform: translateX(-50%); white-space: nowrap; top: -14px; }
    .casino-card.top-pick { padding-top: 34px; }
    .casino-info h3 { font-size: 1.2rem; }
    .casino-title-row { justify-content: center; flex-wrap: wrap; }
    .casino-info { text-align: center; }
    .feature-tags { justify-content: center; }
    .bonus-block {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
        padding: 14px 14px;
    }
    .casino-cta { flex-direction: column; gap: 8px; }
    .casino-cta .btn-play { width: 100%; }

    .rg-banner { grid-template-columns: 1fr; text-align: center; padding: 26px 22px; }
    .rg-icon, .age { margin: 0 auto; }

    .footer-inner { grid-template-columns: 1fr; gap: 22px; }
    .footer-rg { flex-direction: column; align-items: center; text-align: center; }

    .final-cta { padding: 44px 22px; }

    .game-card { flex: 0 0 65vw; max-width: 280px; }
    .games-track { gap: 14px; padding: 6px 4px 16px; }
    .carousel-btn {
        width: 40px;
        height: 40px;
        top: 40%;
    }
    .carousel-btn.prev { left: 4px; }
    .carousel-btn.next { right: 4px; }
    .carousel-btn.prev::before,
    .carousel-btn.next::before { font-size: 1.7rem; }

    .types-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Large phones */
@media (max-width: 600px) {
    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.5rem; }
    .hero-lead { font-size: 0.95rem; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .types-grid, .criteria-grid, .features-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .promo-pill { font-size: 0.7rem; }
    .mobile-card { padding: 28px 22px; }
    .steps-list li { padding-left: 42px; font-size: 0.88rem; }
    .steps-list li::before { width: 28px; height: 28px; font-size: 0.82rem; }
    .pros, .cons { padding: 26px 22px; }
    .faq-item summary { padding: 18px 20px; font-size: 0.95rem; }
    .faq-item p { padding: 0 20px 18px; font-size: 0.9rem; }
    .final-cta { padding: 36px 20px; }
    .final-cta h2 { font-size: 1.45rem; }
    .final-cta p { font-size: 0.95rem; }
}

/* Small phones */
@media (max-width: 380px) {
    .container { padding: 0 14px; }
    h1 { font-size: 1.65rem; }
    .logo { font-size: 1.5rem; }
    .logo img { height: 34px; }
    .header-cta { padding: 8px 12px; font-size: 0.78rem; }
    .casino-info h3 { font-size: 1.1rem; }
    .promo-pill { font-size: 0.65rem; padding: 4px 8px; }
    .bonus-block { flex-direction: column; gap: 4px; }
    .bonus-amount span { display: block; margin-top: 2px; margin-left: 0; }
    .game-card { flex: 0 0 75vw; }
    .feature-tags li { font-size: 0.72rem; }
}
