* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

/* The page never scrolls sideways on a phone. Anything wider than the screen
   is a layout bug to fix at its source; this only makes sure a missed one
   cannot drag the whole page sideways meanwhile. "clip" rather than "hidden",
   so it creates no scroll container and the sticky header keeps working. On
   both elements: iOS Safari ignores it on html alone. */
html,
body {
    overflow-x: clip;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Inline icons default to crisp monochrome strokes */
svg {
    width: 1.15em;
    height: 1.15em;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-btn__svg--fill {
    fill: currentColor;
    stroke: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.6rem 1.15rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.btn svg {
    width: 1.25em;
    height: 1.25em;
}

.btn--ghost {
    background: transparent;
    color: var(--color-text);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn--ghost:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn--accent {
    background: var(--color-accent);
    color: var(--color-accent-text);
}

.btn--accent:hover {
    filter: brightness(1.08);
}

/* Transparent auth button ("Giriş Yap") */
.btn--quiet {
    background: transparent;
    color: var(--color-text);
}

.btn--quiet:hover {
    background: rgba(255, 255, 255, 0.07);
}

/* Light auth button ("Kayıt Ol") */
.btn--light {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.btn--light:hover {
    background: rgba(255, 255, 255, 0.22);
}

.btn--sm {
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
}

/* Boxed social icon buttons */
.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--color-text);
}

.icon-btn svg {
    width: 1.2rem;
    height: 1.2rem;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.13);
}

/* Lobby sections */
.section {
    padding: 0 1.5rem 2rem;
}

.section__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.section__title {
    font-size: 1.2rem;
    font-weight: 700;
}

.section__link {
    font-size: 0.85rem;
    color: var(--color-accent);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.game-card {
    aspect-ratio: 3 / 4;
    border-radius: 10px;
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    font-size: 0.8rem;
    text-align: center;
    padding: 0.5rem;
}

/* ---------- Shared panel shell ---------- */
.panel {
    margin: 1rem 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.panel__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    margin-bottom: 0.9rem;
}

.panel__eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.panel__title {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.panel__title--gold {
    background: linear-gradient(180deg, #ffe9a8, #e0a42b 60%, #fff3c4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Jackpot tiers ---------- */
.jackpot__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.jackpot-tier {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-weight: 700;
}

.jackpot-tier__name {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.45);
}

.jackpot-tier__amount {
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
}

.jackpot-tier--bronze { background: linear-gradient(90deg, #4a2c10, #1a1a1a); }
.jackpot-tier--silver { background: linear-gradient(90deg, #2b3a4a, #1a1a1a); }
.jackpot-tier--gold   { background: linear-gradient(90deg, #5a3a0a, #1a1a1a); }
.jackpot-tier--diamond{ background: linear-gradient(90deg, #3d1f5c, #1a1a1a); }

/* ---------- Upcoming match cards ---------- */
.match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 0.75rem;
}

.match-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 0.6rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.match-card__when {
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    color: var(--color-muted);
    line-height: 1.5;
}

.match-card__teams {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.match-card__crest {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background: linear-gradient(140deg, #3a3a3a, #161616);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.match-card__vs {
    color: var(--color-muted);
    font-size: 0.9rem;
}

.match-card__cta {
    display: block;
    width: 100%;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.92);
    color: #111;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.match-card__cta:hover {
    background: #fff;
}

.match-card__hint {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-muted);
}

/* ---------- Sport photo tiles ---------- */
.sport-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.6rem;
}

.sport-tile {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    aspect-ratio: 3 / 4;
    padding: 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    overflow: hidden;
}

.sport-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.8));
}

.sport-tile__label {
    position: relative;
    z-index: 1;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sport-tile--a { background: linear-gradient(160deg, #334155, #0b1220); }
.sport-tile--b { background: linear-gradient(160deg, #3f3f46, #111014); }
.sport-tile--c { background: linear-gradient(160deg, #475569, #0d1117); }
.sport-tile--d { background: linear-gradient(160deg, #5b4636, #17100b); }
.sport-tile--e { background: linear-gradient(160deg, #4c3a5e, #130d1a); }
.sport-tile--f { background: linear-gradient(160deg, #3b4a3a, #0c130c); }

/* ---------- Sport filter chips ---------- */
.sport-chips {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    scrollbar-width: none;
}

.sport-chips::-webkit-scrollbar {
    display: none;
}

.sport-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.sport-chip svg {
    width: 1.1rem;
    height: 1.1rem;
}

.sport-chip--active {
    background: #fff;
    color: #111;
    border-color: #fff;
}

/* ---------- Live event list ---------- */
.event {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 0.6rem;
    overflow: hidden;
}

.event__league {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.8rem;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.72rem;
    font-weight: 600;
}

.event__league svg {
    width: 1.05rem;
    height: 1.05rem;
    color: var(--color-accent);
}

.event__body {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 0.9rem;
    padding: 0.7rem 0.8rem;
}

.event__teams,
.event__score {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.78rem;
}

.event__score {
    text-align: right;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.event__state {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 0.9rem;
}

.event__live {
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    background: #e53946;
    color: #fff;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.event__minute {
    font-size: 0.65rem;
    color: var(--color-muted);
    white-space: nowrap;
}

.event__odds {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    padding: 0 0.8rem 0.8rem;
}

.odd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.7rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.78rem;
}

.odd span {
    color: var(--color-muted);
}

.odd strong {
    font-variant-numeric: tabular-nums;
}

.odd:hover {
    background: var(--color-accent);
    color: var(--color-accent-text);
    border-color: var(--color-accent);
}

.odd:hover span {
    color: inherit;
}

.show-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.7rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text);
    font-family: inherit;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.show-more:hover {
    background: rgba(255, 255, 255, 0.09);
}

/* ---------- Jackpot cards ---------- */
.jackpot-cards__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.jackpot-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.9rem;
    border-radius: 8px;
    background: linear-gradient(90deg, #14100a, #050505);
    border: 1px solid #a5822f;
}

.jackpot-card__suit {
    font-size: 1.15rem;
    line-height: 1;
}

.jackpot-card--heart .jackpot-card__suit,
.jackpot-card--diamond .jackpot-card__suit {
    color: #e53946;
}

.jackpot-card__amount {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    font-variant-numeric: tabular-nums;
}

.jackpot-card__cur {
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--color-muted);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 3px;
    padding: 0.1rem 0.25rem;
}

/* ---------- Fixed mobile tab bar ---------- */
.tabbar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    padding: 0.5rem 0.25rem calc(0.5rem + env(safe-area-inset-bottom));
    background: #0b0b0b;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tabbar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--color-text);
}

.tabbar__item svg {
    width: 1.4rem;
    height: 1.4rem;
}

.tabbar__item:hover {
    color: var(--color-accent);
}

.tabbar__item--center {
    position: relative;
}

.tabbar__orb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.1rem;
    height: 3.1rem;
    margin-top: -1.6rem;
    border-radius: 50%;
    background: #141414;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
}

.tabbar__orb svg {
    width: 1.7rem;
    height: 1.7rem;
}

@media (max-width: 420px) {
    .jackpot__grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Admin panel ---------- */
.admin {
    display: grid;
    grid-template-columns: 15rem 1fr;
    min-height: 100vh;
}

.admin__nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.25rem 0.9rem;
    background: rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.admin__brand {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin__brand span {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    color: var(--color-accent);
}

.admin__nav nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.admin__nav nav a {
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-muted);
}

.admin__nav nav a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text);
}

.admin__exit {
    margin-top: auto;
    padding: 0.6rem 0.75rem;
    font-size: 0.78rem;
    color: var(--color-muted);
}

.admin__main {
    padding: 1.5rem 2rem 3rem;
    min-width: 0;
}

.admin__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
}

.admin__user {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.admin__flash {
    margin: 0 0 1.25rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.35);
    color: #4ade80;
    font-size: 0.82rem;
}

.admin__flash--error {
    background: rgba(229, 57, 70, 0.12);
    border-color: rgba(229, 57, 70, 0.4);
    color: #f87171;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat span {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.stat strong {
    font-size: 1.4rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.admin-filter {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.admin-input {
    flex: 1;
    max-width: 26rem;
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    font-family: inherit;
    font-size: 0.85rem;
}

.admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.1rem;
    border-radius: 8px;
    border: 1px solid var(--color-accent);
    background: var(--color-accent);
    color: var(--color-accent-text);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.admin-btn--sm {
    padding: 0.35rem 0.7rem;
    font-size: 0.72rem;
}

.admin-count {
    margin: 0 0 0.75rem;
    font-size: 0.78rem;
    color: var(--color-muted);
}

.admin-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    min-width: 46rem;
}

.admin-table th,
.admin-table td {
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
    background: rgba(255, 255, 255, 0.04);
    white-space: nowrap;
}

.admin-table td small {
    display: block;
    font-size: 0.72rem;
    color: var(--color-muted);
}

.admin-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.tag {
    display: inline-block;
    padding: 0.12rem 0.45rem;
    margin-right: 0.25rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.62rem;
    font-weight: 700;
    white-space: nowrap;
}

.tag--danger {
    background: rgba(229, 57, 70, 0.2);
    color: #f87171;
}

.admin-card {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-card__title {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 800;
}

.admin-dl {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.6rem 1.5rem;
    margin: 0;
    font-size: 0.85rem;
}

.admin-dl > div {
    display: flex;
    gap: 0.5rem;
}

.admin-dl dt {
    font-weight: 700;
    white-space: nowrap;
}

.admin-dl dt::after {
    content: ":";
}

.admin-dl dd {
    margin: 0;
    color: var(--color-muted);
}

.admin-back {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--color-muted);
}

.admin-empty {
    margin: 0;
    padding: 1.5rem 0;
    color: var(--color-muted);
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .admin {
        grid-template-columns: 1fr;
    }

    .admin__nav {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .admin__nav nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .admin__exit {
        margin-top: 0.5rem;
    }

    .admin__main {
        padding: 1rem 0.9rem 2rem;
    }
}

/* ---------- Account panel ----------
   Every account page renders through _AccountLayout, so the side menu is part
   of the shell rather than something each page remembers to include. */
.account {
    max-width: 78rem;
    margin: 0 auto;
    padding: 1.5rem;
}

.account__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    background:
        radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--color-accent) 16%, transparent), transparent 55%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.account__title {
    margin: 0;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 800;
}

.account__sub {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.account__balance {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0.7rem 1.1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.account__balance span {
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.account__balance strong {
    font-size: 1.3rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.account__topup {
    margin-top: 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-accent);
}

.account__balance .account__bonus {
    margin-top: 0.2rem;
    letter-spacing: 0.02em;
}

.account__bonus b {
    color: #4ade80;
    font-variant-numeric: tabular-nums;
}

.account__layout {
    display: grid;
    grid-template-columns: 15rem 1fr;
    gap: 1.25rem;
    align-items: start;
}

.account-nav {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.55rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Follows the page so the menu is reachable however long the panel runs. */
    position: sticky;
    top: 1rem;
}

.account-nav__group {
    padding: 0.7rem 0.8rem 0.3rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--color-muted) 80%, transparent);
}

.account-nav__group:first-child {
    padding-top: 0.35rem;
}

.account-nav__item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.8rem;
    border-radius: 9px;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--color-muted);
    white-space: nowrap;
}

.account-nav__item svg {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
}

.account-nav__item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text);
}

.account-nav__item--active {
    background: color-mix(in srgb, var(--color-accent) 16%, transparent);
    color: var(--color-text);
    box-shadow: inset 2px 0 0 var(--color-accent);
}

.account__panel {
    padding: 1.5rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 0;
}

.account__section-title {
    margin: 1.75rem 0 0.9rem;
    font-size: 0.92rem;
    font-weight: 800;
}

.account__section-title:first-child {
    margin-top: 0;
}

.account__muted {
    color: var(--color-muted);
    font-size: 0.78rem;
}

/* Tables scroll inside the panel instead of widening it, which is what used to
   push account pages out past the menu on narrow screens. */
.table-wrap {
    overflow-x: auto;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.account-table {
    width: 100%;
    min-width: 34rem;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.account-table th,
.account-table td {
    padding: 0.7rem 0.85rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    white-space: nowrap;
}

.account-table th {
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
    background: rgba(255, 255, 255, 0.03);
}

.account-table tbody tr:last-child td {
    border-bottom: none;
}

.account-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.025);
}

/* ---------- Account: raffle and lottery tickets ---------- */
.ticket-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: 0.8rem;
}

.ticket-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 13px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--ticket-accent) 14%, transparent), transparent 70%),
        rgba(255, 255, 255, 0.04);
    border: 1px solid color-mix(in srgb, var(--ticket-accent) 30%, transparent);
}

.ticket-card__head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.ticket-card__emoji {
    font-size: 1.6rem;
    line-height: 1;
}

.ticket-card__name {
    display: block;
    font-size: 0.92rem;
    font-weight: 800;
}

.ticket-card__rate {
    font-size: 0.7rem;
    color: var(--color-muted);
}

.ticket-card__count {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.22);
}

.ticket-card__count span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-muted);
}

.ticket-card__count strong {
    font-size: 1.5rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--ticket-accent);
}

.ticket-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ticket-card__pool {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ticket-accent);
}

.ticket-code {
    padding: 0.2rem 0.45rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.07);
    font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
}

.lotto-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.9rem;
    padding: 0.95rem 1.1rem;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.lotto-strip__name {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
}

.lotto-strip__cost {
    display: flex;
    flex-direction: column;
}

.lotto-strip__cost span {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-muted);
}

.lotto-strip__cost strong {
    font-size: 0.95rem;
    font-weight: 800;
}

.lotto-number {
    display: inline-flex;
    gap: 0.2rem;
}

.lotto-number b {
    display: grid;
    place-items: center;
    width: 1.5rem;
    height: 1.8rem;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.account__panel-title {
    margin: 0 0 1.25rem;
    font-size: 1.05rem;
    font-weight: 800;
}

.account__flash {
    margin: 0 0 1.25rem;
    padding: 0.7rem 1rem;
    border-radius: 9px;
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.35);
    color: #4ade80;
    font-size: 0.82rem;
}

.account__empty {
    padding: 2rem 0;
    text-align: center;
    color: var(--color-muted);
    font-size: 0.85rem;
}

.account__note {
    margin: 1.25rem 0 0;
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--color-muted);
}

.account-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.account-form--narrow {
    max-width: 24rem;
}

.account-form .btn {
    align-self: flex-start;
}

.field__note {
    font-size: 0.7rem;
    color: var(--color-muted);
}

/* ---- Account: two-step sign-in ---- */

.twofa {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    max-width: 36rem;
}

.twofa__lead {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--color-muted);
}

.twofa__steps {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.86rem;
    line-height: 1.55;
}

.twofa__steps li::marker {
    font-weight: 800;
    color: var(--color-accent);
}

/* Dark on white whatever the theme, so every camera reads it. */
.twofa__qr {
    display: block;
    width: 11rem;
    height: 11rem;
    margin: 0.7rem 0;
    padding: 0.45rem;
    border-radius: 10px;
    background: #fff;
    image-rendering: pixelated;
}

.twofa__manual {
    display: block;
    font-size: 0.78rem;
    color: var(--color-muted);
}

.twofa__key {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed color-mix(in srgb, var(--color-accent) 45%, transparent);
    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    word-break: break-all;
    color: var(--color-accent);
}

.twofa__confirm {
    margin-top: 0.6rem;
}

.twofa__status {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin: 0;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.35);
    font-size: 0.85rem;
    line-height: 1.55;
}

.twofa__status svg {
    width: 1.4rem;
    height: 1.4rem;
    color: #4ade80;
}

.twofa__since {
    display: block;
    color: var(--color-muted);
}

.twofa__box {
    padding: 1rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid color-mix(in srgb, var(--color-accent) 35%, transparent);
}

.twofa__heading {
    margin: 0 0 0.4rem;
    font-size: 0.95rem;
    color: var(--color-accent);
}

.twofa__codes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 1rem;
    margin: 0.8rem 0 0;
    padding: 0;
    list-style: none;
    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

.twofa__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* Segmented control for the bet-history sections */
.seg {
    display: inline-flex;
    gap: 0.25rem;
    padding: 0.28rem;
    margin-bottom: 1.25rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.seg__item {
    padding: 0.45rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-muted);
}

.seg__item--active {
    background: var(--color-accent);
    color: var(--color-accent-text);
}

.net--up { color: #4ade80; }
.net--down { color: #f87171; }

.betlist {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.betrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.betrow__main {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.betrow__game {
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.betrow__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.7rem;
    color: var(--color-muted);
}

.betrow__numbers {
    display: flex;
    gap: 1.25rem;
    flex: 0 0 auto;
}

.betrow__cell {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1rem;
}

.betrow__cell small {
    font-size: 0.6rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.betrow__cell b {
    font-size: 0.88rem;
    font-variant-numeric: tabular-nums;
}

.tag--wait {
    background: rgba(250, 204, 21, 0.18);
    color: #facc15;
}

.tag--sport {
    background: color-mix(in srgb, var(--color-accent) 20%, transparent);
    color: var(--color-accent);
}

/* Five sections do not fit a phone's width: the strip scrolls sideways. */
.seg--scroll {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.seg--scroll::-webkit-scrollbar {
    display: none;
}

.seg--scroll .seg__item {
    flex: 0 0 auto;
    white-space: nowrap;
}

.betrow--sport {
    border-left: 3px solid color-mix(in srgb, var(--color-accent) 70%, transparent);
}

.betrow__detail {
    display: inline-flex;
    align-items: center;
    align-self: center;
    gap: 0.35rem;
    padding: 0.4rem 0.7rem;
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, var(--color-accent) 45%, transparent);
    color: var(--color-accent);
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

.betrow__detail:hover {
    background: color-mix(in srgb, var(--color-accent) 14%, transparent);
}

.betrow__detail svg {
    width: 0.95rem;
    height: 0.95rem;
}

/* The provider's page for a round, framed in the popup shell. */
.promo-modal--frame .promo-modal__dialog {
    width: min(100%, 60rem);
    height: min(86dvh, 52rem);
}

.frame-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0.75rem 0.75rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.frame-modal__title {
    font-size: 0.95rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.promo-modal__close.frame-modal__close {
    position: static;
    flex: none;
}

.frame-modal__body {
    position: relative;
    flex: 1;
    min-height: 0;
    background: #12151b;
}

.frame-modal__loading {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--color-muted);
    font-size: 0.85rem;
}

.frame-modal__frame {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 640px) {
    .promo-modal--frame .promo-modal__dialog {
        height: 92dvh;
    }
}

/* Verification */
.verify-progress {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

.verify-progress__bar {
    flex: 1;
    height: 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.verify-progress__bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-accent), #4ade80);
    transition: width 0.3s ease;
}

.verify-progress__label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-muted);
    white-space: nowrap;
}

.verify-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.verify-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.verify-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: rgba(250, 204, 21, 0.18);
    color: #facc15;
    font-weight: 800;
}

.verify-item--done .verify-item__icon {
    background: rgba(74, 222, 128, 0.18);
    color: #4ade80;
}

.verify-item__body {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
    min-width: 0;
}

.verify-item__body strong {
    font-size: 0.85rem;
}

.verify-item__body small {
    font-size: 0.72rem;
    color: var(--color-muted);
    overflow-wrap: anywhere;
}

.verify-item__state {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-muted);
    white-space: nowrap;
}

.verify-item--done .verify-item__state {
    color: #4ade80;
}

.verify-referral {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.verify-referral span {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.verify-referral strong {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.verify-referral .btn {
    margin-left: auto;
}

@media (max-width: 860px) {
    .account {
        padding: 0.75rem 0.75rem 2rem;
    }

    .account__head {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .account__balance {
        align-items: flex-start;
    }

    .account__layout {
        grid-template-columns: 1fr;
    }

    /* The sidebar becomes a swipeable strip that stays pinned under the mobile
       header, so the menu is on screen no matter how far the panel scrolls. */
    .account-nav {
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
        gap: 0.3rem;
        padding: 0.4rem;
        /* Clears the sticky mobile site header above it. */
        top: 3.1rem;
        z-index: 30;
        background: #131313;
        -webkit-overflow-scrolling: touch;
    }

    .account-nav::-webkit-scrollbar {
        display: none;
    }

    /* Group headings only make sense in the vertical list. */
    .account-nav__group {
        display: none;
    }

    .account-nav__item {
        padding: 0.55rem 0.7rem;
        font-size: 0.78rem;
    }

    .account-nav__item--active {
        /* An underline reads better than a left bar once the list runs across. */
        box-shadow: inset 0 -2px 0 var(--color-accent);
    }

    .account__panel {
        padding: 1rem;
    }

    .account__topup {
        margin-top: 0.3rem;
    }

    .account-table {
        min-width: 30rem;
    }

    .betrow {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
    }

    .betrow__numbers {
        justify-content: space-between;
    }

    .betrow__cell {
        align-items: flex-start;
    }

    .verify-referral .btn {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
}

/* ---------- Cashier (deposit / withdraw) ---------- */
.cashier {
    max-width: 58rem;
    margin: 0 auto;
    padding: 1.5rem;
}

.cashier__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.cashier__title {
    margin: 0;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 800;
}

.cashier__sub {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.cashier__balance {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0.7rem 1.1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.cashier__balance span {
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.cashier__balance strong {
    font-size: 1.3rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.cashier__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    padding: 0.35rem;
    margin-bottom: 1.75rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cashier__tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.75rem;
    border-radius: 9px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-muted);
}

.cashier__tab svg {
    width: 1.1rem;
    height: 1.1rem;
}

.cashier__tab--active {
    background: var(--color-accent);
    color: var(--color-accent-text);
}

.cashier__step {
    margin: 0 0 0.9rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
    margin-bottom: 2rem;
}

/* The radio itself is hidden; the whole card is the control. */
.method {
    position: relative;
    display: block;
    cursor: pointer;
}

.method input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.method__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1.25rem 0.9rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    text-align: center;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.method:hover .method__body {
    background: rgba(255, 255, 255, 0.07);
}

.method input:checked + .method__body {
    border-color: var(--color-accent);
    background: color-mix(in srgb, var(--color-accent) 14%, transparent);
}

.method input:focus-visible + .method__body {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.method__art {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    background-size: cover;
    background-position: center;
}

.method__emoji {
    font-size: 1.6rem;
}

.method__name {
    font-size: 0.88rem;
    font-weight: 700;
}

.method__limits {
    font-size: 0.7rem;
    color: var(--color-muted);
    font-variant-numeric: tabular-nums;
}

.method__time {
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--color-muted);
}

.method__check {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.method input:checked ~ .method__check {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.method input:checked ~ .method__check::after {
    content: "";
    position: absolute;
    top: 0.26rem;
    left: 0.4rem;
    width: 0.26rem;
    height: 0.5rem;
    border: solid var(--color-accent-text);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.quick-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.9rem;
}

.quick-amount {
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.quick-amount:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.amount-field {
    position: relative;
    margin-bottom: 0.75rem;
}

.amount-field__input {
    width: 100%;
    padding: 1.1rem 3rem 1.1rem 1.1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    font-family: inherit;
    font-size: 1.6rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.amount-field__input:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* Spinners fight with the large numeric display. */
.amount-field__input::-webkit-outer-spin-button,
.amount-field__input::-webkit-inner-spin-button {
    appearance: none;
    margin: 0;
}

.amount-field__input {
    appearance: textfield;
}

.amount-field__currency {
    position: absolute;
    top: 50%;
    right: 1.1rem;
    transform: translateY(-50%);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-muted);
    pointer-events: none;
}

.cashier__hint {
    margin: 0 0 0.4rem;
    font-size: 0.78rem;
    color: var(--color-muted);
}

.cashier__error {
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #f87171;
}

.cashier__submit {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--color-accent);
    background: var(--color-accent);
    color: var(--color-accent-text);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
}

.cashier__submit:hover:not(:disabled) {
    filter: brightness(1.08);
}

.cashier__submit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.cashier__note {
    margin: 0.9rem 0 0;
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--color-muted);
    text-align: center;
}

.cashier__empty {
    padding: 2.5rem 0;
    text-align: center;
    color: var(--color-muted);
}

.cashier__flash {
    margin: 0 0 1.1rem;
    padding: 0.7rem 1rem;
    border-radius: 9px;
    background: rgba(229, 57, 70, 0.12);
    border: 1px solid rgba(229, 57, 70, 0.35);
    color: #f87171;
    font-size: 0.82rem;
}

/* In place of the deposit form while a request is still waiting. */
.cashier__open {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1.1rem 1.2rem;
    border-radius: 12px;
    background: rgba(245, 180, 60, 0.08);
    border: 1px solid rgba(245, 180, 60, 0.35);
}

.cashier__open strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.98rem;
}

.cashier__open p {
    margin: 0 0 0.9rem;
    color: var(--color-muted);
    font-size: 0.86rem;
    line-height: 1.6;
}

.cashier__open-icon svg {
    width: 1.6rem;
    height: 1.6rem;
    color: #f5b43c;
}

.cashier__ref {
    font-family: ui-monospace, Consolas, monospace;
    color: var(--color-text);
}

/* Method-specific withdrawal fields; only the chosen method's group is shown. */
.cashier__details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.8rem;
    padding: 1rem;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cashier__details[hidden] {
    display: none;
}

/* ---------- Sportsbook ----------
   The book is a full application in its own right, so the page gives it as much
   height as it can and keeps the surrounding chrome to one thin bar. */
.sportsbook {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 90rem;
    margin: 0 auto;
    padding: 0.75rem;
}

.sportsbook__switch {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.sportsbook__switch::-webkit-scrollbar {
    display: none;
}

.sportsbook__tab {
    padding: 0.5rem 0.9rem;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    color: var(--color-muted);
}

.sportsbook__tab--active {
    background: color-mix(in srgb, var(--color-accent) 18%, transparent);
    border-color: color-mix(in srgb, var(--color-accent) 40%, transparent);
    color: var(--color-text);
}

.sportsbook__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.55rem 0.9rem;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sportsbook__meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sportsbook__name {
    font-size: 0.9rem;
    font-weight: 800;
}

.sportsbook__provider {
    font-size: 0.7rem;
    color: var(--color-muted);
}

.sportsbook__stage {
    border-radius: 13px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: #000;
}

.sportsbook__frame {
    display: block;
    width: 100%;
    /* Tall enough for a coupon and a match list without the page scrolling the
       book out of view. */
    height: min(82vh, 56rem);
    border: 0;
}

.sportsbook__notice {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 3rem 1.5rem;
    border-radius: 14px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--color-accent) 14%, transparent), transparent 60%),
        rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.sportsbook__icon svg {
    width: 3rem;
    height: 3rem;
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 1.5;
}

.sportsbook__title {
    margin: 0;
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    font-weight: 800;
}

.sportsbook__error {
    margin: 0;
    max-width: 32rem;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--color-muted);
}

.sportsbook__auth {
    display: flex;
    gap: 0.5rem;
}

.sportsbook__promos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: 0.8rem;
}

@media (max-width: 860px) {
    .sportsbook {
        padding: 0.5rem 0.5rem 4.5rem;
    }

    .sportsbook__frame {
        /* The mobile tab bar sits at the bottom, so the book stops above it. */
        height: calc(100vh - 11rem);
    }
}

/* ---------- KYC documents ---------- */
.doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: 0.8rem;
}

.doc-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.doc-card--approved {
    border-color: rgba(74, 222, 128, 0.4);
    background: rgba(74, 222, 128, 0.06);
}

.doc-card--rejected {
    border-color: rgba(229, 57, 70, 0.4);
    background: rgba(229, 57, 70, 0.06);
}

.doc-card--pending {
    border-color: rgba(245, 180, 60, 0.4);
    background: rgba(245, 180, 60, 0.05);
}

.doc-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.doc-card__title {
    font-size: 0.9rem;
    font-weight: 800;
}

.doc-card__help {
    margin: 0;
    font-size: 0.74rem;
    line-height: 1.5;
    color: var(--color-muted);
}

.doc-card__file {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.22);
}

.doc-card__name {
    font-size: 0.78rem;
    font-weight: 600;
    word-break: break-all;
}

.doc-card__note {
    margin: 0;
    padding: 0.5rem 0.7rem;
    border-radius: 8px;
    background: rgba(229, 57, 70, 0.12);
    border: 1px solid rgba(229, 57, 70, 0.3);
    color: #f87171;
    font-size: 0.74rem;
}

.doc-card__form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
}

/* The native file input is replaced by a label so it can be styled, while the
   input itself stays in the form and keeps its validation. */
.doc-upload {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
    border-radius: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.24);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-muted);
    cursor: pointer;
    overflow: hidden;
}

.doc-upload:hover {
    border-color: var(--color-accent);
    color: var(--color-text);
}

.doc-upload input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.doc-card__form .btn {
    justify-content: center;
}

/* ---------- Deposit instructions ---------- */
.payinfo {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payinfo__amount {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 1.2rem;
    border-radius: 13px;
    background:
        radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--color-accent) 20%, transparent), transparent 60%),
        rgba(255, 255, 255, 0.04);
    border: 1px solid color-mix(in srgb, var(--color-accent) 28%, transparent);
}

.payinfo__amount span {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.payinfo__amount strong {
    font-size: clamp(1.5rem, 5vw, 2.1rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.payinfo__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    padding: 0.75rem 0.95rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.payinfo__row > span {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-muted);
    flex-shrink: 0;
}

.payinfo__row strong {
    font-size: 0.88rem;
    font-weight: 700;
    text-align: right;
    word-break: break-word;
}

.payinfo__row--copy {
    flex-wrap: wrap;
}

.payinfo__row--copy .field__input {
    flex: 1 1 12rem;
    min-width: 0;
    font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
    font-size: 0.8rem;
}

.payinfo__expiry {
    margin: 0;
    padding: 0.6rem 0.9rem;
    border-radius: 9px;
    background: rgba(245, 180, 60, 0.12);
    border: 1px solid rgba(245, 180, 60, 0.32);
    color: #f5b43c;
    font-size: 0.78rem;
    text-align: center;
}

.payinfo__actions {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.4rem;
}

.payinfo__actions .btn {
    flex: 1;
    justify-content: center;
}

@media (max-width: 640px) {
    .payinfo__row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
    }

    .payinfo__row strong {
        text-align: left;
    }
}

/* Payment history */
.cashier__tabs {
    grid-template-columns: repeat(3, 1fr);
}

.paylist {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.payrow {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.payrow__dir {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.07);
}

.payrow__dir--in {
    background: rgba(74, 222, 128, 0.16);
    color: #4ade80;
}

.payrow__dir--out {
    background: rgba(229, 57, 70, 0.16);
    color: #f87171;
}

.payrow__main {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.payrow__title {
    font-size: 0.85rem;
    font-weight: 700;
}

.payrow__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: var(--color-muted);
}

.payrow__ref {
    font-variant-numeric: tabular-nums;
    opacity: 0.75;
}

.payrow__error {
    font-size: 0.72rem;
    color: #f87171;
}

.payrow__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
}

.payrow__amount {
    font-size: 0.95rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.payrow__amount--in {
    color: #4ade80;
}

.paystatus {
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.paystatus--ok {
    background: rgba(74, 222, 128, 0.16);
    color: #4ade80;
}

.paystatus--bad {
    background: rgba(229, 57, 70, 0.16);
    color: #f87171;
}

.paystatus--wait {
    background: rgba(250, 204, 21, 0.16);
    color: #facc15;
}

@media (max-width: 860px) {
    .payrow {
        grid-template-columns: auto 1fr;
        row-gap: 0.5rem;
    }

    /* The amount drops under the description instead of squeezing it. */
    .payrow__right {
        grid-column: 2;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (max-width: 860px) {
    .cashier {
        padding: 0.75rem 0.75rem 2rem;
    }

    .cashier__head {
        align-items: stretch;
        flex-direction: column;
        gap: 0.75rem;
    }

    .cashier__balance {
        align-items: flex-start;
    }

    .method-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .method__body {
        padding: 1rem 0.6rem;
    }

    .method__art {
        width: 2.6rem;
        height: 2.6rem;
    }

    .quick-amount {
        flex: 1;
        min-width: 4.5rem;
        text-align: center;
    }

    /* Keeps the action reachable with a thumb on a long page. */
    .cashier__submit {
        position: sticky;
        bottom: 5rem;
    }
}

/* ---------- Referral ---------- */
.referral {
    max-width: 62rem;
    margin: 0 auto;
    padding: 1.5rem;
}

.referral__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
}

.referral__lead {
    margin: 0 0 1.5rem;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.referral__lead strong {
    color: var(--color-accent);
}

.referral__link {
    margin: 1.5rem 0;
}

.referral__link label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.referral__copy {
    display: flex;
    gap: 0.5rem;
}

.referral__subtitle {
    margin: 2rem 0 0.75rem;
    font-size: 1.05rem;
    font-weight: 800;
}

.referral__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.referral__table th,
.referral__table td {
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    text-align: left;
}

.referral__table th {
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.referral__won {
    color: #4ade80;
    font-weight: 700;
}

.referral__empty {
    padding: 1.5rem 0;
    color: var(--color-muted);
    font-size: 0.85rem;
}

@media (max-width: 860px) {
    .referral {
        padding: 0.75rem;
    }

    .referral__copy {
        flex-direction: column;
    }
}

/* ---------- Game play (embedded) ---------- */
.play {
    max-width: 78rem;
    margin: 0 auto;
    padding: 1rem 1.5rem 2.5rem;
}

.play__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 12px 12px 0 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: none;
}

.play__meta {
    display: flex;
    flex-direction: column;
}

.play__name {
    font-size: 0.95rem;
    font-weight: 800;
}

.play__provider {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.play__actions {
    display: flex;
    gap: 0.5rem;
}

/* The provider decides the game's own aspect, so the stage keeps a stable
   16:9 box and lets the frame fill it. */
.play__stage {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 420px;
    border-radius: 0 0 12px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    background: #000;
}

.play__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.play__notice {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem 1.5rem;
    border-radius: 0 0 12px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
}

.play__art {
    width: 10rem;
    aspect-ratio: 1;
    border-radius: 12px;
    background: linear-gradient(145deg, #1e3a8a, #0b1020 70%);
    background-size: cover;
    background-position: center;
}

.play__error {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-muted);
}

.play__auth {
    display: flex;
    gap: 0.6rem;
}

@media (max-width: 860px) {
    .play {
        padding: 0.5rem 0.75rem 1.5rem;
    }

    .play__bar {
        padding: 0.6rem 0.75rem;
    }

    .play__stage {
        /* Portrait phones get a taller stage so the game is not a thin strip. */
        aspect-ratio: 3 / 4;
        min-height: 0;
    }
}

/* ---------- Slot catalog ---------- */
.catalog-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 1.5rem 1.5rem;
    padding: 0.6rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.chip-rail {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
    flex: 1;
}

.chip-rail__nav {
    flex: 0 0 auto;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    cursor: pointer;
    line-height: 1;
}

.chip-rail__nav:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.chip-rail__track {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.chip-rail__track::-webkit-scrollbar {
    display: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.9rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-text);
    white-space: nowrap;
}

.chip__icon {
    font-size: 1rem;
}

.chip:hover {
    background: rgba(255, 255, 255, 0.06);
}

.chip--active {
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.catalog-bar__tools {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 0 0 auto;
}

.search {
    position: relative;
}

.search__input {
    width: 16rem;
    padding: 0.7rem 0.9rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text);
    font-family: inherit;
    font-size: 0.82rem;
}

.search__input::placeholder {
    color: var(--color-muted);
}

.search__input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.search__results {
    position: absolute;
    z-index: 30;
    top: calc(100% + 0.4rem);
    left: 0;
    right: 0;
    max-height: 22rem;
    overflow-y: auto;
    border-radius: 10px;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.search__list {
    list-style: none;
    margin: 0;
    padding: 0.35rem;
}

.search__item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem;
    border-radius: 8px;
}

.search__item:hover {
    background: rgba(255, 255, 255, 0.07);
}

.search__thumb {
    flex: 0 0 3rem;
    height: 3rem;
    border-radius: 6px;
    background: linear-gradient(145deg, #1e3a8a, #0b1020);
    background-size: cover;
    background-position: center;
}

.search__meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.search__meta strong {
    font-size: 0.78rem;
    font-weight: 600;
}

.search__meta small {
    font-size: 0.68rem;
    color: var(--color-muted);
}

.search__empty {
    margin: 0;
    padding: 0.9rem;
    font-size: 0.78rem;
    color: var(--color-muted);
}

.provider-filter {
    position: relative;
}

.provider-filter__summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 0.9rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
}

.provider-filter__summary::-webkit-details-marker {
    display: none;
}

.provider-filter__summary svg {
    width: 1rem;
    height: 1rem;
    color: var(--color-muted);
}

.provider-filter[open] .provider-filter__summary svg {
    transform: rotate(180deg);
}

.provider-filter__panel {
    position: absolute;
    z-index: 30;
    top: calc(100% + 0.4rem);
    right: 0;
    width: 20rem;
    padding: 0.75rem;
    border-radius: 10px;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.provider-filter__search {
    width: 100%;
    margin-bottom: 0.5rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text);
    font-family: inherit;
    font-size: 0.8rem;
}

.provider-filter__list {
    list-style: none;
    margin: 0 0 0.6rem;
    padding: 0;
    max-height: 17rem;
    overflow-y: auto;
}

.provider-filter__list label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.35rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
}

.provider-filter__list label:hover {
    background: rgba(255, 255, 255, 0.06);
}

.provider-filter__list input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.provider-filter__name {
    flex: 1;
    font-weight: 600;
}

.provider-filter__count {
    font-size: 0.72rem;
    color: var(--color-muted);
    font-variant-numeric: tabular-nums;
}

.provider-filter__apply {
    width: 100%;
    padding: 0.6rem;
    border-radius: 8px;
    border: 1px solid var(--color-accent);
    background: var(--color-accent);
    color: var(--color-accent-text);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.catalog-empty {
    margin: 2rem 1.5rem;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.section__icon {
    margin-right: 0.4rem;
}

.section__count {
    font-size: 0.78rem;
    color: var(--color-muted);
}

/* Pagination shown whenever a filter collapses the rows into one grid */
.pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
}

.pager__link {
    min-width: 2.25rem;
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.pager__link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.pager__link--active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-accent-text);
}

/* Game cards */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.game {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

/* 4:3 suits most providers' artwork; the overlay on desktop uses the same
   ratio so it covers the picture exactly. The blur behind the picture and the
   name fallback are shared with the home page rows. */
.game {
    --game-art-ratio: 4 / 3;
}

.game__art {
    position: relative;
    aspect-ratio: var(--game-art-ratio);
    overflow: hidden;
    isolation: isolate;
    border-radius: 10px;
    background-color: #0b0908;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.game__img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.game__badge {
    position: absolute;
    z-index: 2;
    top: 0.4rem;
    left: 0.4rem;
    padding: 0.12rem 0.4rem;
    border-radius: 4px;
    background: #e53946;
    color: #fff;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.game__fav {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    z-index: 2;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game__fav:hover {
    color: #f472b6;
}

.game__fav.is-active svg {
    fill: #f472b6;
    stroke: #f472b6;
}

.game__name {
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game__provider {
    font-size: 0.66rem;
    color: var(--color-muted);
}

.game__actions {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.2rem;
}

.game__play,
.game__demo {
    flex: 1;
    padding: 0.4rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.game__play {
    background: rgba(255, 255, 255, 0.92);
    color: #111;
    border-color: transparent;
}

.game__play:hover {
    background: #fff;
}

.game__demo {
    background: rgba(255, 255, 255, 0.06);
}

.game__demo:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* On desktop the actions sit over the artwork and appear on hover. The box
   matches .game__art exactly because both share one ratio and are top-aligned. */
@media (min-width: 861px) {
    .game__actions {
        position: absolute;
        z-index: 3;
        top: 0;
        left: 0;
        right: 0;
        aspect-ratio: var(--game-art-ratio);
        margin: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.62);
        opacity: 0;
        transition: opacity 0.15s ease;
    }

    .game__play,
    .game__demo {
        flex: 0 0 auto;
        width: 100%;
    }

    .game:hover .game__actions,
    .game:focus-within .game__actions {
        opacity: 1;
    }
}

@media (max-width: 860px) {
    .catalog-bar {
        flex-direction: column;
        align-items: stretch;
        margin: 0 0.75rem 1rem;
    }

    .catalog-bar__tools {
        flex-direction: column;
        align-items: stretch;
    }

    .search__input {
        width: 100%;
    }

    .provider-filter__panel {
        width: 100%;
    }

    .game-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .catalog-empty {
        margin: 1.5rem 0.75rem;
    }
}

/* ---------- Milyonerler showcase ---------- */
.showcase-body {
    background:
        radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.05), transparent 45%),
        var(--color-bg);
}

.showcase-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.showcase-header__logo {
    justify-self: center;
    font-size: clamp(1.1rem, 2.4vw, 1.7rem);
}

.showcase-header__social,
.showcase-footer__social {
    display: flex;
    gap: 0.5rem;
    justify-self: end;
}

.showcase-header__social .icon-btn,
.showcase-footer__social .icon-btn {
    border-radius: 50%;
}

/* White pill button used across the showcase. */
.showcase-btn,
.showcase-header__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.4rem;
    border-radius: 10px;
    border: 1px solid transparent;
    background: linear-gradient(180deg, #ffffff, #d8dade);
    color: #111;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 8px 26px rgba(255, 255, 255, 0.14);
}

.showcase-header__cta {
    justify-self: start;
}

.showcase-btn svg,
.showcase-header__cta svg {
    width: 1.05rem;
    height: 1.05rem;
}

.showcase-btn:hover,
.showcase-header__cta:hover {
    filter: brightness(1.05);
}

.showcase-btn--ghost {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--color-text);
    box-shadow: none;
}

.showcase-btn--sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.showcase-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.showcase-pill i {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #e53946;
}

.showcase-hero,
.showcase-promos,
.showcase-wins,
.showcase-cta {
    max-width: 76rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.showcase-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    padding-top: 4rem;
    padding-bottom: 3.5rem;
}

/* Faint arches behind the hero, drifting slowly closer. */
.showcase-hero::before {
    content: "";
    position: absolute;
    inset: -4rem -12vw 0;
    z-index: -1;
    background: repeating-radial-gradient(ellipse at 50% 100%,
        transparent 0 46px, rgba(255, 255, 255, 0.035) 47px 49px, transparent 50px 96px);
    -webkit-mask-image: radial-gradient(ellipse at 50% 70%, #000 25%, transparent 70%);
    mask-image: radial-gradient(ellipse at 50% 70%, #000 25%, transparent 70%);
    animation: sc-drift 26s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes sc-drift {
    to {
        transform: scale(1.12);
    }
}

.showcase-hero__title {
    margin: 1.25rem 0;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

/* "KAZANAN" in gold, beating slowly like a pulse. The glow is a drop shadow
   because a text shadow would show through the clipped gradient. */
.showcase-hero__title em,
.showcase-cta__title em {
    font-style: normal;
    background: linear-gradient(180deg, #fff3c4 0%, #f3d27a 45%, #c9963a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.showcase-hero__title em {
    display: inline-block;
    transform-origin: left center;
    animation: sc-pulse 2.4s ease-in-out infinite;
}

@keyframes sc-pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(243, 210, 122, 0));
    }
    50% {
        transform: scale(1.035);
        filter: drop-shadow(0 0 22px rgba(243, 210, 122, 0.55));
    }
}

.showcase-hero__sub {
    max-width: 34rem;
    margin: 0 0 1.75rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-muted);
}

.showcase-hero__sub strong {
    color: var(--color-text);
}

.showcase-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* The stage beside the hero copy: every layer shares one grid cell. */
.showcase-stage {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    isolation: isolate;
    border-radius: 18px;
    border: 1px solid rgba(255, 220, 140, 0.18);
    background:
        radial-gradient(ellipse at 50% 85%, rgba(255, 196, 64, 0.16), transparent 60%),
        linear-gradient(160deg, #15110c, #050403 72%);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.showcase-stage > * {
    grid-area: 1 / 1;
}

.showcase-stage__arches {
    position: absolute;
    inset: -10%;
    background: repeating-radial-gradient(ellipse at 50% 110%,
        transparent 0 38px, rgba(255, 230, 170, 0.07) 39px 41px, transparent 42px 80px);
    animation: sc-kenburns 18s ease-in-out infinite alternate;
}

.showcase-stage__beam {
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg,
        transparent 0 40deg, rgba(255, 233, 166, 0.1) 50deg, transparent 62deg 180deg,
        rgba(255, 233, 166, 0.07) 195deg, transparent 210deg);
    mix-blend-mode: screen;
    animation: sc-spin 16s linear infinite;
}

.showcase-stage svg.showcase-stage__rings {
    width: 64%;
    height: auto;
    aspect-ratio: 1;
    overflow: visible;
    stroke: none;
}

.showcase-stage__ring {
    fill: none;
    stroke: rgba(255, 233, 166, 0.22);
    stroke-width: 1.2;
}

.showcase-stage__ring--inner {
    stroke: rgba(255, 233, 166, 0.16);
    stroke-dasharray: 2 6;
}

/* A short bright arc running round each ring, the inner one backwards. */
.showcase-stage__glint {
    fill: none;
    stroke: url(#stageGold);
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-dasharray: 60 493;
    transform-box: fill-box;
    transform-origin: center;
    filter: drop-shadow(0 0 4px rgba(255, 210, 110, 0.8));
    animation: sc-spin 6s linear infinite;
}

.showcase-stage__glint--inner {
    stroke-dasharray: 40 425;
    animation-duration: 9s;
    animation-direction: reverse;
}

.showcase-stage__text {
    z-index: 2;
    font-size: clamp(0.85rem, 1.5vw, 1.15rem);
    font-weight: 800;
    letter-spacing: 0.3em;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    color: rgba(255, 233, 166, 0.78);
}

.showcase-stage__text strong {
    display: block;
    font-size: clamp(1.7rem, 3.8vw, 3rem);
    letter-spacing: 0.02em;
    background: linear-gradient(100deg, #8a6114 0%, #ffe9a3 20%, #c9963a 40%, #fff6d8 50%, #c9963a 60%, #8a6114 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.7));
    animation: sc-shine 5s linear infinite;
}

.showcase-stage__medal {
    z-index: 2;
    align-self: end;
    display: grid;
    place-items: center;
    width: 13%;
    aspect-ratio: 1;
    margin-bottom: 7%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff3c4, #d9a641 45%, #6b4510);
    animation: sc-medal 3.2s ease-in-out infinite;
}

.showcase-stage__medal svg {
    width: 58%;
    height: 58%;
    fill: #2a1704;
    stroke: none;
}

@keyframes sc-kenburns {
    to {
        transform: scale(1.18) translateY(-3%);
    }
}

@keyframes sc-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes sc-shine {
    from {
        background-position: 100% 0;
    }
    to {
        background-position: -150% 0;
    }
}

@keyframes sc-medal {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.5), 0 0 26px rgba(255, 196, 64, 0.25);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 196, 64, 0.6);
    }
}

/* Showcase slots running up one side of the page and down the other, on
   screens wide enough to hold them beside the content. */
.showcase-rail {
    display: none;
}

.showcase-rail__track {
    animation: sc-rail-up 70s linear infinite;
}

.showcase-rail--right .showcase-rail__track {
    animation-name: sc-rail-down;
}

.showcase-rail:hover .showcase-rail__track {
    animation-play-state: paused;
}

/* Margins rather than a gap, so half the track is exactly one list long and
   the loop has no jump. */
.showcase-rail__tile {
    position: relative;
    display: flex;
    align-items: flex-end;
    aspect-ratio: 4 / 3;
    margin-bottom: 0.6rem;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #0b0908;
    background-size: cover;
    background-position: center;
}

.showcase-rail__tile span {
    width: 100%;
    padding: 1.2rem 0.45rem 0.4rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
    font-size: 0.6rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes sc-rail-up {
    to {
        transform: translateY(-50%);
    }
}

@keyframes sc-rail-down {
    from {
        transform: translateY(-50%);
    }
    to {
        transform: translateY(0);
    }
}

@media (min-width: 1560px) {
    .showcase-rail {
        position: fixed;
        top: 5.5rem;
        bottom: 1rem;
        z-index: 1;
        display: block;
        width: 8.75rem;
        padding: 0.6rem 0.6rem 0;
        overflow: hidden;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        background: rgba(255, 255, 255, 0.02);
        -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
        mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
    }

    .showcase-rail--left {
        left: 1rem;
    }

    .showcase-rail--right {
        right: 1rem;
    }

    /* The footer's ends would otherwise sit under the rails. */
    .showcase-body .showcase-footer {
        padding-inline: 11rem;
    }
}

.showcase-promos {
    padding-bottom: 3rem;
}

.showcase-promos__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.25rem 0;
}

.showcase-promos__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
}

.showcase-promos__rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(160px, 1fr);
    gap: 0.75rem;
    padding: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.showcase-promos__rail::-webkit-scrollbar {
    display: none;
}

.showcase-promo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    aspect-ratio: 3 / 4;
    padding: 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: linear-gradient(170deg, #1a1f26, #07090c 72%);
    background-size: cover;
    background-position: center;
    text-align: center;
    scroll-snap-align: start;
}

.showcase-promo__title {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.25;
}

.showcase-promo__cta {
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.showcase-wins__title {
    margin: 0 0 1.25rem;
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    font-weight: 800;
}

/* Title and its label on the left, the newest/highest switch on the right. */
.showcase-wins__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.showcase-wins__heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.showcase-wins__head .showcase-wins__title,
.showcase-wins__head .showcase-toggle {
    margin: 0;
}

/* Says, where the players read it, that the list is an example. */
.showcase-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 233, 166, 0.35);
    background: rgba(255, 233, 166, 0.08);
    color: #f3d27a;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.showcase-toggle {
    display: inline-flex;
    gap: 0.3rem;
    padding: 0.3rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-toggle__btn {
    padding: 0.55rem 1.2rem;
    border: none;
    border-radius: 9px;
    background: none;
    color: var(--color-muted);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.showcase-toggle__btn--active {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-text);
}

.win-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

/* A framed card: the game's picture whole, then the game, the amount in gold
   and the masked player. */
.win {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0.6rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.win:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 233, 166, 0.4);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(255, 196, 64, 0.12);
}

.win__art {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    isolation: isolate;
    border-radius: 11px;
    background-color: #0b0908;
    background-size: cover;
    background-position: center;
}

.win__img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.win__art--empty .win__img {
    display: none;
}

.win__art-name {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 800;
    background: linear-gradient(160deg, #2a1a08, #0b0908 72%);
}

.win__art--empty .win__art-name {
    display: flex;
}

/* A streak of light crosses the picture on hover. */
.win__shine {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
    transform: translateX(-120%);
    pointer-events: none;
}

.win:hover .win__shine {
    transform: translateX(120%);
    transition: transform 0.8s ease;
}

.win__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    min-width: 0;
    padding: 0.75rem 0.4rem 0.45rem;
    text-align: center;
}

.win__game {
    max-width: 100%;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.win__provider {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.win__amount {
    margin-top: 0.35rem;
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(180deg, #fff6d8, #f3d27a 55%, #c9963a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.win__amount small {
    font-size: 0.7em;
}

.win__label {
    max-width: 100%;
    font-size: 0.64rem;
    letter-spacing: 0.06em;
    color: var(--color-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.win-grid .is-hidden {
    display: none;
}

/* Cards rise into place as they scroll into view (site.js sets is-in). The
   hidden start applies only once the script has said it is running. */
.js-reveal .win {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
        border-color 0.25s ease, box-shadow 0.25s ease;
}

.js-reveal .win.is-in {
    opacity: 1;
    transform: none;
}

.js-reveal .win.is-in:hover {
    transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
    .showcase-hero__title em,
    .showcase-hero::before,
    .showcase-stage__arches,
    .showcase-stage__beam,
    .showcase-stage__glint,
    .showcase-stage__text strong,
    .showcase-stage__medal,
    .showcase-rail__track {
        animation: none;
    }

    .js-reveal .win {
        opacity: 1;
        transform: none;
    }
}

.showcase-more {
    display: flex;
    justify-content: center;
    margin: 2rem 0 0;
}

.showcase-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3.5rem;
    margin-bottom: 3rem;
    padding: 2rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.showcase-cta__title {
    margin: 0.9rem 0 0.4rem;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
}


.showcase-cta__sub {
    margin: 0;
    font-size: 0.88rem;
    color: var(--color-muted);
}

.showcase-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1.75rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.showcase-footer__logo {
    font-size: 1.1rem;
    opacity: 0.75;
}

.showcase-footer__social {
    justify-self: center;
}

.showcase-footer__copy {
    justify-self: end;
    font-size: 0.75rem;
    color: var(--color-muted);
}

@media (max-width: 1100px) {
    .win-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .showcase-header,
    .showcase-footer {
        grid-template-columns: 1fr auto;
        row-gap: 0.75rem;
        padding-inline: 0.9rem;
    }

    .showcase-header__logo {
        justify-self: start;
    }

    .showcase-header__social {
        justify-self: end;
    }

    .showcase-header__cta {
        order: 3;
        grid-column: 1 / -1;
        justify-self: stretch;
        justify-content: center;
    }

    .showcase-hero,
    .showcase-promos,
    .showcase-wins,
    .showcase-cta {
        padding-inline: 0.9rem;
    }

    .showcase-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 2.25rem;
    }

    .showcase-stage {
        order: -1;
        aspect-ratio: 16 / 9;
    }

    .win-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .win {
        padding: 0.45rem;
        border-radius: 13px;
    }

    .showcase-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        margin-inline: 0.9rem;
        padding: 1.5rem;
    }

    .showcase-cta .showcase-btn {
        justify-content: center;
    }

    .showcase-footer {
        justify-items: center;
        text-align: center;
        grid-template-columns: 1fr;
    }

    .showcase-footer__logo,
    .showcase-footer__social,
    .showcase-footer__copy {
        justify-self: center;
    }
}

/* ---------- VIP ---------- */
.vip {
    max-width: 72rem;
    margin: 0 auto;
    padding: 1.5rem;
}

.vip__section-title {
    margin: 2.5rem 0 1rem;
    font-size: 1.3rem;
    font-weight: 800;
}

.vip-block {
    padding: 1.4rem 1.5rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.vip-block--wide {
    margin-bottom: 1.25rem;
}

.vip-block__title {
    margin: 0 0 0.9rem;
    font-size: 1.2rem;
    font-weight: 800;
}

.vip-block p {
    margin: 0 0 0.6rem;
    font-size: 0.85rem;
    line-height: 1.75;
    color: var(--color-muted);
}

.vip-block__list {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.85rem;
    line-height: 1.85;
    color: var(--color-muted);
}

.vip-block__list strong {
    color: var(--color-text);
}

/* Tier cards: four across on desktop, a swipeable rail on phones. */
.vip-tiers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.vip-tier {
    --vip-accent: #8b9096;
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

/* The coloured corner flash that identifies each tier. */
.vip-tier::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 3px;
    background: var(--vip-accent);
}

.vip-tier::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 30%;
    background: var(--vip-accent);
}

.vip-tier__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 1.4rem 1rem 1rem;
    text-align: center;
}

.vip-tier__name {
    margin: 0 0 0.4rem;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--vip-accent);
}

.vip-tier__req-label {
    font-size: 0.72rem;
    color: var(--color-muted);
}

.vip-tier__req {
    font-size: 1rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.vip-tier__perks {
    list-style: none;
    margin: 0;
    padding: 0 0.75rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.vip-tier__perks li {
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.78rem;
    text-align: center;
}

.vip-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    align-items: start;
}

.vip-bonuses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.vip-bonus {
    --vip-accent: #8b9096;
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.vip-bonus__art {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    aspect-ratio: 4 / 3;
    padding: 1.25rem;
    text-align: center;
    background:
        radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--vip-accent) 30%, transparent), transparent 62%),
        linear-gradient(160deg, #1b1f24, #07090b 72%);
    background-size: cover;
    background-position: center;
}

.vip-bonus__chip {
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--vip-accent);
    color: var(--vip-accent);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.vip-bonus__headline {
    font-size: clamp(1.1rem, 2.6vw, 1.6rem);
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ffffff, #cfd4da 55%, #8b9096);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.vip-bonus__body {
    padding: 1.1rem 1.25rem 1.4rem;
}

.vip-bonus__name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
}

.vip-bonus__sub {
    margin: 0.2rem 0 0.9rem;
    font-size: 0.82rem;
    color: var(--color-muted);
}

.vip-bonus__rules {
    margin: 0;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.78rem;
}

.vip-bonus__rules > div {
    display: flex;
    gap: 0.4rem;
    padding: 0.32rem 0;
}

.vip-bonus__rules dt {
    flex: 0 0 auto;
    font-weight: 700;
}

.vip-bonus__rules dt::after {
    content: ":";
}

.vip-bonus__rules dd {
    margin: 0;
    color: var(--color-muted);
}

@media (max-width: 1100px) {
    .vip-tiers {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .vip {
        padding: 0.75rem;
    }

    .vip__section-title {
        margin: 2rem 0 0.9rem;
        font-size: 1.1rem;
    }

    .vip-block {
        padding: 1.1rem;
    }

    /* Tiers become a snapping rail so all four stay reachable on a phone. */
    .vip-tiers {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 78%;
        grid-template-columns: none;
        gap: 0.75rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.5rem;
        margin-inline: -0.75rem;
        padding-inline: 0.75rem;
        scrollbar-width: none;
    }

    .vip-tiers::-webkit-scrollbar {
        display: none;
    }

    .vip-tier {
        scroll-snap-align: center;
    }

    .vip-blocks,
    .vip-bonuses {
        grid-template-columns: 1fr;
    }

    .vip-bonus__rules > div {
        flex-direction: column;
        gap: 0.1rem;
    }
}

/* ---------- Lottery (Piyango) ---------- */
.lotto {
    max-width: 68rem;
    margin: 0 auto;
    padding: 1.5rem;
}

.lotto__head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.lotto__brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.lotto__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--color-accent), color-mix(in srgb, var(--color-accent) 40%, #000));
    color: var(--color-accent-text);
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
}

.lotto__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
}

.lotto__draw-date {
    font-size: 0.78rem;
    color: var(--color-muted);
}

.lotto__gate {
    margin: 0;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-muted);
}

.lotto__points {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    min-width: 8rem;
    padding: 0.8rem 1.1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lotto__points span {
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.lotto__points strong {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-accent);
    font-variant-numeric: tabular-nums;
}

.lotto__flash {
    margin: 1rem 0 0;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.35);
    color: #4ade80;
    font-size: 0.82rem;
    font-weight: 600;
}

.lotto__flash--error {
    background: rgba(229, 57, 70, 0.12);
    border-color: rgba(229, 57, 70, 0.4);
    color: #f87171;
}

.lotto-tabs__head {
    display: flex;
    gap: 0.4rem;
    margin: 1.5rem 0 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    overflow-x: auto;
    scrollbar-width: none;
}

.lotto-tabs__head::-webkit-scrollbar {
    display: none;
}

.lotto-tab {
    padding: 0.75rem 1.1rem;
    border: none;
    border-bottom: 2px solid transparent;
    background: none;
    color: var(--color-muted);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.lotto-tab--active {
    color: var(--color-text);
    border-bottom-color: var(--color-accent);
}

.lotto-pick {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.75rem 1rem;
    margin-bottom: 1.75rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.lotto-pick__label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-muted);
}

.lotto-digits {
    display: flex;
    gap: 0.5rem;
}

/* Digit slots read as lottery balls rather than plain form fields. */
.lotto-digit {
    width: 3.1rem;
    height: 3.8rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    color: var(--color-text);
    font-family: inherit;
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.lotto-digit:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 25%, transparent);
}

.lotto-digit:disabled {
    opacity: 0.45;
}

.lotto-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border-radius: 10px;
    border: 1px solid var(--color-accent);
    background: var(--color-accent);
    color: var(--color-accent-text);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
}

.lotto-buy:hover:not(:disabled) {
    filter: brightness(1.08);
}

.lotto-buy:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.lotto-buy--sm {
    padding: 0.55rem 1rem;
    font-size: 0.78rem;
}

.lotto-grid__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.lotto-grid__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.lotto-grid__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lotto-grid__count {
    font-size: 0.78rem;
    color: var(--color-muted);
}

.lotto-numbers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.lotto-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.85rem 0.5rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.lotto-number input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.lotto-number__value {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    font-variant-numeric: tabular-nums;
}

.lotto-number:hover:not(.lotto-number--sold) {
    border-color: var(--color-accent);
}

.lotto-number:has(input:checked) {
    background: color-mix(in srgb, var(--color-accent) 18%, transparent);
    border-color: var(--color-accent);
}

.lotto-number:has(input:disabled) {
    cursor: not-allowed;
    opacity: 0.55;
}

.lotto-number--sold {
    background: rgba(229, 57, 70, 0.1);
    border-color: rgba(229, 57, 70, 0.3);
    cursor: not-allowed;
}

.lotto-number--sold .lotto-number__value {
    color: #f87171;
    text-decoration: line-through;
}

.lotto-number__state {
    font-size: 0.6rem;
    font-weight: 700;
    color: #f87171;
}

.lotto-section-title {
    margin: 0 0 0.9rem;
    font-size: 1.05rem;
    font-weight: 800;
}

.lotto-prizes,
.lotto-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-bottom: 1.75rem;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.lotto-prizes th,
.lotto-prizes td,
.lotto-table th,
.lotto-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    text-align: left;
}

.lotto-prizes th,
.lotto-table th {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted);
    background: rgba(255, 255, 255, 0.04);
}

.lotto-prizes__amount {
    text-align: right;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.lotto-prizes__row--jackpot {
    background: linear-gradient(90deg, color-mix(in srgb, var(--color-accent) 16%, transparent), transparent);
}

.lotto-prizes__row--jackpot td {
    font-size: 1rem;
    font-weight: 800;
}

.lotto-prizes__row--jackpot .lotto-prizes__amount {
    color: #4ade80;
}

.lotto-table code {
    font-family: inherit;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.lotto-win {
    color: #4ade80;
    font-weight: 800;
}

.lotto__muted {
    color: var(--color-muted);
}

.lotto__empty {
    padding: 2rem 0;
    text-align: center;
    color: var(--color-muted);
    font-size: 0.85rem;
}

.lotto-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.75rem;
}

.lotto-note {
    padding: 0.9rem 1rem;
    border-radius: 10px;
    background: rgba(56, 128, 255, 0.1);
    border: 1px solid rgba(56, 128, 255, 0.28);
    font-size: 0.78rem;
}

.lotto-note--green {
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.28);
}

.lotto-note p {
    margin: 0.35rem 0 0;
    color: var(--color-muted);
    line-height: 1.6;
}

@media (max-width: 860px) {
    .lotto {
        padding: 0.75rem;
    }

    .lotto__head {
        grid-template-columns: 1fr;
        gap: 0.9rem;
        text-align: center;
    }

    .lotto__brand {
        flex-direction: column;
        text-align: center;
    }

    .lotto__points {
        width: 100%;
    }

    .lotto-digits {
        gap: 0.35rem;
    }

    .lotto-digit {
        width: 2.5rem;
        height: 3.1rem;
        font-size: 1.25rem;
    }

    .lotto-numbers {
        grid-template-columns: repeat(2, 1fr);
    }

    .lotto-grid__head {
        flex-direction: column;
        align-items: stretch;
    }

    .lotto-grid__actions {
        justify-content: space-between;
    }
}

/* ---------- Raffle / tickets ---------- */
.raffle {
    padding: 2rem 1.5rem 3rem;
    max-width: 68rem;
    margin: 0 auto;
}

.raffle-countdown {
    --raffle-accent: var(--color-text);
    text-align: center;
    margin-bottom: 2.5rem;
}

.raffle-countdown__title {
    margin: 0 0 1rem;
    font-size: clamp(1.15rem, 2.4vw, 1.75rem);
    font-weight: 800;
    color: var(--raffle-accent);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
}

.countdown__cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    min-width: 4.5rem;
    padding: 0.7rem 0.6rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.countdown__cell strong {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: var(--raffle-accent);
}

.countdown__cell span {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.raffle-countdown__ended,
.raffle-countdown__meta {
    margin: 0.9rem 0 0;
    font-size: 0.82rem;
    color: var(--color-muted);
}

.raffle-countdown__owned {
    display: inline-block;
    margin-left: 0.6rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--color-text);
}

.raffle__note {
    margin: 0 0 1rem;
    text-align: center;
    font-weight: 700;
}

.raffle__auth {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
}

.raffle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.raffle-panel {
    --raffle-accent: var(--color-accent);
    padding: 1.25rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.raffle-panel__title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--raffle-accent);
}

.raffle-panel__pool {
    margin: 0 0 0.9rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.prize-list {
    list-style: none;
    margin: 0 0 0.9rem;
    padding: 0;
}

.prize-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.82rem;
}

.prize-list__qty {
    color: var(--color-muted);
    white-space: nowrap;
}

.raffle-panel__dates {
    margin: 0;
    font-size: 0.72rem;
    color: var(--color-muted);
}

.raffle-rules {
    margin-bottom: 2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 1.25rem;
}

.raffle-rules__summary {
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.raffle-rules__summary::-webkit-details-marker {
    display: none;
}

.raffle-rules__list {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
    color: var(--color-muted);
    font-size: 0.82rem;
    line-height: 1.75;
}

.raffle-rules__results {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.82rem;
}

.raffle-rules__results p {
    margin: 0.4rem 0;
    color: var(--color-muted);
}

.raffle-rules__results a {
    color: var(--color-accent);
}

.raffle-tabs__head {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.raffle-tab {
    padding: 0.6rem 1.1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.raffle-tab--active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-accent-text);
}

.raffle-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.raffle-table th,
.raffle-table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    text-align: left;
}

.raffle-table th {
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.raffle-table code {
    font-family: inherit;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.raffle__empty {
    margin: 0;
    padding: 1.25rem 0;
    color: var(--color-muted);
    font-size: 0.85rem;
}

@media (max-width: 860px) {
    .raffle {
        padding: 1.25rem 0.75rem 2rem;
    }

    .countdown {
        gap: 0.4rem;
    }

    .countdown__cell {
        min-width: 0;
        flex: 1;
        padding: 0.55rem 0.3rem;
    }

    .countdown__cell strong {
        font-size: 1.25rem;
    }
}

/* ---------- Wheel (Çarkıfelek) ---------- */
.wheel-index,
.wheel-page {
    padding: 2rem 1.5rem 3rem;
    text-align: center;
}

.wheel-index__title,
.wheel-page__title {
    margin: 0 0 1.5rem;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wheel-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 380px));
    justify-content: center;
    gap: 1.5rem;
}

.wheel-card {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.wheel-card:hover {
    border-color: var(--color-accent);
}

.wheel-card__art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 4;
    background: radial-gradient(circle at 50% 40%, #2b3440, #070a0d 70%);
    background-size: cover;
    background-position: center;
}

.wheel-card__art--vip {
    background: radial-gradient(circle at 50% 40%, #4a3a12, #0a0805 70%);
}

/* The card shows the real wheel turning slowly; labels would be too small to
   read at this size, so only the colours and pegs show. */
.wheel-card__wheel {
    width: 76%;
    transition: transform 0.45s ease;
}

.wheel-card:hover .wheel-card__wheel {
    transform: scale(1.05);
}

.wheel-card__wheel .wa__label {
    display: none;
}

.wheel-card__wheel .wa__disc {
    animation: wa-idle 30s linear infinite;
}

@keyframes wa-idle {
    to {
        transform: rotate(360deg);
    }
}

.wheel-card__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem;
}

.wheel-card__name {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wheel-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wheel-page__note {
    margin: 0 auto 2rem;
    max-width: 40rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-muted);
}

/* ---- The wheel itself (Views/Cark/_WheelArt) ----
   Rim, disc and gloss are stacked layers of one square; only the disc turns,
   driven frame by frame from site.js. */
.wheel {
    position: relative;
    width: min(32rem, 92vw);
    margin: 0 auto;
}

/* Warm halo behind the wheel, brighter while it turns and when it pays. */
.wheel::before {
    content: "";
    position: absolute;
    inset: -12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 196, 64, 0.22), rgba(165, 29, 52, 0.14) 45%, transparent 68%);
    opacity: 0.7;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.wheel.is-spinning::before,
.wheel.is-won::before {
    opacity: 1;
}

.wa {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
}

/* The drop shadow is a still layer of its own: a filter on the wheel would be
   redrawn on every frame of the spin. */
.wa::before {
    content: "";
    position: absolute;
    inset: 1%;
    border-radius: 50%;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(0, 0, 0, 0.6);
}

/* The site-wide svg rule sizes and strokes icons; the wheel's drawings set
   their own sizes and outlines. */
.wa svg {
    stroke: none;
}

.wa__rim,
.wa__top {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.wa__top {
    pointer-events: none;
}

.wa__disc {
    position: absolute;
    inset: 6%;
    border-radius: 50%;
    will-change: transform;
}

.wa__disc svg {
    display: block;
    width: 100%;
    height: 100%;
}

.wa__label {
    font-weight: 800;
    letter-spacing: 0.02em;
    fill: #fff4dc;
    stroke: rgba(0, 0, 0, 0.55);
    stroke-width: 3px;
    stroke-linejoin: round;
    paint-order: stroke;
}

.wa__label--b {
    fill: #f3d27a;
}

.wa__label--n {
    fill: #cfd5db;
}

.wa__label--j,
.wa--vip .wa__label--a {
    fill: #2a1704;
    stroke: rgba(255, 240, 190, 0.6);
}

.wa--vip .wa__label--j {
    fill: #fff4dc;
    stroke: rgba(0, 0, 0, 0.55);
}

/* The winning slice pulses once the wheel has stopped. */
.wa__flash {
    fill: #fff;
    opacity: 0;
    pointer-events: none;
}

.wa__flash.is-on {
    animation: wa-flash 0.7s ease-in-out 4;
}

@keyframes wa-flash {
    50% {
        opacity: 0.34;
    }
}

/* Marquee lamps: two sets blinking in turn, racing while the wheel spins and
   all flashing together on a win. */
.wa__bulb-lamp {
    fill: #7d5c1c;
    animation: wa-lamp 1.6s steps(1, end) infinite;
}

.wa__bulb-glow {
    opacity: 0;
    animation: wa-glow 1.6s steps(1, end) infinite;
}

.wa__bulb--b .wa__bulb-lamp,
.wa__bulb--b .wa__bulb-glow {
    animation-delay: -0.8s;
}

.wheel.is-spinning .wa__bulb-lamp,
.wheel.is-spinning .wa__bulb-glow {
    animation-duration: 0.36s;
}

.wheel.is-spinning .wa__bulb--b .wa__bulb-lamp,
.wheel.is-spinning .wa__bulb--b .wa__bulb-glow {
    animation-delay: -0.18s;
}

.wheel.is-won .wa__bulb-lamp,
.wheel.is-won .wa__bulb-glow {
    animation-duration: 0.3s;
    animation-delay: 0s;
}

@keyframes wa-lamp {
    0% {
        fill: #fff7d1;
    }
    50% {
        fill: #7d5c1c;
    }
}

@keyframes wa-glow {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/* The pointer swings on its head; a passing peg knocks the tip aside. */
.wa__pointer {
    position: absolute;
    top: -4.5%;
    left: 44.5%;
    z-index: 2;
    width: 11%;
    height: auto;
    aspect-ratio: 100 / 130;
    transform-origin: 50% 26%;
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.6));
}

.wa__pointer.is-tick {
    animation: wa-tick 0.16s ease-out;
}

@keyframes wa-tick {
    35% {
        transform: rotate(-20deg);
    }
}

/* With spins to use, the hub is a second spin button. */
.wheel--ready .wa__hub {
    cursor: pointer;
    pointer-events: auto;
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 0.2s ease;
}

.wheel--ready .wa__hub:hover {
    transform: scale(1.05);
}

.wheel-confetti {
    position: fixed;
    inset: 0;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
}

.wheel-page .wheel-spin-btn {
    position: relative;
    overflow: hidden;
    min-width: 15rem;
    padding: 1rem 2.2rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffe9a6, #dca63e 55%, #a5721b);
    color: #2a1704;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow:
        0 0 0 3px rgba(0, 0, 0, 0.55),
        0 12px 28px rgba(220, 166, 62, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
    transition: transform 0.15s ease, filter 0.15s ease;
}

/* A glint runs across the button while there is a spin to take. */
.wheel-page .wheel-spin-btn::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -40%;
    width: 30%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.65), transparent);
    transform: skewX(-20deg);
    animation: wa-glint 2.8s ease-in-out infinite;
}

.wheel-page .wheel-spin-btn:disabled::after {
    animation: none;
}

.wheel-page .wheel-spin-btn:not(:disabled):hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

@keyframes wa-glint {
    0%, 55% {
        left: -40%;
    }
    100% {
        left: 120%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wa__bulb-lamp,
    .wa__bulb-glow,
    .wheel-card__wheel .wa__disc,
    .wheel-page .wheel-spin-btn::after {
        animation: none;
    }
}

.wheel-page__actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
}

.wheel-page__actions .btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.wheel-page__result {
    margin: 1.25rem auto 0;
    max-width: 32rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.35);
    color: #4ade80;
    font-weight: 700;
}

.wheel-page__result--error {
    background: rgba(229, 57, 70, 0.12);
    border-color: rgba(229, 57, 70, 0.4);
    color: #f87171;
}

.wheel-page__result--prize {
    padding: 1.1rem 1.4rem;
    background: radial-gradient(circle at 50% 0%, rgba(255, 222, 128, 0.28), rgba(165, 29, 52, 0.22) 70%);
    border: 1px solid rgba(247, 217, 124, 0.7);
    color: #ffe9a6;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    box-shadow: 0 0 34px rgba(247, 217, 124, 0.28);
    animation: wa-pop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1);
}

.wheel-page__result--miss {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--color-muted);
    animation: wa-pop 0.4s ease-out;
}

@keyframes wa-pop {
    from {
        opacity: 0;
        transform: scale(0.6);
    }
}

.wheel-history {
    max-width: 44rem;
    margin: 3rem auto 0;
    text-align: left;
}

.wheel-history__title {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wheel-history__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.wheel-history__table th,
.wheel-history__table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    text-align: left;
}

.wheel-history__table th {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
}

@media (max-width: 860px) {
    .wheel-index,
    .wheel-page {
        padding: 1.25rem 0.75rem 2rem;
    }

    .wheel-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .wheel-card__name {
        font-size: 0.85rem;
    }

    .wheel {
        width: min(32rem, 94vw);
    }
}

/* ---------- Auth pages (login / register) ---------- */
.auth {
    display: flex;
    justify-content: center;
    padding: 2rem 1.5rem 3rem;
}

.auth__card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    width: 100%;
    max-width: 68rem;
    padding: 2rem;
    border-radius: 14px;
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.auth__card--wide {
    max-width: 78rem;
}

.auth__card--single {
    grid-template-columns: 1fr;
    max-width: 30rem;
}

.field__input--code {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5em;
    text-indent: 0.5em;
    font-variant-numeric: tabular-nums;
}

.auth__status {
    margin: 0;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.35);
    color: #4ade80;
    font-size: 0.78rem;
}

.auth__resend {
    padding: 0.6rem;
    border: none;
    background: none;
    color: var(--color-muted);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
}

.auth__resend:hover {
    color: var(--color-accent);
}

.auth__promo {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 12px;
    background: linear-gradient(160deg, #1d1d1d, #080808 70%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    overflow: hidden;
    text-align: center;
}

.auth__promo-art {
    width: min(18rem, 70%);
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 32%, #f2f4f6, #9aa0a6 45%, #2b2b2b 75%);
    box-shadow: 0 0 70px rgba(255, 255, 255, 0.12);
}

.auth__promo-copy {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-transform: uppercase;
}

.auth__promo-copy span {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-muted);
}

.auth__promo-copy strong {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    background: linear-gradient(180deg, #ffffff, #d6d9dd 45%, #8b9096 75%, #f2f4f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.auth__promo-copy em {
    font-style: normal;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    color: var(--color-muted);
}

.auth__promo-offers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.offer {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1rem 0.75rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.offer b {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-accent);
}

.offer span {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.auth__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth__head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.auth__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 50%;
    background: #111;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.auth__badge svg {
    width: 1.7rem;
    height: 1.7rem;
}

.auth__title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
}

.auth__subtitle {
    font-size: 0.8rem;
    color: var(--color-accent);
}

.auth__form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.field__label {
    font-size: 0.8rem;
    font-weight: 700;
}

.field__wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.field__input {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--color-text);
    font-family: inherit;
    font-size: 0.85rem;
}

.field__input::placeholder {
    color: var(--color-muted);
}

.field__input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.field__reveal {
    position: absolute;
    right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 6px;
    border: none;
    background: rgba(255, 255, 255, 0.07);
    color: var(--color-text);
    cursor: pointer;
}

.field__reveal:hover {
    background: rgba(255, 255, 255, 0.14);
}

.field__prefix {
    position: absolute;
    left: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding-right: 0.65rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.82rem;
    color: var(--color-muted);
    pointer-events: none;
}

/* A real flag, not an icon: the global svg rule's stroke is taken off. */
.field__flag {
    width: 1.5rem;
    height: 1rem;
    flex: none;
    stroke: none;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.field__dial {
    font-weight: 700;
    color: var(--color-text);
    font-variant-numeric: tabular-nums;
}

.field__input--prefixed {
    padding-left: 5.6rem;
}

.field__error {
    font-size: 0.72rem;
    color: #f87171;
}

.auth__errors {
    color: #f87171;
    font-size: 0.78rem;
}

.auth__errors ul {
    margin: 0;
    padding-left: 1.1rem;
}

.auth__link {
    font-size: 0.78rem;
    color: var(--color-muted);
}

.auth__link:hover {
    color: var(--color-accent);
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.checkbox__box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 auto;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
}

/* Keyed off the sibling input alone so every hidden checkbox paired with a
   .checkbox__box shows its state, not just those inside a .checkbox label. */
input:checked + .checkbox__box {
    background: #fff;
    border-color: #fff;
}

input:checked + .checkbox__box::after {
    content: "";
    width: 0.32rem;
    height: 0.62rem;
    border: solid #111;
    border-width: 0 2px 2px 0;
    transform: translateY(-1px) rotate(45deg);
}

input:focus-visible + .checkbox__box {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.auth__submit {
    padding: 0.9rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.09);
    color: var(--color-text);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.auth__submit:hover {
    background: var(--color-accent);
    color: var(--color-accent-text);
    border-color: var(--color-accent);
}

/* The same button as a link, on pages whose only action is to go somewhere. */
a.auth__submit {
    display: block;
    text-align: center;
}

/* A short explanation above a form, e.g. "check your mail". */
.auth__lead {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.86rem;
    line-height: 1.65;
}

.auth__lead strong {
    color: var(--color-text);
}

.notice {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.8rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.notice svg {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.1rem;
    color: var(--color-accent);
}

.notice p {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.6;
    color: var(--color-muted);
}

.auth__switch {
    margin: 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-muted);
}

.auth__switch a {
    font-weight: 700;
    color: var(--color-text);
}

.auth__switch a:hover {
    color: var(--color-accent);
}

/* Floating live-support badge */
.live-support {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 45;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.9rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #1c1c1c, #0a0a0a);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.15;
    text-transform: uppercase;
}

.live-support svg {
    width: 1.6rem;
    height: 1.6rem;
}

.live-support:hover {
    border-color: var(--color-accent);
}

@media (max-width: 860px) {
    .auth {
        padding: 1rem 0.75rem 2rem;
    }

    .auth__card,
    .auth__card--wide {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1rem;
        border: none;
        background: transparent;
    }

    .auth__promo {
        display: none;
    }

    .field-row {
        grid-template-columns: 1fr;
    }

    .live-support {
        display: none;
    }
}

/* ---------- Desktop tuning for the shared sections ---------- */
@media (min-width: 861px) {
    .panel {
        padding: 1.5rem;
    }

    .jackpot__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .jackpot-tier {
        padding: 0.7rem 1rem;
    }

    .jackpot-tier__amount {
        font-size: 1rem;
    }

    .match-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .sport-tiles {
        grid-template-columns: repeat(6, 1fr);
    }

    /* Sportsbook row: teams on the left, odds inline on the right */
    .event {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "league league"
            "body odds";
        align-items: center;
    }

    .event__league {
        grid-area: league;
    }

    .event__body {
        grid-area: body;
    }

    .event__odds {
        grid-area: odds;
        width: 26rem;
        padding: 0.8rem;
    }

    .jackpot-cards__list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
}

/* ---------------------------------------------------------------
   Pages added when the hard-coded menu and home page were replaced
   with real data: prose pages, promotions, and the rails that took
   the place of the invented jackpot and fixture panels.
   --------------------------------------------------------------- */

.btn--primary {
    background: var(--color-accent);
    color: var(--color-accent-text);
    border-color: transparent;
    font-weight: 700;
}

/* A badge beside a menu entry, e.g. YENİ on a new product. */
.category-nav__badge {
    margin-left: 0.3rem;
    padding: 0.08rem 0.32rem;
    border-radius: 5px;
    background: var(--color-accent);
    color: var(--color-accent-text);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    vertical-align: text-top;
}

.page-head {
    margin: 1.5rem 1.5rem 1rem;
}

.page-head__title {
    margin: 0 0 0.4rem;
    font-size: 1.6rem;
    font-weight: 800;
}

.page-head__text {
    margin: 0;
    max-width: 60ch;
    color: var(--color-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.empty-state {
    margin: 2rem 1.5rem;
    padding: 1.4rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--color-muted);
    text-align: center;
    font-size: 0.85rem;
}

.back-link {
    display: inline-block;
    margin: 1.2rem 1.5rem 0;
    color: var(--color-muted);
    text-decoration: none;
    font-size: 0.82rem;
}

.back-link:hover {
    color: var(--color-text);
}

/* ---- Prose pages (legal text, promotion detail) ---- */

.prose-page {
    max-width: 78ch;
    margin: 1.5rem auto 3rem;
    padding: 0 1.5rem;
}

/* Promotion artwork is made at the slider's proportions (1473 × 490), so its
   frames keep them and the whole picture shows, never cropped. */
.promo-detail__art {
    aspect-ratio: 1473 / 490;
    margin-bottom: 1.4rem;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
}

.promo-detail__art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Artwork of other proportions sits on a blurred copy of itself, as the game
   cards do, rather than between empty bars. */
.promo-detail__art,
.promo-card__art,
.home-promo__art[style] {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.promo-detail__art[style]::before,
.promo-card__art[style]::before,
.home-promo__art[style]::before {
    content: "";
    position: absolute;
    inset: -12%;
    z-index: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(16px) saturate(1.2) brightness(0.65);
}

.promo-detail__art img,
.promo-card__art img,
.home-promo__art img {
    position: relative;
    z-index: 1;
}

.prose-page__head {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.4rem;
}

.prose-page__title {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
}

.prose-page__summary {
    margin: 0 0 0.5rem;
    color: var(--color-text);
    font-size: 0.95rem;
}

.prose-page__notice {
    margin: 0.8rem 0 0;
    padding: 0.7rem 0.9rem;
    border-radius: 9px;
    background: rgba(229, 57, 70, 0.12);
    border: 1px solid rgba(229, 57, 70, 0.35);
    font-size: 0.82rem;
}

.prose-page__cta {
    margin-top: 1.8rem;
}

.prose {
    color: var(--color-text);
    font-size: 0.92rem;
    line-height: 1.75;
}

.prose h2 {
    margin: 1.8rem 0 0.6rem;
    font-size: 1.05rem;
    font-weight: 800;
}

.prose p {
    margin: 0 0 0.9rem;
}

.prose ul {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
}

.prose li {
    margin-bottom: 0.4rem;
}

.prose--small {
    font-size: 0.82rem;
    color: var(--color-muted);
}

/* People on a content page ("[temsilci]" lines): photo cards in a grid. */
.prose-team {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr));
    gap: 1rem;
    margin: 1.2rem 0 1.8rem;
}

.team-card {
    display: flex;
    flex-direction: column;
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    background: color-mix(in srgb, var(--color-surface) 75%, var(--color-bg));
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.team-card:hover {
    border-color: color-mix(in srgb, var(--color-accent) 55%, transparent);
    transform: translateY(-2px);
}

.team-card__photo {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.04);
}

.team-card__photo--empty {
    display: grid;
    place-items: center;
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--color-accent);
    background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--color-accent) 18%, transparent), transparent 70%);
}

.team-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.9rem 1rem 1.05rem;
    line-height: 1.35;
}

.team-card__name {
    font-size: 1.02rem;
    font-weight: 800;
}

.team-card__role {
    color: var(--color-accent);
    font-size: 0.78rem;
    font-weight: 700;
}

.team-card__mail {
    margin-top: 0.4rem;
    color: var(--color-muted);
    font-size: 0.78rem;
    overflow-wrap: anywhere;
}

a.team-card__mail:hover {
    color: var(--color-text);
}

@media (prefers-reduced-motion: reduce) {
    .team-card { transition: none; }
    .team-card:hover { transform: none; }
}

.prose-terms {
    margin-top: 2rem;
    padding: 1.1rem 1.3rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.prose-terms__title {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    font-weight: 800;
}

/* ---- Promotions ---- */

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
    gap: 1.1rem;
    padding: 0 1.5rem 3rem;
}

.promo-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.promo-card:hover {
    border-color: color-mix(in srgb, var(--color-accent) 50%, transparent);
    transform: translateY(-2px);
}

.promo-card__art {
    position: relative;
    display: block;
    aspect-ratio: 1473 / 490;
    background: rgba(0, 0, 0, 0.35);
}

.promo-card__art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.promo-card__badge {
    position: absolute;
    z-index: 2;
    top: 0.6rem;
    left: 0.6rem;
    padding: 0.18rem 0.45rem;
    border-radius: 6px;
    background: var(--color-accent);
    color: var(--color-accent-text);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.promo-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.9rem 1rem 1rem;
    flex: 1;
}

.promo-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}

.promo-card__summary {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.8rem;
    line-height: 1.55;
    flex: 1;
}

.promo-card__ends {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.72rem;
}

.promo-card__actions {
    display: flex;
    gap: 0.45rem;
    margin-top: 0.3rem;
}

@media (max-width: 720px) {
    .prose-page,
    .promo-grid,
    .page-head {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .page-head,
    .back-link {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .sport-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}
.showcase-empty {
    margin: 1.5rem auto;
    max-width: 48ch;
    padding: 1.4rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-muted);
    text-align: center;
    font-size: 0.86rem;
    line-height: 1.6;
}
/* ---------------------------------------------------------------
   Full-bleed pages: the sportsbook.

   The book came wrapped in a bordered, rounded, inset box with a
   fixed height, above a chrome bar carrying the provider's name.
   Two consequences: it read as a third party's page dropped into
   ours, and because the box was shorter than its content the
   visitor got the book's scrollbar AND the page's. The second
   scrollbar is the single biggest tell that something is an iframe.

   So the page gives the whole window to the book: no border, no
   inset, no footer underneath, and the only scroll context is the
   one inside the book.
   --------------------------------------------------------------- */

body.is-fullbleed {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;       /* mobile browsers: excludes the URL bar */
    overflow: hidden;      /* the page never scrolls; the book does */
}

body.is-fullbleed .site-main {
    flex: 1 1 auto;
    min-height: 0;         /* lets the flex child actually shrink */
    display: flex;
    flex-direction: column;
}

/* The mobile tab bar is fixed over the content, so the book needs
   to stop above it rather than running underneath. */
body.is-fullbleed .tabbar {
    flex: 0 0 auto;
}

.sportsbook--live {
    /* Edge to edge: no max-width, no padding, no gap. */
    max-width: none;
    margin: 0;
    padding: 0;
    gap: 0;
    flex: 1 1 auto;
    min-height: 0;
}

.sportsbook--live .sportsbook__switch {
    padding: 0.5rem 0.75rem 0;
    flex: 0 0 auto;
}

.sportsbook--live .sportsbook__stage {
    /* Nothing that draws a box: the book supplies its own surface. */
    border: 0;
    border-radius: 0;
    background: transparent;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
}

.sportsbook--live .sportsbook__frame {
    /* Fills the stage rather than a fixed height, so the book's own
       layout decides what scrolls. */
    height: 100%;
    width: 100%;
    flex: 1 1 auto;
    border: 0;
    display: block;
}

/* Above the book for a visitor without an account: it is a demo, and a bet
   needs an account. One slim line, so the book keeps the window. */
.sportsbook__demo {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding: 0.5rem 0.9rem;
    background: color-mix(in srgb, var(--color-brand) 35%, var(--color-bg));
    border-bottom: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

.sportsbook__demo-actions {
    display: inline-flex;
    gap: 0.5rem;
}

@media (max-width: 720px) {
    .sportsbook--live .sportsbook__switch {
        padding: 0.4rem 0.6rem 0;
    }

    .sportsbook__demo {
        font-size: 0.76rem;
        padding: 0.45rem 0.6rem;
    }
}

/* =================================================================
   Site chrome and home page.

   The layout follows the reference the operator picked: a header with
   a menu button and a two-tone wordmark, an icon menu bar, category
   cards, game grids, promotion cards and a slogan line above the
   footer. Colours stay on the site's own tokens, so the operator's
   palette from the admin panel still decides how it looks.
   ================================================================= */

/* ---- Announcement band: a thin full-width strip above the header ---- */

.announce {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 2rem;
    padding: 0.35rem 2.75rem;
    background: linear-gradient(90deg,
        color-mix(in srgb, var(--color-brand) 55%, #000),
        var(--color-brand) 50%,
        color-mix(in srgb, var(--color-brand) 55%, #000));
    border-bottom: 1px solid color-mix(in srgb, var(--color-accent) 35%, transparent);
    font-size: 0.74rem;
    font-weight: 600;
}

.announce.is-hidden {
    display: none;
}

/* Several announcements are rendered at once and one is shown; the arrows move
   is-current between them. */
.announce__text {
    display: none;
    text-align: center;
    color: var(--color-text);
}

.announce__text.is-current {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.announce__icon {
    width: 1rem;
    height: 1rem;
    color: var(--color-accent);
}

.announce__text a {
    color: inherit;
    font-weight: 800;
    text-decoration: underline dashed;
    text-underline-offset: 0.22em;
}

.announce__nav,
.announce__close {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem;
    border: none;
    border-radius: 6px;
    background: none;
    color: var(--color-muted);
    cursor: pointer;
}

.announce__nav svg,
.announce__close svg {
    width: 1rem;
    height: 1rem;
}

.announce__close {
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
}

.announce__nav:hover,
.announce__close:hover {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.08);
}

/* ---- Header ---- */

/* A dark header with a bordo cast: the brand colour without a bright band
   competing with the gold buttons in it. */
.site-header {
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--color-brand) 24%, var(--color-bg)),
        color-mix(in srgb, var(--color-brand) 12%, var(--color-bg)));
    border-bottom: 1px solid color-mix(in srgb, var(--color-brand) 45%, transparent);
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.4rem;
    padding: 0.75rem 1.4rem;
}

.site-header__brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.site-header__menu,
.drawer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    cursor: pointer;
}

.site-header__menu svg,
.drawer__close svg {
    width: 1.3rem;
    height: 1.3rem;
}

.site-header__menu:hover,
.drawer__close:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* The wordmark: the operator's site name, its last part in the accent. */
.site-logo {
    font-size: 1.95rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    white-space: nowrap;
    color: var(--color-text);
}

.site-logo__accent {
    color: var(--color-accent);
}

/* An uploaded logo: sized by height so any proportion fits the header. */
.site-logo__img {
    display: block;
    height: 2.6rem;
    width: auto;
    max-width: 15rem;
    object-fit: contain;
}

.drawer__head .site-logo__img {
    height: 2.1rem;
}

.footer-col .site-logo--footer .site-logo__img {
    height: 3.4rem;
    max-width: 18rem;
}

/* The showcase page's own header and footer wordmarks. */
.site-logo.showcase-header__logo {
    font-size: clamp(1.4rem, 2.6vw, 1.95rem);
}

.site-logo.showcase-footer__logo {
    font-size: 1.3rem;
}

.showcase-footer__logo .site-logo__img {
    height: 2rem;
}

.site-header__right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.site-header__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 2.4rem;
    height: 2.4rem;
    padding: 0 0.6rem;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.site-header__social svg {
    width: 1.3rem;
    height: 1.3rem;
}

/* The name only where the header has room for it. */
.site-header__social-label {
    display: none;
    color: var(--color-text);
}

@media (min-width: 1280px) {
    .site-header__social-label {
        display: inline;
    }

    .site-header__social {
        padding: 0 0.85rem 0 0.6rem;
    }
}

.site-header__social:hover {
    border-color: var(--color-accent);
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.auth-buttons form {
    margin: 0;
}

.auth-buttons__name {
    max-width: 9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: none;
    letter-spacing: 0;
}

.hdr-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    height: 2.4rem;
    padding: 0 1rem;
    border-radius: 9px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
}

.hdr-btn svg {
    width: 1.05rem;
    height: 1.05rem;
}

.hdr-btn--outline,
.hdr-btn--icon {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.16);
    color: var(--color-text);
}

.hdr-btn--outline:hover,
.hdr-btn--icon:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.hdr-btn--icon {
    width: 2.4rem;
    padding: 0;
    justify-content: center;
    color: var(--color-muted);
}

.hdr-btn--primary {
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-accent) 82%, #fff), var(--color-accent));
    color: var(--color-accent-text);
    box-shadow: 0 0 18px color-mix(in srgb, var(--color-accent) 40%, transparent);
}

.hdr-btn--primary:hover {
    filter: brightness(1.08);
}

/* The balance, with a small gold "+" that says the chip opens the cashier. */
.hdr-wallet {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    height: 2.4rem;
    padding: 0 0.3rem 0 0.8rem;
    border-radius: 9px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid color-mix(in srgb, var(--color-accent) 35%, transparent);
    color: var(--color-text);
    white-space: nowrap;
}

.hdr-wallet:hover {
    border-color: var(--color-accent);
}

.hdr-wallet__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.hdr-wallet__text small {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.hdr-wallet__text strong {
    font-size: 0.86rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--color-accent);
}

/* The bonus balance beside the player's own while a bonus is open. */
.hdr-wallet__text--bonus {
    padding-left: 0.55rem;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hdr-wallet__text--bonus strong {
    color: #4ade80;
}

.hdr-wallet__plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 7px;
    background: var(--color-accent);
    color: var(--color-accent-text);
}

.hdr-wallet__plus svg {
    width: 1rem;
    height: 1rem;
    stroke-width: 2.6;
}

/* A form button that looks like the menu links around it. */
.drawer__link--button {
    width: 100%;
    background: none;
    border: none;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}

/* ---- Menu bar: icon and label side by side, the current section lit ---- */

.category-nav {
    background: color-mix(in srgb, var(--color-brand) 7%, var(--color-bg));
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow-x: auto;
    scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
    margin: 0;
    padding: 0.5rem 0.75rem;
    min-width: max-content;
}

.category-nav li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 2.3rem;
    padding: 0 1rem;
    border-radius: 8px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text);
    white-space: nowrap;
}

.category-nav li a svg {
    width: 1.15rem;
    height: 1.15rem;
}

.category-nav li a:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-accent);
}

.category-nav li a.is-active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-accent);
    box-shadow: inset 0 -2px 0 var(--color-accent);
}

/* ---- Side menu, opened by the header's menu button ---- */

.drawer {
    position: fixed;
    inset: 0;
    z-index: 80;
    visibility: hidden;
    pointer-events: none;
    /* Stays visible until the panel has slid out. */
    transition: visibility 0s linear 0.22s;
}

.drawer.is-open {
    visibility: visible;
    pointer-events: auto;
    transition: none;
}

.drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.drawer.is-open .drawer__backdrop {
    opacity: 1;
}

.drawer__panel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(20rem, 86vw);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    overflow-y: auto;
    background: color-mix(in srgb, var(--color-surface) 60%, var(--color-bg));
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateX(-100%);
    transition: transform 0.22s ease;
}

.drawer.is-open .drawer__panel {
    transform: none;
}

.drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.drawer__head .site-logo {
    font-size: 1.5rem;
}

.drawer__nav,
.drawer__group {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.drawer__title {
    padding: 0.25rem 0.75rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.drawer__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.75rem;
    border-radius: 9px;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--color-text);
}

.drawer__link svg {
    width: 1.2rem;
    height: 1.2rem;
    color: var(--color-accent);
}

.drawer__link:hover,
.drawer__link.is-active {
    background: rgba(255, 255, 255, 0.06);
}

.drawer__link.is-active {
    color: var(--color-accent);
}

.drawer__link--live svg {
    color: #e53946;
}

.drawer__social {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

body.has-drawer {
    overflow: hidden;
}

/* ---- Hero carousel (home, VIP and the catalogue pages) ----

   A slider is the operator's picture and nothing else: no text, button,
   arrow or glow is drawn over it. The dots that pick a slide sit under it. */

.hero-carousel {
    position: relative;
    margin: 1.25rem 1.5rem;
    overflow: hidden;
}

.hero-carousel__track {
    display: flex;
    align-items: flex-start;
    transition: transform 0.45s ease;
}

/* Every slide has the slider size agreed with the operator, 2946 × 980, so
   all of them stand the same height and the page does not jump as they
   change. Artwork made at that size fills the frame exactly. Any other shape
   is shown whole over a blurred copy of itself (site.js adds --fit once the
   picture has loaded) rather than cropped: the old 7:3 box cut a fifth off
   each side of 3:1 banners, logo and button included. */
.hero-slide {
    position: relative;
    flex: 0 0 100%;
    aspect-ratio: 2946 / 980;
    border-radius: 22px;
    overflow: hidden;
    isolation: isolate;
    background-color: rgba(0, 0, 0, 0.35);
    background-size: cover;
    background-position: center;
}

.hero-slide--fit::before {
    content: "";
    position: absolute;
    inset: -12%;
    z-index: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(18px) saturate(1.2) brightness(0.6);
}

.hero-carousel--home {
    margin: 1.25rem;
}

.hero-slide__link {
    position: relative;
    z-index: 1;
    display: block;
    height: 100%;
}

.hero-slide__img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide--fit .hero-slide__img {
    object-fit: contain;
}

.hero-carousel__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.hero-carousel__dot {
    width: 0.45rem;
    height: 0.45rem;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-carousel__dot--active {
    width: 1.5rem;
    background: var(--color-accent);
}

.hero-carousel__dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* ---- Home: the four category cards ---- */

.home-cats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    padding: 0 1.25rem;
}

.home-cat {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 10.75rem;
    padding: 1rem 1.1rem 1.1rem;
    border-radius: 17px;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 45%, color-mix(in srgb, var(--color-brand) 60%, transparent), transparent 62%),
        linear-gradient(135deg, color-mix(in srgb, var(--color-surface) 90%, #fff 4%), var(--color-bg));
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.home-cat:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--color-accent) 55%, transparent);
}

.home-cat__badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid color-mix(in srgb, var(--color-accent) 40%, transparent);
    color: var(--color-accent);
}

.home-cat__badge svg {
    width: 1rem;
    height: 1rem;
}

/* The operator's artwork, sitting to the right behind the title. */
.home-cat__art {
    position: absolute;
    z-index: -1;
    top: 50%;
    right: -0.4rem;
    width: 9.5rem;
    height: 9.5rem;
    object-fit: contain;
    transform: translateY(-50%);
    filter: drop-shadow(0 0 14px color-mix(in srgb, var(--color-accent) 35%, transparent));
    transition: transform 0.3s ease;
}

.home-cat:hover .home-cat__art {
    transform: translateY(-50%) scale(1.06) rotate(-4deg);
}

.home-cat__title {
    position: relative;
    font-size: clamp(1rem, 1.6vw, 1.35rem);
    font-weight: 900;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.home-cat__title::after {
    content: "";
    display: block;
    width: 2.6rem;
    height: 3px;
    margin-top: 0.55rem;
    border-radius: 2px;
    background: var(--color-accent);
}

/* ---- Home: section heading ---- */

.home-section {
    padding: 2.25rem 1.25rem 0;
}

.home-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.home-head__text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.home-head__eyebrow {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.home-head__title {
    margin: 0;
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.home-head__tools {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.home-head__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--color-text);
    cursor: pointer;
}

.home-head__arrow svg {
    width: 1rem;
    height: 1rem;
}

.home-head__arrow:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.home-head__all {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 0.5rem;
    color: var(--color-accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.home-head__all svg {
    width: 1rem;
    height: 1rem;
}

.home-head__all:hover {
    filter: brightness(1.15);
}

/* ---- Home: game grids ---- */

.home-games {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.65rem;
}

.home-game {
    display: flex;
    flex-direction: column;
    border-radius: 13px;
    overflow: hidden;
    background: color-mix(in srgb, var(--color-surface) 70%, var(--color-bg));
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.home-game:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--color-accent) 55%, transparent);
}

/* Game artwork is mostly landscape, so the rows use 4:3 boxes (a portrait
   row is still available). The picture is shown whole; the box's background,
   the same picture blurred, fills whatever margin is left. */
.home-game__art {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    isolation: isolate;
    background-color: rgba(0, 0, 0, 0.35);
    background-size: cover;
    background-position: center;
}

.home-games--landscape .home-game__art {
    aspect-ratio: 4 / 3;
}

.home-game__art::before,
.game__art::before,
.win__art::before {
    content: "";
    position: absolute;
    inset: -12%;
    z-index: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(14px) saturate(1.2) brightness(0.55);
}

.home-game__art img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* No picture, or one that failed to load: the game's name stands in. */
.home-game__art-name,
.game__art-name {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--color-text);
    background:
        radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--color-accent) 22%, transparent), transparent 70%),
        linear-gradient(160deg, color-mix(in srgb, var(--color-brand) 55%, #000), #0b0908);
    overflow-wrap: anywhere;
}

.home-game__art--empty .home-game__art-name,
.game__art--empty .game__art-name {
    display: flex;
}

.home-game__art--empty img,
.game__art--empty .game__img {
    display: none;
}

.home-game:hover .home-game__art img {
    transform: scale(1.05);
}

.home-game__caption {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    padding: 0.55rem 0.65rem 0.65rem;
}

.home-game__caption strong,
.home-game__caption small {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-game__caption strong {
    font-size: 0.8rem;
    font-weight: 700;
}

.home-game__caption small {
    color: var(--color-accent);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ---- Home: the way in to the sportsbook ---- */

.home-sport {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 12rem;
    padding: 2rem 2.5rem;
    border-radius: 18px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--color-brand) 50%, transparent), transparent 65%),
        linear-gradient(180deg, color-mix(in srgb, var(--color-surface) 80%, var(--color-bg)), var(--color-bg));
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.home-sport:hover {
    border-color: color-mix(in srgb, var(--color-accent) 55%, transparent);
}

.home-sport__pitch {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--color-accent);
    opacity: 0.14;
    stroke-width: 1.2;
}

.home-sport__body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.home-sport__eyebrow {
    color: var(--color-accent);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-sport__title {
    font-size: clamp(1.3rem, 2.4vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.home-sport__text {
    color: var(--color-muted);
    font-size: 0.9rem;
}

.home-sport__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 999px;
    background: var(--color-accent);
    color: var(--color-accent-text);
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 0 22px color-mix(in srgb, var(--color-accent) 40%, transparent);
}

/* ---- Home: promotion cards, scrolled sideways ---- */

.home-promos {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 1.5rem) / 3);
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.home-promos::-webkit-scrollbar {
    display: none;
}

.home-promo {
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    border-radius: 16px;
    overflow: hidden;
    background: color-mix(in srgb, var(--color-surface) 70%, var(--color-bg));
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: border-color 0.2s ease;
}

.home-promo:hover {
    border-color: color-mix(in srgb, var(--color-accent) 55%, transparent);
}

/* The slider's proportions, as on the promotions page: the whole picture. */
.home-promo__art {
    display: block;
    aspect-ratio: 1473 / 490;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
}

.home-promo__art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-promo__art--text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.8rem 1.2rem;
    background:
        radial-gradient(circle at 85% 30%, color-mix(in srgb, var(--color-brand) 60%, transparent), transparent 60%),
        linear-gradient(135deg, var(--color-surface), var(--color-bg));
}

.home-promo__badge {
    align-self: flex-start;
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--color-accent);
    border-radius: 999px;
    color: var(--color-accent);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-promo__headline {
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

.home-promo__summary {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--color-muted);
    font-size: 0.8rem;
}

.home-promo__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
}

.home-promo__bar strong {
    font-size: 0.92rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-promo__go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--color-accent) 60%, transparent);
    color: var(--color-accent);
}

.home-promo__go svg {
    width: 1rem;
    height: 1rem;
}

/* ---- Footer ----

   Brand, three link columns and the contact buttons on one row; under them,
   centred, the licence warning, the app buttons, the partner logos and the
   site's own description. */

.site-footer {
    margin-top: 3rem;
    padding: 0 1.25rem 1.75rem;
    background: color-mix(in srgb, var(--color-bg) 55%, #000);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer__top,
.site-footer__licence,
.site-footer__apps,
.site-footer__partners,
.site-footer__about {
    max-width: 87.5rem;
    margin-left: auto;
    margin-right: auto;
}

.site-footer__top {
    display: grid;
    grid-template-columns: minmax(15rem, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(17rem, 1.5fr);
    gap: 2rem;
    padding: 2.5rem 0 2.25rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    min-width: 0;
}

.footer-col a {
    color: color-mix(in srgb, var(--color-text) 85%, var(--color-muted));
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--color-accent);
}

.footer-col__title {
    margin-bottom: 0.35rem;
    color: var(--color-text);
    font-size: 1.15rem;
    font-weight: 800;
}

.footer-col--brand {
    gap: 1.1rem;
}

/* Qualified by the column so it outranks ".footer-col a", which would
   otherwise shrink the wordmark to link size and grey it out. */
.footer-col .site-logo--footer {
    font-size: 2.4rem;
    color: var(--color-text);
}

.footer-col__copy {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.82rem;
}

.footer-col__contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 0.9rem;
}

.footer-col__contact a {
    font-size: 0.85rem;
    font-weight: 700;
}

.site-footer__age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.55rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--color-text);
    font-size: 0.78rem;
    font-weight: 900;
}

/* Contact buttons, two to a row, each network in its own colours. */
.footer-social {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.footer-col .footer-social__item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: 800;
}

.footer-col .footer-social__item:hover {
    border-color: color-mix(in srgb, var(--color-accent) 55%, transparent);
    color: var(--color-text);
}

.footer-social__item svg {
    flex: 0 0 auto;
    width: 1.35rem;
    height: 1.35rem;
    color: var(--color-accent);
}

.footer-social__item span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-footer__licence {
    padding: 1.9rem 0 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

/* The licence seal, with the licence wording beneath it. */
.site-footer__seal {
    display: block;
    width: 6rem;
    height: auto;
    margin: 0 auto 1rem;
}

.site-footer__legal {
    max-width: 62rem;
    margin: 0 auto;
    color: var(--color-muted);
    font-size: 0.84rem;
    line-height: 1.7;
}

.site-footer__heading {
    margin: 0 0 1.1rem;
    color: var(--color-text);
    font-size: 1.05rem;
    font-weight: 800;
}

.site-footer__apps {
    padding: 1.6rem 0 0.4rem;
    text-align: center;
}

.site-footer__apps-title {
    display: block;
    margin-bottom: 0.9rem;
    font-size: 1.05rem;
    font-weight: 800;
}

.app-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
}

.app-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 12.5rem;
    padding: 0.75rem 1.3rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.app-button:hover {
    border-color: color-mix(in srgb, var(--color-accent) 55%, transparent);
}

.app-button svg {
    width: 2rem;
    height: 2rem;
}

.app-button span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--color-muted);
    font-size: 0.8rem;
}

.app-button small {
    color: var(--color-text);
    font-size: 1.15rem;
    font-weight: 800;
}

.site-footer__partners {
    padding: 1.9rem 0 0.4rem;
    text-align: center;
}

.site-footer__partner-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.site-footer__partner-images img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* The studios' own white logos, evenly spaced and muted until hovered. */
.site-footer__logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
    gap: 1.6rem 1.25rem;
    max-width: 82rem;
    margin: 0.5rem auto 0;
    padding: 0;
    list-style: none;
}

.site-footer__logos li {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.6rem;
}

.site-footer__logos img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    opacity: 0.78;
    transition: opacity 0.2s ease;
}

.site-footer__logos li:hover img {
    opacity: 1;
}

.site-footer__studios {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem 0.6rem;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.site-footer__studios li {
    padding: 0.5rem 0.95rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: color-mix(in srgb, var(--color-text) 75%, var(--color-muted));
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.site-footer__about {
    max-width: 75rem;
    margin-top: 0;
    margin-bottom: 0;
    padding: 1.6rem 0 0;
    color: var(--color-muted);
    font-size: 0.8rem;
    line-height: 1.7;
    text-align: center;
}
/* ---- Announcement popup ---- */

.site-popup {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.site-popup[hidden] {
    display: none;
}

.site-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(3px);
}

.site-popup__dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    width: min(100%, 38rem);
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    padding: 1.4rem 1.6rem 1.5rem;
    border-radius: 16px;
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    animation: site-popup-in 0.25s ease-out;
}

@keyframes site-popup-in {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
}

@media (prefers-reduced-motion: reduce) {
    .site-popup__dialog { animation: none; }
}

.site-popup__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.site-popup__art {
    display: block;
    overflow: hidden;
    border-radius: 10px;
}

.site-popup__art img {
    display: block;
    width: 100%;
    max-height: 62dvh;
    object-fit: contain;
    background: #000;
}

.site-popup__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    min-height: 3.6rem;
    border-radius: 10px;
    background: linear-gradient(180deg, #3a3a3a, #2a2a2a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.site-popup__cta svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-accent);
}

.site-popup__cta:hover {
    border-color: color-mix(in srgb, var(--color-accent) 55%, transparent);
}

.site-popup__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.site-popup__btn {
    min-height: 3rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #1b1b1b;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
}

.site-popup__btn:hover {
    background: #262626;
}

body.has-popup,
body.has-promo {
    overflow: hidden;
}

/* ---- Promotion details popup ----

   Centred on a wide screen; on a phone it rises from the bottom as a sheet,
   the way a phone's own panels open. The text scrolls inside it while the
   close button stays put. */

.promo-modal {
    position: fixed;
    inset: 0;
    z-index: 210;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.promo-modal[hidden] {
    display: none;
}

.promo-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.74);
    backdrop-filter: blur(4px);
    animation: promo-fade 0.2s ease-out;
}

.promo-modal__dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(100%, 46rem);
    max-height: calc(100dvh - 3rem);
    border-radius: 18px;
    overflow: hidden;
    background: color-mix(in srgb, var(--color-surface) 82%, #000);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75);
    animation: promo-in 0.25s ease-out;
}

.promo-modal__dialog:focus {
    outline: none;
}

@keyframes promo-fade {
    from { opacity: 0; }
}

@keyframes promo-in {
    from { opacity: 0; transform: translateY(14px) scale(0.98); }
}

.promo-modal__close {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.promo-modal__close:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: color-mix(in srgb, var(--color-accent) 65%, transparent);
}

.promo-modal__close svg {
    width: 1.15rem;
    height: 1.15rem;
}

.promo-modal__content {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 1.5rem 1.6rem 1.7rem;
}

/* The artwork runs edge to edge across the top. */
.promo-modal__content > .promo-detail__art:first-child {
    margin: -1.5rem -1.6rem 1.25rem;
    border-radius: 0;
}

.promo-modal__content .prose-page__head {
    padding-right: 2.6rem;
    margin-bottom: 1.1rem;
}

.promo-modal__content .promo-detail__art + .prose-page__head {
    padding-right: 0;
}

.promo-modal__content .prose-page__title {
    font-size: 1.45rem;
}

/* The buttons stay in reach at the bottom while the conditions scroll. */
.promo-modal__content .prose-page__cta {
    position: sticky;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.5rem -1.6rem -1.7rem;
    padding: 1rem 1.6rem 1.2rem;
    background: linear-gradient(to top, color-mix(in srgb, var(--color-surface) 82%, #000) 70%, transparent);
}

@media (max-width: 640px) {
    .promo-modal {
        align-items: flex-end;
        padding: 0;
    }

    .promo-modal__dialog {
        width: 100%;
        max-height: 92dvh;
        border-radius: 20px 20px 0 0;
        border-bottom: 0;
        animation-name: promo-sheet;
    }

    .promo-modal__content {
        padding: 1.25rem 1rem calc(1.3rem + env(safe-area-inset-bottom));
    }

    .promo-modal__content > .promo-detail__art:first-child {
        margin: -1.25rem -1rem 1rem;
    }

    .promo-modal__content .prose-page__title {
        font-size: 1.2rem;
    }

    .promo-modal__content .prose-page__cta {
        margin: 1.25rem -1rem calc(-1.3rem - env(safe-area-inset-bottom));
        padding: 0.9rem 1rem calc(1rem + env(safe-area-inset-bottom));
    }

    .promo-modal__content .prose-page__cta .btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .promo-modal__content .prose-page__cta form {
        display: flex;
        flex: 1 1 auto;
    }

    .promo-modal__content .prose-page__cta form .btn {
        width: 100%;
    }
}

@keyframes promo-sheet {
    from { transform: translateY(100%); }
}

@media (prefers-reduced-motion: reduce) {
    .promo-modal__backdrop,
    .promo-modal__dialog { animation: none; }
    .promo-card { transition: none; }
    .promo-card:hover { transform: none; }
}

@media (max-width: 520px) {
    .site-popup {
        padding: 0.6rem;
    }

    .site-popup__dialog {
        padding: 1rem 0.95rem 1.05rem;
        gap: 0.75rem;
    }

    .site-popup__title {
        font-size: 0.92rem;
    }

    .site-popup__cta {
        min-height: 3.1rem;
        font-size: 1.1rem;
    }

    .site-popup__btn {
        min-height: 2.75rem;
        font-size: 0.85rem;
    }
}

/* ---- Bonuses: claim result, code form, the player's bonus list ---- */

.bonus-result {
    margin: 1.25rem 0 0;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.55;
    scroll-margin-top: 6rem;
}

.bonus-result--ok {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.35);
    color: #4ade80;
}

.bonus-result--no {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #fca5a5;
}

.prose-page__cta form {
    display: inline-flex;
}

.promo-card__actions form {
    display: inline-flex;
}

.bonus-code {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 32rem;
}

.bonus-code__row {
    display: flex;
    gap: 0.6rem;
}

.bonus-code__input {
    flex: 1 1 auto;
    min-width: 0;
    font-family: ui-monospace, Consolas, monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bonus-list__title {
    margin: 2rem 0 0.9rem;
    font-size: 1rem;
    font-weight: 800;
}

.bonus-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bonus-item {
    padding: 0.95rem 1.05rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.bonus-item__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.bonus-item__amount {
    flex: 0 0 auto;
    color: var(--color-accent);
    font-weight: 800;
}

.bonus-item__meta {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 0.35rem;
    color: var(--color-muted);
    font-size: 0.78rem;
}

.bonus-tag {
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
}

.bonus-tag--ok { background: rgba(74, 222, 128, 0.15); color: #4ade80; }
.bonus-tag--wait { background: rgba(245, 180, 60, 0.16); color: #f5b43c; }
.bonus-tag--off { background: rgba(255, 255, 255, 0.08); color: var(--color-muted); }

.bonus-progress {
    height: 0.45rem;
    margin-top: 0.75rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.bonus-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, color-mix(in srgb, var(--color-accent) 70%, #fff), var(--color-accent));
}

.bonus-item__wager {
    margin: 0.4rem 0 0;
    color: var(--color-muted);
    font-size: 0.78rem;
}
/* ---- Partner programme page (/ortaklik) ---- */

.aff {
    max-width: 87.5rem;
    margin: 0 auto;
    padding: 2rem 1.25rem 0;
}

/* One large rounded panel holds the whole page, over a faint grid. */
.aff__panel {
    padding: 3.25rem 3.5rem 3.5rem;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 48px 48px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 48px 48px,
        radial-gradient(circle at 78% 18%, color-mix(in srgb, var(--color-brand) 22%, transparent), transparent 55%),
        color-mix(in srgb, var(--color-surface) 55%, var(--color-bg));
}

.aff-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 2.5rem;
}

.aff-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.86rem;
    font-weight: 700;
}

.aff-badge__dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 10px var(--color-accent);
}

/* The gradient is painted only inside the box, and at this tight line height
   the last line's descenders (the "y" of "boyu") hang below it and vanished;
   the padding takes the box down to cover them. */
.aff-hero__title {
    margin: 1.4rem 0 calc(1.25rem - 0.14em);
    padding-bottom: 0.14em;
    font-size: clamp(2.4rem, 5.6vw, 4.9rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.03em;
    background: linear-gradient(180deg, #fff 30%, color-mix(in srgb, #fff 70%, var(--color-muted)));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.aff-hero__lead {
    max-width: 34rem;
    margin: 0;
    color: var(--color-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.aff-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.aff-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 3.3rem;
    padding: 0 1.6rem;
    border-radius: 12px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
}

.aff-btn svg {
    width: 1.15rem;
    height: 1.15rem;
}

.aff-btn:hover {
    transform: translateY(-1px);
}

.aff-btn--primary {
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-accent) 80%, #fff), var(--color-accent));
    color: var(--color-accent-text);
    box-shadow: 0 8px 26px color-mix(in srgb, var(--color-accent) 30%, transparent);
}

.aff-btn--ghost {
    background: rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.16);
    color: var(--color-text);
}

.aff-btn--ghost:hover {
    border-color: var(--color-accent);
}

.aff-btn--light {
    background: linear-gradient(180deg, #fff, #dfe2e8);
    color: #111318;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
}

.aff-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.6rem;
    margin: 1.9rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.92rem;
    font-weight: 700;
}

.aff-perks li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.aff-perks svg {
    width: 1.2rem;
    height: 1.2rem;
    color: var(--color-accent);
}

/* The drawing beside the headline: players around the brand, with coins. */
.aff-orbit {
    justify-self: center;
    width: min(100%, 27rem);
}

.aff-orbit svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.aff-orbit__ring {
    fill: none;
    stroke: rgba(255, 255, 255, 0.09);
    stroke-width: 1.5;
}

.aff-orbit__ring--dash {
    stroke-dasharray: 3 7;
    stroke: rgba(255, 255, 255, 0.16);
}

.aff-orbit__star {
    fill: color-mix(in srgb, #fff 85%, var(--color-accent));
    stroke: none;
    filter: drop-shadow(0 0 10px color-mix(in srgb, var(--color-accent) 50%, transparent));
}

.aff-orbit__star--small {
    fill: var(--color-accent);
    opacity: 0.55;
}

.aff-orbit__user circle {
    fill: #161a22;
    stroke: rgba(255, 255, 255, 0.4);
    stroke-width: 2;
}

.aff-orbit__user path {
    fill: none;
    stroke: #fff;
    stroke-width: 2;
}

.aff-orbit__coin circle {
    fill: url(#aff-coin);
    stroke: none;
    filter: drop-shadow(0 0 10px rgba(255, 196, 0, 0.55));
}

.aff-orbit__coin text {
    fill: #6b4a00;
    stroke: none;
    font-size: 16px;
    font-weight: 900;
    text-anchor: middle;
}

.aff-orbit__coin--small text {
    font-size: 12px;
}

.aff-orbit__spark {
    fill: var(--color-accent);
    stroke: none;
    animation: aff-twinkle 3.2s ease-in-out infinite;
}

.aff-orbit__spark:nth-of-type(2n) {
    animation-delay: 1.4s;
}

@keyframes aff-twinkle {
    50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
    .aff-orbit__spark {
        animation: none;
    }
}

.aff-rule {
    height: 1px;
    margin: 3.25rem 0;
    border: 0;
    background: rgba(255, 255, 255, 0.08);
}

.aff-h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.aff-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
    margin-top: 2rem;
}

.aff-card {
    padding: 1.6rem 1.5rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
}

.aff-card h3 {
    margin: 1.1rem 0 0.5rem;
    font-size: 1.12rem;
    font-weight: 800;
}

.aff-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.aff-card__icon,
.aff-form__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.aff-card__icon svg,
.aff-form__icon svg {
    width: 1.4rem;
    height: 1.4rem;
}

.aff-card__icon--accent {
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-accent) 80%, #fff), var(--color-accent));
    border-color: transparent;
    color: var(--color-accent-text);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--color-accent) 35%, transparent);
}

/* Steps on the left, the application form on the right. */
.aff-join {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: start;
    scroll-margin-top: 6rem;
}

.aff-steps__sub {
    margin: 0.5rem 0 0;
    color: var(--color-muted);
    font-size: 0.98rem;
}

.aff-steps__list {
    margin: 2.25rem 0 0;
    padding: 0;
    list-style: none;
}

.aff-steps__list li {
    position: relative;
    display: flex;
    gap: 1.2rem;
    padding-bottom: 2.25rem;
}

/* The line between one step's circle and the next. */
.aff-steps__list li:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 3.6rem;
    bottom: 0.4rem;
    left: 1.72rem;
    width: 2px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25), var(--color-accent));
}

.aff-steps__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #12151c;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.aff-steps__icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.aff-steps__icon--accent {
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-accent) 80%, #fff), var(--color-accent));
    border-color: transparent;
    color: var(--color-accent-text);
}

.aff-steps__list h3 {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0.35rem 0 0.4rem;
    font-size: 1.2rem;
    font-weight: 800;
}

.aff-steps__list h3 span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
}

.aff-steps__list p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.aff-form {
    padding: 2rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.aff-form__head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.aff-form__icon {
    background: linear-gradient(180deg, #fff, #cfd3db);
    color: #15181f;
}

.aff-form__head h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 900;
}

.aff-form__head p {
    margin: 0.2rem 0 0;
    color: var(--color-muted);
    font-size: 0.88rem;
}

.aff-form__fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.aff-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1rem;
}

.aff-form__trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.aff-form__note {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.8rem;
}

.aff-form__submit {
    width: 100%;
}

.aff-form__login {
    margin: 1.1rem 0 0;
    color: var(--color-muted);
    font-size: 0.88rem;
    text-align: center;
}

.aff-form__login a {
    color: var(--color-text);
    font-weight: 800;
}

.aff-form__done {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1.1rem 1.2rem;
    border-radius: 12px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.35);
    line-height: 1.6;
}

.aff-form__done svg {
    flex: 0 0 auto;
    width: 1.6rem;
    height: 1.6rem;
    color: #4ade80;
}

.aff-form__done p {
    margin: 0;
}

.aff-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3.5rem;
    padding: 2.75rem 3.5rem;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at 95% 10%, color-mix(in srgb, var(--color-accent) 22%, transparent), transparent 45%),
        linear-gradient(135deg, #252a35, #161a22);
}

.aff-cta h2 {
    max-width: 30rem;
    margin: 0 0 0.9rem;
    font-size: clamp(1.7rem, 3.4vw, 2.7rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.aff-cta p {
    max-width: 36rem;
    margin: 0;
    color: var(--color-muted);
    font-size: 0.96rem;
    line-height: 1.65;
}

@media (max-width: 1100px) {
    .aff-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aff-join {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 860px) {
    .aff {
        padding: 0.75rem 0.5rem 0;
    }

    .aff__panel {
        padding: 1.75rem 1.1rem 1.5rem;
        border-radius: 20px;
    }

    .aff-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .aff-orbit {
        order: -1;
        width: min(70%, 16rem);
    }

    .aff-hero__lead {
        font-size: 0.95rem;
    }

    .aff-btn {
        flex: 1 1 auto;
    }

    .aff-rule {
        margin: 2.25rem 0;
    }

    .aff-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.8rem;
    }

    .aff-form {
        padding: 1.25rem;
    }

    .aff-form__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .aff-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.75rem 1.25rem;
    }

    .aff-cta .aff-btn {
        width: 100%;
    }
}
/* ---- Mobile tab bar: the centre orb takes the accent ---- */

.tabbar {
    background: color-mix(in srgb, var(--color-surface) 50%, var(--color-bg));
}

.tabbar__orb {
    background: var(--color-bg);
    border-color: var(--color-accent);
    color: var(--color-accent);
    box-shadow: 0 0 18px color-mix(in srgb, var(--color-accent) 40%, transparent), 0 6px 18px rgba(0, 0, 0, 0.55);
}

@media (max-width: 1100px) {
    .category-nav ul {
        justify-content: flex-start;
    }

    .home-cat__art {
        width: 8rem;
        height: 8rem;
    }
}

/* ---- Phones: the reference's mobile layout is its own design ---- */
@media (max-width: 860px) {
    .btn {
        padding: 0.5rem 0.85rem;
        font-size: 0.8rem;
    }

    .section {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .panel {
        margin: 1rem 0.75rem;
    }

    .sport-tiles {
        grid-template-columns: repeat(3, 1fr);
    }

    .event__body {
        gap: 0.6rem;
    }

    .tabbar {
        display: grid;
    }

    body {
        padding-bottom: 4.5rem;
    }

    .announce {
        padding: 0.35rem 2.4rem 0.35rem 0.75rem;
        font-size: 0.7rem;
    }

    .announce__nav {
        display: none;
    }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 40;
    }

    .site-header__bar {
        min-height: 3.25rem;
        padding: 0.5rem 0.65rem;
        gap: 0.5rem;
    }

    .site-header__brand {
        gap: 0.35rem;
    }

    .site-header__menu {
        width: 2.2rem;
        height: 2.2rem;
        background: none;
        border: none;
    }

    .site-logo {
        font-size: 1.45rem;
    }

    /* The logo gives way to the balance rather than being cut off: it scales
       down inside whatever room the right-hand side leaves. */
    .site-logo {
        min-width: 0;
    }

    .site-logo__img {
        height: 2rem;
        max-width: min(9.5rem, 100%);
    }

    .site-header__right {
        flex: 0 0 auto;
        gap: 0.4rem;
    }

    .site-header__right > .site-header__social,
    .category-nav {
        display: none;
    }

    .hdr-btn {
        height: 2.15rem;
        padding: 0 0.8rem;
        border-radius: 10px;
        font-size: 0.78rem;
        letter-spacing: 0.01em;
        text-transform: none;
    }

    .hdr-btn svg {
        display: none;
    }

    .hdr-btn--icon svg {
        display: block;
    }

    .auth-buttons {
        gap: 0.4rem;
    }

    /* Signed in, a phone shows the balance and an account icon only. The name
       and the sign-out button took the room the logo needs; sign-out is in
       the side menu. */
    .auth-buttons__name,
    .auth-buttons__logout,
    .hdr-wallet__text small {
        display: none;
    }

    .hdr-btn--account {
        width: 2.15rem;
        padding: 0;
        justify-content: center;
    }

    .hdr-btn--account svg {
        display: block;
    }

    .hdr-wallet {
        height: 2.15rem;
        gap: 0.45rem;
        padding: 0 0.25rem 0 0.65rem;
        border-radius: 10px;
    }

    .hdr-wallet__plus {
        width: 1.6rem;
        height: 1.6rem;
    }

    .hero-carousel {
        margin: 0.75rem;
    }

    .hero-slide {
        border-radius: 14px;
    }

    /* The home banner runs edge to edge on a phone. */
    .hero-carousel--home {
        margin: 0;
    }

    .hero-carousel--home .hero-slide {
        border-radius: 0;
    }

    .hero-carousel__dots {
        margin-top: 0.55rem;
    }

    .home-cats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.45rem;
        padding: 0.6rem 0.5rem 0;
    }

    .home-cat {
        height: 7.8rem;
        padding: 0.65rem 0.65rem 0.75rem;
        border-radius: 12px;
    }

    .home-cat__badge {
        width: 1.5rem;
        height: 1.5rem;
        border-radius: 7px;
    }

    .home-cat__art {
        right: -0.6rem;
        width: 6.6rem;
        height: 6.6rem;
    }

    .home-cat__title {
        font-size: 0.95rem;
    }

    .home-cat__title::after {
        width: 1.8rem;
        margin-top: 0.4rem;
    }

    .home-section {
        padding: 1.75rem 0.75rem 0;
    }

    .home-head {
        margin-bottom: 0.75rem;
    }

    .home-head__arrow {
        display: none;
    }

    .home-games {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .home-game {
        border-radius: 10px;
    }

    .home-game__caption {
        padding: 0.45rem 0.5rem 0.55rem;
    }

    .home-game__caption strong {
        font-size: 0.72rem;
    }

    .home-game__caption small {
        font-size: 0.55rem;
    }

    .home-sport {
        flex-direction: column;
        align-items: flex-start;
        min-height: 0;
        padding: 1.25rem;
    }

    .home-promos {
        grid-auto-columns: 86%;
        gap: 0.6rem;
    }

    .site-footer {
        padding: 0 0.75rem 1.25rem;
    }

    /* Brand and contact take a full row each; the link columns share one. */
    .site-footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.6rem 1rem;
        padding: 1.75rem 0 1.5rem;
    }

    .footer-col--brand,
    .footer-col--contact {
        grid-column: 1 / -1;
    }

    .footer-col .site-logo--footer {
        font-size: 2rem;
    }

    .footer-col__title {
        font-size: 1.02rem;
    }

    .footer-col a {
        font-size: 0.86rem;
    }

    .site-footer__seal {
        width: 4.75rem;
    }

    .app-button {
        min-width: 0;
        flex: 1 1 9.5rem;
        padding: 0.65rem 0.9rem;
    }

    .app-button small {
        font-size: 1rem;
    }

    .site-footer__studios li {
        padding: 0.4rem 0.7rem;
        font-size: 0.76rem;
    }

    .site-footer__logos {
        grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
        gap: 1.15rem 0.9rem;
    }

    .site-footer__logos li {
        height: 2.1rem;
    }

    /* Three to a row on a phone; eight rows is enough there. */
    .site-footer__logos li:nth-child(n + 25) {
        display: none;
    }
}

/* The narrowest phones: "PROMOSYONLAR" at the phone size above ran into the
   card's edge, where the card clips it. Kept after the phone block, never
   inside it, so it only adds to those rules. */
@media (max-width: 380px) {
    .home-cat__title {
        font-size: 0.8rem;
        letter-spacing: 0;
    }

    .home-cat__art {
        width: 5.6rem;
        height: 5.6rem;
    }
}

/* ---------- Staff opened this account from the panel (StaffSignIn) ---------- */
.staff-banner {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding: 0.55rem 1rem;
    background: repeating-linear-gradient(135deg, #7a0f1f 0 14px, #8a1424 14px 28px);
    color: #fff;
    font-size: 0.82rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.staff-banner form {
    margin: 0;
}

.staff-banner__end {
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.staff-banner__end:hover {
    background: rgba(0, 0, 0, 0.45);
}

.staff-message {
    max-width: 34rem;
    margin: 4rem auto;
    padding: 0 1.25rem;
    text-align: center;
}

.staff-message__title {
    margin: 0 0 0.75rem;
    font-size: 1.4rem;
    font-weight: 800;
}

.staff-message__text {
    margin: 0 0 1.5rem;
    color: var(--color-muted);
    line-height: 1.6;
}