html, body {
    margin: 0;
    padding: 0;
    font-family: Inter, -apple-system, system-ui, sans-serif;
    color: #fff;
    background: #05070a;
}

/* =====================
   🎮 GLOBAL BACKGROUND SYSTEM
===================== */

.page-bg {
    position: fixed;
    inset: 0;
    z-index: 0;

    background-image: var(--page-bg, none);
    background-size: cover;
    background-position: center;

    filter: blur(14px) brightness(0.8);
    transform: scale(1.1);
}

.page-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 35, 70, 0.3),
        rgba(0, 10, 25, 0.55)
    );
}

/* Foreground glass layer */
.page-overlay {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    background: linear-gradient(
        180deg,
        rgba(5, 10, 15, 0.45),
        rgba(5, 7, 10, 0.75)
    );
}

/* =====================
   ✅ PAGE → BACKGROUND ASSIGNMENT (THE FIX)
===================== */

/* Landing page */
.page.landing {
    --page-bg: url("/assets/bg-mirage.jpg");
}

/* All case-related pages */
.page.page-cases,
.page.page-cases-active,
.page.page-cases-rare,
.page.page-cases-discontinued,
.page.page-movers {
    --page-bg: url("/assets/bg-mirage.jpg");
}

/* =====================
   NAVBAR
===================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 2;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 12px 28px;
    background: linear-gradient(90deg, #00111a, #002a3b, #00111a);
    border-bottom: 1px solid rgba(0, 188, 212, 0.5);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    height: 36px;
    filter: drop-shadow(0 0 6px rgba(0,188,212,0.55));
}

.nav-title {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    color: #00e5ff;
}

.nav-right {
    display: flex;
    gap: 16px;
}

.nav-link {
    color: #b3c1c7;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.2s;
}

.nav-link:hover {
    background: rgba(0, 188, 212, 0.18);
    color: #fff;
}

.nav-link.active {
    background: #00bcd4;
    color: #000;
}

/* =====================
   LAYOUT
===================== */

.dashboard-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px;
}

/* =====================
   BUTTONS (GLOBAL)
===================== */

.page-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-movers {
    padding: 12px 22px;
    border-radius: 12px;
    border: 1px solid rgba(0,188,212,0.4);
    background: rgba(10, 14, 18, 0.65);
    color: #b3c1c7;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s;
    backdrop-filter: blur(10px);
}

.btn-movers:hover {
    transform: translateY(-2px);
}

.btn-movers.active {
    background: #00bcd4;
    color: #000;
    box-shadow: 0 0 18px rgba(0,188,212,0.6);
}

.btn-movers.primary {
    background: linear-gradient(135deg, #00bcd4, #00e5ff);
    color: #000;
    box-shadow: 0 0 22px rgba(0,188,212,0.6);
}

/* =====================
   FOOTER
===================== */

.affiliate-footer {
    padding: 26px 10px;
    text-align: center;
    background: rgba(2,3,7,0.85);
    color: #808f99;
    border-top: 1px solid #151b22;
}

.copy {
    font-size: 11px;
}

/* =====================
   RESPONSIVE
===================== */

@media (max-width: 768px) {
    .dashboard-container {
        padding: 0 16px;
    }
}
