/*
 * DudeSpin Casino - comic superhero design system
 * Single bright theme, mobile-first.
 */

:root {
    --c-yellow: #ffd21f;
    --c-yellow-light: #ffe45c;
    --c-yellow-deep: #f5a300;
    --c-red: #e3262b;
    --c-red-deep: #b3151c;
    --c-blue: #1f5fd1;
    --c-blue-royal: #1747b3;
    --c-blue-deep: #0d2b73;
    --c-sky: #4fb6f5;
    --c-night: #160d45;
    --c-ink: #111111;
    --c-paper: #ffffff;
    --c-cream: #fff8e1;
    --c-muted: #3a3a4a;

    --font-display: "Bangers", "Impact", "Arial Narrow", sans-serif;
    --font-body: "Nunito", "Segoe UI", Roboto, Arial, sans-serif;

    --ink: 4px solid var(--c-ink);
    --ink-thin: 3px solid var(--c-ink);
    --shadow-hard: 5px 5px 0 var(--c-ink);
    --shadow-btn: 0 5px 0 var(--c-ink);
    --radius: 14px;
    --gutter: 8px;

    --outline: 2px 2px 0 var(--c-ink), -2px -2px 0 var(--c-ink), 2px -2px 0 var(--c-ink), -2px 2px 0 var(--c-ink), 0 2px 0 var(--c-ink), 2px 0 0 var(--c-ink), 0 -2px 0 var(--c-ink), -2px 0 0 var(--c-ink);
    --outline-extrude: var(--outline), 4px 5px 0 var(--c-ink), 6px 7px 0 var(--c-ink);
    --halftone: radial-gradient(rgba(255, 255, 255, 0.14) 1.1px, transparent 1.6px) 0 0 / 8px 8px;
    --star: polygon(50% 0%, 61% 18%, 79% 6%, 77% 27%, 98% 25%, 85% 42%, 100% 55%, 81% 63%, 90% 83%, 69% 79%, 63% 100%, 50% 85%, 36% 100%, 31% 79%, 9% 86%, 19% 64%, 0% 56%, 15% 42%, 2% 25%, 23% 27%, 20% 6%, 39% 18%);
    --shield: polygon(50% 0, 100% 12%, 94% 62%, 50% 100%, 6% 62%, 0 12%);

    --header-bottom: 84px;
    --mobile-bar-h: 0px;
}

/* ============================================
   OVERFLOW PREVENTION
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

img, video, iframe, embed, object, svg {
    max-width: 100%;
    height: auto;
}

[class*="grid"] > *,
[class*="flex"] > * {
    min-width: 0;
}

pre, code, .code-block, [class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}

pre code,
.code-block code {
    display: block;
    min-width: 0;
}

.table-wrapper,
[class*="table-"] {
    max-width: 100%;
    overflow-x: auto;
}

p, li, td, th {
    overflow-wrap: break-word;
}

details {
    height: fit-content;
}

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

input, textarea, select {
    max-width: 100%;
}

section {
    overflow: clip;
}

/* ============================================
   BASE
   ============================================ */
html {
    background: var(--c-night);
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-bottom) + 12px);
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    padding-top: var(--header-bottom);
    padding-bottom: var(--mobile-bar-h);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--c-ink);
    background: transparent;
    overflow-x: clip;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--c-night) url("./assets/7a2db290e7addd7da92fd8fc203d2c1c.webp") center top / cover no-repeat;
}

body.menu-open {
    overflow: hidden;
}

h1, h2 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.05;
    margin: 0 0 0.5em;
}

h3 {
    font-family: var(--font-body);
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 0.4em;
}

p {
    margin: 0 0 1em;
}

a {
    color: inherit;
}

img {
    display: block;
}

:focus-visible {
    outline: 3px solid var(--c-yellow);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px var(--c-ink);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 8px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--c-yellow);
    color: var(--c-ink);
    font-weight: 900;
    border: var(--ink-thin);
    border-radius: 10px;
    text-decoration: none;
}

.skip-link:focus {
    top: 8px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
}

.site-header__frame {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--gutter) var(--gutter) 0;
    background: var(--c-paper);
}

.site-header__bar {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 60px;
    padding: 6px 8px;
    background: linear-gradient(180deg, #2a6fe0 0%, var(--c-blue-royal) 100%);
    border: var(--ink);
}

.site-header__bar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--halftone);
    pointer-events: none;
}

/* Brand */
.site-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
    min-width: 0;
    text-decoration: none;
    color: var(--c-paper);
}

.site-brand__emblem {
    flex: none;
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.site-brand__text,
.footer-brand__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 0.9;
}

.brand-word {
    display: block;
    font-family: var(--font-display);
    font-size: 1.55rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--c-paper);
    text-shadow: var(--outline), 3px 3px 0 var(--c-ink);
    white-space: nowrap;
}

.brand-ribbon {
    display: inline-block;
    margin-top: 2px;
    padding: 1px 10px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-yellow);
    background: var(--c-red);
    border: 2px solid var(--c-ink);
    transform: skewX(-10deg);
    white-space: nowrap;
}

/* Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.header-actions .btn--login {
    display: none;
}

.burst-wrap {
    position: relative;
    isolation: isolate;
    display: inline-flex;
}

.burst-wrap .btn {
    position: relative;
    z-index: 1;
}

/* Hamburger */
.menu-toggle {
    flex: none;
    display: grid;
    place-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: var(--c-yellow);
    border: var(--ink-thin);
    border-radius: 10px;
    box-shadow: 0 3px 0 var(--c-ink);
    cursor: pointer;
}

.menu-toggle__bar {
    display: block;
    width: 22px;
    height: 3px;
    background: var(--c-ink);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Navigation */
.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__link {
    display: flex;
    align-items: center;
    font-family: var(--font-display);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
}

.site-nav__note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--c-paper);
}

@media (max-width: 1023.98px) {
    .site-nav {
        display: none;
    }

    .site-nav.is-open {
        display: block;
        position: fixed;
        top: var(--header-bottom);
        left: 0;
        right: 0;
        bottom: 0;
        height: auto;
        z-index: 60;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 16px 16px calc(24px + env(safe-area-inset-bottom));
        background-color: var(--c-blue-deep);
        background-image: var(--halftone);
        border-top: var(--ink);
    }

    .site-nav__list {
        display: grid;
        gap: 10px;
        max-width: 560px;
        margin: 0 auto;
    }

    .site-nav__link {
        min-height: 52px;
        padding: 6px 18px;
        font-size: 1.5rem;
        color: var(--c-ink);
        background: var(--c-paper);
        border: var(--ink-thin);
        border-left: 10px solid var(--c-yellow);
        border-radius: 12px;
        box-shadow: 3px 3px 0 var(--c-ink);
    }

    .site-nav__link:hover {
        background: var(--c-yellow);
    }

    .site-nav__cta {
        display: grid;
        gap: 12px;
        max-width: 560px;
        margin: 20px auto 0;
    }
}

@media (max-width: 380px) {
    .site-brand__emblem {
        width: 34px;
        height: 34px;
    }

    .site-header__bar .brand-word {
        font-size: 1.2rem;
    }

    .site-header__bar .brand-ribbon {
        font-size: 0.7rem;
        padding: 0 6px;
    }

    .header-actions .btn--register {
        padding: 6px 9px;
        font-size: 0.95rem;
    }

    .site-header__bar {
        gap: 6px;
        padding: 6px;
    }
}

/* ============================================
   PAGE SHELL & COMIC PANELS
   ============================================ */
.page-shell {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--gutter);
    background: var(--c-paper);
}

.page-main {
    display: grid;
    gap: 10px;
}

.page-main > * {
    min-width: 0;
}

.panel-row {
    display: grid;
    gap: 10px;
}

.panel-row > * {
    min-width: 0;
}

.comic-panel {
    position: relative;
    isolation: isolate;
    background: var(--c-blue);
    color: var(--c-paper);
    border: var(--ink);
    box-shadow: 4px 4px 0 var(--c-ink);
}

.comic-panel__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.panel-body {
    position: relative;
    z-index: 1;
    padding: 16px;
}

.caption-tab {
    position: relative;
    z-index: 2;
    display: block;
    width: fit-content;
    max-width: calc(100% - 24px);
    padding: 7px 14px 5px;
    background: var(--c-yellow);
    border-right: var(--ink);
    border-bottom: var(--ink);
}

.caption-tab__title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.3rem, 0.95rem + 1.4vw, 1.85rem);
    line-height: 1.05;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--c-ink);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    min-height: 52px;
    padding: 10px 26px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.45rem;
    line-height: 1;
    letter-spacing: 0.05em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    border: var(--ink-thin);
    border-radius: var(--radius);
    box-shadow: var(--shadow-btn);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 0 var(--c-ink);
}

.btn:active {
    transform: translateY(3px);
    box-shadow: 0 2px 0 var(--c-ink);
}

.btn--yellow {
    color: var(--c-ink);
    background: linear-gradient(180deg, var(--c-yellow-light) 0%, #ffc400 55%, var(--c-yellow-deep) 100%);
}

.btn--blue {
    color: var(--c-paper);
    background: linear-gradient(180deg, #2a6fe0 0%, var(--c-blue-royal) 100%);
    text-shadow: 1px 1px 0 var(--c-ink);
}

.btn--red {
    color: var(--c-paper);
    background: linear-gradient(180deg, var(--c-red) 0%, var(--c-red-deep) 100%);
    text-shadow: 1px 1px 0 var(--c-ink);
}

.btn--sm {
    min-height: 44px;
    padding: 6px 14px;
    font-size: 1.05rem;
    border-radius: 999px;
    box-shadow: 0 3px 0 var(--c-ink);
}

.btn--sm:hover {
    box-shadow: 0 5px 0 var(--c-ink);
}

.btn--lg {
    min-height: 64px;
    padding: 12px 36px;
    font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem);
}

.btn--block {
    display: flex;
    width: 100%;
}

/* ============================================
   COMIC ORNAMENTS
   ============================================ */
.burst {
    --burst-size: 9rem;
    --burst-bg: var(--c-yellow);
    --burst-fg: var(--c-red);
    position: relative;
    display: inline-grid;
    place-items: center;
    width: var(--burst-size);
    aspect-ratio: 1.25;
    background: var(--c-ink);
    clip-path: var(--star);
    pointer-events: none;
}

.burst::before {
    content: "";
    position: absolute;
    inset: 6px;
    background: var(--burst-bg);
    clip-path: var(--star);
}

.burst__text {
    position: relative;
    font-family: var(--font-display);
    font-size: calc(var(--burst-size) * 0.24);
    line-height: 1;
    letter-spacing: 0.03em;
    color: var(--burst-fg);
    text-shadow: var(--outline);
    transform: rotate(-10deg);
}

.burst--red {
    --burst-bg: var(--c-red);
    --burst-fg: var(--c-yellow);
}

.burst--white {
    --burst-bg: var(--c-paper);
    --burst-fg: var(--c-red);
}

.burst--blue {
    --burst-bg: var(--c-sky);
    --burst-fg: var(--c-yellow);
}

.gutter-burst {
    display: none;
}

/* Speech bubbles */
.bubble {
    --bubble-bg: var(--c-paper);
    position: relative;
    display: inline-block;
    max-width: 17rem;
    margin: 0 0 24px;
    padding: 10px 16px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    line-height: 1.1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--c-ink);
    background: var(--bubble-bg);
    border: var(--ink-thin);
    border-radius: 24px;
    box-shadow: 3px 3px 0 var(--c-ink);
}

.bubble::before,
.bubble::after {
    content: "";
    position: absolute;
}

.bubble--tail-left::before,
.bubble--tail-right::before {
    bottom: -24px;
    width: 26px;
    height: 24px;
    background: var(--c-ink);
}

.bubble--tail-left::after,
.bubble--tail-right::after {
    bottom: -17px;
    width: 18px;
    height: 19px;
    background: var(--bubble-bg);
}

.bubble--tail-left::before {
    left: 22px;
    clip-path: polygon(0 0, 100% 0, 10% 100%);
}

.bubble--tail-left::after {
    left: 25px;
    clip-path: polygon(0 0, 100% 0, 8% 100%);
}

.bubble--tail-right::before {
    right: 22px;
    clip-path: polygon(0 0, 100% 0, 90% 100%);
}

.bubble--tail-right::after {
    right: 25px;
    clip-path: polygon(0 0, 100% 0, 92% 100%);
}

.bubble--tail-none::before,
.bubble--tail-none::after {
    display: none;
}

.bubble--tail-thought::before,
.bubble--tail-thought::after {
    background: var(--bubble-bg);
    border: var(--ink-thin);
    border-radius: 50%;
}

.bubble--tail-thought::before {
    left: 26px;
    bottom: -18px;
    width: 16px;
    height: 16px;
}

.bubble--tail-thought::after {
    left: 16px;
    bottom: -32px;
    width: 10px;
    height: 10px;
}

.bubble--yellow {
    --bubble-bg: var(--c-yellow);
}

/* 18+ markers */
.age-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    padding: 4px 16px 4px 4px;
    color: var(--c-ink);
    background: var(--c-paper);
    border: var(--ink-thin);
    border-radius: 999px;
    box-shadow: 3px 3px 0 var(--c-ink);
}

.age-note__text {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.3;
}

.age-badge {
    flex: none;
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    font-family: var(--font-display);
    font-size: 1.3rem;
    line-height: 1;
    color: var(--c-paper);
    background: var(--c-red);
    border: var(--ink-thin);
    border-radius: 50%;
    text-shadow: 1px 1px 0 var(--c-ink);
}

.age-badge--sm {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
    border-width: 2px;
}

/* Chips */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 4px 14px;
    font-weight: 900;
    font-style: italic;
    font-size: 0.95rem;
    color: var(--c-ink);
    background: var(--c-paper);
    border: var(--ink-thin);
    border-radius: 999px;
    box-shadow: 2px 2px 0 var(--c-ink);
}

/* Check list */
.check-list {
    display: grid;
    gap: 8px;
    margin: 0 0 1em;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 34px;
    font-weight: 700;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    font-size: 0.9rem;
    font-weight: 900;
    color: var(--c-ink);
    background: var(--c-yellow);
    border: 2px solid var(--c-ink);
    border-radius: 50%;
}

/* Payment badges */
.pay-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pay-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 3px 10px;
    font-weight: 900;
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.1;
    color: var(--c-ink);
    background: var(--c-paper);
    border: 2px solid var(--c-ink);
    border-radius: 8px;
    box-shadow: 2px 2px 0 var(--c-ink);
}

.pay-badge--visa { color: #1a1f71; }
.pay-badge--mastercard { color: #c8102e; }
.pay-badge--mifinity { color: #00756b; }
.pay-badge--revolut { color: #111111; }
.pay-badge--skrill { color: #862165; }
.pay-badge--neteller { color: #3f6b10; }
.pay-badge--paysafecard { color: #005ea8; }
.pay-badge--bitcoin { color: #a35400; }
.pay-badge--ethereum { color: #3c3c3d; }
.pay-badge--litecoin { color: #345d9d; }
.pay-badge--xrp { color: #23292f; }
.pay-badge--usdt { color: #1a7a5c; }
.pay-badge--usdc { color: #1f5fa8; }
.pay-badge--dogecoin { color: #7a6000; }
.pay-badge--cardano { color: #0033ad; }

/* ============================================
   FAQ (native details)
   ============================================ */
.faq-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 10px;
}

.faq-item {
    position: relative;
    align-self: start;
    color: var(--c-ink);
    background: var(--c-paper);
    border: var(--ink-thin);
    border-radius: var(--radius);
    box-shadow: 3px 3px 0 var(--c-ink);
    overflow: hidden;
}

.faq-item::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 10px;
    background: var(--c-yellow);
    border-right: 2px solid var(--c-ink);
}

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 10px 14px 10px 24px;
    list-style: none;
    cursor: pointer;
}

.faq-item__q::-webkit-details-marker {
    display: none;
}

.faq-item__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.3;
}

.faq-item__icon {
    position: relative;
    flex: none;
    width: 30px;
    height: 30px;
    background: var(--c-yellow);
    border: 2px solid var(--c-ink);
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 3px;
    margin: -1.5px 0 0 -6px;
    background: var(--c-ink);
}

.faq-item__icon::after {
    transform: rotate(90deg);
}

.faq-item[open] .faq-item__icon {
    transform: rotate(45deg);
    background: var(--c-red);
}

.faq-item__a {
    padding: 0 16px 14px 24px;
}

.faq-item__a p {
    margin: 0;
    font-size: 1rem;
    color: var(--c-muted);
}

.faq-item__q:focus-visible {
    outline-offset: -4px;
    box-shadow: none;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    position: relative;
    isolation: isolate;
    margin-top: 10px;
    padding: 22px 16px 18px;
    color: var(--c-paper);
    background: linear-gradient(180deg, #2a6fe0 0%, var(--c-blue-royal) 100%);
    border: var(--ink);
    box-shadow: 4px 4px 0 var(--c-ink);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--halftone);
    pointer-events: none;
}

.site-footer__grid {
    display: grid;
    gap: 20px;
    justify-items: center;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--c-paper);
}

.footer-brand__emblem {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.footer-brand .brand-word {
    font-size: 2rem;
}

.site-footer__label {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--c-yellow);
    text-shadow: 1px 1px 0 var(--c-ink);
}

.site-footer__pay .pay-badges {
    justify-content: center;
}

.age-shield {
    position: relative;
    display: grid;
    place-items: center;
    width: 96px;
    height: 112px;
    background: var(--c-paper);
    clip-path: var(--shield);
    filter: drop-shadow(0 0 0 transparent);
}

.age-shield::before {
    content: "";
    position: absolute;
    inset: 5px;
    background: linear-gradient(180deg, var(--c-red) 0%, var(--c-red-deep) 100%);
    clip-path: var(--shield);
}

.age-shield__num {
    position: relative;
    margin-top: -8px;
    font-family: var(--font-display);
    font-size: 2.4rem;
    line-height: 1;
    color: var(--c-paper);
    text-shadow: var(--outline);
}

.site-footer__links {
    display: grid;
    gap: 10px;
    width: 100%;
    max-width: 360px;
}

.pill-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 6px 18px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--c-ink);
    background: var(--c-paper);
    border: var(--ink-thin);
    border-radius: 999px;
    box-shadow: 2px 2px 0 var(--c-ink);
    transition: background-color 0.15s ease;
}

.pill-link:hover {
    background: var(--c-yellow);
}

.site-footer__disclaimer {
    max-width: 860px;
    margin: 20px auto 10px;
    font-size: 0.875rem;
    line-height: 1.55;
    text-align: center;
}

.site-footer__copy {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 800;
    text-align: center;
    color: var(--c-yellow);
}

/* ============================================
   MOBILE ACTION BAR
   ============================================ */
.mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    color: var(--c-paper);
    background-color: var(--c-blue-deep);
    background-image: var(--halftone);
    border-top: var(--ink);
}

.mobile-bar__text {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.25;
}

.mobile-bar__text strong {
    color: var(--c-yellow);
    font-weight: 900;
}

.mobile-bar__age {
    display: inline-block;
    margin-left: 4px;
    padding: 0 6px;
    font-size: 0.8rem;
    font-weight: 900;
    color: var(--c-paper);
    background: var(--c-red);
    border: 2px solid var(--c-ink);
    border-radius: 999px;
}

.mobile-bar__btn {
    flex: none;
    min-height: 52px;
    padding: 8px 16px;
    font-size: 1.2rem;
}

/* ============================================
   MOTION
   ============================================ */
@keyframes comic-bob {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50% { transform: translateY(-10px) rotate(4deg); }
}

@keyframes comic-pop {
    0%, 100% { transform: scale(1) rotate(-6deg); }
    50% { transform: scale(1.06) rotate(-3deg); }
}

/* ============================================
   TABLET ≥768
   ============================================ */
@media (min-width: 768px) {
    :root {
        --gutter: 10px;
    }

    .mobile-bar {
        display: none;
    }

    body {
        padding-bottom: 0;
    }

    .panel-body {
        padding: 22px;
    }

    .panel-row--split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .header-actions .btn--login {
        display: inline-flex;
    }

    .burst-wrap::before,
    .burst-wrap::after {
        content: "";
        position: absolute;
        z-index: -1;
        clip-path: var(--star);
        pointer-events: none;
    }

    .burst-wrap::before {
        inset: -20px -26px;
        background: var(--c-ink);
    }

    .burst-wrap::after {
        inset: -16px -21px;
        background: var(--c-paper);
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
    }
}

/* ============================================
   DESKTOP ≥1024
   ============================================ */
@media (min-width: 1024px) {
    .site-header__frame {
        padding: 12px 12px 0;
    }

    .page-shell {
        padding: 12px;
    }

    .page-main,
    .panel-row {
        gap: 12px;
    }

    .site-header__bar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 14px;
        min-height: 72px;
        padding: 8px 16px;
    }

    .site-brand {
        grid-column: 2;
        grid-row: 1;
        position: relative;
        justify-content: center;
        width: 240px;
        height: 56px;
        margin: 0;
    }

    .site-brand__emblem {
        position: absolute;
        top: -18px;
        left: 50%;
        width: 112px;
        height: 112px;
        transform: translateX(-50%);
    }

    .site-brand__text {
        position: relative;
        margin-top: 6px;
    }

    .site-brand .brand-word {
        font-size: 2.6rem;
    }

    .site-brand .brand-ribbon {
        font-size: 1rem;
        margin-top: -2px;
    }

    .site-nav {
        grid-column: 1;
        grid-row: 1;
        display: block;
    }

    .site-nav__list {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .site-nav__link {
        min-height: 44px;
        padding: 4px 12px;
        font-size: 1.05rem;
        color: var(--c-blue-deep);
        background: var(--c-paper);
        border: 2px solid var(--c-ink);
        border-radius: 999px;
        box-shadow: 2px 2px 0 var(--c-ink);
        transition: background-color 0.15s ease, transform 0.15s ease;
    }

    .site-nav__link:hover {
        background: var(--c-yellow);
        transform: translateY(-1px);
    }

    .site-nav__cta {
        display: none;
    }

    .header-actions {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        gap: 14px;
        margin-right: 18px;
    }

    .menu-toggle {
        display: none;
    }

    .panel-body {
        padding: 26px;
    }

    .panel-row--wide-left {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    }

    .panel-row--wide-right {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    }

    .panel-row--thirds {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-footer {
        padding: 26px 28px 20px;
    }

    .site-footer__grid {
        grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 320px);
        gap: 28px;
        justify-items: start;
        text-align: left;
    }

    .site-footer__pay .pay-badges {
        justify-content: flex-start;
    }

    .age-shield {
        justify-self: center;
    }
}

/* ============================================
   WIDE ≥1280 - gutter starbursts
   ============================================ */
@media (min-width: 1280px) {
    .gutter-burst {
        display: inline-grid;
        position: absolute;
        z-index: 5;
        --burst-size: 8.5rem;
    }

    .gutter-burst--left {
        left: -96px;
    }

    .gutter-burst--right {
        right: -96px;
    }
}

/* ============================================
   HOME PAGE
   ============================================ */
.home-row {
    position: relative;
    min-width: 0;
}

.home-row > .gutter-burst {
    top: 34%;
}

/* Hero */
.hero {
    background: var(--c-blue-deep);
}

.hero__bg {
    bottom: auto;
    aspect-ratio: 4 / 3;
    background-image: url("./assets/b59bf76b6d9e3631398a55d3c1da5dff.webp");
    background-position: 6% 50%;
}

.hero__grid {
    display: grid;
}

.hero__art {
    position: relative;
    aspect-ratio: 4 / 3;
}

.hero__copy {
    display: grid;
    justify-items: center;
    gap: 12px;
    text-align: center;
    background-color: var(--c-blue-deep);
    background-image: var(--halftone);
    border-top: var(--ink);
}

.hero__title {
    margin: 0;
    font-size: clamp(1.35rem, 1rem + 1.6vw, 2.1rem);
    color: var(--c-paper);
    text-shadow: 2px 2px 0 var(--c-ink);
}

.hero__offer {
    margin: 4px 0 6px;
    line-height: 0.9;
}

.hero__big {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(4.6rem, 2.8rem + 9vw, 9rem);
    letter-spacing: 0.02em;
    color: var(--c-yellow);
    text-shadow: var(--outline-extrude);
    transform: rotate(-3deg);
}

.hero__line {
    display: block;
    margin-top: 8px;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.2rem);
    letter-spacing: 0.03em;
    color: var(--c-paper);
    text-shadow: var(--outline), 3px 3px 0 var(--c-ink);
}

.hero__line strong {
    font-weight: 400;
    color: var(--c-yellow);
}

.hero__lead {
    margin: 0;
    max-width: 34rem;
    font-weight: 700;
    color: var(--c-paper);
}

.hero__cta {
    width: 100%;
    max-width: 420px;
}

.coin {
    position: absolute;
    display: grid;
    place-items: center;
    width: clamp(64px, 19vw, 112px);
    aspect-ratio: 1;
    padding: 8px;
    font-family: var(--font-display);
    font-size: clamp(0.8rem, 0.55rem + 1.1vw, 1.15rem);
    line-height: 0.95;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
    color: var(--c-yellow);
    text-shadow: var(--outline);
    background: radial-gradient(circle at 35% 30%, #4f8cf0 0%, var(--c-blue-royal) 55%, var(--c-blue-deep) 100%);
    border: 4px solid var(--c-yellow);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--c-ink), 4px 5px 0 3px var(--c-ink);
    animation: comic-bob 4.5s ease-in-out infinite;
}

.coin--1 { top: 6%; right: 5%; }
.coin--2 { top: 38%; right: 20%; animation-delay: -1.5s; }
.coin--3 { bottom: 6%; right: 4%; animation-delay: -3s; }

/* Bonus section */
.bonus-section {
    display: grid;
    gap: 10px;
    padding: 0 4px 4px 0;
}

.bonus-section > * {
    min-width: 0;
}

.section-banner {
    position: relative;
    padding: 14px 16px;
    color: var(--c-ink);
    background-color: var(--c-yellow);
    border: var(--ink);
    box-shadow: 4px 4px 0 var(--c-ink);
}

.section-banner__title {
    margin: 0 0 6px;
    font-size: clamp(1.6rem, 1.1rem + 2vw, 2.5rem);
    text-transform: uppercase;
    color: var(--c-ink);
}

.section-banner p {
    margin: 0;
    font-weight: 700;
}

.deposit {
    display: flex;
    flex-direction: column;
    background: var(--c-sky);
}

.deposit > .caption-tab {
    position: absolute;
    top: 0;
    left: 0;
}

.deposit__scene {
    position: relative;
    margin: 0;
    border-bottom: var(--ink);
}

.deposit__scene img {
    width: 100%;
    aspect-ratio: 800 / 560;
    object-fit: cover;
}

.deposit__bubble {
    position: absolute;
    top: 20%;
    right: 5%;
    max-width: 48%;
    margin: 0;
    font-size: 1.05rem;
}

.deposit__caption {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    margin: -26px 12px 12px;
    padding: 14px 16px 16px;
    color: var(--c-ink);
    background: var(--c-paper);
    border: var(--ink-thin);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hard);
}

.deposit__label {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.deposit__caption .check-list {
    margin: 0;
}

.deposit__caption .btn {
    margin-top: auto;
}

.deposit__tag {
    position: absolute;
    top: -16px;
    right: -6px;
    transform: rotate(10deg);
}

.bonus-terms {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--c-ink);
    background: var(--c-paper);
    border: var(--ink);
    box-shadow: 4px 4px 0 var(--c-ink);
}

.bonus-terms p {
    margin: 0;
    font-weight: 700;
}

/* Games */
.games {
    background: var(--c-blue);
}

.games__grid {
    display: grid;
    gap: 18px;
}

.games__art {
    margin: 0;
}

.games__art img {
    width: 100%;
    height: 100%;
    aspect-ratio: 9 / 10;
    object-fit: cover;
    object-position: 50% 40%;
    border: var(--ink-thin);
    box-shadow: var(--shadow-hard);
}

.games__lead {
    font-weight: 700;
}

.game-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.game-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    color: var(--c-ink);
    background: var(--c-paper);
    border: 4px solid var(--c-yellow);
    border-radius: 12px;
    box-shadow: 0 0 0 2px var(--c-ink), 4px 4px 0 2px var(--c-ink);
    transition: transform 0.15s ease;
}

.game-tile:hover {
    transform: translateY(-4px);
}

.game-tile img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    border-bottom: 2px solid var(--c-ink);
}

.game-tile__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    padding: 8px;
}

.game-tile__name {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.2;
}

.game-tile__link {
    margin-top: auto;
    min-height: 48px;
    padding: 6px 10px;
    font-size: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 3px 0 var(--c-ink);
}

.game-tile__hit {
    position: absolute;
    top: -20px;
    right: -12px;
    z-index: 2;
    --burst-size: 4.4rem;
}

.games__providers-title {
    font-size: 1.05rem;
    text-transform: uppercase;
    color: var(--c-yellow);
    text-shadow: 1px 1px 0 var(--c-ink);
}

.games .chips {
    margin-bottom: 18px;
}

.games__cta {
    width: 100%;
}

/* Live casino */
.live {
    background: var(--c-blue-royal);
}

.live__grid {
    display: grid;
    gap: 18px;
    align-items: center;
}

.live__media {
    position: relative;
    margin: 0;
}

.live__media img {
    width: 100%;
    aspect-ratio: 14 / 9;
    object-fit: cover;
    border: var(--ink-thin);
    box-shadow: var(--shadow-hard);
}

.live__dots {
    position: absolute;
    top: 5%;
    margin: 0;
    padding: 0 12px 6px;
    font-size: 1.4rem;
    line-height: 1;
}

.live__dots--left { left: 12%; }
.live__dots--right { right: 12%; }

.live__say {
    display: none;
    position: absolute;
    top: 4%;
    left: 50%;
    margin: 0;
    max-width: 15rem;
    font-size: 1.05rem;
    text-align: center;
    transform: translateX(-50%);
}

.live__chips {
    margin-top: 18px;
}

/* Payments */
.payments {
    background: var(--c-sky);
    color: var(--c-ink);
}

.payments__media {
    position: relative;
    margin: 0;
    border-top: var(--ink);
    border-bottom: var(--ink);
}

.payments__scene {
    position: relative;
}

.payments__scene img {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    object-position: 60% 50%;
}

.payments__box {
    position: absolute;
    top: 10px;
    left: 10px;
    max-width: 62%;
    margin: 0;
    padding: 6px 12px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(0.95rem, 0.7rem + 1vw, 1.3rem);
    line-height: 1.1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--c-ink);
    background: var(--c-paper);
    border: var(--ink-thin);
    border-radius: 10px;
    box-shadow: 3px 3px 0 var(--c-ink);
}

.payments__spin {
    position: absolute;
    right: -4px;
    bottom: -6px;
    --burst-size: 4.6rem;
}

.payments__badges {
    padding: 12px;
    background-color: var(--c-blue-deep);
    background-image: var(--halftone);
    border-top: var(--ink);
}

.payments__crypto {
    margin-bottom: 16px;
}

/* VIP */
.vip {
    display: flex;
    flex-direction: column;
    background-color: var(--c-blue-deep);
    background-image: var(--halftone);
}

.vip__fame {
    margin: 14px 16px 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 1.6rem + 1.5vw, 2.6rem);
    line-height: 1;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
    color: var(--c-paper);
    text-shadow: var(--outline), 3px 3px 0 var(--c-ink);
}

.vip__media {
    margin: 10px 16px 0;
}

.vip__media img {
    width: 100%;
    aspect-ratio: 9 / 10;
    object-fit: cover;
    border: var(--ink-thin);
}

.vip-levels {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    margin: -34px 16px 0;
    padding: 0;
    list-style: none;
}

.vip-level {
    display: grid;
    place-items: center;
    flex: 1 1 0;
    max-width: 64px;
    font-family: var(--font-display);
    font-size: 1.9rem;
    line-height: 1;
    color: var(--c-paper);
    text-shadow: var(--outline);
    border: var(--ink-thin);
    border-radius: 8px 8px 0 0;
    box-shadow: 3px 3px 0 var(--c-ink);
}

.vip-level--1 { height: 46px; background: #9c5b2e; }
.vip-level--2 { height: 54px; background: #f07a1a; }
.vip-level--3 { height: 62px; background: var(--c-yellow); }
.vip-level--4 { height: 70px; background: #2fb84a; }
.vip-level--5 { height: 78px; background: #2a8cf0; }

.vip__info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 12px;
    margin: 14px 16px 0;
    padding: 8px 18px;
    font-size: 0.95rem;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    color: var(--c-ink);
    background: var(--c-paper);
    border: var(--ink-thin);
    border-radius: 999px;
    box-shadow: 3px 3px 0 var(--c-ink);
}

.vip__body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.vip__cta {
    margin-top: auto;
}

/* Mobile play */
.mobile-play {
    background: var(--c-sky);
    color: var(--c-ink);
}

.mobile-play__media {
    position: relative;
    isolation: isolate;
    margin: 0;
    padding: 26px 22px 6px;
}

.mobile-play__media::before,
.mobile-play__media::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 50px;
    height: 50px;
    background: var(--c-paper);
    border-radius: 50%;
    box-shadow: 34px -14px 0 10px var(--c-paper), 72px 2px 0 4px var(--c-paper), 36px 16px 0 6px var(--c-paper);
}

.mobile-play__media::before {
    top: 22%;
    left: 0;
}

.mobile-play__media::after {
    bottom: 8%;
    right: 70px;
}

.mobile-play__media img {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 10;
    object-fit: cover;
    border: var(--ink-thin);
    border-radius: 16px;
    box-shadow: var(--shadow-hard);
}

.mobile-play__bubble {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    margin: 0;
    font-size: 1.3rem;
}

/* FAQ */
.faq-panel {
    background-color: #6b3510;
    background-image: var(--halftone);
}

.faq-panel__grid {
    display: grid;
    gap: 18px;
    align-items: start;
}

.faq-panel__media {
    position: relative;
    margin: 0;
}

.faq-panel__media img {
    width: 100%;
    aspect-ratio: 10 / 11;
    object-fit: cover;
    border: var(--ink-thin);
    border-radius: 14px;
    box-shadow: var(--shadow-hard);
}

.faq-cloud {
    position: absolute;
    margin: 0;
    padding: 0;
    max-width: none;
}

.faq-cloud--1 { top: 7%; left: 14%; width: 76px; height: 46px; }
.faq-cloud--2 { top: 4%; right: 12%; width: 104px; height: 62px; }

.faq-panel__intro {
    font-weight: 700;
    color: var(--c-paper);
}

/* SEO text */
.seo-panel {
    background: var(--c-paper);
    color: var(--c-ink);
}

.seo-panel__grid {
    display: grid;
    gap: 12px;
}

.seo-panel__hero {
    justify-self: center;
    width: min(200px, 60%);
    height: auto;
    object-fit: contain;
}

.seo-text p {
    color: var(--c-muted);
}

.seo-text h3 {
    font-size: 1.3rem;
    color: var(--c-blue-deep);
}

.seo-text a {
    padding: 0 4px;
    font-weight: 800;
    text-decoration: none;
    color: var(--c-blue-deep);
    background: linear-gradient(180deg, transparent 50%, var(--c-yellow) 50%);
    border-bottom: 3px solid var(--c-blue);
    border-radius: 4px;
}

.seo-text a:hover {
    background: var(--c-yellow);
}

.seo-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}

.seo-cta__btn {
    width: 100%;
}

@media (min-width: 768px) {
    .hero__art,
    .hero__bg {
        aspect-ratio: 16 / 9;
    }

    .hero__bg {
        background-position: 10% 50%;
    }

    .hero__cta,
    .games__cta,
    .seo-cta__btn {
        width: auto;
    }

    .game-tiles {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .live__say {
        display: block;
    }

    .faq-panel__grid {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    }

    .seo-panel__grid {
        grid-template-columns: minmax(0, 1fr) 220px;
        column-gap: 24px;
    }

    .seo-panel__hero {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        width: 100%;
    }

    .seo-text {
        grid-column: 1;
        grid-row: 1;
    }
}

@media (min-width: 1024px) {
    .hero__bg {
        bottom: 0;
        aspect-ratio: auto;
        background-position: 20% 50%;
    }

    .hero__grid {
        grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
        min-height: 560px;
    }

    .hero__art {
        aspect-ratio: auto;
    }

    .hero__copy {
        align-content: center;
        padding: 40px 36px;
        background: radial-gradient(ellipse 75% 70% at 50% 50%, rgba(8, 22, 78, 0.8) 0%, rgba(8, 22, 78, 0.5) 55%, rgba(8, 22, 78, 0) 100%);
        border-top: 0;
    }

    .coin--1 { top: 8%; right: 6%; }
    .coin--2 { top: 52%; right: auto; left: 5%; }
    .coin--3 { bottom: 10%; right: 4%; }

    .games__grid {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    }

    .live__grid {
        grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    }

    .payments__badges {
        position: absolute;
        left: 12px;
        bottom: 12px;
        max-width: 58%;
        padding: 0;
        background: none;
        border: 0;
    }

    .payments__spin {
        --burst-size: 7rem;
    }

    .faq-panel__grid {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    }

    .seo-panel__grid {
        grid-template-columns: minmax(0, 1fr) 260px;
    }
}

/* ============================================
   RESPONSIBLE GAMING PAGE
   ============================================ */
.rg-hero {
    background: var(--c-blue-deep);
}

.rg-hero__bg {
    bottom: auto;
    aspect-ratio: 2 / 1;
    background-image: url("./assets/f8f7bb513f3c4162b83ce78babb8eef9.webp");
    background-position: 10% 50%;
}

.rg-hero__copy {
    margin-top: calc(50vw);
    background-color: var(--c-blue-deep);
    background-image: var(--halftone);
    border-top: var(--ink);
    font-weight: 700;
}

.rg-hero__title {
    font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.8rem);
    color: var(--c-yellow);
    text-shadow: 2px 2px 0 var(--c-ink);
}

.rg-hero__copy p {
    color: var(--c-paper);
}

.rg-hero__badge {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rg-hero__badge-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--c-paper);
}

.rg-section {
    background: var(--c-blue);
}

.rg-split {
    display: grid;
    gap: 18px;
    align-items: center;
}

.rg-media {
    margin: 0;
}

.rg-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: var(--ink-thin);
    box-shadow: var(--shadow-hard);
}

.rg-content {
    font-weight: 700;
}

.rg-steps {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: rg;
}

.rg-steps li {
    position: relative;
    min-height: 44px;
    padding: 6px 0 0 56px;
    counter-increment: rg;
}

.rg-steps li::before {
    content: counter(rg);
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--c-ink);
    background: var(--c-yellow);
    border: var(--ink-thin);
    border-radius: 50%;
    box-shadow: 2px 2px 0 var(--c-ink);
}

.rg-warn {
    padding: 16px;
    color: var(--c-ink);
    background: var(--c-paper);
    border: 5px solid var(--c-red);
    border-radius: var(--radius);
    box-shadow: var(--shadow-hard);
}

.rg-warn__lead {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--c-red-deep);
}

.rg-warn__list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rg-warn__list li {
    position: relative;
    padding-left: 34px;
}

.rg-warn__list li::before {
    content: "!";
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    font-weight: 900;
    color: var(--c-paper);
    background: var(--c-red);
    border: 2px solid var(--c-ink);
    border-radius: 50%;
}

.rg-quote {
    max-width: 100%;
    margin-top: 8px;
    font-size: 1.4rem;
}

.rg-tips-wrap {
    display: grid;
    gap: 16px;
}

.rg-tips {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: tip;
}

.rg-tip {
    position: relative;
    padding: 14px 14px 14px 62px;
    color: var(--c-ink);
    background: var(--c-yellow);
    border: var(--ink-thin);
    border-radius: var(--radius);
    box-shadow: 3px 3px 0 var(--c-ink);
    counter-increment: tip;
}

.rg-tip::before {
    content: counter(tip);
    position: absolute;
    left: 12px;
    top: 10px;
    font-family: var(--font-display);
    font-size: 2.6rem;
    line-height: 1;
    color: var(--c-red);
    text-shadow: var(--outline);
}

.rg-tip h3 {
    margin: 0 0 2px;
    text-transform: uppercase;
}

.rg-tip p {
    margin: 0;
    font-weight: 700;
}

.rg-back {
    background: var(--c-sky);
    color: var(--c-ink);
}

.rg-back__grid {
    display: grid;
    gap: 16px;
    align-items: center;
    justify-items: center;
}

.rg-back__hero {
    width: min(220px, 60%);
    height: auto;
    object-fit: contain;
}

.rg-back__copy {
    font-weight: 800;
    width: 100%;
}

@media (min-width: 768px) {
    .rg-hero__bg {
        aspect-ratio: auto;
        bottom: 0;
        background-position: 0% 50%;
    }

    .rg-hero__copy {
        margin: 0 0 0 auto;
        width: 62%;
        min-height: 380px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(8, 22, 78, 0.85) 0%, rgba(8, 22, 78, 0.55) 70%, rgba(8, 22, 78, 0) 100%);
        border-top: 0;
    }

    .rg-split {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .rg-split--rev .rg-media {
        order: 2;
    }

    .rg-back__grid {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .rg-back__copy .btn {
        width: auto;
        display: inline-flex;
    }
}

@media (min-width: 1024px) {
    .rg-tips-wrap {
        grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
        align-items: center;
    }

    .rg-tips {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .game-tile:hover {
        transform: none;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .btn:hover,
    .site-nav__link:hover {
        transform: none;
    }
}