/* ==========================================================================
   STONEHENGE PLAY HUB (stonehengeplayhub.com)
   Bespoke Megalithic Sarsen Obsidian, Druid Emerald & Solstice Gold Theme
   1-to-1 Structural System — Prefix: sph-
   ========================================================================== */

:root {
    --sph-bg: #070b0d;
    --sph-bg-elev: #0d1418;
    --sph-panel: rgba(15, 24, 29, 0.88);
    --sph-panel-flat: #10191f;
    --sph-panel-gold: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(16, 185, 129, 0.09) 65%, rgba(13, 20, 24, 0.95));
    --sph-border: rgba(148, 163, 184, 0.14);
    --sph-border-gold: rgba(245, 158, 11, 0.36);
    --sph-text: #f1f5f9;
    --sph-text-muted: #94a3b8;
    --sph-text-dim: #64748b;
    --sph-gold: #f59e0b;
    --sph-gold-bright: #fde047;
    --sph-emerald: #10b981;
    --sph-emerald-dark: #059669;
    --sph-cyan: #38bdf8;
    --sph-danger: #ef4444;
    --sph-radius-sm: 10px;
    --sph-radius: 16px;
    --sph-radius-lg: 22px;
    --sph-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
    --sph-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --sph-font-display: 'Cinzel', Georgia, serif;
    --sph-font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--sph-bg);
    color: var(--sph-text);
    font-family: var(--sph-font-sans);
    line-height: 1.6;
}

body.sph-body {
    margin: 0;
    min-height: 100vh;
    background: var(--sph-bg);
    color: var(--sph-text);
    overflow-x: hidden;
    position: relative;
    padding-bottom: 72px;
}

@media (min-width: 960px) {
    body.sph-body {
        padding-bottom: 0;
    }
}

a {
    color: var(--sph-gold-bright);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--sph-emerald);
}

img {
    max-width: 100%;
    display: block;
}

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

p {
    margin: 0 0 1rem;
    color: var(--sph-text-muted);
}

[hidden] {
    display: none !important;
}

/* ==========================================================================
   0. AMBIENT BACKGROUND FX (sph-fx)
   ========================================================================== */
.sph-fx {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.sph-fx__rays {
    position: absolute;
    inset: -30%;
    background: conic-gradient(from 180deg at 50% 20%, rgba(245, 158, 11, 0.06), transparent 25%, rgba(16, 185, 129, 0.06) 50%, transparent 75%, rgba(245, 158, 11, 0.05));
    filter: blur(45px);
}

.sph-fx__aurora {
    position: absolute;
    inset: 0;
}

.sph-fx__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(85px);
    opacity: 0.28;
}

.sph-fx__blob--a {
    width: 440px;
    height: 440px;
    top: -120px;
    left: -80px;
    background: radial-gradient(circle, #f59e0b, transparent 70%);
}

.sph-fx__blob--b {
    width: 520px;
    height: 520px;
    top: 15%;
    right: -140px;
    background: radial-gradient(circle, #10b981, transparent 70%);
}

.sph-fx__blob--c {
    width: 400px;
    height: 400px;
    bottom: 10%;
    left: 18%;
    background: radial-gradient(circle, #0284c7, transparent 70%);
}

.sph-fx__blob--d {
    width: 360px;
    height: 360px;
    bottom: -90px;
    right: 12%;
    background: radial-gradient(circle, #eab308, transparent 70%);
}

.sph-fx__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.45;
}

.sph-fx__vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, transparent 45%, rgba(7, 11, 13, 0.85) 100%);
}

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

/* ==========================================================================
   SHELLS, GRIDS, PANELS & COMMON UI ATOMS
   ========================================================================== */
.sph-shell {
    width: min(1320px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.5rem 0 3.5rem;
}

.sph-shell--narrow {
    max-width: 880px;
    margin: 0 auto;
}

.sph-grid {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.sph-grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}

.sph-grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.sph-grid--4 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.sph-panel {
    border-radius: var(--sph-radius);
    padding: 1.5rem;
    border: 1px solid var(--sph-border);
    background: var(--sph-panel);
    backdrop-filter: blur(12px);
    box-shadow: var(--sph-shadow);
}

.sph-panel--flat {
    background: var(--sph-panel-flat);
    border: 1px solid var(--sph-border);
}

.sph-panel--gold {
    background: var(--sph-panel-gold);
    border: 1px solid var(--sph-border-gold);
}

.sph-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sph-gold-bright);
    margin-bottom: 0.5rem;
}

.sph-age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: rgba(239, 68, 68, 0.16);
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: #fca5a5;
    font-weight: 800;
    font-size: 0.74rem;
    letter-spacing: 0.05em;
}

.sph-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    background: rgba(148, 163, 184, 0.14);
    color: var(--sph-text);
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.sph-chip--gold {
    background: rgba(245, 158, 11, 0.16);
    color: var(--sph-gold-bright);
    border-color: rgba(245, 158, 11, 0.4);
}

.sph-chip--emerald {
    background: rgba(16, 185, 129, 0.16);
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.4);
}

/* Buttons */
.sph-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.72rem 1.35rem;
    border-radius: 999px;
    font-family: var(--sph-font-sans);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    text-decoration: none;
    white-space: nowrap;
}

.sph-btn:hover {
    transform: translateY(-1px);
}

.sph-btn--gold {
    background: linear-gradient(135deg, #f59e0b, #eab308);
    color: #070b0d;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.32);
}

.sph-btn--gold:hover {
    color: #070b0d;
    background: linear-gradient(135deg, #fbbf24, #fde047);
}

.sph-btn--ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--sph-text);
    border-color: rgba(148, 163, 184, 0.25);
}

.sph-btn--ghost:hover {
    color: #ffffff;
    border-color: var(--sph-gold);
    background: rgba(245, 158, 11, 0.1);
}

.sph-btn--sm {
    padding: 0.46rem 0.95rem;
    font-size: 0.8rem;
}

.sph-btn--full {
    width: 100%;
}

/* Progress Bars */
.sph-bar {
    width: 100%;
    height: 10px;
    background: rgba(15, 23, 42, 0.85);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.sph-bar--sm {
    height: 7px;
}

.sph-bar--xl {
    height: 14px;
}

.sph-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--sph-emerald), var(--sph-gold), var(--sph-gold-bright));
    border-radius: 999px;
    transition: width 0.4s ease;
}

.sph-bar__legend {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--sph-text-muted);
    margin-top: 0.4rem;
}

/* Section & Page Headers */
.sph-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.sph-section-head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2rem;
}

.sph-page-head {
    padding: 2rem 0 1.5rem;
    border-bottom: 1px solid var(--sph-border);
    margin-bottom: 2rem;
}

.sph-page-head h1 {
    font-size: clamp(1.85rem, 3.5vw, 2.75rem);
}

.sph-page-head__meta {
    font-size: 0.82rem;
    color: var(--sph-text-dim);
    margin-top: 0.5rem;
}

.sph-page-head__actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.sph-subhead {
    margin: 2rem 0 1rem;
    font-size: 1.25rem;
}

/* ==========================================================================
   HEADER (sph-site-header), WALLET, ACCOUNT MENU & DRAWER
   ========================================================================== */
.sph-site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(7, 11, 13, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--sph-border);
}

.sph-site-header__inner {
    width: min(1360px, calc(100% - 1.5rem));
    margin: 0 auto;
    height: 70px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
}

.sph-site-header__side {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sph-site-header__side--end {
    justify-content: flex-end;
}

.sph-burger {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--sph-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--sph-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.sph-burger:hover {
    border-color: var(--sph-gold);
    color: var(--sph-gold-bright);
}

.sph-nav {
    display: none;
    align-items: center;
    gap: 0.35rem;
}

@media (min-width: 960px) {
    .sph-nav {
        display: flex;
    }
}

.sph-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.48rem 0.85rem;
    border-radius: 999px;
    color: var(--sph-text-muted);
    font-weight: 600;
    font-size: 0.88rem;
}

.sph-nav__link:hover,
.sph-nav__link.is-active {
    color: #ffffff;
    background: rgba(245, 158, 11, 0.14);
}

.sph-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #ffffff;
}

.sph-brand__word {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.sph-brand__title {
    font-family: var(--sph-font-display);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    color: #ffffff;
}

.sph-brand__sub {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--sph-gold-bright);
    font-weight: 700;
}

/* Wallet Pill */
.sph-wallet {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.32rem 0.4rem 0.32rem 0.7rem;
    border-radius: 999px;
    background: rgba(16, 25, 31, 0.95);
    border: 1px solid var(--sph-border-gold);
    font-size: 0.82rem;
}

.sph-wallet__val {
    font-family: var(--sph-font-mono);
    font-weight: 700;
    color: #ffffff;
}

.sph-wallet__code {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--sph-gold-bright);
    display: none;
}

@media (min-width: 640px) {
    .sph-wallet__code {
        display: inline;
    }
}

.sph-wallet__add {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--sph-gold);
    color: #070b0d;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sph-header-auth {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

/* Account Dropdown */
.sph-acct {
    position: relative;
}

.sph-acct__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--sph-border);
    color: var(--sph-text);
    cursor: pointer;
}

.sph-acct__lvl {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--sph-gold-bright);
}

.sph-acct__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sph-emerald), var(--sph-gold));
    color: #070b0d;
    font-weight: 800;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sph-acct__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sph-emerald);
}

.sph-acct__menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: 270px;
    background: #0e171d;
    border: 1px solid var(--sph-border-gold);
    border-radius: var(--sph-radius);
    box-shadow: var(--sph-shadow);
    padding: 1rem;
    z-index: 90;
}

.sph-acct__head {
    padding-bottom: 0.85rem;
    margin-bottom: 0.65rem;
    border-bottom: 1px solid var(--sph-border);
}

.sph-acct__name {
    font-weight: 700;
    color: #ffffff;
}

.sph-acct__meta, .sph-acct__xp {
    font-size: 0.76rem;
    color: var(--sph-text-muted);
    margin: 0.25rem 0;
}

.sph-acct__list {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.sph-acct__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.48rem 0.65rem;
    border-radius: 8px;
    color: var(--sph-text);
    font-size: 0.85rem;
}

.sph-acct__item:hover {
    background: rgba(245, 158, 11, 0.12);
    color: var(--sph-gold-bright);
}

.sph-acct__item--danger {
    color: #fca5a5;
}

.sph-acct__sep {
    height: 1px;
    background: var(--sph-border);
    margin: 0.35rem 0;
}

/* Sliding Drawer */
.sph-drawer {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    visibility: hidden;
}

.sph-drawer.is-open {
    pointer-events: auto;
    visibility: visible;
}

.sph-drawer__scrim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.sph-drawer.is-open .sph-drawer__scrim {
    opacity: 1;
}

.sph-drawer__panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(330px, 88vw);
    background: #0b1216;
    border-right: 1px solid var(--sph-border-gold);
    padding: 1.25rem;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sph-drawer.is-open .sph-drawer__panel {
    transform: translateX(0);
}

.sph-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sph-drawer__close {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--sph-border);
    background: transparent;
    color: var(--sph-text);
    font-size: 1.3rem;
    cursor: pointer;
}

.sph-drawer__cta {
    padding: 1rem;
    border-radius: var(--sph-radius-sm);
    background: rgba(245, 158, 11, 0.09);
    border: 1px solid var(--sph-border-gold);
}

.sph-drawer__balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.82rem;
}

.sph-drawer__auth-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.sph-drawer__group {
    margin-bottom: 1.1rem;
}

.sph-drawer__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sph-gold-bright);
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.sph-drawer__link {
    display: block;
    padding: 0.46rem 0.65rem;
    border-radius: 8px;
    color: var(--sph-text-muted);
    font-size: 0.88rem;
}

.sph-drawer__link:hover,
.sph-drawer__link.is-active {
    background: rgba(245, 158, 11, 0.14);
    color: #ffffff;
}

/* ==========================================================================
   1. HOME PAGE 11 BLOCKS
   ========================================================================== */

/* Block 1: Spotlight Feature Banner (sph-dragon) */
.sph-dragon {
    position: relative;
    border-radius: var(--sph-radius-lg);
    overflow: hidden;
    border: 1px solid var(--sph-border-gold);
    margin-bottom: 1.75rem;
    min-height: 290px;
    display: flex;
    align-items: center;
    background: #0b1318;
}

.sph-dragon__plate {
    position: absolute;
    inset: 0;
}

.sph-dragon__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
}

.sph-dragon__blend {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 11, 13, 0.96) 0%, rgba(7, 11, 13, 0.78) 55%, rgba(7, 11, 13, 0.35) 100%);
}

.sph-dragon__copy {
    position: relative;
    z-index: 2;
    padding: 2.25rem;
    max-width: 650px;
}

.sph-dragon__title {
    font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.sph-dragon__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.1rem;
}

/* Block 2: Live Community Jackpot Vault (sph-vault) */
.sph-vault {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2rem;
    border-radius: var(--sph-radius-lg);
    background: var(--sph-panel-gold);
    border: 1px solid var(--sph-border-gold);
    margin-bottom: 1.75rem;
    align-items: center;
}

@media (min-width: 900px) {
    .sph-vault {
        grid-template-columns: 1.35fr 0.65fr;
    }
}

.sph-vault__pot {
    font-family: var(--sph-font-mono);
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    font-weight: 800;
    color: var(--sph-gold-bright);
    line-height: 1.1;
    margin: 0.35rem 0 0.75rem;
}

.sph-vault__pot small {
    font-size: 1rem;
    color: var(--sph-emerald);
    margin-left: 0.35rem;
}

.sph-vault__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
}

.sph-countdown {
    display: inline-flex;
    gap: 0.5rem;
}

.sph-countdown__cell {
    background: rgba(7, 11, 13, 0.78);
    border: 1px solid var(--sph-border-gold);
    border-radius: 10px;
    padding: 0.4rem 0.65rem;
    text-align: center;
    min-width: 58px;
}

.sph-countdown__cell strong {
    display: block;
    font-family: var(--sph-font-mono);
    font-size: 1.05rem;
    color: #ffffff;
}

.sph-countdown__cell span {
    font-size: 0.68rem;
    text-transform: uppercase;
    color: var(--sph-text-muted);
}

.sph-vault__stage {
    position: relative;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sph-vault__coin {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fde047, #f59e0b 65%, #b45309 100%);
    border: 4px solid #fef08a;
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #070b0d;
}

.sph-vault__coin-face {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sph-vault__coin-star {
    font-size: 1.35rem;
}

.sph-vault__coin-code {
    font-family: var(--sph-font-display);
    font-weight: 800;
    font-size: 1.15rem;
}

.sph-vault__coin-sub {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.sph-vault__orbit--a {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    pointer-events: none;
}

.sph-vault__chip {
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: rgba(7, 11, 13, 0.85);
    border: 1px solid var(--sph-border-gold);
    color: var(--sph-gold-bright);
    font-size: 0.72rem;
    font-weight: 700;
}

/* Block 3: 3D Hero Carousel (sph-hero) */
.sph-hero {
    position: relative;
    border-radius: var(--sph-radius-lg);
    overflow: hidden;
    border: 1px solid var(--sph-border);
    margin-bottom: 1.75rem;
    background: #0a1115;
}

.sph-hero__slide {
    display: none;
    position: relative;
    min-height: 360px;
    align-items: center;
}

.sph-hero__slide.is-active {
    display: flex;
}

.sph-hero__bg {
    position: absolute;
    inset: 0;
}

.sph-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.sph-hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 11, 13, 0.95) 0%, rgba(7, 11, 13, 0.75) 60%, rgba(7, 11, 13, 0.3) 100%);
}

.sph-hero__content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    max-width: 680px;
}

.sph-hero__title {
    font-size: clamp(1.75rem, 3.4vw, 2.65rem);
}

.sph-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.15rem 0 0.75rem;
}

.sph-hero__note {
    font-size: 0.76rem;
    color: var(--sph-text-dim);
    margin: 0;
}

.sph-hero__controls {
    position: absolute;
    right: 1.5rem;
    bottom: 1.25rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sph-hero__arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--sph-border);
    background: rgba(7, 11, 13, 0.8);
    color: #ffffff;
    cursor: pointer;
}

.sph-hero__dots {
    display: flex;
    gap: 0.35rem;
}

.sph-hero__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.sph-hero__dot.is-active {
    background: var(--sph-gold-bright);
    width: 24px;
    border-radius: 999px;
}

/* Block 4: 4-Card Quickbar (sph-quickbar) */
.sph-quickbar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.sph-quickbar__card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem 1.25rem;
    border-radius: var(--sph-radius);
    background: var(--sph-panel-flat);
    border: 1px solid var(--sph-border);
    color: var(--sph-text);
}

.sph-quickbar__card:hover {
    border-color: var(--sph-gold);
    transform: translateY(-2px);
}

.sph-quickbar__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.14);
    color: var(--sph-gold-bright);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sph-quickbar__text strong {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
}

.sph-quickbar__text span {
    font-size: 0.78rem;
    color: var(--sph-text-muted);
}

/* Block 5: Category Filter Pills (sph-pills) */
.sph-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding: 0.85rem 1.1rem;
    border-radius: var(--sph-radius);
    background: var(--sph-panel-flat);
    border: 1px solid var(--sph-border);
}

.sph-pills__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.sph-pill {
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--sph-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--sph-text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.sph-pill:hover,
.sph-pill.is-active {
    background: var(--sph-gold);
    color: #070b0d;
    border-color: var(--sph-gold);
}

/* Block 6: Horizontal Game Rails & Tiles (sph-rail & sph-tile) */
.sph-rail {
    margin-bottom: 2.25rem;
}

.sph-rail__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.sph-rail__title-wrap {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.sph-rail__title {
    margin: 0;
    font-size: 1.3rem;
}

.sph-rail__nav {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.sph-rail__btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--sph-border);
    background: var(--sph-panel-flat);
    color: var(--sph-text);
    cursor: pointer;
}

.sph-rail__more {
    font-size: 0.82rem;
    font-weight: 700;
    margin-left: 0.35rem;
}

.sph-rail__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    gap: 1.1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
}

.sph-tile {
    display: flex;
    flex-direction: column;
    border-radius: var(--sph-radius);
    overflow: hidden;
    background: var(--sph-panel-flat);
    border: 1px solid var(--sph-border);
    color: var(--sph-text);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.sph-tile:hover {
    transform: translateY(-4px);
    border-color: var(--sph-gold);
}

.sph-tile__art {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #06090b;
}

.sph-tile__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.sph-tile:hover .sph-tile__art img {
    transform: scale(1.05);
}

.sph-tile__flags {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    display: flex;
    gap: 0.35rem;
    z-index: 2;
}

.sph-flag {
    padding: 0.18rem 0.5rem;
    border-radius: 6px;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    background: rgba(7, 11, 13, 0.85);
    color: #ffffff;
}

.sph-flag--hot {
    background: #ef4444;
}

.sph-flag--gold {
    background: #f59e0b;
    color: #070b0d;
}

.sph-flag--emerald {
    background: #10b981;
    color: #070b0d;
}

.sph-flag--amber {
    background: #eab308;
    color: #070b0d;
}

.sph-tile__overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 11, 13, 0.82);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.sph-tile:hover .sph-tile__overlay {
    opacity: 1;
}

.sph-tile__specs {
    font-size: 0.74rem;
    color: var(--sph-gold-bright);
    font-weight: 600;
}

.sph-tile__meta {
    padding: 0.9rem 1rem;
}

.sph-tile__name {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.96rem;
    margin-bottom: 0.15rem;
}

.sph-tile__provider {
    font-size: 0.76rem;
    color: var(--sph-text-muted);
    margin-bottom: 0.45rem;
}

.sph-tile__jackpot {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--sph-font-mono);
    font-size: 0.76rem;
    color: var(--sph-gold-bright);
    font-weight: 700;
}

/* Block 7: Latest Wins Ticker (sph-ticker) */
.sph-ticker {
    padding: 1.1rem 1.35rem;
    border-radius: var(--sph-radius);
    background: var(--sph-panel-flat);
    border: 1px solid var(--sph-border);
    margin-bottom: 2.25rem;
}

.sph-ticker__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
    font-size: 0.82rem;
}

.sph-ticker__title {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.sph-ticker__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sph-emerald);
}

.sph-ticker__track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.75rem;
}

.sph-winner {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.8rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--sph-border);
}

.sph-winner__avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.18);
    color: var(--sph-gold-bright);
    font-weight: 800;
    font-size: 0.76rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sph-winner__info {
    flex: 1;
    min-width: 0;
}

.sph-winner__info strong {
    display: block;
    font-size: 0.82rem;
    color: #ffffff;
}

.sph-winner__info span {
    font-size: 0.72rem;
    color: var(--sph-text-muted);
}

.sph-winner__amt {
    font-family: var(--sph-font-mono);
    font-size: 0.78rem;
    color: var(--sph-emerald);
}

/* Block 8: Studios Grid (sph-provider-grid) */
.sph-studios, .sph-studios-sec {
    margin-bottom: 2.5rem;
}

.sph-provider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.sph-provider-card {
    padding: 1.4rem;
    border-radius: var(--sph-radius);
    background: var(--sph-panel-flat);
    border: 1px solid var(--sph-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sph-provider-card__head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.sph-provider-card__logo {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(16, 185, 129, 0.22));
    border: 1px solid var(--sph-border-gold);
    color: var(--sph-gold-bright);
    font-family: var(--sph-font-display);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sph-provider-card__name {
    margin: 0;
    font-size: 1.1rem;
}

.sph-provider-card__count {
    font-size: 0.76rem;
    color: var(--sph-text-muted);
}

.sph-provider-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.75rem;
}

/* Block 9: Why Section (sph-why) */
.sph-why {
    margin-bottom: 2.5rem;
}

.sph-why__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.sph-why-card {
    padding: 1.5rem;
    border-radius: var(--sph-radius);
    background: var(--sph-panel-flat);
    border: 1px solid var(--sph-border);
}

.sph-why-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
}

/* Block 10: CTA Banner (sph-cta-banner) */
.sph-cta-banner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: center;
    padding: 2rem;
    border-radius: var(--sph-radius-lg);
    background: var(--sph-panel-gold);
    border: 1px solid var(--sph-border-gold);
    margin-bottom: 2.5rem;
}

@media (min-width: 820px) {
    .sph-cta-banner {
        grid-template-columns: auto 1fr auto;
    }
}

/* Block 11: Home SEO Editorial (sph-home-seo) */
.sph-home-seo {
    padding: 2rem;
    border-radius: var(--sph-radius);
    background: var(--sph-panel-flat);
    border: 1px solid var(--sph-border);
}

.sph-home-seo__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.25rem;
}

/* ==========================================================================
   2. GAMES CATALOG (sph-catalog)
   ========================================================================== */
.sph-catalog {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 3rem;
}

@media (min-width: 960px) {
    .sph-catalog {
        grid-template-columns: 270px 1fr;
    }
}

.sph-filter-group {
    margin-bottom: 1.5rem;
}

.sph-filter-group:last-child {
    margin-bottom: 0;
}

.sph-filter-group__title {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sph-gold-bright);
    margin-bottom: 0.6rem;
}

.sph-filter-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--sph-text-muted);
    font-family: var(--sph-font-sans);
    font-size: 0.86rem;
    cursor: pointer;
    text-align: left;
}

.sph-filter-link__label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.sph-filter-link:hover,
.sph-filter-link.is-active {
    background: rgba(245, 158, 11, 0.15);
    color: #ffffff;
}

.sph-filter-link__count {
    font-family: var(--sph-font-mono);
    font-size: 0.74rem;
    color: var(--sph-gold-bright);
}

.sph-catalog__bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.sph-catalog__search {
    flex: 1;
    min-width: 220px;
}

.sph-catalog__selects {
    display: flex;
    gap: 0.65rem;
}

.sph-catalog__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.1rem;
    font-size: 0.85rem;
    color: var(--sph-text-muted);
}

.sph-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
    gap: 1.2rem;
}

.sph-pager {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.sph-pager__btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--sph-gold);
    color: #070b0d;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   3. PLAY PAGE (sph-launch, sph-cabinet, sph-gameside)
   ========================================================================== */
.sph-launch__crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    font-size: 0.82rem;
    color: var(--sph-text-muted);
    margin-bottom: 1.15rem;
}

.sph-launch__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.25rem;
}

@media (min-width: 1024px) {
    .sph-launch__grid {
        grid-template-columns: 1fr 330px;
    }
    .sph-launch__grid.is-theatre {
        grid-template-columns: 1fr;
    }
}

.sph-cabinet {
    border-radius: var(--sph-radius);
    background: var(--sph-panel-flat);
    border: 1px solid var(--sph-border);
    overflow: hidden;
}

.sph-cabinet__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--sph-border);
}

.sph-cabinet__title {
    font-size: 1.15rem;
    margin: 0;
}

.sph-cabinet__prov {
    font-size: 0.76rem;
    color: var(--sph-text-muted);
}

.sph-cabinet__tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.sph-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.7rem;
    border-radius: 8px;
    border: 1px solid var(--sph-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--sph-text);
    font-size: 0.78rem;
    cursor: pointer;
}

.sph-tool-btn:hover {
    border-color: var(--sph-gold);
    color: var(--sph-gold-bright);
}

.sph-stage__banner {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 1rem;
    background: rgba(245, 158, 11, 0.14);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--sph-gold-bright);
}

.sph-stage__frame-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    background: #000000;
}

.sph-stage__frame-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.sph-betbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.95rem 1.25rem;
    border-top: 1px solid var(--sph-border);
    background: #0a1014;
}

.sph-betbar__wallet, .sph-betbar__specs {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.84rem;
}

.sph-gameside {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.sph-gameside__balance {
    font-family: var(--sph-font-mono);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--sph-gold-bright);
    margin: 0.35rem 0;
}

.sph-gameside__btns {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sph-kv {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.sph-kv__row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.42rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    font-size: 0.84rem;
}

.sph-kv__row span {
    color: var(--sph-text-muted);
}

.sph-notice {
    margin-top: 0.85rem;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid var(--sph-border-gold);
    font-size: 0.82rem;
    color: var(--sph-gold-bright);
}

.sph-paytable-sec {
    margin-bottom: 2.5rem;
}

.sph-paytable__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

/* ==========================================================================
   4. COMMUNITY JACKPOT (sph-cj-hero, sph-prize-row, sph-winner-cards)
   ========================================================================== */
.sph-cj-hero {
    padding: 2.25rem;
    border-radius: var(--sph-radius-lg);
    background: var(--sph-panel-gold);
    border: 1px solid var(--sph-border-gold);
    margin-bottom: 2rem;
    text-align: center;
}

.sph-cj-hero__pot {
    font-family: var(--sph-font-mono);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    color: var(--sph-gold-bright);
    margin: 0.4rem 0;
}

.sph-cj-hero__lead {
    max-width: 720px;
    margin: 0 auto 1.5rem;
}

.sph-milestones {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.sph-milestone {
    padding: 0.5rem;
    border-radius: 10px;
    background: rgba(7, 11, 13, 0.65);
    border: 1px solid var(--sph-border);
    font-size: 0.76rem;
}

.sph-milestone.is-hit {
    border-color: var(--sph-emerald);
    color: #6ee7b7;
}

.sph-milestone.is-active {
    border-color: var(--sph-gold-bright);
    background: rgba(245, 158, 11, 0.18);
    color: var(--sph-gold-bright);
}

.sph-milestone strong, .sph-milestone small {
    display: block;
}

.sph-cj-hero__foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.sph-cj-hero__actions {
    display: flex;
    gap: 0.75rem;
}

.sph-cj-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.15rem;
    margin-bottom: 2.25rem;
}

.sph-prize-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 2.5rem;
}

.sph-prize-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--sph-radius-sm);
    background: var(--sph-panel-flat);
    border: 1px solid var(--sph-border);
}

.sph-prize-row--jackpot {
    background: var(--sph-panel-gold);
    border-color: var(--sph-border-gold);
}

.sph-prize-row__left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.sph-prize-row__amt {
    font-family: var(--sph-font-mono);
    font-weight: 800;
    color: var(--sph-gold-bright);
}

.sph-winner-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sph-winner-card {
    padding: 1.1rem;
    border-radius: var(--sph-radius-sm);
    background: var(--sph-panel-flat);
    border: 1px solid var(--sph-border);
}

.sph-winner-card__top {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.sph-winner-card__top span {
    display: block;
    font-size: 0.74rem;
    color: var(--sph-text-muted);
}

.sph-winner-card__prize strong {
    font-family: var(--sph-font-mono);
    color: var(--sph-gold-bright);
    display: block;
}

/* ==========================================================================
   5 & 6. REWARDS HUB, WHEEL & QUESTS (sph-reward, sph-wheel, sph-quest)
   ========================================================================== */
.sph-rewards-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 2rem;
}

@media (min-width: 820px) {
    .sph-rewards-head {
        grid-template-columns: 1fr 280px;
    }
}

.sph-stat {
    padding: 1.25rem;
    border-radius: var(--sph-radius);
    background: var(--sph-panel-flat);
    border: 1px solid var(--sph-border);
}

.sph-stat--gold {
    background: var(--sph-panel-gold);
    border-color: var(--sph-border-gold);
}

.sph-stat__label {
    display: block;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sph-text-muted);
}

.sph-stat__val {
    display: block;
    font-family: var(--sph-font-mono);
    font-size: 1.65rem;
    color: #ffffff;
    margin: 0.25rem 0;
}

.sph-stat__sub {
    font-size: 0.76rem;
    color: var(--sph-gold-bright);
}

.sph-reward {
    padding: 1.5rem;
    border-radius: var(--sph-radius);
    background: var(--sph-panel-flat);
    border: 1px solid var(--sph-border);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
}

.sph-reward.is-ready {
    border-color: var(--sph-border-gold);
}

.sph-wheel-sec {
    margin-bottom: 2.5rem;
}

.sph-wheel-grid {
    align-items: center;
    margin-bottom: 0;
}

.sph-wheel__prizes {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.45rem;
}

.sph-wheel__prizes li {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0.65rem;
    border-radius: 8px;
    background: rgba(7, 11, 13, 0.6);
    font-size: 0.8rem;
}

.sph-wheel__controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.sph-wheel__timer {
    font-family: var(--sph-font-mono);
    font-size: 0.84rem;
    color: var(--sph-gold-bright);
}

.sph-wheel__stage {
    display: flex;
    justify-content: center;
}

.sph-wheel-frame {
    position: relative;
    width: min(380px, 100%);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sph-wheel-frame canvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 35px rgba(245, 158, 11, 0.35);
}

.sph-wheel-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.65rem;
    color: var(--sph-gold-bright);
    z-index: 4;
    text-shadow: 0 3px 10px rgba(0,0,0,0.8);
}

.sph-wheel-hub {
    position: absolute;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: radial-gradient(circle, #fde047, #f59e0b);
    border: 3px solid #070b0d;
    color: #070b0d;
    font-weight: 800;
    font-size: 0.78rem;
    cursor: pointer;
    z-index: 3;
}

/* Quests */
.sph-quest-sec {
    margin-bottom: 2.25rem;
}

.sph-quest-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.sph-quest {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1.2rem 1.35rem;
    border-radius: var(--sph-radius);
    background: var(--sph-panel-flat);
    border: 1px solid var(--sph-border);
}

@media (min-width: 780px) {
    .sph-quest {
        grid-template-columns: auto 1fr auto;
    }
}

.sph-quest__icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sph-quest__name {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.sph-quest__desc {
    font-size: 0.84rem;
    margin-bottom: 0.5rem;
}

.sph-quest__reward {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
}

.sph-quest__amt {
    font-family: var(--sph-font-mono);
    color: var(--sph-gold-bright);
}

/* ==========================================================================
   7. STATUS LADDER & LEVEL TRACK (sph-ladder, sph-level-track)
   ========================================================================== */
.sph-ladder {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.sph-tier-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1.35rem;
    border-radius: var(--sph-radius);
    background: var(--sph-panel-flat);
    border: 1px solid var(--sph-border);
    border-left: 4px solid var(--tier-color, #f59e0b);
}

@media (min-width: 900px) {
    .sph-tier-card {
        grid-template-columns: 260px 1fr 210px;
    }
}

.sph-tier-card__left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.sph-tier-card__title-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sph-tier-card__name {
    margin: 0;
    font-size: 1.15rem;
}

.sph-tier-card__reach {
    font-size: 0.76rem;
    color: var(--sph-text-muted);
}

.sph-perk-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.sph-perk {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.8rem;
}

.sph-tier-card__req {
    text-align: right;
    font-size: 0.82rem;
}

.sph-tier-card__req strong {
    display: block;
    color: var(--sph-gold-bright);
    font-family: var(--sph-font-mono);
}

.sph-level-track {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.sph-level-row {
    display: grid;
    grid-template-columns: 90px 140px 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.15rem;
    border-radius: 12px;
    background: var(--sph-panel-flat);
    border: 1px solid var(--sph-border);
    font-size: 0.86rem;
}

.sph-level-row.is-unlocked {
    border-color: rgba(16, 185, 129, 0.45);
}

.sph-level-row__badge {
    font-family: var(--sph-font-mono);
    font-weight: 800;
    color: var(--sph-gold-bright);
}

/* ==========================================================================
   8. PROFILE ACCOUNT CENTER (sph-account)
   ========================================================================== */
.sph-account {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

@media (min-width: 960px) {
    .sph-account {
        grid-template-columns: 260px 1fr;
    }
}

.sph-account__id {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--sph-border);
}

.sph-avatar--lg {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sph-emerald), var(--sph-gold));
    color: #070b0d;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sph-account__name {
    display: block;
    color: #ffffff;
}

.sph-account__meta {
    font-size: 0.76rem;
    color: var(--sph-text-muted);
}

.sph-account__nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sph-account__link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--sph-text-muted);
    font-family: var(--sph-font-sans);
    font-size: 0.88rem;
    cursor: pointer;
    text-align: left;
}

.sph-account__link:hover,
.sph-account__link.is-active {
    background: rgba(245, 158, 11, 0.15);
    color: #ffffff;
}

.sph-account__sep {
    height: 1px;
    background: var(--sph-border);
    margin: 0.45rem 0;
}

.sph-kyc {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--sph-radius);
    background: var(--sph-panel-gold);
    border: 1px solid var(--sph-border-gold);
    margin-bottom: 1.5rem;
}

.sph-kyc__copy {
    flex: 1;
    min-width: 220px;
}

.sph-kyc__copy p {
    margin: 0;
    font-size: 0.82rem;
}

.sph-copy-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   9. AUTH SPLIT LAYOUT (sph-auth) & FORMS
   ========================================================================== */
.sph-auth {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
    padding: 1.5rem 0;
}

@media (min-width: 900px) {
    .sph-auth {
        grid-template-columns: 1fr 1.1fr;
    }
}

.sph-auth__side {
    padding: 2rem;
    border-radius: var(--sph-radius-lg);
    background: var(--sph-panel-gold);
    border: 1px solid var(--sph-border-gold);
}

.sph-auth__pitch {
    margin: 1.25rem 0;
    font-size: 1.65rem;
}

.sph-auth__perks {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sph-auth__perk {
    display: flex;
    gap: 0.85rem;
}

.sph-auth__perk h4 {
    margin: 0 0 0.2rem;
    font-size: 0.96rem;
}

.sph-auth__perk p {
    margin: 0;
    font-size: 0.82rem;
}

.sph-auth__main {
    padding: 2rem;
    border-radius: var(--sph-radius-lg);
    background: var(--sph-panel-flat);
    border: 1px solid var(--sph-border);
}

.sph-form, .sph-auth__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sph-field-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.sph-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.sph-field__label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--sph-text);
}

.sph-field__hint {
    font-size: 0.74rem;
    color: var(--sph-text-dim);
}

.sph-input, .sph-select, .sph-textarea {
    width: 100%;
    padding: 0.68rem 0.9rem;
    border-radius: 10px;
    border: 1px solid var(--sph-border);
    background: #080d10;
    color: var(--sph-text);
    font-family: var(--sph-font-sans);
    font-size: 0.9rem;
}

.sph-input:focus, .sph-select:focus, .sph-textarea:focus {
    outline: none;
    border-color: var(--sph-gold);
}

.sph-check {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.84rem;
    color: var(--sph-text-muted);
    cursor: pointer;
}

.sph-auth__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sph-link-btn {
    background: none;
    border: none;
    color: var(--sph-gold-bright);
    font-size: 0.84rem;
    cursor: pointer;
    padding: 0;
}

.sph-auth-alert {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.16);
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: #fca5a5;
    font-size: 0.85rem;
}

.sph-auth-alert.is-success {
    background: rgba(16, 185, 129, 0.16);
    border-color: rgba(16, 185, 129, 0.45);
    color: #6ee7b7;
}

/* ==========================================================================
   10–18. DOCS, FACTS, CONTACT, FAQ ACCORDION & TABLES
   ========================================================================== */
.sph-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
    margin-bottom: 2.25rem;
}

.sph-fact {
    padding: 1.35rem;
    border-radius: var(--sph-radius);
    background: var(--sph-panel-flat);
    border: 1px solid var(--sph-border);
    text-align: center;
}

.sph-fact strong {
    display: block;
    font-family: var(--sph-font-mono);
    font-size: 1.85rem;
    color: var(--sph-gold-bright);
}

.sph-fact span {
    font-size: 0.82rem;
    color: var(--sph-text-muted);
}

.sph-doc {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 900px) {
    .sph-doc {
        grid-template-columns: 240px 1fr;
    }
}

.sph-doc__toc {
    position: sticky;
    top: 88px;
    padding: 1.1rem;
    border-radius: var(--sph-radius);
    background: var(--sph-panel-flat);
    border: 1px solid var(--sph-border);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.sph-doc__toc-link {
    padding: 0.42rem 0.65rem;
    border-radius: 8px;
    color: var(--sph-text-muted);
    font-size: 0.84rem;
}

.sph-doc__toc-link:hover {
    background: rgba(245, 158, 11, 0.14);
    color: #ffffff;
}

.sph-doc__sec {
    padding: 1.5rem;
    border-radius: var(--sph-radius);
    background: var(--sph-panel-flat);
    border: 1px solid var(--sph-border);
    margin-bottom: 1.25rem;
}

.sph-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .sph-contact-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.sph-contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sph-contact-card__btns {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* FAQ Accordions */
.sph-faq-search {
    max-width: 520px;
    margin-top: 1rem;
}

.sph-faq-cat {
    margin-bottom: 2.25rem;
}

.sph-acc {
    border-radius: var(--sph-radius-sm);
    background: var(--sph-panel-flat);
    border: 1px solid var(--sph-border);
    margin-bottom: 0.65rem;
    overflow: hidden;
}

.sph-acc__sum {
    padding: 1rem 1.25rem;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    list-style: none;
}

.sph-acc__body {
    padding: 0 1.25rem 1rem;
    font-size: 0.9rem;
}

/* Tables */
.sph-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--sph-radius-sm);
    border: 1px solid var(--sph-border);
    background: var(--sph-panel-flat);
}

.sph-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.sph-table th, .sph-table td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--sph-border);
}

.sph-table th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--sph-gold-bright);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sph-empty {
    padding: 2rem;
    border-radius: var(--sph-radius);
    background: var(--sph-panel-flat);
    border: 1px dashed var(--sph-border);
    text-align: center;
}

.sph-break-widget__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.85rem 0;
}

.sph-break-widget__status {
    font-family: var(--sph-font-mono);
    font-size: 0.84rem;
    color: var(--sph-gold-bright);
}

/* ==========================================================================
   FOOTER (sph-site-footer), TABBAR, MODALS, PROMO POP & COOKIE BANNER
   ========================================================================== */
.sph-site-footer {
    background: #05080a;
    border-top: 1px solid var(--sph-border);
    padding-top: 2rem;
}

.sph-footer__top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
    gap: 1.75rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--sph-border);
}

.sph-footer__summary {
    font-size: 0.84rem;
    margin: 0.75rem 0;
}

.sph-footer__contact {
    font-size: 0.8rem;
    color: var(--sph-text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sph-footer__heading {
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sph-gold-bright);
    margin-bottom: 0.75rem;
}

.sph-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
    font-size: 0.85rem;
}

.sph-footer__list a {
    color: var(--sph-text-muted);
}

.sph-footer__list a:hover {
    color: #ffffff;
}

.sph-footer__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--sph-border);
    font-size: 0.82rem;
}

.sph-footer__spacer {
    flex: 1;
}

.sph-trust-chip {
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
    font-size: 0.74rem;
    font-weight: 700;
}

.sph-footer__legal {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--sph-border);
    font-size: 0.78rem;
}

.sph-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1.25rem;
    font-size: 0.78rem;
    color: var(--sph-text-dim);
}

.sph-footer__bottom-nav {
    display: flex;
    gap: 1rem;
}

/* Mobile Tabbar */
.sph-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 64px;
    background: rgba(7, 11, 13, 0.96);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--sph-border);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    z-index: 70;
}

@media (min-width: 960px) {
    .sph-tabbar {
        display: none;
    }
}

.sph-tabbar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    color: var(--sph-text-muted);
    font-size: 0.68rem;
    font-weight: 600;
}

.sph-tabbar__item.is-active {
    color: var(--sph-gold-bright);
}

/* Modals */
.sph-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.sph-modal.is-open {
    display: flex;
}

.sph-modal__scrim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
}

.sph-modal__card {
    position: relative;
    z-index: 2;
    max-width: 440px;
    width: 100%;
    padding: 1.85rem;
    border-radius: var(--sph-radius-lg);
    background: #0d151a;
    border: 1px solid var(--sph-border-gold);
    box-shadow: var(--sph-shadow);
    text-align: center;
}

.sph-modal__close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    background: transparent;
    border: none;
    color: var(--sph-text-muted);
    font-size: 1.4rem;
    cursor: pointer;
}

.sph-modal__actions {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

/* Toasts */
.sph-toasts {
    position: fixed;
    top: 84px;
    right: 1rem;
    z-index: 130;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 340px;
}

.sph-toast {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    background: #0e181e;
    border: 1px solid var(--sph-border-gold);
    color: #ffffff;
    font-size: 0.84rem;
    box-shadow: var(--sph-shadow);
}

/* Promo Pop & Cookie Banner */
.sph-promo-pop {
    position: fixed;
    left: 1rem;
    bottom: 5rem;
    z-index: 80;
    width: 280px;
    padding: 1.15rem;
    border-radius: var(--sph-radius);
    background: #0e171d;
    border: 1px solid var(--sph-border-gold);
    box-shadow: var(--sph-shadow);
}

.sph-promo-pop__close {
    position: absolute;
    top: 0.5rem;
    right: 0.65rem;
    background: none;
    border: none;
    color: var(--sph-text-muted);
    font-size: 1.2rem;
    cursor: pointer;
}

.sph-promo-pop__badge {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--sph-gold-bright);
    letter-spacing: 0.08em;
}

.sph-promo-pop__title {
    font-size: 1rem;
    margin: 0.25rem 0;
}

.sph-promo-pop__desc {
    font-size: 0.78rem;
    margin-bottom: 0.75rem;
}

.sph-cookie {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 110;
    max-width: 980px;
    margin: 0 auto;
    padding: 1.15rem 1.35rem;
    border-radius: var(--sph-radius);
    background: rgba(11, 18, 22, 0.97);
    border: 1px solid var(--sph-border-gold);
    box-shadow: var(--sph-shadow);
}

.sph-cookie__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.sph-cookie__copy {
    flex: 1;
    min-width: 260px;
}

.sph-cookie__copy p {
    margin: 0.35rem 0 0;
    font-size: 0.8rem;
}

.sph-cookie__actions {
    display: flex;
    gap: 0.5rem;
}



.sph-auth__or {
    position: relative;
    text-align: center;
    margin: 16px 0;
}
.sph-auth__or::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: var(--sph-border);
}
.sph-auth__or span {
    position: relative;
    padding: 0 12px;
    background: var(--sph-bg-elev);
    color: var(--sph-text-dim);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
