/* Rancor House — site shell (nav, backdrop, lobby, wallet/account pages).
   Game cabinets use slots.css / slots-galactic.css / rancor-pit.css unchanged. */

:root {
    --site-bg: #0c0a08;
    --site-surface: rgba(22, 18, 14, 0.92);
    --site-surface-raised: rgba(36, 28, 20, 0.94);
    --site-border: rgba(201, 162, 39, 0.45);
    --site-accent: #c9a227;
    --site-accent-bright: #e8c878;
    --site-rust: #c45a20;
    --site-text: #f5f0e6;
    --site-muted: #a89888;
    --site-hyperdrive-hint: rgba(100, 180, 255, 0.65);
    --site-font-display: "Cinzel", "Times New Roman", serif;
    --site-font-body: "Source Sans 3", system-ui, sans-serif;
    --site-shell-max: 920px;
}

/* Fixed dungeon backdrop — full stone wall art + vignette */
.site-dungeon {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: #0a0806;
    background-image:
        radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.65) 100%),
        url("../images/shell/dungeon-bg.png");
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat;
}

.site-dungeon::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 40%, transparent 25%, rgba(0, 0, 0, 0.45) 100%);
}

.site-dungeon::after {
    content: none;
}

body {
    position: relative;
    font-family: var(--site-font-body);
    background: transparent;
    color: var(--site-text);
}

.site-header {
    position: relative;
    z-index: 200;
}

.site-main {
    position: relative;
    z-index: 1;
}

/* Landing: top-aligned flow (not vertically centered like game pages) */
.site-main:has(.landing-page),
.site-main:has(.login-choose-page),
.site-main:has(.auth-error) {
    justify-content: flex-start;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
    min-height: calc(100vh - 3.5rem);
}

/* Header / nav */
.site-header {
    border-bottom: 1px solid rgba(201, 162, 39, 0.35);
    background: linear-gradient(180deg, rgba(12, 10, 8, 0.92) 0%, rgba(8, 6, 5, 0.88) 100%);
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
}

.site-header-inner {
    max-width: 1040px;
}

.site-brand {
    font-family: var(--site-font-display);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--site-accent-bright);
    text-shadow: 0 0 20px rgba(201, 162, 39, 0.35);
}

.site-brand-link:hover {
    color: #f5e0a8;
}

.site-brand-mark {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(232, 176, 96, 0.45));
}

.nav-user {
    color: var(--site-text);
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.45);
}

.nav-user:hover {
    background: rgba(201, 162, 39, 0.2);
    color: var(--site-accent-bright);
}

.nav-menu-toggle {
    color: var(--site-text);
    border-color: rgba(201, 162, 39, 0.4);
    background: rgba(30, 22, 16, 0.75);
}

.nav-menu {
    position: relative;
    z-index: 210;
}

.nav-menu-panel {
    z-index: 220;
    background: var(--site-surface-raised);
    border: 1px solid var(--site-border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
}

.nav-group--account {
    border-top-color: rgba(201, 162, 39, 0.22);
}

.nav-link {
    color: rgba(232, 224, 212, 0.88);
}

.nav-link:hover {
    color: var(--site-accent-bright);
    background: rgba(201, 162, 39, 0.1);
}

.nav-link.is-active {
    color: var(--site-accent-bright);
    background: transparent;
    border-color: transparent;
    box-shadow: inset 0 -2px 0 var(--site-accent);
}

.nav-link--hyperdrive {
    color: rgba(140, 200, 255, 0.95);
}

.nav-link--hyperdrive:hover,
.nav-link--hyperdrive.is-active {
    color: rgba(200, 230, 255, 1);
}

.nav-link--rancor-pit {
    color: rgba(232, 176, 96, 0.98);
}

.nav-link--rancor-pit:hover,
.nav-link--rancor-pit.is-active {
    color: rgba(255, 210, 140, 1);
}

.nav-link--salvage-yard {
    color: rgba(200, 180, 140, 0.98);
}

.nav-link--salvage-yard:hover,
.nav-link--salvage-yard.is-active {
    color: rgba(240, 208, 128, 1);
}

.site-nav .nav-login,
.site-nav .nav-logout {
    color: var(--site-accent-bright);
    border: 1px solid rgba(201, 162, 39, 0.55);
    background: rgba(201, 162, 39, 0.08);
    font-weight: 600;
}

.site-nav .nav-login:hover,
.site-nav .nav-logout:hover {
    background: rgba(201, 162, 39, 0.2);
    color: #f5e0a8;
    border-color: rgba(201, 162, 39, 0.75);
}

.nav-wallet {
    color: var(--site-text);
}

/* —— Landing (mockup parity) —— */
.landing-page {
    max-width: var(--site-shell-max);
}

.landing-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 2.75rem;
    padding: 2.5rem 2.25rem 2.15rem;
    border-radius: 4px;
    background: rgba(18, 14, 10, 0.88);
    border: 2px solid rgba(201, 162, 39, 0.5);
    outline: 1px solid rgba(201, 162, 39, 0.2);
    outline-offset: 5px;
    box-shadow:
        inset 0 0 60px rgba(184, 106, 40, 0.06),
        0 12px 40px rgba(0, 0, 0, 0.55);
}

.landing-hero::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(201, 162, 39, 0.15);
    pointer-events: none;
}

.landing-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 160, 60, 0.1) 0%, transparent 55%);
    pointer-events: none;
}

.landing-hero > * {
    position: relative;
    z-index: 1;
}

.landing-eyebrow {
    color: var(--site-accent);
    font-family: var(--site-font-body);
    font-weight: 600;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
}

.landing-hero h2 {
    margin-bottom: 1.35rem;
    font-family: var(--site-font-display);
    font-size: clamp(1.85rem, 4.5vw, 2.5rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #f5f0e6;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.landing-name--house {
    font-family: var(--site-font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--site-text);
}

.landing-partner-note {
    color: var(--site-muted);
    font-family: var(--site-font-display);
    font-style: italic;
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 1;
}

.landing-name--partner {
    color: rgba(232, 224, 212, 0.9);
}

.landing-pitch {
    border-top-color: rgba(201, 162, 39, 0.28);
    color: rgba(232, 224, 212, 0.9);
    opacity: 1;
}

.landing-tagline {
    color: var(--site-text);
    line-height: 1.55;
}

.landing-beta-banner {
    background: rgba(184, 106, 40, 0.14);
    border: 1px solid rgba(201, 162, 39, 0.4);
}

.landing-beta-banner strong {
    color: var(--site-accent-bright);
}

.landing-balance {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(201, 162, 39, 0.4);
    color: var(--site-text);
    box-shadow: inset 0 1px 0 rgba(255, 220, 160, 0.06);
}

.landing-balance strong {
    color: var(--site-accent-bright);
    font-variant-numeric: tabular-nums;
}

.landing-mode-note,
.landing-balance-note {
    color: var(--site-muted);
    font-size: 0.9rem;
}

.landing-recent-hits {
    position: relative;
    overflow: hidden;
    width: fit-content;
    max-width: 100%;
    min-width: min(100%, 20rem);
    margin: 0 auto 2.5rem;
    padding: 1.5rem 1.6rem 1.25rem;
    border-radius: 4px;
    background:
        radial-gradient(ellipse at 12% 0%, rgba(255, 180, 70, 0.16) 0%, transparent 45%),
        radial-gradient(ellipse at 88% 100%, rgba(184, 106, 40, 0.14) 0%, transparent 40%),
        rgb(16, 12, 10);
    border: 2px solid rgba(201, 162, 39, 0.55);
    outline: 1px solid rgba(201, 162, 39, 0.22);
    outline-offset: 4px;
    color: var(--site-text);
    box-shadow:
        inset 0 0 40px rgba(184, 106, 40, 0.1),
        0 0 28px rgba(201, 162, 39, 0.18),
        0 12px 36px rgba(0, 0, 0, 0.5);
}

.landing-recent-hits::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(201, 162, 39, 0.18);
    pointer-events: none;
    z-index: 1;
}

.landing-recent-hits::after {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 45%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 220, 140, 0.95),
        transparent
    );
    box-shadow: 0 0 12px rgba(255, 200, 100, 0.65);
    animation: recentHitsSweep 4.5s ease-in-out infinite;
    z-index: 3;
    pointer-events: none;
}

.landing-recent-hits > * {
    position: relative;
    z-index: 2;
}

.recent-hits-header {
    margin-bottom: 1rem;
}

.recent-hits-eyebrow {
    margin: 0 0 0.35rem;
    font-family: var(--site-font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--site-accent-bright);
    text-shadow: 0 0 14px rgba(255, 200, 100, 0.35);
}

.landing-recent-hits .landing-section-title,
.recent-hits-title {
    margin: 0;
    text-align: left;
    font-size: 1.05rem;
    letter-spacing: 0.24em;
    color: #f5e0a8;
    text-shadow:
        0 0 18px rgba(201, 162, 39, 0.45),
        0 1px 0 rgba(0, 0, 0, 0.6);
}

.recent-hits-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: max-content max-content max-content 1.5rem;
    column-gap: 1.35rem;
    width: max-content;
    max-width: 100%;
    border-top: 1px solid rgba(201, 162, 39, 0.35);
}

.recent-hits-row {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: 1 / -1;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.recent-hits-row:last-child {
    border-bottom: none;
}

.recent-hits-row--lead .recent-hits-link {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: linear-gradient(
        90deg,
        rgba(201, 162, 39, 0.12) 0%,
        rgba(201, 162, 39, 0.03) 55%,
        transparent 100%
    );
}

.recent-hits-row--lead .recent-hits-payout-value {
    font-size: 1.35rem;
    color: #ffe39a;
    text-shadow:
        0 0 16px rgba(255, 200, 100, 0.55),
        0 0 2px rgba(255, 220, 140, 0.8);
    animation: recentHitsPayoutPulse 2.8s ease-in-out infinite;
}

.recent-hits-link {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: 1 / -1;
    align-items: center;
    padding: 0.9rem 0;
    color: inherit;
    text-decoration: none;
    transition:
        background-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.recent-hits-link:hover,
.recent-hits-link:focus-visible {
    background: rgba(201, 162, 39, 0.14);
    box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.28);
    outline: none;
}

.recent-hits-link:hover .recent-hits-cta,
.recent-hits-link:focus-visible .recent-hits-cta {
    color: #ffe39a;
    transform: translateX(3px);
}

.recent-hits-link:hover .recent-hits-payout-value,
.recent-hits-link:focus-visible .recent-hits-payout-value {
    color: #ffe9b0;
    text-shadow: 0 0 14px rgba(255, 210, 120, 0.65);
}

.recent-hits-handle {
    font-family: var(--site-font-display);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #f5f0e6;
    font-size: 1.02rem;
    white-space: nowrap;
}

.recent-hits-payout {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.08rem;
    text-align: right;
    white-space: nowrap;
}

.recent-hits-payout-value {
    font-family: var(--site-font-display);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    font-size: 1.12rem;
    letter-spacing: 0.02em;
    color: var(--site-accent-bright);
    text-shadow: 0 0 10px rgba(201, 162, 39, 0.35);
    line-height: 1.1;
}

.recent-hits-payout-unit {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(201, 162, 39, 0.7);
}

.recent-hits-machine {
    color: rgba(232, 224, 212, 0.78);
    font-size: 0.9rem;
    white-space: nowrap;
}

.recent-hits-cta {
    color: rgba(201, 162, 39, 0.7);
    text-align: right;
    font-size: 1.15rem;
    line-height: 1;
    transition: color 0.18s ease, transform 0.18s ease;
}

.recent-hits-note {
    margin: 0.85rem 0 0;
    color: rgba(201, 162, 39, 0.55);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@keyframes recentHitsSweep {
    0%,
    15% {
        left: -40%;
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    55% {
        left: 100%;
        opacity: 0;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes recentHitsPayoutPulse {
    0%,
    100% {
        text-shadow:
            0 0 12px rgba(255, 200, 100, 0.4),
            0 0 2px rgba(255, 220, 140, 0.7);
    }
    50% {
        text-shadow:
            0 0 22px rgba(255, 200, 100, 0.75),
            0 0 4px rgba(255, 230, 160, 0.95);
    }
}

@media (max-width: 560px) {
    .landing-recent-hits {
        width: 100%;
        min-width: 0;
    }

    .recent-hits-list {
        width: 100%;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .recent-hits-link {
        grid-template-columns: subgrid;
        grid-template-areas:
            "handle payout"
            "machine cta";
        padding: 0.95rem 0;
        align-items: start;
        row-gap: 0.25rem;
        column-gap: 0.75rem;
    }

    .recent-hits-handle {
        grid-area: handle;
        white-space: normal;
    }

    .recent-hits-payout {
        grid-area: payout;
    }

    .recent-hits-machine {
        grid-area: machine;
        font-size: 0.85rem;
        white-space: normal;
    }

    .recent-hits-cta {
        grid-area: cta;
        align-self: end;
    }

    .recent-hits-row--lead .recent-hits-payout-value {
        font-size: 1.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .landing-recent-hits::after,
    .recent-hits-row--lead .recent-hits-payout-value {
        animation: none;
    }

    .recent-hits-link:hover .recent-hits-cta,
    .recent-hits-link:focus-visible .recent-hits-cta {
        transform: none;
    }
}

.landing-games-section {
    margin-bottom: 2rem;
}

.landing-section-title {
    margin-bottom: 1.25rem;
    font-family: var(--site-font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(201, 162, 39, 0.75);
    opacity: 1;
}

.landing-games {
    gap: 1.15rem;
}

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

.landing-page .game-card {
    position: relative;
    overflow: hidden;
    padding: 1.35rem 1.35rem 1.25rem;
    border-radius: 4px;
    background: rgba(16, 12, 10, 0.88);
    border: 1px solid rgba(201, 162, 39, 0.35);
    color: var(--site-text);
    box-shadow:
        inset 0 0 24px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(201, 162, 39, 0.08);
}

.landing-page .game-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--site-accent);
    box-shadow: 0 0 12px rgba(201, 162, 39, 0.5);
    z-index: 1;
}

.landing-page .game-card > * {
    position: relative;
    z-index: 2;
}

.landing-page .game-card:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 162, 39, 0.55);
    box-shadow:
        inset 0 0 24px rgba(0, 0, 0, 0.35),
        0 0 28px rgba(201, 162, 39, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.45);
}

.landing-page .game-card h3 {
    font-family: var(--site-font-display);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--site-accent-bright);
}

.landing-page .game-card p {
    color: rgba(232, 224, 212, 0.88);
    opacity: 1;
    line-height: 1.5;
}

.landing-page .game-card-features {
    color: var(--site-muted);
    opacity: 1;
}

.landing-page .game-card-cta {
    font-family: var(--site-font-body);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--site-accent);
}

.landing-page .game-card--galactic {
    border-color: rgba(100, 180, 255, 0.35);
    box-shadow:
        inset 0 0 24px rgba(0, 0, 0, 0.35),
        0 0 22px rgba(100, 180, 255, 0.1);
}

.landing-page .game-card--galactic::before {
    background: var(--site-hyperdrive-hint);
    box-shadow: 0 0 12px rgba(100, 180, 255, 0.45);
}

.landing-page .game-card--galactic:hover {
    border-color: rgba(100, 180, 255, 0.55);
    box-shadow:
        inset 0 0 24px rgba(0, 0, 0, 0.35),
        0 0 32px rgba(100, 180, 255, 0.18);
}

.landing-page .game-card--galactic .game-card-cta {
    color: rgba(140, 200, 255, 0.95);
}

.landing-page .game-card--rancor-pit {
    border-color: rgba(196, 90, 32, 0.45);
    box-shadow:
        inset 0 0 24px rgba(0, 0, 0, 0.35),
        0 0 26px rgba(196, 90, 32, 0.14);
}

.landing-page .game-card--rancor-pit::before {
    background: var(--site-rust);
    box-shadow: 0 0 14px rgba(196, 90, 32, 0.55);
}

.landing-page .game-card--rancor-pit::after {
    content: "";
    position: absolute;
    right: -10%;
    bottom: -15%;
    width: 55%;
    height: 70%;
    background: url("../images/rancor-pit/claw.png") center / contain no-repeat;
    opacity: 0.07;
    pointer-events: none;
}

.landing-page .game-card--rancor-pit:hover {
    border-color: rgba(232, 140, 60, 0.6);
    box-shadow:
        inset 0 0 24px rgba(0, 0, 0, 0.35),
        0 0 36px rgba(196, 90, 32, 0.22);
}

.landing-page .game-card--rancor-pit .game-card-cta {
    color: #e8b060;
}

.landing-page .game-card--salvage-yard {
    border-color: rgba(160, 120, 60, 0.45);
    box-shadow:
        inset 0 0 24px rgba(0, 0, 0, 0.35),
        0 0 26px rgba(160, 120, 60, 0.14);
}

.landing-page .game-card--salvage-yard::before {
    background: #8a6a30;
    box-shadow: 0 0 14px rgba(184, 106, 40, 0.45);
}

.landing-page .game-card--salvage-yard:hover {
    border-color: rgba(232, 160, 64, 0.55);
    box-shadow:
        inset 0 0 24px rgba(0, 0, 0, 0.35),
        0 0 36px rgba(184, 106, 40, 0.2);
}

.landing-page .game-card--salvage-yard .game-card-cta {
    color: #e8a040;
}

.landing-page .game-card--sabacc-parlor {
    border-color: rgba(196, 163, 90, 0.5);
    box-shadow:
        inset 0 0 24px rgba(0, 0, 0, 0.35),
        0 0 26px rgba(196, 163, 90, 0.14);
}

.landing-page .game-card--sabacc-parlor::before {
    background: #c4a35a;
    box-shadow: 0 0 14px rgba(196, 163, 90, 0.45);
}

.landing-page .game-card--sabacc-parlor:hover {
    border-color: rgba(212, 168, 75, 0.6);
    box-shadow:
        inset 0 0 24px rgba(0, 0, 0, 0.35),
        0 0 36px rgba(196, 163, 90, 0.22);
}

.landing-page .game-card--sabacc-parlor .game-card-cta {
    color: #d4a84b;
}

.landing-page .game-card--muted {
    opacity: 0.65;
    box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.35);
}

.landing-page .game-card--muted::before {
    background: rgba(154, 136, 120, 0.45);
    box-shadow: none;
}

.landing-page .game-card--muted::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/rancor-pit/insignia.svg") center / 40% no-repeat;
    opacity: 0.04;
    pointer-events: none;
}

.landing-page .game-card--muted:hover {
    transform: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 220, 160, 0.05),
        0 4px 16px rgba(0, 0, 0, 0.3);
}

.landing-account {
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: 12px;
}

.landing-account h3 {
    font-family: var(--site-font-display);
    color: var(--site-accent-bright);
}

.landing-actions {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.85rem;
    justify-content: center;
    align-items: center;
    margin-top: 0.5rem;
}

.landing-actions .nav-login {
    display: inline-block;
    min-width: 240px;
    padding: 0.9rem 3rem;
    font-family: var(--site-font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
    color: #2a1808;
    background: linear-gradient(180deg, #f5e4a8 0%, #d4af37 45%, #a88420 100%);
    border: 2px solid rgba(60, 40, 15, 0.9);
    border-radius: 4px;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.5),
        inset 0 2px 0 rgba(255, 240, 200, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}

.landing-actions .nav-login:hover {
    background: linear-gradient(180deg, #f8e8b0 0%, #f0d080 40%, #d4ad30 100%);
    color: #1a1008;
    filter: none;
}

.landing-actions .landing-discord-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    box-sizing: border-box;
    min-width: 240px;
    max-width: 100%;
    padding: 0.9rem 2.5rem;
    font-family: var(--site-font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(180deg, #6a75f5 0%, #5865f2 45%, #4752c4 100%);
    border: 2px solid #3c45a5;
    border-radius: 4px;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.22),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.landing-actions .landing-discord-btn:hover {
    background: linear-gradient(180deg, #7882f7 0%, #606bf5 40%, #5865f2 100%);
    color: #fff;
    text-decoration: none;
    filter: none;
}

.landing-actions .landing-discord-btn__icon {
    width: 22px;
    height: 22px;
    max-width: 22px;
    max-height: 22px;
    flex: 0 0 22px;
    display: block;
}

/* Wallet */
.wallet-banner--info {
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid var(--site-border);
}

.wallet-summary,
.wallet-form-section,
.wallet-transfers {
    background: var(--site-surface);
    border: 1px solid var(--site-border);
}

.wallet-forms input {
    border: 1px solid var(--site-border);
    background: var(--site-bg);
    color: var(--site-text);
}

.wallet-forms button {
    background: linear-gradient(180deg, var(--site-accent-bright), var(--site-accent));
    color: #1a1008;
    font-weight: 600;
}

.wallet-forms button:hover {
    filter: brightness(1.06);
}

.transfers-table th,
.transfers-table td {
    border-bottom-color: rgba(201, 162, 39, 0.15);
}

.transfers-table a {
    color: var(--site-accent);
}

/* Login / auth */
.login-choose-card {
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-left: 5px solid var(--site-accent);
}

.login-choose-card h3 {
    font-family: var(--site-font-display);
    color: var(--site-accent-bright);
}

.login-choose-points {
    color: rgba(232, 224, 212, 0.85);
}

.deposit-manual-details,
.deposit-swc-bridge-note,
.deposit-step {
    background: var(--site-surface);
    border: 1px solid var(--site-border);
}

.deposit-copy-value,
.deposit-copy-btn {
    border: 1px solid var(--site-border);
    background: var(--site-bg);
    color: var(--site-text);
}

.deposit-copy-btn:hover {
    background: rgba(201, 162, 39, 0.15);
}

.auth-error {
    color: var(--site-text);
}

.auth-error h2 {
    font-family: var(--site-font-display);
    color: var(--site-accent-bright);
}

.auth-error a {
    color: var(--site-accent);
}

/* Account / admin */
.account-page,
.admin-page {
    background: #161210;
    border: 1px solid var(--site-border);
}

.account-summary,
.account-stats {
    background: #1e1a16;
    border: 1px solid var(--site-border);
}

.admin-table a {
    color: var(--site-accent);
}

.admin-add-form input[type="text"],
.admin-filter-form input[type="text"],
.admin-filter-form select {
    background: #161210;
    border: 1px solid var(--site-border);
    color: var(--site-text);
}

.admin-dashboard .admin-panel {
    border-bottom-color: rgba(201, 162, 39, 0.15);
}

.admin-ops-item {
    background: #161210;
    border: 1px solid var(--site-border);
}

.admin-command-output {
    background: #161210;
    border: 1px solid var(--site-border);
    color: var(--site-text);
}

@media (prefers-reduced-motion: reduce) {
    .landing-page .game-card:hover {
        transform: none;
    }
}

@media (max-width: 640px) {
    .site-main:has(.landing-page) {
        padding-top: 1.25rem;
    }

    .landing-hero {
        padding: 1.5rem 1.15rem 1.35rem;
        margin-bottom: 2rem;
    }

    .landing-hero h2 {
        font-size: clamp(1.4rem, 6vw, 1.85rem);
    }

    .landing-name--house {
        font-size: 1.1rem;
    }

    .landing-balance {
        max-width: 100%;
        white-space: normal;
        word-break: break-word;
    }

    .landing-page .game-card::before {
        width: 3px;
    }
}

@media (max-width: 480px) {
    .landing-actions .nav-login,
    .landing-actions .landing-discord-btn {
        display: flex;
        width: 100%;
        min-width: 0;
        min-height: 48px;
        box-sizing: border-box;
    }

    .login-choose-cta.nav-login {
        min-height: 44px;
        line-height: 1.4;
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
    }
}

/* Age verification gate (first visit) */
.site-main--minimal {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1.25rem;
    box-sizing: border-box;
}

.age-gate-page {
    width: min(100%, 520px);
}

.age-gate-card {
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: 14px;
    padding: 2rem 1.75rem;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 220, 160, 0.06);
}

.age-gate-eyebrow {
    margin: 0 0 0.5rem;
    font-family: var(--site-font-display);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--site-accent);
}

.age-gate-title {
    margin: 0 0 1rem;
    font-family: var(--site-font-display);
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    font-weight: 600;
    color: var(--site-accent-bright);
    line-height: 1.25;
}

.age-gate-copy {
    margin: 0 0 0.85rem;
    color: rgba(232, 224, 212, 0.92);
    line-height: 1.55;
}

.age-gate-copy--muted {
    color: var(--site-muted);
    font-size: 0.95rem;
}

.age-gate-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.age-gate-form {
    margin: 0;
}

.age-gate-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    font-family: var(--site-font-body);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.age-gate-btn--confirm {
    border: 1px solid rgba(201, 162, 39, 0.65);
    background: linear-gradient(180deg, #e8c878 0%, #c9a227 55%, #a88418 100%);
    color: #1a1008;
}

.age-gate-btn--confirm:hover {
    filter: brightness(1.05);
}

.age-gate-btn--deny {
    border: 1px solid rgba(168, 152, 136, 0.45);
    background: transparent;
    color: var(--site-muted);
}

.age-gate-btn--deny:hover {
    border-color: rgba(168, 152, 136, 0.7);
    color: var(--site-text);
}
