/*
 * Golisimo Casino - night-match design system
 * Dark stadium navy, pitch-green and orange energy accents, cyan floodlight glow.
 */

:root {
    --c-bg: #060c1b;
    --c-bg-2: #0a1430;
    --c-navy: #0d1a3a;
    --c-navy-2: #132552;
    --c-navy-3: #1b3470;
    --c-line: #24427f;
    --c-cyan: #2fd6ff;
    --c-cyan-2: #8be9ff;
    --c-green: #22d86a;
    --c-green-2: #12a84e;
    --c-orange: #ff8a1e;
    --c-orange-2: #ffb534;
    --c-gold: #f3c34a;
    --c-red: #ff4359;
    --c-blue: #3d8bff;
    --c-text: #eef4ff;
    --c-text-2: #c3d1ea;
    --c-ink: #1b0e00;

    --glow-cyan: 0 0 0 1px rgba(47, 214, 255, 0.35), 0 0 22px rgba(47, 214, 255, 0.35);
    --glow-orange: 0 0 24px rgba(255, 138, 30, 0.45);

    --radius: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --font-display: "Exo 2", "Arial Black", system-ui, sans-serif;
    --font-body: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --container: 1200px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --header-height: 68px;
    --header-bottom: 68px;
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */
*,
*::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 {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--c-bg);
    color: var(--c-text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.15;
    margin: 0 0 0.6em;
    color: #ffffff;
    letter-spacing: 0.005em;
}

h1 { font-size: clamp(1.9rem, 5.4vw, 3.2rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 900; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); font-weight: 800; }
h4 { font-size: 1.1rem; font-weight: 800; }

p { margin: 0 0 1em; }

a {
    color: var(--c-cyan-2);
}

a:hover {
    color: #ffffff;
}

img {
    display: block;
}

strong { font-weight: 700; }

:focus-visible {
    outline: 3px solid var(--c-orange-2);
    outline-offset: 3px;
}

.container {
    width: min(100% - 2 * var(--gutter), var(--container));
    margin-inline: auto;
}

.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: absolute;
    left: 1rem;
    top: -100px;
    z-index: 300;
    padding: 0.75rem 1.25rem;
    background: var(--c-orange-2);
    color: var(--c-ink);
    font-weight: 700;
    border-radius: var(--radius-pill);
    text-decoration: none;
}

.skip-link:focus {
    top: 0.75rem;
}

.site-main:focus {
    outline: none;
}

/* ============================================
   BUTTONS & LINKS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.7rem 1.6rem;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
    background: linear-gradient(180deg, #ffc04a 0%, #ff9a26 48%, #ff7a12 100%);
    color: var(--c-ink);
    border-color: #ffd27a;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 6px 18px rgba(255, 122, 18, 0.45), inset 0 2px 0 rgba(255, 255, 255, 0.45);
}

.btn--primary:hover {
    color: var(--c-ink);
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 10px 26px rgba(255, 122, 18, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.5);
}

.btn--ghost {
    background: #0b1838;
    color: #ffffff;
    border-color: var(--c-cyan);
    box-shadow: 0 0 14px rgba(47, 214, 255, 0.3);
}

.btn--ghost:hover {
    background: #12285a;
    color: #ffffff;
}

.btn--sm {
    min-height: 44px;
    padding: 0.5rem 1.1rem;
    font-size: 0.95rem;
}

.btn--lg {
    min-height: 56px;
    padding: 0.9rem 2.2rem;
    font-size: 1.2rem;
}

.text-link,
.hero-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 44px;
    color: var(--c-cyan-2);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.text-link::after,
.hero-link::after {
    content: "→";
    text-decoration: none;
    display: inline-block;
}

.text-link:hover,
.hero-link:hover {
    color: #ffffff;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, #091435 0%, #060d22 100%);
    border-bottom: 1px solid #1d3a73;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 68px;
    padding-block: 0.5rem;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.35rem 0.9rem 0.35rem 0.5rem;
    border-radius: 14px;
    background: linear-gradient(180deg, #1b3672 0%, #0c1a3f 55%, #081230 100%);
    border: 2px solid #4a8fe6;
    box-shadow: 0 0 18px rgba(47, 214, 255, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.22), inset 0 -3px 0 rgba(0, 0, 0, 0.35);
    color: #ffffff;
    text-decoration: none;
}

.site-brand:hover {
    color: #ffffff;
}

.site-brand__logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 900;
    text-transform: uppercase;
}

.site-brand__name {
    font-size: 1.2rem;
    letter-spacing: 0.03em;
    color: #f4f8ff;
    text-shadow: 0 2px 0 #3a5a94, 0 0 12px rgba(139, 233, 255, 0.45);
}

.site-brand__sub {
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    color: var(--c-cyan-2);
    margin-top: 0.15rem;
}

.floodlights {
    display: none;
}

.site-header .header-actions {
    display: none;
}

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 12px;
    border: 2px solid var(--c-cyan);
    background: #0b1838;
    box-shadow: 0 0 14px rgba(47, 214, 255, 0.3);
    cursor: pointer;
}

.menu-toggle__bar {
    display: block;
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: #ffffff;
    transition: transform 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) {
    transform: scaleX(0);
}

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

/* Mobile drawer */
.site-nav {
    display: none;
    position: fixed;
    top: var(--header-bottom, 68px);
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 99;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.25rem var(--gutter) 2rem;
    background: #060d22;
    border-top: 1px solid #1d3a73;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.site-nav.is-open {
    display: flex;
}

.no-js .site-nav {
    display: flex;
    position: static;
    width: 100%;
    padding: 0.5rem 0 1rem;
    border: 0;
}

.no-js .site-header__inner {
    flex-wrap: wrap;
}

.no-js .menu-toggle {
    display: none;
}

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.site-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0.7rem 1rem;
    border-radius: 12px;
    background: var(--c-navy);
    border: 1.5px solid var(--c-line);
    color: #ffffff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
}

.site-nav__link > span {
    display: inline-block;
}

.site-nav__link:hover {
    color: #ffffff;
    border-color: var(--c-cyan);
}

.site-nav__link[aria-current="page"] {
    border-color: var(--c-orange);
    box-shadow: inset 4px 0 0 var(--c-orange);
}

.site-nav__actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr));
    gap: 0.6rem;
}

.site-nav__note {
    margin: 0;
    font-size: 0.875rem;
    color: var(--c-text-2);
    text-align: center;
}

/* ============================================
   PAGE HERO + HEXAGONAL SHIELD
   ============================================ */
.page-hero {
    position: relative;
    isolation: isolate;
    padding: 2.25rem 0 3rem;
    background: var(--c-bg-2);
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: var(--bg-pos-mobile, var(--bg-pos, center));
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(4, 8, 20, 0.6) 0%, rgba(4, 8, 20, 0.15) 30%, rgba(4, 8, 20, 0.25) 72%, var(--c-bg) 100%);
    pointer-events: none;
}

.page-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

.page-hero--center .page-hero__inner {
    align-items: center;
    text-align: center;
}

.shield {
    position: relative;
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.4rem 1.25rem 4.5rem;
    text-align: center;
}

.shield > :not(.shield__frame) {
    position: relative;
    z-index: 1;
}

.shield__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    overflow: visible;
    z-index: 0;
    filter: drop-shadow(0 0 8px rgba(47, 214, 255, 0.75)) drop-shadow(0 0 26px rgba(47, 214, 255, 0.35));
}

.shield__fill {
    fill: #061033;
    fill-opacity: 0.82;
}

.shield__edge {
    fill: none;
    stroke: var(--c-cyan);
    stroke-width: 3;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.shield__edge--inner {
    stroke: #1d7fd0;
    stroke-width: 1.5;
}

.shield__sweep {
    fill: none;
    stroke: #e9fcff;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 9 91;
    vector-effect: non-scaling-stroke;
    animation: shield-sweep 7s linear infinite;
}

@keyframes shield-sweep {
    to { stroke-dashoffset: -100; }
}

.shield__title {
    margin: 0;
    padding: 0.7rem 1.1rem;
    font-size: clamp(1.55rem, 5.2vw, 2.8rem);
    font-weight: 900;
    font-style: italic;
    line-height: 1.12;
    color: #ffffff;
    background: linear-gradient(180deg, #132a5c, #081534);
    border: 2px solid var(--c-cyan);
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(47, 214, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    text-wrap: balance;
}

.shield__subtitle {
    margin: 0;
    max-width: 52ch;
    padding: 0.55rem 1rem;
    font-size: clamp(1rem, 2.3vw, 1.15rem);
    font-weight: 500;
    color: var(--c-text);
    background: #0a1739;
    border: 1px solid #2a86c4;
    border-radius: 10px;
}

.shield__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.6rem 1.25rem;
}

.page-hero__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    max-width: 700px;
}

.page-hero--center .page-hero__meta {
    align-items: center;
}

.hero-micro {
    margin: 0;
    padding: 0.4rem 0.9rem;
    font-size: 0.875rem;
    color: var(--c-text-2);
    background: #050b1a;
    border: 1px solid #1d3a73;
    border-radius: var(--radius-pill);
}

/* Breadcrumbs */
.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 0.5rem;
    margin: 0;
    padding: 0 0.95rem;
    background: #050b1a;
    border: 1px solid #1d3a73;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
}

.breadcrumbs li + li::before {
    content: "›";
    margin-right: 0.5rem;
    color: var(--c-cyan);
}

.breadcrumbs a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--c-cyan-2);
}

.breadcrumbs [aria-current="page"] {
    color: #ffffff;
    font-weight: 600;
}

/* ============================================
   SCOREBOARD (LED tiles)
   ============================================ */
.scoreboard {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 120px), 1fr));
    gap: 0.6rem;
    width: 100%;
}

.scoreboard__tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.8rem 0.6rem 0.75rem;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, #14213f, #04080f 75%);
    border: 2px solid #1f3260;
    border-radius: 10px;
    box-shadow: inset 0 0 0 2px #02050b, inset 0 -3px 0 rgba(34, 216, 106, 0.8), 0 6px 18px rgba(0, 0, 0, 0.45), 0 10px 18px -8px rgba(34, 216, 106, 0.6);
}

.scoreboard__tile::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 6px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1.5px) 0 0 / 4px 4px;
    pointer-events: none;
}

.scoreboard__value {
    position: relative;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.45rem, 4.4vw, 2.15rem);
    line-height: 1;
    color: var(--c-orange-2);
    letter-spacing: 0.04em;
    text-shadow: 0 0 10px rgba(255, 138, 30, 0.75), 0 0 2px #ffcf7a;
    font-variant-numeric: tabular-nums;
}

.scoreboard__label {
    position: relative;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--c-text-2);
    line-height: 1.3;
}

/* ============================================
   SECTIONS, PANELS, TITLES
   ============================================ */
.section {
    position: relative;
    isolation: isolate;
    padding-block: clamp(3.25rem, 8vw, 6rem);
}

.scene-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: var(--bg-pos, center);
}

.scene-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, var(--c-bg) 0%, rgba(6, 12, 27, 0.35) 16%, rgba(6, 12, 27, 0.35) 84%, var(--c-bg) 100%);
    pointer-events: none;
}

.hex-net {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(60deg, rgba(47, 214, 255, 0.4) 0 1.5px, transparent 1.5px 56px),
        repeating-linear-gradient(-60deg, rgba(47, 214, 255, 0.4) 0 1.5px, transparent 1.5px 56px),
        repeating-linear-gradient(90deg, rgba(47, 214, 255, 0.4) 0 1.5px, transparent 1.5px 56px);
    background-position: center;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 24%, transparent 76%, #000 100%);
    mask-image: linear-gradient(90deg, #000 0%, transparent 24%, transparent 76%, #000 100%);
}

.hex-net--full {
    -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 72%);
    mask-image: radial-gradient(ellipse at center, #000 0%, transparent 72%);
}

.section-head {
    max-width: 780px;
    margin: 0 auto clamp(1.75rem, 4vw, 2.75rem);
    text-align: center;
}

.section-head p {
    color: var(--c-text-2);
}

.plate-title {
    display: inline-block;
    margin: 0 0 0.9rem;
    padding: 0.55rem 1.6rem;
    font-size: clamp(1.5rem, 3.6vw, 2.3rem);
    font-weight: 900;
    font-style: italic;
    background: linear-gradient(180deg, #14306a, #0a1838);
    border: 2px solid var(--c-cyan);
    border-radius: 16px 16px 6px 6px;
    box-shadow: var(--glow-cyan), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-wrap: balance;
}

.panel {
    background: linear-gradient(180deg, #0e1c3e, #070f24);
    border: 1.5px solid rgba(47, 214, 255, 0.7);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 22px rgba(47, 214, 255, 0.22), 0 18px 40px rgba(0, 0, 0, 0.45);
    padding: clamp(1.25rem, 3vw, 2rem);
}

.prose {
    max-width: 72ch;
}

.prose p,
.prose li {
    color: var(--c-text);
}

.lead {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: var(--c-text-2);
}

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

/* Chips */
.chips {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    margin: 0;
    padding: 0 0 0.5rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.chip {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.4rem 1.05rem;
    border-radius: var(--radius-pill);
    background: #0b1838;
    border: 1.5px solid var(--c-cyan);
    color: #ffffff;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}

.chip:hover {
    color: #ffffff;
    background: #12285a;
}

.chip.is-active {
    background: linear-gradient(180deg, #ffb534, #ff7a12);
    border-color: #ffd27a;
    color: var(--c-ink);
}

/* ============================================
   GAME CARDS
   ============================================ */
.game-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(180deg, #112553, #0a1736);
    border: 2px solid rgba(47, 214, 255, 0.85);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 18px rgba(47, 214, 255, 0.3), 0 14px 30px rgba(0, 0, 0, 0.4);
}

.game-card__media {
    position: relative;
    aspect-ratio: 800 / 520;
    background: #081230;
}

.game-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card__tag {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-pill);
    background: #081230;
    border: 1px solid var(--c-cyan);
    color: var(--c-cyan-2);
    font-size: 0.875rem;
    font-weight: 700;
}

.game-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
    padding: 1rem 1.1rem 1.25rem;
    text-align: center;
}

.game-card__title {
    margin: 0;
    font-size: 1.25rem;
}

.game-card__text {
    margin: 0;
    color: var(--c-text-2);
}

.game-card .btn {
    margin-top: auto;
    align-self: center;
}

.card-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 82%);
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.75rem;
    scrollbar-width: thin;
}

.card-row > * {
    scroll-snap-align: start;
}

.card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}

/* ============================================
   TABLES (league / stands / timetable)
   ============================================ */
.table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    border: 1.5px solid rgba(47, 214, 255, 0.6);
    background: #081230;
    box-shadow: 0 0 20px rgba(47, 214, 255, 0.2);
}

.ledger {
    width: 100%;
    min-width: 620px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 1rem;
}

.ledger caption {
    caption-side: top;
    padding: 0.9rem 1.1rem;
    text-align: left;
    font-family: var(--font-display);
    font-weight: 800;
    color: #ffffff;
    background: #0b1a40;
}

.ledger thead th {
    padding: 0.8rem 1rem;
    text-align: left;
    white-space: nowrap;
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--c-ink);
    background: linear-gradient(180deg, #ffa53a, #ff7a12);
}

.ledger tbody th,
.ledger tbody td {
    padding: 0.85rem 1rem;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid #1a2f60;
}

.ledger tbody th {
    position: relative;
    font-family: var(--font-display);
    font-weight: 800;
    color: #ffffff;
}

.ledger tbody td {
    color: var(--c-text);
}

.ledger tbody tr:nth-child(odd) {
    background: #0c1a3d;
}

.ledger tbody tr:nth-child(even) {
    background: #091532;
}

.ledger .row--highlight {
    background: linear-gradient(90deg, #12432f 0%, #0c1a3d 65%);
}

.ledger .row--highlight th {
    box-shadow: inset 5px 0 0 var(--c-green);
}

/* Coloured stadium-stand tabs */
.ledger--stands tbody th {
    padding-left: 1.9rem;
}

.ledger--stands tbody th::before {
    content: "";
    position: absolute;
    left: 0.55rem;
    top: 0.6rem;
    bottom: 0.6rem;
    width: 10px;
    border-radius: 2px;
    transform: skewX(-14deg);
    background: var(--row-c, var(--c-cyan));
    box-shadow: 0 0 10px var(--row-c, var(--c-cyan));
}

.ledger--stands .row--blue { --row-c: var(--c-blue); }
.ledger--stands .row--green { --row-c: var(--c-green); }
.ledger--stands .row--gold { --row-c: var(--c-gold); }
.ledger--stands .row--red { --row-c: var(--c-red); }

/* League standings */
.ledger--league tbody {
    counter-reset: pos;
}

.ledger--league tbody tr {
    counter-increment: pos;
}

.ledger--league tbody th::before {
    content: counter(pos);
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-right: 0.6rem;
    border-radius: 50%;
    background: #132552;
    border: 2px solid var(--c-cyan);
    font-size: 0.95rem;
    vertical-align: middle;
}

.ledger--league .row--promo {
    background: linear-gradient(90deg, #0f3d2a 0%, #0c1a3d 70%);
}

.ledger--league .row--promo th {
    box-shadow: inset 5px 0 0 var(--c-green);
}

.ledger--league .row--promo th::before {
    border-color: var(--c-green);
    background: #0f3d2a;
}

.ledger--league .row--start th {
    box-shadow: inset 5px 0 0 var(--c-orange);
}

.ledger--league .row--start th::before {
    border-color: var(--c-orange);
}

/* Bars inside tables */
.bar {
    display: block;
    min-width: 100px;
    height: 10px;
    margin-top: 0.4rem;
    border-radius: var(--radius-pill);
    background: #152a57;
    overflow: hidden;
}

.bar > span {
    display: block;
    height: 100%;
    width: var(--v, 50%);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--c-green), var(--c-orange));
}

.bar--fast > span {
    background: linear-gradient(90deg, var(--c-green-2), var(--c-green));
}

.bar--slow > span {
    background: linear-gradient(90deg, var(--c-orange-2), var(--c-orange));
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
}

.faq__item {
    background: #0a1739;
    border: 1.5px solid rgba(47, 214, 255, 0.65);
    border-radius: 14px;
    box-shadow: 0 0 14px rgba(47, 214, 255, 0.18);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq__item[open] {
    border-color: var(--c-cyan);
    box-shadow: 0 0 22px rgba(47, 214, 255, 0.35);
}

.faq__item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 56px;
    padding: 0.9rem 1.15rem;
    cursor: pointer;
    border-radius: 12px;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__item summary:focus-visible {
    outline: 3px solid var(--c-orange-2);
    outline-offset: 2px;
}

.faq__q {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}

.faq__chev {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--c-cyan);
    color: var(--c-cyan-2);
    transition: transform 0.2s ease;
}

.faq__item[open] .faq__chev {
    transform: rotate(180deg);
}

.faq__a {
    padding: 0 1.15rem 1.15rem;
    color: var(--c-text-2);
}

.faq__a p {
    margin: 0;
}

/* ============================================
   CHECK LIST, CALLOUT, BADGES, LICENCE
   ============================================ */
.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.check-list li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 0.7rem;
    align-items: start;
}

.check-list__icon {
    width: 26px;
    height: 26px;
    margin-top: 0.1rem;
}

.callout {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    padding: 1.25rem 1.25rem 1.25rem 1.4rem;
    background: #0b1739;
    border: 1.5px solid #2a4a8a;
    border-left: 6px solid var(--c-gold);
    border-radius: 14px;
    color: var(--c-gold);
}

.callout--red { border-left-color: var(--c-red); color: var(--c-red); }
.callout--cyan { border-left-color: var(--c-cyan); color: var(--c-cyan); }
.callout--green { border-left-color: var(--c-green); color: var(--c-green); }

.callout__icon {
    width: 34px;
    height: 44px;
    filter: drop-shadow(0 0 8px currentColor);
}

.callout__title {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    color: #ffffff;
}

.callout__body {
    color: var(--c-text);
}

.callout__body p:last-child {
    margin-bottom: 0;
}

.badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
    margin: 0;
    padding: 0;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    width: 100px;
    text-align: center;
}

.badge__hex {
    width: 72px;
    height: 80px;
    filter: drop-shadow(0 0 10px rgba(47, 214, 255, 0.45));
}

.badge__label {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    color: #ffffff;
}

.licence-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 1rem;
    padding: 1.5rem;
    text-align: center;
    background: linear-gradient(180deg, #0f1f47, #0a1533);
    border: 5px double var(--c-gold);
    border-radius: 8px;
    outline: 1px solid #8a6a22;
    outline-offset: 4px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 24px rgba(243, 195, 74, 0.2);
}

.licence-card__seal {
    width: 76px;
    filter: drop-shadow(0 0 10px rgba(243, 195, 74, 0.45));
}

.licence-card__title {
    margin: 0 0 0.4rem;
    font-size: 1.3rem;
}

.licence-card__text {
    margin: 0 0 0.75rem;
    color: var(--c-text-2);
}

.licence-card__tags {
    list-style: none;
    display: grid;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
}

.licence-card__tags li {
    padding: 0.3rem 0.85rem;
    border: 1px solid rgba(47, 214, 255, 0.6);
    border-radius: var(--radius-pill);
    background: #081230;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
}

/* ============================================
   WHEEL OF FORTUNE & ENERGY METER
   ============================================ */
.wheel {
    width: min(100%, 320px);
    aspect-ratio: 220 / 226;
    margin-inline: auto;
    filter: drop-shadow(0 0 18px rgba(255, 138, 30, 0.7)) drop-shadow(0 0 40px rgba(255, 138, 30, 0.3));
}

.wheel svg {
    width: 100%;
    height: 100%;
}

.wheel__spin {
    transform-box: fill-box;
    transform-origin: center;
    animation: wheel-idle 40s linear infinite;
}

@keyframes wheel-idle {
    to { transform: rotate(360deg); }
}

.energy {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.4rem 0.75rem;
    align-items: center;
}

.energy__icon {
    width: 34px;
    height: 34px;
    color: var(--c-orange-2);
    filter: drop-shadow(0 0 6px rgba(255, 176, 52, 0.8));
}

.energy__track {
    height: 18px;
    border-radius: var(--radius-pill);
    background: #071026;
    border: 1.5px solid #2a4a8a;
    overflow: hidden;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
}

.energy__fill {
    display: block;
    width: var(--fill, 70%);
    height: 100%;
    border-radius: inherit;
    background:
        repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.16) 0 6px, transparent 6px 14px),
        linear-gradient(90deg, var(--c-green) 0%, #b6e03a 55%, var(--c-orange) 100%);
    box-shadow: 0 0 14px rgba(255, 138, 30, 0.6);
}

.energy__label {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 0.875rem;
    color: var(--c-text-2);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    position: relative;
    padding-block: clamp(3rem, 7vw, 5rem);
}

.cta-banner__inner {
    position: relative;
    isolation: isolate;
    max-width: 880px;
    margin-inline: auto;
    padding: clamp(1.75rem, 4vw, 3rem);
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(34, 216, 106, 0.25), transparent 60%),
        linear-gradient(180deg, #10265a, #081436);
    border: 2px solid var(--c-orange);
    border-radius: 24px;
    box-shadow: 0 0 30px rgba(255, 138, 30, 0.35), 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.cta-banner__inner::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 280px;
    height: 280px;
    transform: translate(-50%, -50%);
    border: 2px solid #1d3a73;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.cta-banner__inner::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #1d3a73;
    z-index: -1;
    pointer-events: none;
}

.cta-banner__title {
    margin-bottom: 0.5rem;
    text-wrap: balance;
}

.cta-banner__text {
    max-width: 60ch;
    margin: 0 auto 1.4rem;
    color: var(--c-text);
}

.cta-banner__note {
    margin: 1rem 0 0;
    font-size: 0.875rem;
    color: var(--c-text-2);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding: 5rem 0 1.5rem;
    background: #050a16;
}

.site-footer__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("./assets/4225ae6cf5ef891fa4513fb8a8b827e6.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, var(--c-bg) 0%, rgba(6, 12, 27, 0.2) 30%, rgba(6, 12, 27, 0.35) 70%, rgba(4, 8, 18, 0.9) 100%);
    pointer-events: none;
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-plaque {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1.25rem;
    padding: 1.75rem 1.25rem;
    background: linear-gradient(180deg, #0f2150, #081433);
    border: 2px solid #3f7fd6;
    border-radius: 20px;
    box-shadow: 0 0 26px rgba(47, 214, 255, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.12);
}

.footer-brand {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
}

.footer-brand__link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
}

.footer-brand__name {
    font-size: 2rem;
    letter-spacing: 0.03em;
    color: #f4f8ff;
    text-shadow: 0 2px 0 #3a5a94, 0 0 14px rgba(139, 233, 255, 0.5);
}

.footer-brand__sub {
    margin-top: 0.2rem;
    font-size: 1rem;
    letter-spacing: 0.32em;
    color: var(--c-cyan-2);
}

.footer-brand__tagline {
    margin: 0;
    max-width: 32ch;
    font-size: 0.95rem;
    color: var(--c-text-2);
}

.footer-age {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid var(--c-red);
    font-family: var(--font-display);
    font-weight: 900;
    color: #ffffff;
    background: #2a0b14;
}

.footer-col__title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--c-orange-2);
}

.footer-col__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col__list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--c-text);
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-col__list a:hover {
    color: var(--c-cyan-2);
    text-decoration: underline;
}

.footer-col__list--text li {
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: var(--c-text-2);
    line-height: 1.4;
}

.footer-legal {
    padding: 1.25rem;
    background: #050b1a;
    border: 1px solid #1d3a73;
    border-radius: 16px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--c-text-2);
}

.footer-legal p {
    max-width: 90ch;
    margin: 0 auto 0.75rem;
}

.footer-pay {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin: 0.5rem 0 1rem;
    padding: 0;
}

.footer-pay li {
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
    background: #f1f5ff;
    color: #0b1838;
    font-size: 0.875rem;
    font-weight: 700;
}

.footer-copy {
    margin-bottom: 0 !important;
    font-size: 0.875rem;
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 200;
    max-width: 720px;
    margin-inline: auto;
    padding: 1.1rem 1.2rem;
    background: #0a1739;
    border: 2px solid var(--c-cyan);
    border-radius: 16px;
    box-shadow: 0 0 28px rgba(47, 214, 255, 0.35), 0 20px 50px rgba(0, 0, 0, 0.6);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner__title {
    margin: 0 0 0.3rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: #ffffff;
}

.cookie-banner__text {
    margin: 0 0 0.9rem;
    font-size: 0.9375rem;
    color: var(--c-text-2);
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.6rem;
}

/* ============================================
   HOMEPAGE
   ============================================ */

/* Hero - goal mouth */
.page-hero.home-hero {
    display: flex;
    flex-direction: column;
    padding-bottom: 3.5rem;
}

.home-hero .page-hero__inner {
    flex: 1;
    justify-content: center;
}

.home-hero .shield {
    max-width: 680px;
}

.home-hero .scoreboard {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 460px;
    gap: 0.5rem;
}

.home-hero .scoreboard__tile {
    padding: 0.7rem 0.35rem 0.65rem;
}

.home-hero .scoreboard__value {
    font-size: clamp(1.1rem, 4.6vw, 1.9rem);
}

/* Four stands */
.stands__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}

.stand {
    --stand-c: var(--c-blue);
    --stand-glow: rgba(61, 139, 255, 0.5);
    display: flex;
}

.stand--green { --stand-c: var(--c-green); --stand-glow: rgba(34, 216, 106, 0.5); }
.stand--gold { --stand-c: var(--c-gold); --stand-glow: rgba(243, 195, 74, 0.5); }
.stand--red { --stand-c: var(--c-red); --stand-glow: rgba(255, 67, 89, 0.5); }

.stand__frame {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.4rem 1.1rem 1.1rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(8, 16, 40, 0.55) 0%, rgba(5, 10, 26, 0.9) 100%);
    border: 2px solid var(--stand-c);
    border-radius: 14px;
    box-shadow: 0 0 20px var(--stand-glow), inset 0 0 28px var(--stand-glow);
}

.stand__title {
    margin: 0;
    padding: 0.35rem 1.2rem;
    font-size: 1.15rem;
    background: #0a1739;
    border: 1.5px solid var(--stand-c);
    border-radius: 8px;
    box-shadow: 0 0 12px var(--stand-glow);
}

.stand__amount {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.4rem;
    line-height: 1.15;
    color: #ffffff;
    text-shadow: 0 0 12px var(--stand-glow);
}

.stand__text {
    margin: 0;
    padding: 0.7rem 0.85rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--c-text);
    background: rgba(4, 9, 24, 0.88);
    border: 1.5px solid var(--stand-c);
    border-radius: 10px;
}

.stand__monitor {
    position: relative;
    display: grid;
    place-items: center;
    width: 96px;
    height: 66px;
    margin: 0.25rem auto 22px;
    color: var(--stand-c);
    background: radial-gradient(circle at 50% 30%, #14284f, #050b1a 75%);
    border: 3px solid #1f3260;
    border-radius: 6px;
    box-shadow: 0 0 0 1px var(--stand-c), 0 0 16px var(--stand-glow);
}

.stand__monitor::before,
.stand__monitor::after {
    content: "";
    position: absolute;
    top: 100%;
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #6f86b3, #2a3a5c);
}

.stand__monitor::before { left: 24%; }
.stand__monitor::after { right: 24%; }

.stand__monitor svg {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 0 6px var(--stand-glow));
}

.stands__foot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2.25rem;
    text-align: center;
}

.stands__terms {
    max-width: 820px;
    margin: 0;
    padding: 0.85rem 1.2rem;
    font-size: 0.95rem;
    color: var(--c-text);
    background: #050b1a;
    border: 1px solid #1d3a73;
    border-radius: 14px;
}

.stands__actions,
.live__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem 1.25rem;
}

/* Jumbotron */
.jumbotron {
    position: relative;
    max-width: 1100px;
    margin-inline: auto;
}

.jumbotron__truss {
    display: none;
}

.jumbotron__head {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: -2px;
}

.jumbotron__head .plate-title {
    margin: 0;
}

.jumbotron__screen {
    position: relative;
    z-index: 1;
    padding: 1.5rem 1rem 1.25rem;
    text-align: center;
    background: linear-gradient(180deg, #0d1d45 0%, #060f29 100%);
    border: 3px solid var(--c-cyan);
    border-radius: 26px;
    box-shadow: var(--glow-cyan), inset 0 0 0 4px #050b1a, inset 0 0 40px rgba(47, 214, 255, 0.15), 0 30px 60px rgba(0, 0, 0, 0.55);
}

.jumbotron__lead {
    max-width: 68ch;
    margin: 0 auto 1.25rem;
    color: var(--c-text);
}

.jumbotron__screen .card-row {
    text-align: center;
}

.jumbotron__foot {
    max-width: 70ch;
    margin: 1.25rem auto 0;
    color: var(--c-text-2);
}

/* Live skybox */
.live__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    align-items: center;
}

.live__panel.panel {
    background: rgba(8, 18, 44, 0.9);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.live__panel .check-list {
    margin-bottom: 1.4rem;
}

.live__actions {
    justify-content: flex-start;
}

.live__screens {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 2.25rem 1.25rem;
    padding-top: 18px;
}

.monitor {
    position: relative;
    margin: 0;
    padding: 6px;
    background: #05080f;
    border: 2px solid #2a3a5c;
    border-radius: 8px;
    box-shadow: 0 0 0 1px rgba(47, 214, 255, 0.45), 0 0 18px rgba(47, 214, 255, 0.25), 0 18px 36px rgba(0, 0, 0, 0.6);
}

.monitor::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%;
    width: 44px;
    height: 18px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #3a4d75, #1d2a45);
    border-radius: 3px 3px 0 0;
}

.monitor img {
    width: 100%;
    height: auto;
    aspect-ratio: 900 / 560;
    object-fit: cover;
    border-radius: 4px;
}

.monitor figcaption {
    padding: 0.45rem 0.2rem 0.15rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    color: var(--c-text-2);
}

.ribbon {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
    filter: drop-shadow(0 0 12px rgba(47, 214, 255, 0.55));
}

.ribbon__plate {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0.75rem clamp(1.75rem, 7vw, 4rem) 0.8rem;
    background: var(--c-cyan);
    clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%);
    text-align: center;
}

.ribbon__plate::before {
    content: "";
    position: absolute;
    inset: 3px;
    z-index: -1;
    background: linear-gradient(180deg, #14306a, #081436);
    clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%);
}

.ribbon__main {
    font-family: var(--font-display);
    font-weight: 900;
    font-style: italic;
    font-size: clamp(1.3rem, 5vw, 2.2rem);
    line-height: 1.1;
    color: #ffffff;
}

.ribbon__pct {
    color: var(--c-orange-2);
    text-shadow: 0 0 12px rgba(255, 138, 30, 0.7);
}

.ribbon__note {
    font-size: 0.875rem;
    color: var(--c-text-2);
}

/* Gamification arena */
.arena__stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.arena__fissure {
    display: none;
}

.arena__item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 360px;
}

.arena__item--crab { --plaque-c: var(--c-cyan); --plaque-glow: rgba(47, 214, 255, 0.45); }
.arena__item--wheel { --plaque-c: var(--c-orange-2); --plaque-glow: rgba(255, 176, 52, 0.45); }
.arena__item--duel { --plaque-c: var(--c-orange); --plaque-glow: rgba(255, 122, 18, 0.5); }

.arena__visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
}

.arena__art {
    width: min(58vw, 220px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.6));
}

.arena__item .wheel {
    width: min(68vw, 280px);
}

.arena__plaque {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 1rem 1.1rem 1.15rem;
    text-align: center;
    background: rgba(6, 13, 34, 0.94);
    border: 2px solid var(--plaque-c);
    border-radius: 12px;
    box-shadow: 0 0 20px var(--plaque-glow);
}

.arena__plaque h3 {
    margin: 0;
    font-size: 1.25rem;
}

.arena__plaque p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--c-text);
}

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

.arena__crack {
    fill: none;
    stroke: url(#fissure-grad);
    stroke-width: 4;
    stroke-linejoin: round;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.arena__crack--halo {
    stroke-width: 14;
    stroke-opacity: 0.35;
}

.arena__crack--thin {
    stroke-width: 2;
}

.arena__note {
    max-width: 70ch;
    margin: 2.25rem auto 0;
    padding: 0.85rem 1.2rem;
    text-align: center;
    color: var(--c-text);
    background: #050b1a;
    border: 1px solid #1d3a73;
    border-radius: 14px;
}

/* Locker room - about & licence */
.locker__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "text"
        "crest"
        "card";
    gap: 1.75rem;
    align-items: center;
}

.locker__text {
    grid-area: text;
    padding: clamp(1.25rem, 3vw, 2rem);
    background: rgba(6, 12, 30, 0.88);
    border: 1px solid #1d3a73;
    border-radius: 18px;
}

.locker__title {
    text-shadow: 0 0 18px rgba(47, 214, 255, 0.35);
}

.locker__text .badges {
    justify-content: flex-start;
    margin: 0 0 1.25rem;
}

.locker__text p:last-child {
    margin-bottom: 0;
}

.locker__crest {
    grid-area: crest;
    justify-self: center;
    width: 140px;
    height: auto;
    filter: drop-shadow(0 0 16px rgba(47, 214, 255, 0.45));
}

.locker__card {
    grid-area: card;
}

/* Press room FAQ */
.press__wrap {
    max-width: 880px;
    margin-inline: auto;
}

.press__head {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: -2px;
}

.press__head .plate-title {
    margin: 0;
}

.press__panel.panel {
    background: rgba(8, 18, 44, 0.94);
    border-width: 2px;
}

@media (min-width: 768px) {
    .stands__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .arena__stage {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: auto auto;
        column-gap: 1.5rem;
        row-gap: 1.25rem;
        align-items: end;
    }

    .arena__item {
        display: grid;
        grid-row: span 2;
        grid-template-rows: subgrid;
        justify-items: center;
        max-width: none;
    }

    .arena__visual {
        align-self: end;
    }

    .arena__plaque {
        align-self: stretch;
    }

    .arena__art {
        width: min(100%, 210px);
    }

    .arena__item .wheel {
        width: min(100%, 260px);
    }

    .arena__fissure {
        display: block;
        position: absolute;
        z-index: 0;
        left: -4%;
        width: 108%;
        max-width: none;
        bottom: 7rem;
        height: 120px;
        filter: drop-shadow(0 0 8px rgba(255, 176, 52, 0.55)) drop-shadow(0 0 10px rgba(47, 214, 255, 0.45));
    }
}

@media (min-width: 1024px) {
    .page-hero.home-hero {
        min-height: clamp(780px, 56.25vw, 1040px);
        padding-bottom: 4rem;
    }

    .stands__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.5rem;
        padding-inline: 2.5rem;
    }

    .stand__frame {
        transform: skewX(-12deg);
        padding-inline: 1.4rem;
    }

    .stand__frame > * {
        transform: skewX(12deg);
    }

    .stand__text {
        min-height: 7.5em;
    }

    .jumbotron {
        padding: 0 46px 40px;
    }

    .jumbotron__truss {
        display: block;
        position: absolute;
        z-index: 0;
        max-width: none;
    }

    .jumbotron__truss--left,
    .jumbotron__truss--right {
        top: 3.5rem;
        bottom: 0;
        width: 30px;
        height: calc(100% - 3.5rem);
    }

    .jumbotron__truss--left { left: 6px; }
    .jumbotron__truss--right { right: 6px; }

    .jumbotron__truss--base {
        left: 6px;
        right: 6px;
        bottom: 6px;
        width: calc(100% - 12px);
        height: 28px;
    }

    .jumbotron__screen {
        padding: 2rem 2rem 1.75rem;
        border-radius: 34px / 46px;
    }

    .live__grid {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: 2.5rem;
    }

    .locker__grid {
        grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1.25fr);
        grid-template-areas: "card crest text";
        gap: 2rem;
    }

    .locker__crest {
        width: 160px;
    }
}

/* ============================================
   BONUSY PAGE
   ============================================ */
.table-note {
    max-width: 780px;
    margin: 1.25rem auto 0;
    padding: 0.85rem 1.2rem;
    text-align: center;
    color: var(--c-text);
    background: #050b1a;
    border: 1px solid #1d3a73;
    border-radius: 14px;
}

.cta-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 1.5rem;
    max-width: 900px;
    margin: 2rem auto 0;
    padding: 1.1rem 1.4rem;
    text-align: center;
    background: #050b1a;
    border: 1.5px solid var(--c-orange);
    border-radius: 16px;
    box-shadow: var(--glow-orange);
}

.cta-strip p {
    flex: 1 1 260px;
    margin: 0;
    font-weight: 600;
    color: var(--c-text);
}

/* Referee notebook */
.notebook {
    position: relative;
    max-width: 860px;
    margin-inline: auto;
    padding: 2.6rem 1.25rem 1.5rem 1.5rem;
    background: repeating-linear-gradient(180deg, #0c1a3d 0 31px, #10224b 31px 32px);
    border: 2px solid #2a4a8a;
    border-left: 10px solid var(--c-navy-3);
    border-radius: 6px 18px 18px 6px;
    box-shadow: 0 0 22px rgba(47, 214, 255, 0.2), 0 18px 40px rgba(0, 0, 0, 0.45);
}

.notebook__tab {
    position: absolute;
    top: 0;
    right: 1.4rem;
    width: 30px;
    height: 44px;
    background: linear-gradient(180deg, #ffd24a, #e8a91c);
    border: 2px solid #7a4b07;
    border-top: 0;
    border-radius: 0 0 6px 6px;
    transform: rotate(4deg);
    transform-origin: top center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.notebook .check-list {
    gap: 0.9rem;
}

.notebook__note {
    margin: 1.4rem 0 0;
    padding: 0.85rem 1rem;
    color: var(--c-text);
    background: #050b1a;
    border: 1px solid #1d3a73;
    border-radius: 12px;
}

/* Split layouts */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    align-items: center;
    max-width: 1100px;
    margin-inline: auto;
}

.split__text.panel {
    background: rgba(8, 18, 44, 0.92);
}

.split__text h2 {
    text-wrap: balance;
}

.steps {
    list-style: none;
    counter-reset: step;
    margin: 0 0 1rem;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.steps li {
    counter-increment: step;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
}

.steps li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffb534, #ff7a12);
    color: var(--c-ink);
    font-family: var(--font-display);
    font-weight: 900;
}

.flow {
    display: block;
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
    padding: 0.5rem;
    background: #061033;
    border: 2px solid var(--c-cyan);
    border-radius: 16px;
    box-shadow: var(--glow-cyan);
}

.flow__lane--own { fill: #0f3d2a; stroke: var(--c-green); stroke-width: 3; }
.flow__lane--bonus { fill: #3a2208; stroke: var(--c-orange); stroke-width: 3; }

.flow__text {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 21px;
    fill: #ffffff;
}

.flow__note {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    fill: var(--c-cyan-2);
}

.flow__pass {
    fill: none;
    stroke: var(--c-cyan-2);
    stroke-width: 4;
    stroke-dasharray: 10 6;
    stroke-linecap: round;
}

/* Bonus Crab */
.crab__visual {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    min-height: 280px;
    padding: 1rem 0;
}

.crab__visual::before {
    content: "";
    position: absolute;
    inset: 4% 6%;
    z-index: -2;
    background: radial-gradient(ellipse at center, rgba(47, 214, 255, 0.5) 0%, rgba(47, 214, 255, 0.12) 55%, transparent 75%);
}

.crab__visual img {
    width: min(100%, 380px);
    height: auto;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.55));
}

.crab .split__text {
    padding: clamp(1.1rem, 3vw, 1.75rem);
    background: rgba(6, 12, 30, 0.88);
    border: 1px solid #1d3a73;
    border-radius: 18px;
}

.crab__warn {
    padding: 0.7rem 0.9rem;
    color: var(--c-text);
    background: #050b1a;
    border-left: 4px solid var(--c-orange);
    border-radius: 8px;
}

/* Wheel / shop / penalty */
.trio {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}

.mech.panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    background: rgba(8, 18, 44, 0.92);
}

.mech h3 {
    margin: 0.5rem 0 0;
}

.mech p {
    margin: 0;
    color: var(--c-text);
}

.mech .wheel {
    width: min(70vw, 240px);
}

.mech .energy {
    width: 100%;
    padding: 1.5rem 0.5rem;
    text-align: left;
}

.mech__img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--c-cyan);
    box-shadow: 0 0 18px rgba(47, 214, 255, 0.3);
}

/* Match-ticket calendar */
.tickets {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
}

.ticket {
    display: flex;
    flex-direction: column;
    background: #0c1a3d;
    border: 1.5px solid #2a4a8a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.ticket__top {
    padding: 0.4rem 0.6rem;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.15rem;
    color: var(--c-ink);
}

.ticket--wk .ticket__top { background: linear-gradient(180deg, #4be58a, var(--c-green)); }
.ticket--we .ticket__top { background: linear-gradient(180deg, #ffb534, var(--c-orange)); }

.ticket__body {
    flex: 1;
    padding: 0.7rem 0.5rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--c-text);
    border-top: 2px dashed rgba(195, 209, 234, 0.55);
}

.promo-notes.panel {
    background: rgba(8, 18, 44, 0.92);
}

.promo-notes h3 {
    margin-bottom: 0.6rem;
}

.promo-notes ul {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.5rem;
    color: var(--c-text);
}

/* Cashback scoreboards */
.cashback .scoreboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cashback .scoreboard__value {
    font-size: clamp(1.9rem, 8vw, 3rem);
}

@media (min-width: 768px) {
    .split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem;
    }

    .split--crab {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }

    .notebook {
        padding-inline: 2.25rem 2rem;
    }

    .notebook .check-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 1.5rem;
    }

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

@media (min-width: 1024px) {
    .trio {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }

    .tickets {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .ticket__body {
        font-size: 0.85rem;
    }
}

/* ============================================
   GRY PAGE
   ============================================ */
.games-page [id] {
    scroll-margin-top: 5.5rem;
}

.page-hero.games-hero {
    display: flex;
    flex-direction: column;
}

.games-hero .page-hero__inner {
    flex: 1;
    justify-content: center;
}

.games-hero .shield {
    max-width: 700px;
}

.led-face {
    width: 100%;
    max-width: 520px;
    padding: 0.5rem;
    background: #02050b;
    border: 3px solid var(--c-cyan);
    border-radius: 14px;
    box-shadow: var(--glow-cyan), inset 0 0 0 3px #0a1430, inset 0 0 24px rgba(47, 214, 255, 0.18);
}

.games-hero .scoreboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.games-hero .scoreboard__tile {
    padding: 0.7rem 0.35rem 0.65rem;
}

.games-hero .scoreboard__value {
    font-size: clamp(1.3rem, 6vw, 2.1rem);
}

.section--navy {
    background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-2) 50%, var(--c-bg) 100%);
}

.section--pitch {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(34, 216, 106, 0.16), transparent 62%),
        var(--c-bg);
}

.section--tight {
    padding-block: clamp(2.5rem, 6vw, 4rem);
}

/* Library */
.library {
    max-width: 960px;
    margin-inline: auto;
}

.library .chips {
    margin-bottom: 0.5rem;
}

.library__note {
    margin: 0 0 1.25rem;
    font-size: 0.9rem;
    color: var(--c-text-2);
}

/* Slot cards */
.card-grid.card-grid--three {
    max-width: 560px;
    margin-inline: auto;
}

.card-grid--anchor > div {
    display: flex;
}

.card-grid--anchor .game-card {
    width: 100%;
}

/* Wall monitor */
.wall-monitor {
    position: relative;
    margin: 0;
    padding: 8px 8px 0;
    background: #04070e;
    border: 2px solid #2a3a5c;
    border-radius: 10px;
    box-shadow: 0 0 0 1px rgba(47, 214, 255, 0.45), 0 0 24px rgba(47, 214, 255, 0.3), 0 22px 44px rgba(0, 0, 0, 0.6);
}

.wall-monitor img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 4px;
}

.wall-monitor figcaption {
    padding: 0.55rem 0.4rem 0.6rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    color: var(--c-text-2);
}

.wall-monitor::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-green);
    box-shadow: 0 0 8px var(--c-green);
}

/* RNG & crash */
.rng-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    align-items: center;
    max-width: 1100px;
    margin-inline: auto;
}

.rng-grid__texts {
    display: grid;
    gap: 1.25rem;
}

.rng-grid__texts .panel {
    background: rgba(8, 18, 44, 0.92);
}

.rng-grid__texts h3 {
    margin-bottom: 0.4rem;
}

.rng-grid__texts p:last-child {
    margin-bottom: 0;
}

.rng-grid__texts .panel > .btn {
    margin-top: 0.4rem;
}

.tactics {
    margin: 0;
    padding: 0.75rem;
    background: #061033;
    border: 2px solid var(--c-cyan);
    border-radius: 16px;
    box-shadow: var(--glow-cyan);
}

.tactics svg {
    display: block;
    width: 100%;
}

.tactics__line {
    filter: drop-shadow(0 0 6px rgba(34, 216, 106, 0.8));
}

.tactics__tip {
    filter: drop-shadow(0 0 8px rgba(255, 138, 30, 0.95));
}

.tactics figcaption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    text-align: center;
    color: var(--c-text-2);
}

/* Jackpots info card */
.info-card {
    position: relative;
    max-width: 820px;
    margin-inline: auto;
    padding: 1.6rem 1.4rem 1.4rem;
    background: linear-gradient(180deg, #0f1f47, #0a1533);
    border: 1.5px solid #2a4a8a;
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(47, 214, 255, 0.18), 0 16px 36px rgba(0, 0, 0, 0.45);
}

.info-card p {
    margin: 0;
    color: var(--c-text);
}

.info-card__tab {
    position: absolute;
    top: -16px;
    right: 1.5rem;
    width: 26px;
    height: 38px;
    background: linear-gradient(180deg, #ffd24a, #e8a91c);
    border: 2px solid #7a4b07;
    border-radius: 4px;
    transform: rotate(6deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Sports image */
.pitch-frame {
    position: relative;
    margin: 0;
    border: 2px solid var(--c-cyan);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--glow-cyan), 0 20px 40px rgba(0, 0, 0, 0.5);
}

.pitch-frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 12 / 7;
    object-fit: cover;
}

.pitch-frame__badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    padding: 0.35rem 0.9rem;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.05rem;
    color: var(--c-orange-2);
    background: #02050b;
    border: 2px solid var(--c-cyan);
    border-radius: 8px;
    text-shadow: 0 0 10px rgba(255, 138, 30, 0.75);
}

/* PWA phone + stepper */
.phone-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    align-items: center;
    max-width: 1000px;
    margin-inline: auto;
}

.phone {
    position: relative;
    width: 190px;
    aspect-ratio: 9 / 18;
    margin-inline: auto;
    padding: 22px 10px 14px;
    background: #050b1a;
    border: 3px solid var(--c-cyan);
    border-radius: 30px;
    box-shadow: var(--glow-cyan), 0 20px 40px rgba(0, 0, 0, 0.55);
}

.phone::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 50%;
    width: 52px;
    height: 7px;
    transform: translateX(-50%);
    border-radius: var(--radius-pill);
    background: #1f3260;
}

.phone__screen {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 0.5rem;
    height: 100%;
}

.phone__bar {
    padding: 0.3rem 0.5rem;
    font-family: var(--font-display);
    font-weight: 900;
    font-style: italic;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #ffffff;
    background: #0d1a3a;
    border-radius: 8px;
}

.phone__blocks {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 0.5rem;
}

.phone__block {
    display: flex;
    align-items: flex-end;
    padding: 0.5rem 0.6rem;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 0.95rem;
    color: var(--c-ink);
    border-radius: 10px;
}

.phone__block--green { background: linear-gradient(180deg, #4be58a, var(--c-green)); }
.phone__block--orange { background: linear-gradient(180deg, #ffc04a, var(--c-orange)); }
.phone__block--cyan { background: linear-gradient(180deg, var(--c-cyan-2), var(--c-cyan)); }

.phone-wrap .panel {
    background: rgba(8, 18, 44, 0.92);
}

.stepper {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.stepper li {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
    min-height: 44px;
    padding-bottom: 1rem;
    font-weight: 600;
}

.stepper li:last-child {
    padding-bottom: 0;
}

.stepper li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 21px;
    top: 44px;
    bottom: 0;
    border-left: 2px dashed var(--c-line);
}

.stepper__num {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 0 8px rgba(255, 138, 30, 0.6));
}

/* Wagering */
.tips.panel {
    max-width: 860px;
    margin: 1.75rem auto 0;
    background: rgba(8, 18, 44, 0.92);
}

.ledger--league td:nth-child(2) {
    min-width: 150px;
    font-family: var(--font-display);
    font-weight: 800;
    color: #ffffff;
}

#obrot .ledger {
    min-width: 560px;
}

#obrot .table-wrap {
    max-width: 960px;
    margin-inline: auto;
}

@media (min-width: 768px) {
    .library__chips {
        justify-content: center;
    }

    .games-hero .scoreboard {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

    .phone-wrap {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 2.5rem;
    }

    .phone {
        width: 210px;
    }
}

@media (min-width: 900px) {
    .card-grid.card-grid--three {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: none;
    }

    .rng-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .page-hero.games-hero {
        min-height: clamp(660px, 46vw, 880px);
    }
}

/* ============================================
   VIP PAGE
   ============================================ */
.climb-fig {
    margin: 0;
}

.climb {
    display: block;
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
    background: #061033;
    border: 2px solid var(--c-cyan);
    border-radius: 16px;
    box-shadow: var(--glow-cyan);
}

.climb__zone {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.08em;
}

.climb__zone--a { fill: #4be58a; }
.climb__zone--b { fill: #ffb534; }

.climb__num {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 22px;
    fill: #ffffff;
}

.climb__cap {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 17px;
    fill: #ffffff;
}

.league-legend {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    margin: 1rem 0 0;
    padding: 0;
    font-size: 0.9rem;
    color: var(--c-text-2);
}

.league-legend li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.league-legend__sw {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 3px;
}

.league-legend__sw--start { background: var(--c-orange); }
.league-legend__sw--promo { background: var(--c-green); }

.energy-visual {
    display: flex;
    justify-content: center;
}

.energy-visual img {
    width: min(100%, 380px);
    height: auto;
    filter: drop-shadow(0 0 26px rgba(34, 216, 106, 0.35));
}

.split--energy .split__text .energy {
    margin: 1.25rem 0;
}

.earn {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
    margin: 0 0 1.25rem;
    padding: 0;
}

.earn li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 0.4rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    background: #0a1739;
    border: 1.5px solid #2a4a8a;
    border-radius: 12px;
}

.earn svg {
    width: 44px;
    height: 44px;
}

.cashback-card.panel {
    max-width: 860px;
    margin-inline: auto;
    background: rgba(8, 18, 44, 0.92);
}

.cashback-card .scoreboard {
    max-width: 420px;
    margin: 0 auto 1.5rem;
}

.cashback-card .check-list a {
    color: var(--c-cyan-2);
}

.vip-note {
    margin: 1.4rem 0 0;
    padding: 0.8rem 1rem;
    color: var(--c-text);
    background: #050b1a;
    border-left: 4px solid var(--c-gold);
    border-radius: 8px;
}

.host-frame {
    margin: 0;
    border: 2px solid var(--c-cyan);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--glow-cyan), 0 20px 40px rgba(0, 0, 0, 0.5);
}

.host-frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: 30% 50%;
}

.proscons {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    max-width: 1000px;
    margin-inline: auto;
}

.pc {
    padding: 1.4rem 1.3rem 1.5rem;
    background: linear-gradient(180deg, #0f1f47, #0a1533);
    border: 1.5px solid #2a4a8a;
    border-top: 6px solid var(--c-green);
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.pc--con {
    border-top-color: var(--c-red);
}

.pc h3 {
    margin-bottom: 0.7rem;
}

.pc ul {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 0.55rem;
    color: var(--c-text);
}

.rg-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    max-width: 960px;
    margin-inline: auto;
    padding: 1.4rem 1.25rem;
    background: #050b1a;
    border: 1.5px solid #1d3a73;
    border-radius: 18px;
    box-shadow: 0 0 20px rgba(47, 214, 255, 0.15);
}

.rg-banner .badges {
    flex: 0 0 auto;
}

.rg-banner__text h2 {
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    margin-bottom: 0.4rem;
}

.rg-banner__text p {
    margin: 0;
    color: var(--c-text);
}

@media (min-width: 768px) {
    .proscons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rg-banner {
        flex-direction: row;
        padding: 1.5rem 2rem;
        gap: 2rem;
    }
}

/* ============================================
   PLATNOSCI PAGE
   ============================================ */
.pay-page [id] {
    scroll-margin-top: 5.5rem;
}

.pay-warn .callout {
    max-width: 920px;
    margin-inline: auto;
    background: #0b1739;
    box-shadow: 0 0 22px rgba(243, 195, 74, 0.18);
}

.pay-warn .callout__body p {
    margin: 0 0 0.75em;
}

/* Deposit methods */
.pay-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
    max-width: 1100px;
    margin-inline: auto;
}

.pay-group {
    margin-bottom: 1.25rem;
}

.pay-group__title {
    margin: 0 0 0.6rem;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-orange-2);
}

.pay-tiles {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin: 0;
    padding: 0;
}

.pay-tile {
    display: grid;
    place-items: center;
    min-height: 52px;
    padding: 0.5rem 0.6rem;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 800;
    color: #ffffff;
    background: #0a1739;
    border: 1.5px solid var(--c-cyan);
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(47, 214, 255, 0.2);
}

.pay-methods .scoreboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 440px;
    margin-bottom: 1rem;
}

.pay-note {
    margin: 0;
    padding: 0.8rem 1rem;
    color: var(--c-text);
    background: #050b1a;
    border: 1px solid #1d3a73;
    border-radius: 12px;
}

.pay-split__art img {
    width: min(100%, 340px);
    height: auto;
    margin-inline: auto;
    filter: drop-shadow(0 0 28px rgba(47, 214, 255, 0.35));
}

/* Withdrawal timetable */
.ledger--timetable {
    min-width: 680px;
}

.ledger--timetable tbody td:nth-child(2) {
    min-width: 170px;
}

.tt-time {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 800;
    color: #ffffff;
}

.tt-clock {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    color: var(--c-cyan);
}

/* Limits */
.limits {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin-inline: auto;
    align-items: center;
}

.limits .scoreboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-inline: auto;
}

.limits .scoreboard__value {
    font-size: clamp(1.5rem, 7vw, 2.6rem);
}

.limits__text.panel {
    background: rgba(8, 18, 44, 0.92);
}

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

.limits__vip::after {
    content: none;
}

/* KYC stepper */
.kyc-steps {
    list-style: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto 2rem;
    padding: 0;
}

.kyc-step {
    position: relative;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.kyc-step svg {
    width: 64px;
    height: 72px;
    filter: drop-shadow(0 0 8px rgba(255, 138, 30, 0.55));
}

.kyc-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 31px;
    top: 76px;
    bottom: -1.4rem;
    border-left: 3px dashed var(--c-green);
}

.kyc-step__body h3 {
    margin: 0 0 0.3rem;
    font-size: 1.15rem;
}

.kyc-step__body p {
    margin: 0;
    color: var(--c-text-2);
}

.kyc-tips.panel {
    max-width: 860px;
    margin-inline: auto;
    background: rgba(8, 18, 44, 0.92);
}

/* AML card */
.aml-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    justify-items: center;
    align-items: center;
    max-width: 960px;
    margin-inline: auto;
    padding: 1.5rem 1.25rem;
    background: linear-gradient(180deg, #0f1f47, #0a1533);
    border: 2px solid var(--c-cyan);
    border-radius: 16px;
    box-shadow: var(--glow-cyan), 0 16px 36px rgba(0, 0, 0, 0.45);
}

.aml-card__cal {
    width: min(100%, 220px);
    height: auto;
}

.aml-card__text p {
    color: var(--c-text);
}

.aml-card__text p:last-child {
    margin-bottom: 0;
}

/* Trust row */
.trust-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    max-width: 1100px;
    margin-inline: auto;
}

.trust-row__text.panel {
    background: rgba(8, 18, 44, 0.92);
}

.trust-row__text .badges {
    margin-bottom: 1.25rem;
}

.trust-row__text p:last-child {
    margin-bottom: 0;
}

.pay-faq.panel {
    max-width: 880px;
    margin-inline: auto;
    background: rgba(8, 18, 44, 0.94);
}

@media (min-width: 768px) {
    .pay-tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .aml-card {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 2rem;
        padding: 1.75rem 2rem;
    }
}

@media (min-width: 900px) {
    .pay-split {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
        gap: 2.5rem;
    }

    .limits {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
        gap: 2rem;
    }

    .trust-row {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        gap: 2rem;
    }

    .kyc-steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .kyc-step {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
        gap: 0.75rem;
    }

    .kyc-step:not(:last-child)::after {
        left: calc(50% + 44px);
        right: auto;
        top: 36px;
        bottom: auto;
        width: calc(100% + 1.5rem - 88px);
        height: 0;
        border-left: 0;
        border-top: 3px dashed var(--c-green);
    }
}

@media (min-width: 1024px) {
    .pay-tiles {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* Paused loops (offscreen or hidden document) */
.is-paused,
.is-paused *,
.is-doc-hidden [data-loop],
.is-doc-hidden [data-loop] * {
    animation-play-state: paused !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (min-width: 480px) {
    .licence-card {
        grid-template-columns: auto minmax(0, 1fr);
        justify-items: start;
        text-align: left;
    }

    .licence-card__tags li {
        text-align: left;
    }
}

@media (min-width: 768px) {
    .page-hero__bg {
        background-position: var(--bg-pos, center);
    }

    .page-hero {
        padding: 3rem 0 4rem;
    }

    .shield {
        padding: 3rem 2.5rem 5.25rem;
    }

    .chips {
        flex-wrap: wrap;
        overflow: visible;
    }

    .card-row {
        grid-auto-flow: row;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        overflow: visible;
        padding-bottom: 0;
    }

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

    .footer-plaque {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 2rem;
    }

    .scoreboard {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

@media (min-width: 1024px) {
    .site-header {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, rgba(3, 7, 18, 0.92) 0%, rgba(3, 7, 18, 0.55) 70%, rgba(3, 7, 18, 0) 100%);
        border-bottom: 0;
        box-shadow: none;
    }

    .site-header__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        grid-template-areas:
            "fl brand fr"
            "nav nav nav";
        row-gap: 0.9rem;
        padding-block: 1rem 1.25rem;
    }

    .site-brand {
        grid-area: brand;
        justify-self: center;
        gap: 0.8rem;
        padding: 0.65rem 2.2rem 0.65rem 1.2rem;
        border-radius: 18px;
        border-width: 2.5px;
        box-shadow: 0 0 28px rgba(47, 214, 255, 0.5), inset 0 3px 0 rgba(255, 255, 255, 0.22), inset 0 -4px 0 rgba(0, 0, 0, 0.35);
    }

    .site-brand__logo {
        width: 48px;
        height: 48px;
    }

    .site-brand__name {
        font-size: 2.2rem;
    }

    .site-brand__sub {
        font-size: 1.05rem;
    }

    .site-header .header-actions {
        grid-area: fr;
        justify-self: end;
        align-self: center;
        display: flex;
        gap: 0.5rem;
    }

    .menu-toggle {
        display: none;
    }

    .site-nav {
        grid-area: nav;
        justify-self: center;
        position: static;
        display: flex;
        flex-direction: row;
        padding: 0;
        background: none;
        border: 0;
        overflow: visible;
    }

    .no-js .site-nav {
        padding: 0;
    }

    .site-nav__list {
        display: flex;
        gap: 0.7rem;
    }

    .site-nav__link {
        min-height: 44px;
        padding: 0.45rem 1.5rem;
        border-radius: 6px;
        transform: skewX(-14deg);
        background: linear-gradient(180deg, #14306a, #0a1838);
        border: 1.5px solid rgba(47, 214, 255, 0.8);
        box-shadow: 0 0 14px rgba(47, 214, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
        font-size: 1rem;
    }

    .site-nav__link > span {
        transform: skewX(14deg);
    }

    .site-nav__link:hover {
        background: linear-gradient(180deg, #1e4a98, #10265a);
        border-color: var(--c-cyan-2);
    }

    .site-nav__link[aria-current="page"] {
        border-color: var(--c-orange-2);
        box-shadow: 0 0 16px rgba(255, 138, 30, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }

    .site-nav .site-nav__actions,
    .site-nav .site-nav__note {
        display: none;
    }

    #main-content > :first-child {
        padding-top: calc(var(--header-height, 170px) + 1.75rem);
    }

    .page-hero {
        padding-bottom: 4.5rem;
    }

    .shield {
        max-width: 740px;
        padding: 3.5rem 3rem 5.75rem;
    }

    .page-hero--left .shield,
    .page-hero--left .page-hero__meta {
        max-width: 660px;
    }

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

    .footer-plaque {
        grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(220px, 1.3fr) repeat(2, minmax(0, 1fr));
        align-items: start;
        padding: 2rem 2.25rem;
    }

    .footer-plaque > .footer-brand {
        grid-column: 3;
        grid-row: 1;
    }

    .footer-plaque > .footer-col:nth-child(2) { grid-column: 1; grid-row: 1; }
    .footer-plaque > .footer-col:nth-child(3) { grid-column: 2; grid-row: 1; }
    .footer-plaque > .footer-col:nth-child(4) { grid-column: 4; grid-row: 1; }
    .footer-plaque > .footer-col:nth-child(5) { grid-column: 5; grid-row: 1; }

    .site-footer {
        padding-top: 8rem;
    }
}

@media (min-width: 1280px) {
    .floodlights {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .floodlights--left {
        grid-area: fl;
        justify-self: end;
        margin-right: 20px;
        flex-direction: row-reverse;
    }

    .floodlights--right {
        grid-area: fr;
        justify-self: start;
        margin-left: 20px;
    }

    .floodlights span {
        display: block;
        width: 92px;
        height: 46px;
        border-radius: 9px;
        background:
            radial-gradient(circle, #ffffff 0 3px, #bfeaff 3.6px, rgba(140, 215, 255, 0) 6px) 3px 3px / 14px 14px,
            linear-gradient(180deg, #1d3a78, #0b1736);
        border: 2px solid #3f78d6;
        box-shadow: 0 0 28px 6px rgba(140, 215, 255, 0.55), 0 0 70px 14px rgba(80, 170, 255, 0.25);
        transform: perspective(200px) rotateX(18deg);
    }

    .floodlights span:nth-child(2) {
        display: none;
    }
}

@media (min-width: 1440px) {
    .floodlights span:nth-child(2) {
        display: block;
        width: 70px;
        height: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .wheel__spin {
        animation: none !important;
    }

    .shield__sweep {
        display: none;
    }
}