/* ==========================================================================
   RUSTGUY / TETHERRUST — ULTRA-PREMIUM DARK THEME
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,700&family=Space+Grotesk:wght@500;700;800&family=Big+Shoulders+Display:wght@700;900&display=swap");

:root,
.hero,
.play,
.mdl {
    --bg: #060608;
    --bg-surface: #0a0a0e;
    --panel: #0e0e13;
    --panel-hover: #14141c;
    --line: #1c1d25;
    --line-focus: rgba(255, 107, 107, 0.5);
    
    --text: #ffffff;
    --text-primary: #f8fafc;
    --text-sec: #94a3b8;
    --mute: #64748b;
    
    --rust: #ff6b6b;
    --rust-glow: rgba(255, 107, 107, 0.4);
    --rust-dark: #d94f4f;
    --rust-ink: #ffffff;
    --amber: #ff9a8b;
    --amber-glow: rgba(255, 154, 139, 0.35);
    
    --ok: #10b981;
    --ok-glow: rgba(16, 185, 129, 0.4);
    --red-dim: rgba(255, 107, 107, 0.12);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-disp: 'Big Shoulders Display', 'Space Grotesk', 'Impact', sans-serif;
}

/* Base Body Styles */
body {
    font: 400 15px/1.6 var(--font-sans);
    background-color: var(--bg);
    background-image:
        radial-gradient(ellipse at 50% 0%, rgba(255, 107, 107, 0.08) 0%, transparent 60%),
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 100% 100%, 48px 48px, 48px 48px;
    background-attachment: fixed;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

.disp {
    font-family: var(--font-disp);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 0.94;
    text-transform: uppercase;
}

h1, h2, h3, h4 {
    color: #ffffff;
}

/* ---------- Header Navigation ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    padding: 0 4vw;
    min-height: 64px;
    background: rgba(6, 6, 8, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transition: background 0.3s ease;
}

.logo {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    padding-right: 22px;
    border-right: 1px solid var(--line);
    text-decoration: none;
}

.logo b {
    color: var(--rust);
    text-shadow: 0 0 15px var(--rust-glow);
    margin-left: 2px;
}

header nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

header nav a {
    padding: 8px 14px !important;
    border-radius: var(--radius-sm);
    color: var(--text-sec);
    text-decoration: none;
    transition: all 0.2s ease;
}

header nav a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

header nav a.on {
    background: var(--red-dim);
    color: var(--rust);
    box-shadow: inset 0 0 0 1px rgba(255, 107, 107, 0.25);
}

.hright {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.online {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 9999px;
    background: rgba(14, 14, 19, 0.7);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-sec);
    white-space: nowrap;
}

.online span#onl {
    color: #ffffff;
    font-weight: 800;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 10px var(--ok);
    animation: pulseDot 2s infinite ease-in-out;
}

.cartb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
}

.cartb:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.2);
}

.cartb b {
    background: var(--rust);
    color: #fff;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 11px;
}

/* Hub Dropdown Menu */
.hub {
    position: relative;
}

.hubb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 0;
    border-radius: var(--radius-sm);
    background: none;
    color: var(--text-sec);
    font: inherit;
    font-weight: 700;
    letter-spacing: inherit;
    text-transform: inherit;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}

.hubb:hover,
.hubb.open {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.hubb.on {
    background: var(--red-dim);
    color: var(--rust);
}

.hubb svg {
    transition: transform 0.2s ease;
}

.hubb.open svg {
    transform: rotate(180deg);
}

.hubm {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 120;
    min-width: 220px;
    padding: 8px;
    background: #0d0d12;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.hub.open .hubm {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

header nav .hubm a {
    display: block;
    padding: 10px 14px !important;
    border-radius: var(--radius-sm);
    font-size: 13px;
    text-transform: none;
    font-weight: 600;
}

header nav .hubm a b {
    display: block;
    color: #ffffff;
    font-size: 13px;
}

header nav .hubm a small {
    display: block;
    color: var(--mute);
    font-size: 11px;
    margin-top: 2px;
}

header nav .hubm a:hover {
    background: rgba(255, 107, 107, 0.12);
}

header nav .hubm a:hover b {
    color: var(--rust);
}

/* ---------- Button System ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: #111116;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.btn:hover {
    background: #191922;
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}

.btn.p {
    background: linear-gradient(135deg, #ff6b6b 0%, #f05252 100%);
    border-color: #ff6b6b;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.35);
}

.btn.p:hover {
    background: linear-gradient(135deg, #ff8585 0%, #ff7e7e 100%);
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.55);
    transform: translateY(-2px);
}

.btn.wide {
    width: 100%;
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 64px);
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.85fr);
    gap: 60px;
    align-items: center;
    padding: 8vh 6vw 12vh;
    background: transparent;
}

/* Rust Sunset SVG Scene Display */
.hero .scene {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
    filter: drop-shadow(0 0 20px rgba(255, 107, 107, 0.15));
}

.hero .dust {
    display: block;
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
}

.hero .shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 75% 30%, rgba(255, 107, 107, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 30% 90%, rgba(255, 154, 139, 0.08) 0%, transparent 60%),
        linear-gradient(180deg, rgba(6, 6, 8, 0.3) 0%, rgba(6, 6, 8, 0.85) 75%, #060608 100%);
    pointer-events: none;
    z-index: 1;
}

.hero > div {
    position: relative;
    z-index: 2;
}

.hero .when {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-sec);
}

.hero .when::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 10px var(--ok);
    animation: pulseDot 2s infinite ease-in-out;
}

.hero h1 {
    font-size: clamp(48px, 7vw, 104px);
    line-height: 0.92;
    margin: 0 0 24px;
    letter-spacing: -0.035em;
    color: #ffffff;
}

.hero h1 .r {
    color: var(--rust);
    text-shadow: 0 0 25px var(--rust-glow);
}

.hero h1 .dotr {
    color: var(--rust);
}

.hero .lead {
    color: var(--text-sec);
    font-size: 1.12rem;
    line-height: 1.6;
    max-width: 52ch;
    margin-bottom: 28px;
}

/* Countdown Clock */
.cd {
    display: flex;
    gap: 12px;
    margin: 24px 0 28px;
}

.cd div {
    min-width: 88px;
    padding: 14px 16px;
    background: rgba(14, 14, 19, 0.8);
    border: 1px solid var(--line);
    border-top: 3px solid var(--rust);
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.cd strong {
    font-size: 42px;
    line-height: 1;
    font-weight: 900;
    color: #ffffff;
    font-family: var(--font-disp);
}

.cd span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--mute);
    margin-top: 4px;
    font-weight: 600;
}

.btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Hero Bottom Stats Row */
.hero > .hstats {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px 48px;
    padding: 18px 6vw;
    border-top: 1px solid var(--line);
    background: rgba(6, 6, 8, 0.85);
    backdrop-filter: blur(12px);
}

.hstats div {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.hstats b {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
}

.hstats span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mute);
}

/* ---------- Server Panel Card ---------- */
.panel {
    background: rgba(14, 14, 19, 0.85);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
}

.panel h2 {
    font-size: 28px;
    margin-bottom: 16px;
    color: #ffffff;
}

.pills {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    overflow-x: auto;
}

.pill {
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    color: var(--text-sec);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all 0.2s;
}

.pill:hover, .pill.on {
    background: var(--red-dim);
    border-color: rgba(255, 107, 107, 0.35);
    color: #ffffff;
}

/* Server List Rows */
.srv-row, .srv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    margin-bottom: 8px;
    background: rgba(6, 6, 8, 0.7);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.srv-row:hover, .srv:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(2px);
}

.srv-name {
    font-weight: 700;
    color: #ffffff;
    font-size: 14.5px;
}

.srv-meta {
    font-size: 12px;
    color: var(--mute);
    margin-top: 2px;
}

.bar {
    width: 100px;
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.bar i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #ff9a8b);
    border-radius: 3px;
}

/* ---------- Features Grid (Why Choose Us) ---------- */
section.f {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 70px 6vw;
}

section.f article {
    background: rgba(14, 14, 19, 0.7);
    border: 1px solid var(--line);
    border-top: 3px solid var(--line);
    border-radius: var(--radius-md);
    padding: 30px 26px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

section.f article:hover {
    border-top-color: var(--rust);
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 107, 107, 0.15);
}

section.f h3 {
    font-size: 26px;
    margin-bottom: 12px;
    color: #ffffff;
}

section.f p {
    color: var(--text-sec);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---------- Free Starter Crate Section ---------- */
.crate {
    margin: 40px 6vw 90px;
    padding: 36px 44px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.08) 0%, rgba(14, 14, 19, 0.9) 60%);
    border: 1px solid rgba(255, 107, 107, 0.25);
    border-left: 4px solid var(--rust);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 107, 107, 0.1);
}

.crate h2 {
    font-size: 32px;
    margin-bottom: 8px;
    color: #ffffff;
}

.crate p {
    color: var(--text-sec);
    font-size: 1rem;
    max-width: 60ch;
}

/* ---------- Site Footer ---------- */
.site-foot {
    background: #040405;
    border-top: 1px solid var(--line);
    padding: 60px 6vw 30px;
    position: relative;
    z-index: 10;
}

.site-foot::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--rust) 30%, transparent 70%);
}

.frow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 40px;
}

.flinks {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
}

.flinks a {
    color: var(--text-sec);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.15s;
}

.flinks a:hover {
    color: var(--rust);
}

.fbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12px;
    color: var(--mute);
    flex-wrap: wrap;
    gap: 14px;
}

.fchip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    color: var(--text-sec);
    margin-right: 12px;
}

/* ---------- Slide-out Drawer / Cart ---------- */
.dback {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 400px;
    background: #0d0d12;
    border-left: 1px solid var(--line);
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.9);
}

.dh {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.dh h2 {
    font-size: 26px;
}

.dl {
    flex: 1;
    overflow-y: auto;
}

.dfoot {
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.promo {
    display: flex;
    gap: 8px;
}

.promo input {
    flex: 1;
    background: #060608;
    border: 1px solid var(--line);
    padding: 10px 14px;
    color: #fff;
    border-radius: var(--radius-sm);
}

/* Animations */
@keyframes pulseDot {
    0%, 100% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
}

/* Responsive */
@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 6vh 5vw 16vh;
        gap: 40px;
    }
    section.f {
        grid-template-columns: 1fr;
    }
    .crate {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   Steam Authentication & User Header Controls
   ========================================================================== */
.steam-auth-wrapper {
    display: inline-flex;
    align-items: center;
}

.steam-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #171a21 0%, #1b2838 50%, #20354b 100%);
    border: 1px solid rgba(102, 192, 244, 0.4);
    border-radius: 2px;
    color: #ffffff !important;
    padding: 7px 14px;
    font: 700 12px ui-monospace, Consolas, monospace;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.15s ease;
    position: relative;
    overflow: hidden;
}

.steam-login-btn:hover {
    background: linear-gradient(135deg, #20354b 0%, #1b2838 50%, #171a21 100%);
    border-color: #66c0f4;
    box-shadow: 0 0 12px rgba(102, 192, 244, 0.35);
    transform: translateY(-1px);
}

.steam-login-btn:active {
    transform: translateY(1px);
}

.v-btn__content {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    line-height: 1;
}

.v-icon {
    display: inline-block;
    vertical-align: middle;
    color: #ffffff;
}

.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 2px;
    background: #0c0c0f;
    border: 1px solid var(--line);
    border-left: 3px solid var(--rust);
}

.user-chip-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #ffffff;
}

.user-chip-avatar {
    width: 24px;
    height: 24px;
    border-radius: 2px;
    object-fit: cover;
    border: 1px solid var(--rust);
}

.user-chip-name {
    font: 700 12px ui-monospace, Consolas, monospace;
    color: #f1f5f9;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-chip-badge {
    font: 800 10px ui-monospace, Consolas, monospace;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--red-dim);
    color: var(--rust);
    padding: 3px 6px;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.15s;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.user-chip-badge:hover {
    background: var(--rust);
    color: #ffffff;
}

.user-chip-logout {
    background: transparent;
    border: none;
    color: var(--text-sec);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

.user-chip-logout:hover {
    color: var(--rust);
}

/* Steam Modal */
.steam-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 9, 12, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 16px;
    animation: fadeIn 0.2s ease-out;
}

.steam-modal-card {
    background: #101217;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.steam-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #14171e;
}

.steam-modal-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.steam-brand-icon svg {
    font-size: 32px !important;
    width: 32px !important;
    height: 32px !important;
    color: #66c0f4 !important;
}

.steam-modal-header h2 {
    font-size: 1.5rem;
    margin: 0;
    color: #ffffff;
}

.steam-sub {
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 2px 0 0;
}

.steam-modal-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.15s;
}

.steam-modal-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.steam-modal-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.steam-badge-box {
    display: flex;
    gap: 12px;
    background: rgba(102, 192, 244, 0.08);
    border: 1px solid rgba(102, 192, 244, 0.25);
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.4;
}

.steam-badge-box strong {
    color: #66c0f4;
    display: block;
    margin-bottom: 2px;
}

.steam-primary-action-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
    border: 1px solid #66c0f4;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.2s;
}

.steam-primary-action-btn:hover {
    background: linear-gradient(135deg, #2a475e 0%, #1b2838 100%);
    box-shadow: 0 0 20px rgba(102, 192, 244, 0.45);
    transform: translateY(-1px);
}

.steam-modal-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.steam-modal-divider::before,
.steam-modal-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.steam-modal-divider span {
    padding: 0 12px;
}

.steam-custom-form .form-group {
    margin-bottom: 14px;
}

.steam-custom-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.steam-custom-form input {
    width: 100%;
    background: #08090c;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px 14px;
    color: #ffffff;
    font-size: 0.9rem;
}

.steam-custom-form input:focus {
    border-color: #ff6b6b;
    outline: none;
}

.steam-modal-footer {
    padding: 14px 24px;
    background: #0a0b0f;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.72rem;
    color: #64748b;
    text-align: center;
}


/* Header: keep the cart in view when signed in on narrower desktop windows */
@media (max-width: 1320px) { .online { display: none; } .user-chip-badge { display: none; } }
@media (max-width: 1120px) { .user-chip-name { display: none; } header nav a { padding: 8px 10px !important; } }
