:root {
    --bg: #09070b;
    --panel: rgba(21, 17, 26, 0.88);
    --panel-strong: #120f16;
    --panel-soft: rgba(255,255,255,0.04);
    --text: #f7f2e7;
    --muted: #b8ab96;
    --gold: #f2cc76;
    --gold-deep: #b88628;
    --accent: #ffcf72;
    --line: rgba(242, 204, 118, 0.18);
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
    --radius: 24px;
    --radius-sm: 18px;
    --gap: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 20%, rgba(230, 179, 61, 0.15), transparent 30%),
        radial-gradient(circle at 85% 12%, rgba(163, 91, 255, 0.14), transparent 25%),
        linear-gradient(180deg, #0a0810 0%, #09070b 38%, #0d0b11 100%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.page-shell {
    width: min(100%, 1160px);
    margin: 0 auto;
    padding: 18px 14px calc(112px + env(safe-area-inset-bottom));
}
.topbar {
    position: sticky;
    top: 0;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    backdrop-filter: blur(14px);
    background: rgba(12, 9, 16, 0.72);
    box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; min-width: 0; }
.brand__logo { width: 138px; height: auto; }
.topbar__nav {
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
    overflow: auto;
    scrollbar-width: none;
}
.topbar__nav::-webkit-scrollbar { display: none; }
.topbar__nav a {
    color: var(--muted);
    font-size: 0.92rem;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
}
.hero {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    margin-bottom: 22px;
    border: 1px solid var(--line);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
        radial-gradient(circle at top left, rgba(255, 207, 114, 0.2), transparent 34%),
        linear-gradient(180deg, #141018 0%, #0d0b11 100%);
    box-shadow: var(--shadow);
}
.hero__backdrop {
    position: absolute;
    inset: auto -10% -15% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,207,114,0.30) 0%, rgba(255,207,114,0.08) 35%, transparent 68%);
    filter: blur(16px);
}
.hero__panel {
    position: relative;
    display: grid;
    gap: 20px;
    padding: 24px 18px 22px;
}
.kicker, .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.73rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
}
.kicker::before, .section-kicker::before {
    content: "";
    width: 18px;
    height: 1px;
    background: currentColor;
}
.hero h1 {
    margin: 12px 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 6vw, 4.2rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
}
.lead, .section-copy, .text-block, .responsible p, .bonus-banner p { color: var(--muted); line-height: 1.6; }
.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 18px;
}
.hero__badges span,
.game-card__tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    padding: 7px 11px;
    font-size: 0.8rem;
    color: #f5ead0;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.button {
    appearance: none;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    padding: 14px 18px;
    font-weight: 700;
    transition: transform .18s ease, opacity .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button--primary {
    color: #18120a;
    background: linear-gradient(135deg, var(--gold) 0%, #fff1b8 100%);
    box-shadow: 0 8px 18px rgba(242,204,118,0.18);
}
.button--soft {
    color: #16110b;
    background: linear-gradient(135deg, #fff4cb 0%, #d6a852 100%);
}
.button--ghost {
    color: var(--text);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    width: 100%;
}
.button--compact { padding: 12px 16px; border-radius: 14px; }
.hero__visual { display: grid; gap: 18px; }
.hero__promo-card,
.feature-card,
.step-card,
.responsible__inner,
.bonus-banner,
.game-card,
.text-block {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    box-shadow: var(--shadow);
}
.hero__promo-card {
    padding: 18px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255,223,145,0.12), rgba(255,255,255,0.03)),
        rgba(17, 13, 21, 0.92);
}
.promo-card__label { color: var(--gold); font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; }
.promo-card__value {
    margin: 12px 0 10px;
    font-family: Georgia, serif;
    font-size: clamp(2.1rem, 8vw, 3.5rem);
    line-height: .95;
    color: #fff4cf;
}
.hero__promo-card p { margin: 0 0 16px; color: var(--muted); }
.hero__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.mini-game {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.03);
    transform: rotate(var(--angle, 0deg));
}
.mini-game:nth-child(1) { --angle: -5deg; margin-top: 14px; }
.mini-game:nth-child(2) { --angle: 4deg; }
.mini-game:nth-child(3) { --angle: -3deg; margin-top: 16px; }
.ticker {
    overflow: hidden;
    margin: 0 0 24px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.04);
}
.ticker__track {
    display: inline-flex;
    gap: 24px;
    padding: 12px 18px;
    white-space: nowrap;
    color: var(--gold);
    animation: ticker 24s linear infinite;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.section { margin-bottom: 24px; }
.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}
.section-head--left { justify-content: flex-start; }
.section h2 {
    margin: 8px 0 0;
    font-family: Georgia, serif;
    font-size: clamp(1.5rem, 4.5vw, 2.65rem);
    line-height: 1.02;
}
.ghost-button {
    appearance: none;
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text);
    background: rgba(255,255,255,0.03);
    border-radius: 999px;
    padding: 11px 14px;
    cursor: pointer;
}
.games-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.game-card {
    border-radius: 24px;
    overflow: hidden;
}
.game-card.is-collapsed { display: none; }
.games-grid.is-expanded .game-card.is-collapsed { display: block; }
.game-card__frame {
    position: relative;
    padding: 8px;
}
.game-card__frame img {
    width: 100%;
    aspect-ratio: 427 / 575;
    object-fit: cover;
    border-radius: 18px;
}
.game-card__tag {
    position: absolute;
    left: 16px;
    top: 16px;
    background: rgba(15, 12, 19, 0.86);
    backdrop-filter: blur(8px);
}
.game-card__body {
    padding: 0 14px 14px;
}
.game-card h3 {
    margin: 6px 0 6px;
    font-size: 1rem;
    line-height: 1.2;
}
.game-card p { margin: 0 0 12px; color: var(--muted); font-size: .92rem; }
.features-grid,
.steps-grid {
    display: grid;
    gap: 14px;
}
.feature-card,
.step-card,
.text-block,
.responsible__inner,
.bonus-banner {
    border-radius: 26px;
    padding: 18px;
}
.feature-card__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(242,204,118,.18), rgba(255,255,255,.05));
    color: var(--gold);
    margin-bottom: 12px;
    font-size: 1.15rem;
}
.feature-card h3, .step-card p { margin: 0 0 8px; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.royal-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 12px;
    color: var(--muted);
    line-height: 1.6;
}
.bonus-banner {
    background:
        radial-gradient(circle at top right, rgba(255,216,118,0.18), transparent 36%),
        linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}
.bonus-banner__numbers {
    margin: 10px 0;
    font-family: Georgia, serif;
    font-size: clamp(2rem, 8vw, 3.4rem);
    color: #fff3ca;
    line-height: .95;
}
.steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.step-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 132px;
}
.step-card__number {
    font-size: 0.82rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
}
.responsible__inner { position: relative; overflow: hidden; }
.responsible__inner::after {
    content: "18+";
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 3rem;
    line-height: 1;
    color: rgba(255,255,255,0.05);
    font-weight: 800;
}
.sticky-cta {
    position: fixed;
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 22px;
    background: rgba(14, 10, 18, 0.92);
    border: 1px solid rgba(242,204,118,0.18);
    box-shadow: 0 20px 42px rgba(0,0,0,0.38);
    backdrop-filter: blur(18px);
}
.sticky-cta strong { display: block; font-size: 1rem; }
.sticky-cta span { color: var(--muted); font-size: .84rem; }
@media (min-width: 720px) {
    .page-shell { padding: 20px 18px 40px; }
    .hero__panel { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 34px; }
    .features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .bonus-banner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
    .bonus-banner__action { flex: none; }
    .games-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sticky-cta { display: none; }
}
@media (max-width: 719px) {
    .topbar__nav a:nth-child(3) { display: none; }
}
