/* POSEIDON landing — matches in-game menu (gui/style.cpp) */
:root {
    --menu-bg: #0e0f14;
    --menu-panel: #1a1c23;
    --menu-panel-hover: #22252e;
    --menu-child: #111218;
    --menu-border: #252832;
    --menu-accent: #00e5ff;
    --menu-accent-dim: rgba(0, 229, 255, 0.35);
    --menu-accent-soft: rgba(0, 229, 255, 0.12);
    --menu-accent-glow: rgba(0, 229, 255, 0.25);
    --menu-text: #eceef2;
    --menu-muted: #8c9396;
    --shell-radius: 12px;
    --panel-radius: 10px;
}

.landing-wrap {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 4rem;
}

/* ── Hero ── */
.landing-hero {
    padding: 2.5rem 0 2rem;
}

.landing-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
    align-items: center;
}

.landing-hero-copy {
    text-align: left;
}

.landing-hero-menu {
    min-width: 0;
}

/* ── Hero 3D showcase (Atropos) ── */
.landing-hero-showcase {
    width: 100%;
    min-width: 0;
}

.hero-3d-scene {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    min-height: 380px;
    padding-bottom: 2rem;
}

.hero-3d-card {
    --atropos-highlight-opacity: 0.25;
    border-radius: 12px;
}

.hero-3d-card--menu {
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-3d-card--loader {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 48%;
    z-index: 2;
    cursor: pointer;
    outline: none;
}

.hero-3d-card--loader:focus-visible .hero-3d-img {
    box-shadow:
        0 0 0 2px var(--menu-accent),
        0 20px 50px rgba(0, 0, 0, 0.55);
}

.hero-3d-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.55),
        0 0 40px rgba(0, 229, 255, 0.06);
    pointer-events: none;
}

.hero-3d-glow {
    position: absolute;
    left: 50%;
    top: 55%;
    width: 80%;
    height: 40%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(0, 229, 255, 0.22), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.hero-3d-glow--sm {
    width: 90%;
    height: 50%;
}

.hero-3d-shine {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.14) 0%, transparent 45%, transparent 100%);
    pointer-events: none;
    mix-blend-mode: soft-light;
}

@media (max-width: 991.98px) {
    .hero-3d-scene {
        max-width: 520px;
        min-height: 320px;
    }

    .hero-3d-card--loader {
        width: 52%;
    }
}

@media (max-width: 575.98px) {
    .hero-3d-scene {
        min-height: 280px;
        padding-bottom: 1rem;
    }

    .hero-3d-card--loader {
        width: 55%;
        right: -2%;
    }
}

.landing-hero-copy .landing-logo,
.landing-hero-copy .landing-tagline,
.landing-hero-copy .landing-badges {
    text-align: left;
    justify-content: flex-start;
}

.landing-hero-copy .landing-badges {
    display: flex;
}

.landing-logo {
    font-size: clamp(3rem, 11vw, 5.5rem);
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1;
    color: var(--menu-text);
    text-shadow:
        0 0 40px var(--menu-accent-glow),
        0 0 80px rgba(0, 229, 255, 0.08);
    margin-bottom: 0.75rem;
}

.landing-logo span {
    color: var(--menu-accent);
}

.landing-tagline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--menu-muted);
    font-weight: 500;
    margin-bottom: 1.75rem;
}

.landing-tagline em {
    font-style: normal;
    color: var(--menu-accent);
    font-weight: 600;
}

.landing-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.menu-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--menu-panel);
    border: 1px solid var(--menu-border);
    color: var(--menu-text);
}

.menu-badge i { font-size: 0.75rem; }

.menu-badge.ok {
    border-color: rgba(52, 211, 153, 0.45);
    color: #6ee7b7;
    box-shadow: inset 0 0 20px rgba(52, 211, 153, 0.06);
}

.menu-badge.warn {
    border-color: rgba(251, 191, 36, 0.45);
    color: #fcd34d;
}

.menu-badge.bad {
    border-color: rgba(248, 113, 113, 0.45);
    color: #fca5a5;
}

.menu-badge.accent {
    border-color: var(--menu-accent-dim);
    color: var(--menu-accent);
    box-shadow: inset 0 0 24px var(--menu-accent-soft);
}

.landing-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: #0e0f14;
    background: linear-gradient(135deg, var(--menu-accent), #00b8d4);
    box-shadow: 0 0 28px var(--menu-accent-glow), 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border: none;
    cursor: pointer;
}

.landing-cta:hover {
    color: #0e0f14;
    transform: translateY(-2px);
    box-shadow: 0 0 40px var(--menu-accent-glow), 0 6px 24px rgba(0, 0, 0, 0.45);
}

/* ── Game shell (outer window) ── */
.game-shell {
    background: rgba(14, 15, 20, 0.92);
    border: 1px solid var(--menu-accent-dim);
    border-radius: var(--shell-radius);
    box-shadow:
        0 0 0 1px rgba(0, 229, 255, 0.06),
        0 24px 64px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    overflow: hidden;
    margin-bottom: 2rem;
    backdrop-filter: blur(12px);
}

.game-shell-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--menu-border);
}

.game-shell-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--menu-accent);
    box-shadow: 0 0 10px var(--menu-accent);
}

.game-shell-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--menu-muted);
}

.game-shell-body {
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .game-shell-body { padding: 1.75rem 2rem 2rem; }
}

/* ── Section blocks ── */
.feature-section {
    margin-bottom: 2.5rem;
}

.feature-section:last-child {
    margin-bottom: 0;
}

.section-head {
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--menu-border);
    position: relative;
}

.section-head::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 64px;
    height: 2px;
    background: var(--menu-accent);
    box-shadow: 0 0 12px var(--menu-accent-glow);
}

.section-title {
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    font-weight: 700;
    color: var(--menu-text);
    margin: 0 0 0.35rem;
    letter-spacing: 0.02em;
}

.section-sub {
    font-size: 0.88rem;
    color: var(--menu-muted);
    margin: 0;
}

.section-sub .hl-cyan { color: var(--menu-accent); font-weight: 600; }
.section-sub .hl-gold { color: #fbbf24; font-weight: 600; }
.section-sub .hl-red { color: #f87171; font-weight: 600; }
.section-title .hl-red { color: #f87171; }

.cheat-group-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--menu-muted);
    margin: 1.5rem 0 0.65rem;
}

.cheat-group-label:first-of-type {
    margin-top: 0;
}

/* ── Feature tiles (menu panel cards) ── */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.feat-tile {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: var(--menu-panel);
    border: 1px solid var(--menu-border);
    border-radius: var(--panel-radius);
    padding: 1rem 1.1rem;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    position: relative;
    overflow: hidden;
}

.feat-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--menu-accent-soft) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.18s ease;
    pointer-events: none;
}

.feat-tile:hover {
    border-color: var(--menu-accent-dim);
    background: var(--menu-panel-hover);
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.06);
}

.feat-tile:hover::before { opacity: 1; }

.feat-tile-head {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.45rem;
}

.icon-badge {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: var(--menu-accent-soft);
    color: var(--menu-accent);
    font-size: 0.95rem;
}

.feat-tile h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--menu-text);
    margin: 0;
    line-height: 1.35;
    padding-top: 0.15rem;
}

.feat-tile p {
    font-size: 0.8rem;
    color: var(--menu-muted);
    margin: 0;
    line-height: 1.45;
    flex: 1;
}

.feat-tile .tag-dev {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.12rem 0.45rem;
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fcd34d;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.35);
    vertical-align: middle;
}

.feat-tile--dev {
    border-color: rgba(251, 191, 36, 0.22) !important;
    background: rgba(26, 28, 35, 0.85) !important;
}

.feat-tile--dev:hover {
    border-color: rgba(251, 191, 36, 0.4) !important;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.06) !important;
}

.feat-tile--dev::before {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.06) 0%, transparent 55%);
}

.feat-tile--dev h4 {
    color: #d1d5db;
}

.feat-tile--dev p {
    color: #6b7280;
}

.icon-badge--dev {
    background: rgba(251, 191, 36, 0.1) !important;
    color: #fbbf24 !important;
}

/* ── Purchase ── */
.price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 118px;
    padding: 1.35rem 1rem 1.15rem;
    background: var(--menu-panel);
    border: 1px solid var(--menu-border);
    border-radius: var(--panel-radius);
    text-align: center;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.price-values {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    width: 100%;
}

.price-values--sale {
    gap: 0.1rem;
}

.price-card:hover {
    border-color: var(--menu-accent-dim);
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.06);
}

.price-card--featured {
    border-color: var(--menu-accent-dim);
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.08) 0%, var(--menu-panel) 100%);
    box-shadow: inset 0 1px 0 rgba(0, 229, 255, 0.12);
}

.price-badge {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--menu-accent);
    background: var(--menu-accent-soft);
    border: 1px solid var(--menu-accent-dim);
    border-radius: 4px;
    padding: 0.15rem 0.4rem;
}

.price-badge--sale {
    color: #fecaca;
    background: rgba(248, 113, 113, 0.14);
    border-color: rgba(248, 113, 113, 0.35);
}

.price-card--sale {
    border-color: rgba(248, 113, 113, 0.28);
}

.price-days {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--menu-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.price-amount {
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    font-weight: 700;
    color: var(--menu-text);
    line-height: 1.1;
}

.price-amount-old {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 0.92rem;
    font-weight: 600;
    font-style: normal;
    color: rgba(168, 178, 194, 0.88);
    text-decoration: line-through !important;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(248, 113, 113, 0.72);
    -webkit-text-decoration-line: line-through;
    opacity: 0.92;
    line-height: 1.15;
}

.price-card--featured .price-amount-old {
    text-decoration-color: rgba(248, 113, 113, 0.82);
}

.price-card--featured .price-amount {
    color: var(--menu-accent);
    text-shadow: 0 0 20px var(--menu-accent-glow);
}

/* ── Subscription tiers ── */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tier-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 1.25rem 1.35rem;
    background: var(--menu-panel);
    border: 1px solid var(--menu-border);
    border-radius: var(--panel-radius);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
}

.tier-card:hover {
    border-color: var(--menu-accent-dim);
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.07);
    transform: translateY(-2px);
}

.tier-card--featured {
    border-color: var(--menu-accent-dim);
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.08) 0%, var(--menu-panel) 100%);
    box-shadow: inset 0 1px 0 rgba(0, 229, 255, 0.12);
}

.tier-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--menu-accent);
    background: var(--menu-accent-soft);
    border: 1px solid var(--menu-accent-dim);
    border-radius: 4px;
    padding: 0.15rem 0.4rem;
}

.tier-head {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--menu-border);
}

.tier-name {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--menu-text);
}

.tier-card--featured .tier-name {
    color: var(--menu-accent);
    text-shadow: 0 0 20px var(--menu-accent-glow);
}

.tier-tagline {
    margin: 0;
    font-size: 0.78rem;
    color: var(--menu-muted);
    letter-spacing: 0.02em;
}

.tier-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.tier-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.85rem;
    color: var(--menu-text);
    line-height: 1.35;
}

.tier-features li i {
    flex-shrink: 0;
    margin-top: 0.2rem;
    font-size: 0.72rem;
    color: var(--menu-accent);
}

.tier-prices {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--menu-border);
}

.tier-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.3rem 0.15rem;
    border-radius: 6px;
}

.tier-price-row--featured {
    background: rgba(0, 229, 255, 0.05);
    padding: 0.4rem 0.5rem;
}

.tier-price-days {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--menu-muted);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.tier-price-values {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
}

.tier-price-old {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(168, 178, 194, 0.85);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(248, 113, 113, 0.7);
}

.tier-price-now {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--menu-text);
}

.tier-card--featured .tier-price-now {
    color: var(--menu-accent);
}

.tier-price-pct {
    font-size: 0.62rem;
    font-weight: 700;
    color: #fecaca;
    background: rgba(248, 113, 113, 0.14);
    border: 1px solid rgba(248, 113, 113, 0.35);
    border-radius: 4px;
    padding: 0.08rem 0.32rem;
}

.purchase-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.purchase-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    background: var(--menu-panel);
    border: 1px solid var(--menu-border);
    border-radius: var(--panel-radius);
    text-decoration: none;
    color: var(--menu-text);
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.15s ease;
}

.purchase-link:hover {
    color: var(--menu-text);
    border-color: var(--menu-accent-dim);
    background: var(--menu-panel-hover);
    transform: translateY(-1px);
}

.purchase-link-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.15rem;
}

.purchase-link--funpay .purchase-link-icon {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
}

.purchase-link--telegram .purchase-link-icon {
    background: rgba(0, 229, 255, 0.12);
    color: var(--menu-accent);
}

.purchase-link-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.purchase-link-label {
    font-size: 0.92rem;
    font-weight: 700;
}

.purchase-link-hint {
    font-size: 0.75rem;
    color: var(--menu-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.purchase-link-arrow {
    flex-shrink: 0;
    font-size: 0.75rem;
    color: var(--menu-muted);
}

@media (max-width: 768px) {
    .price-grid {
        grid-template-columns: 1fr;
    }

    .tier-grid {
        grid-template-columns: 1fr;
    }

    .purchase-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .price-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

/* ── Stats HUD ── */
.stats-hud {
    margin-bottom: 2rem;
}

.stats-hud-header {
    justify-content: space-between;
    gap: 1rem;
}

.game-shell-header-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.stats-hud-header .stats-reset-note {
    margin: 0;
    flex-shrink: 0;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-transform: none;
    white-space: nowrap;
}

.stats-hud .game-shell-body {
    text-align: center;
    padding: 1.25rem 1.5rem 1.5rem;
}

.stats-hud-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--menu-muted);
    margin-bottom: 0.5rem;
}

.stats-reset-note {
    font-size: 0.78rem;
    color: var(--menu-muted);
    margin-top: 1.25rem;
    margin-bottom: 0;
    opacity: 0.85;
}

/* ── Stats Live + Records row ── */
.stats-live-row {
    display: grid;
    grid-template-columns: minmax(0, 6.7fr) minmax(0, 3.3fr);
    gap: 1rem 1.25rem;
    align-items: stretch;
    margin-bottom: 2rem;
}

.stats-live-row > .game-shell {
    margin-bottom: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.stats-live-row .game-shell-body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem 1.25rem;
}

.stats-live {
    margin-bottom: 0;
}

.stats-records {
    margin-bottom: 0;
}

.stats-live-feed {
    flex: 1;
    min-height: 9.5rem;
    overflow: hidden;
    width: 100%;
}

.stats-records-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.stats-record-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--menu-border);
}

.stats-record-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.stats-record-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--menu-muted);
    line-height: 1.3;
}

.stats-record-fish {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.5rem;
    font-size: 0.86rem;
    color: var(--menu-text);
    line-height: 1.35;
}

.stats-record-name {
    font-weight: 600;
}

.stats-record-weight {
    color: var(--menu-muted);
    font-size: 0.82rem;
}

.stats-record-empty {
    color: var(--menu-muted);
    opacity: 0.55;
    font-size: 0.86rem;
}

.stats-live-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow: hidden;
}

.stats-live-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.45rem 0.55rem;
    font-size: 0.86rem;
    color: var(--menu-text);
    line-height: 1.35;
    text-align: left;
}

.stats-live-prefix {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--menu-muted);
}

.stats-live-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.stats-live-icons {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.stats-live-ico .ico {
    font-size: 0.95rem;
}

.stats-live-name {
    font-weight: 600;
}

.stats-live-weight {
    color: var(--menu-muted);
    font-size: 0.82rem;
}

.stats-live-weight--masked {
    user-select: none;
    pointer-events: none;
}

.stats-live-weight-blur {
    display: inline-block;
    filter: blur(5px);
    opacity: 0.75;
    letter-spacing: 0.08em;
}

.stats-live-badges {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.stats-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: var(--menu-child);
    border: 1px solid var(--menu-border);
    color: var(--menu-muted);
    line-height: 1.2;
}

.stats-live-badge--water {
    color: #9bc83f;
    border-color: rgba(155, 200, 63, 0.35);
}

.stats-live-badge--coords {
    color: var(--menu-accent);
    border-color: var(--menu-accent-dim);
}

.stats-live-badge--price {
    color: #c5cdd8;
    border-color: rgba(197, 205, 216, 0.42);
    background: rgba(197, 205, 216, 0.08);
}

.stats-live-badge--record {
    color: #fcd34d;
    border-color: rgba(251, 191, 36, 0.45);
    background: rgba(251, 191, 36, 0.12);
}

.stats-live-badge-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.85rem;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-style: normal;
    font-size: 0.68rem;
    line-height: 1;
}

.stats-live-badge--water .stats-live-badge-ico::before {
    content: "\f0ac";
}

.stats-live-badge--coords .stats-live-badge-ico::before {
    content: "\f3c5";
}

.stats-live-badge--price .stats-live-badge-ico::before {
    content: "\f51e";
}

.stats-live-badge--record .stats-live-badge-ico::before {
    content: "\f091";
}

.stats-live-item--new {
    animation: live-in 0.45s ease;
}

@keyframes live-in {
    0% {
        opacity: 0;
        transform: translateY(-6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .stats-hud-header {
        flex-wrap: wrap;
    }

    .stats-hud-header .stats-reset-note {
        margin-left: auto;
        font-size: 0.62rem;
    }
}

.stat-chip--pulse {
    animation: stat-pulse 0.55s ease;
}

@keyframes stat-pulse {
    0% { transform: scale(1); box-shadow: none; }
    40% {
        transform: scale(1.04);
        box-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
        border-color: var(--menu-accent-dim);
    }
    100% { transform: scale(1); box-shadow: none; }
}

.stats-grid-poseidon {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
    max-width: none;
    margin: 0 auto;
}

.stat-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 88px;
    background: var(--menu-child);
    border: 1px solid var(--menu-border);
    border-radius: 8px;
    padding: 1rem 0.65rem;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.stat-chip:hover {
    border-color: var(--menu-accent-dim);
}

.stat-chip .ico {
    font-size: 1.25rem;
    line-height: 1;
}

.stat-chip .val {
    font-size: 1.4rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

/* ── Loader modal (overlay) ── */
#loaderModal.modal {
    z-index: 1060;
}

#loaderModal .modal-dialog {
    max-width: 420px;
    margin: 1.75rem auto;
    transform: scale(0.92);
    transition: transform 0.25s ease;
}

#loaderModal.show .modal-dialog {
    transform: scale(1);
}

.modal-backdrop {
    z-index: 1050 !important;
    background: rgba(4, 6, 10, 0.82);
    backdrop-filter: blur(6px);
}

.modal-backdrop.show {
    opacity: 1;
}

body.modal-open {
    overflow: hidden;
}

.loader-modal {
    margin-bottom: 0;
    overflow: visible;
}

.loader-modal .game-shell-header {
    padding-right: 1.25rem;
}

.loader-modal .game-shell-title {
    flex: 1;
}

.loader-modal .download-sub {
    text-align: left;
    margin-bottom: 0 !important;
}

.loader-modal .download-form {
    margin-top: 0.75rem;
}

/* ── Download form (modal) ── */
.download-sub {
    font-size: 0.82rem;
    color: var(--menu-muted);
    margin-bottom: 1.5rem;
}

.download-form input[type="text"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--menu-border);
    background: var(--menu-child);
    color: var(--menu-text);
    text-align: center;
    font-family: inherit;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.download-form input[type="text"]:focus {
    outline: none;
    border-color: var(--menu-accent);
    box-shadow: 0 0 0 3px var(--menu-accent-soft);
}

.download-form input[type="text"]::placeholder {
    letter-spacing: 0.04em;
    text-transform: none;
    color: #5c6370;
}

.download-terms {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    text-align: left;
}

.download-terms input[type="checkbox"] {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    margin-top: 0.15rem;
    accent-color: var(--menu-accent);
    cursor: pointer;
}

.download-terms-text {
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--menu-muted);
}

.download-terms-text label {
    cursor: pointer;
    margin: 0;
}

.download-terms-link {
    display: inline;
    padding: 0;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: var(--menu-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.download-terms-link:hover {
    color: #7eeaff;
}

.download-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.download-btn:disabled:hover {
    box-shadow: none;
    transform: none;
}

.download-btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0e0f14;
    background: linear-gradient(135deg, var(--menu-accent), #00b8d4);
    cursor: pointer;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.download-btn:hover {
    box-shadow: 0 0 24px var(--menu-accent-glow);
    transform: translateY(-1px);
}

.download-note {
    font-size: 0.75rem;
    color: var(--menu-muted);
    margin-top: 1rem;
    margin-bottom: 0;
}

.download-error {
    background: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #fca5a5;
    border-radius: 6px;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.landing-footer {
    text-align: center;
    padding: 2rem 0 0;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4a5060;
}

@media (max-width: 992px) {
    .stats-grid-poseidon {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .stats-grid-poseidon {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .stat-chip {
        min-height: 80px;
    }
    .stat-chip .val {
        font-size: 1.2rem;
    }
}

@media (max-width: 991.98px) {
    .feat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-live-row {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        align-items: start;
    }

    .stats-live-row > .game-shell {
        min-height: 0;
        margin-bottom: 0;
    }

    .stats-live-row .game-shell-header {
        padding: 0.7rem 1rem;
    }

    .stats-live-row .game-shell-body {
        flex: initial;
        padding: 0.75rem 1rem 0.85rem;
    }

    .stats-live-feed {
        flex: initial;
        min-height: 0;
        overflow: visible;
    }

    .stats-live-list {
        overflow: visible;
        gap: 0;
    }

    .stats-live-item {
        flex-wrap: wrap;
        align-items: center;
        gap: 0.35rem 0.45rem;
        padding: 0.7rem 0;
        border-bottom: 1px solid var(--menu-border);
    }

    .stats-live-item:first-child {
        padding-top: 0;
    }

    .stats-live-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .stats-live-name {
        flex: 1 1 100%;
        font-size: 0.94rem;
        line-height: 1.35;
    }

    .stats-live-badges {
        flex: 1 1 100%;
        gap: 0.3rem;
    }

    .stats-live-badge {
        font-size: 0.68rem;
        padding: 0.18rem 0.45rem;
    }

    .stats-record-row {
        padding: 0.55rem 0;
        gap: 0.3rem;
    }

    .stats-record-label {
        font-size: 0.68rem;
    }

    .stats-record-fish {
        font-size: 0.84rem;
        gap: 0.35rem 0.45rem;
    }
}

@media (max-width: 480px) {
    .stats-live-row .game-shell-body {
        padding: 0.65rem 0.85rem 0.75rem;
    }

    .stats-live-prefix {
        font-size: 0.62rem;
    }

    .stats-live-name {
        font-size: 0.9rem;
    }

    .stats-live-weight-blur {
        filter: blur(4px);
        font-size: 0.76rem;
    }

    .stats-record-label {
        line-height: 1.25;
    }
}

@media (max-width: 480px) {
    .feat-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .landing-hero-grid {
        grid-template-columns: 1fr;
    }

    .landing-hero-copy {
        text-align: center;
    }

    .landing-hero-copy .landing-logo,
    .landing-hero-copy .landing-tagline,
    .landing-hero-copy .landing-badges {
        text-align: center;
        justify-content: center;
    }
}

/* ── License agreement ── */
.license-modal .game-shell-body {
    max-height: min(70vh, 640px);
    overflow-y: auto;
}

.license-doc {
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--menu-muted);
}

.license-doc__lead {
    color: var(--menu-text);
    margin-bottom: 1.25rem;
}

.license-doc__section {
    margin-bottom: 1.15rem;
}

.license-doc__section h3 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--menu-text);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.license-doc__section p {
    margin-bottom: 0.5rem;
}

.license-doc__section ul {
    margin: 0.35rem 0 0.65rem 1.1rem;
    padding: 0;
}

.license-doc__section li {
    margin-bottom: 0.35rem;
}

.license-doc__section strong {
    color: #fcd34d;
    font-weight: 600;
}

.license-doc__warn {
    padding: 0.65rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(252, 211, 77, 0.35);
    background: rgba(252, 211, 77, 0.08);
    color: #e8e9ec !important;
}

.license-page {
    max-width: 820px;
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.license-page-back {
    margin-top: 1.5rem;
    margin-bottom: 0;
    font-size: 0.82rem;
}

.license-page-back a {
    color: var(--menu-accent);
    text-decoration: none;
}

.license-page-back a:hover {
    text-decoration: underline;
}

#licenseModal.modal {
    z-index: 1065;
}
