:root {
    --bg: #101827;
    --bg-soft: #1a2436;
    --surface: #202b40;
    --surface-2: #26324a;
    --surface-3: #172132;
    --border: rgba(168, 188, 224, 0.24);
    --text: #f5f8ff;
    --muted: #bcc8e3;
    --accent: #6d93ff;
    --accent-2: #63d1ff;
    --success: #31d07f;
    --danger: #ff6b7a;
    --warning: #ffb84d;
    --shadow: 0 24px 60px rgba(6, 11, 23, 0.34);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(109, 147, 255, 0.24), transparent 30%),
        radial-gradient(circle at top right, rgba(99, 209, 255, 0.2), transparent 22%),
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.06), transparent 28%),
        linear-gradient(180deg, #141d2d 0%, #101827 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        linear-gradient(120deg, rgba(239, 124, 141, 0.08), rgba(239, 124, 141, 0) 45%),
        url('/assets/design-mix/back_head.png') top right / 900px auto no-repeat,
        url('/assets/design-mix/zzz.png') 2% 85% / 260px auto no-repeat;
    opacity: 0.52;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

small {
    color: var(--muted);
    line-height: 1.55;
}

li {
    color: var(--muted);
    line-height: 1.6;
}

strong,
b {
    color: var(--text);
}

code,
kbd {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 8px;
    font-family: Consolas, 'Courier New', monospace;
    font-size: 0.95em;
    line-height: 1.45;
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    word-break: break-word;
}

pre {
    margin: 0;
    overflow-x: auto;
}

pre code {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    white-space: pre-wrap;
}

h1, h2, h3, h4 {
    margin: 0;
    color: var(--text);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(16px);
    background: rgba(16, 24, 39, 0.78);
    border-bottom: 1px solid var(--border);
}

.nav-scrim {
    display: none;
}

.navbar {
    position: relative;
    z-index: 1001;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 82px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
}

.brand-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-link::before {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background:
        linear-gradient(135deg, rgba(109, 147, 255, 0.9), rgba(99, 209, 255, 0.9));
    box-shadow: 0 0 0 4px rgba(109, 147, 255, 0.16);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%230f1830' stroke-linecap='round' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Cpath d='M12 2v4M12 18v4M2 12h4M18 12h4'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
}

.brand-tag {
    color: var(--muted);
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 1002;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 52px;
    height: 52px;
    margin-left: auto;
    border: 1px solid rgba(214, 226, 255, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(214, 226, 255, 0.2);
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.navbar-panel {
    position: static;
    width: 100%;
    margin: 0 0 18px;
    flex: 1 0 100%;
    padding: 18px;
    display: none;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 16px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 1001;
    border-radius: 24px;
    border: 1px solid rgba(199, 214, 245, 0.16);
    background: linear-gradient(180deg, rgba(33, 44, 66, 0.98), rgba(23, 33, 50, 0.98));
    box-shadow: 0 24px 48px rgba(7, 12, 24, 0.32);
}

.site-header.menu-open .navbar-panel {
    display: grid;
}

.navbar-links,
.navbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.navbar-links {
    justify-content: flex-start;
}

.navbar-right {
    justify-content: flex-start;
}

.navbar a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 16px;
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid transparent;
    transition: 0.2s ease;
}

@media (max-width: 1360px) and (min-width: 1081px) {
    .navbar {
        gap: 14px;
    }

    .brand-tag {
        font-size: 0.76rem;
        letter-spacing: 0.14em;
    }

    .navbar a {
        padding: 9px 12px;
        font-size: 0.88rem;
    }

    .nav-link-item::before {
        width: 14px;
        height: 14px;
        flex-basis: 14px;
    }

    .navbar-panel {
        grid-template-columns: 1fr;
    }
}

.navbar a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(214, 226, 255, 0.12);
}

.nav-link-item::before {
    content: "";
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.95;
}

.nav-link-item--home::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23dce7ff' d='M12 3 3 10v10h6v-6h6v6h6V10z'/%3E%3C/svg%3E");
}

.nav-link-item--news::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23dce7ff' d='M5 4h12a2 2 0 0 1 2 2v11a3 3 0 0 1-3 3H8a3 3 0 0 1-3-3z'/%3E%3Cpath fill='%23101827' d='M8 8h8v2H8zm0 4h8v2H8zm0 4h5v2H8z'/%3E%3C/svg%3E");
}

.nav-link-item--stats::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23dce7ff' d='M4 19h16v2H4zM6 11h3v7H6zm5-4h3v11h-3zm5 2h3v9h-3z'/%3E%3C/svg%3E");
}

.nav-link-item--forum::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23dce7ff' d='M4 4h16a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H9l-5 4v-4H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2'/%3E%3Cpath fill='%23101827' d='M7 8h10v2H7zm0 4h7v2H7z'/%3E%3C/svg%3E");
}


.nav-link-item--bugs::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23dce7ff' d='m14 2-1 2.1a8 8 0 0 0-2 0L10 2H8L7.4 4.3a8.1 8.1 0 0 0-1.7 1L3.6 4.6 2.2 6l1.1 2.1a8.1 8.1 0 0 0-.5 2L1 11v2l1.8.9c.1.7.3 1.4.5 2L2.2 18l1.4 1.4 2.1-1.1c.5.4 1.1.7 1.7 1L8 22h2l1-2h2l1 2h2l.6-2.3c.6-.3 1.2-.6 1.7-1l2.1 1.1 1.4-1.4-1.1-2.1c.2-.6.4-1.3.5-2L23 13v-2l-1.8-.9a8.1 8.1 0 0 0-.5-2L21.8 6l-1.4-1.4-2.1 1.1c-.5-.4-1.1-.7-1.7-1L16 2z'/%3E%3Cpath fill='%23101827' d='M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8m-1 2h2v5h-2zm0 6h2v2h-2z'/%3E%3C/svg%3E");
}
.nav-link-item--bans::before,
.nav-link-item--shield::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23dce7ff' d='M12 2 5 5v6c0 5 3.4 9.4 7 11 3.6-1.6 7-6 7-11V5z'/%3E%3Cpath fill='%23101827' d='M11 7h2v6h-2zm0 7h2v2h-2z'/%3E%3C/svg%3E");
}

.nav-link-item--skins::before,
.nav-link-item--crate::before,
.nav-link-item--inventory::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23dce7ff' d='M12 2 4 6v12l8 4 8-4V6z'/%3E%3Cpath fill='%23101827' d='M12 5.1 7 7.5 12 10l5-2.5zM6 9l5 2.5v6L6 15zm12 0v6l-5 2.5v-6z'/%3E%3C/svg%3E");
}

.nav-link-item--dashboard::before,
.nav-link-item--profile::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23dce7ff' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3Cpath d='M12 2v4M12 18v4M2 12h4M18 12h4'/%3E%3C/g%3E%3C/svg%3E");
}

.nav-link-item--login::before,
.nav-link-item--logout::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23dce7ff' d='M10 4h10v16H10v-4h2v2h6V6h-6v2h-2zm1.5 4 1.4 1.4-1.6 1.6H4v2h7.3l1.6 1.6-1.4 1.4L7.5 12z'/%3E%3C/svg%3E");
}

.nav-link-item--register::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23dce7ff' d='M15 12c2.2 0 4-1.8 4-4s-1.8-4-4-4-4 1.8-4 4 1.8 4 4 4m-8 2h8c2.8 0 5 2.2 5 5v1H2v-1c0-2.8 2.2-5 5-5m-.5-6H9V5h2V3h3v2h2v3h-2v2h-3V8H9v2H6.5z'/%3E%3C/svg%3E");
}

.nav-link-item--admin::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23dce7ff' d='m19.4 13 .1-1-.1-1 2.1-1.6-2-3.4-2.5 1a8.3 8.3 0 0 0-1.7-1L13 2h-4l-.3 3a8.3 8.3 0 0 0-1.7 1l-2.5-1-2 3.4L4.6 11a8.4 8.4 0 0 0 0 2l-2.1 1.6 2 3.4 2.5-1a8.3 8.3 0 0 0 1.7 1l.3 3h4l.3-3a8.3 8.3 0 0 0 1.7-1l2.5 1 2-3.4z'/%3E%3Cpath fill='%23101827' d='M12 9a3 3 0 1 0 0 6 3 3 0 0 0 0-6'/%3E%3C/svg%3E");
}

.container {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.home-shell,
.page-shell {
    padding: 34px 0 56px;
}

.page-shell {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.page-shell > * {
    margin-top: 0;
    margin-bottom: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 24px;
    align-items: stretch;
}

.auth-panel,
.surface-block,
.stat-card,
.server-card,
.mini-surface,
.wrapper,
.card {
    background: linear-gradient(180deg, rgba(33, 44, 66, 0.98), rgba(23, 33, 50, 0.97));
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.auth-panel {
    padding: 34px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.auth-avatar {
    width: 96px;
    height: 96px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(99, 209, 255, 0.38), rgba(109, 147, 255, 0.12)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 2.3rem;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.auth-panel h2 {
    font-size: 2.2rem;
}

.auth-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.auth-metrics div,
.highlight-card,
.stat-card,
.mini-surface {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
}

.auth-metrics div {
    padding: 14px;
}

.auth-metrics span,
.highlight-card span,
.stat-card span,
.server-meta-grid span,
.mini-surface span,
.news-meta,
.section-kicker,
.card-header small {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.auth-metrics strong,
.highlight-card strong,
.stat-card strong,
.server-meta-grid strong,
.mini-surface strong {
    display: block;
    margin-top: 6px;
    font-size: 1.24rem;
}

.hero-panel {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 38px;
    border-radius: 30px;
    background:
        linear-gradient(140deg, rgba(109, 147, 255, 0.22), rgba(99, 209, 255, 0.1)),
        linear-gradient(180deg, rgba(31, 43, 66, 0.98), rgba(23, 33, 50, 0.98));
    border: 1px solid rgba(181, 198, 231, 0.22);
    box-shadow: var(--shadow);
}

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

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.42;
    background:
        linear-gradient(90deg, rgba(15, 24, 39, 0.94) 0%, rgba(15, 24, 39, 0.78) 38%, rgba(15, 24, 39, 0.42) 100%),
        linear-gradient(180deg, rgba(109, 147, 255, 0.16), rgba(99, 209, 255, 0.04)),
        url('/assets/home/hero-cs.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    transform: scale(1.08);
}

.hero-panel::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -18px;
    width: 220px;
    height: 220px;
    opacity: 0.2;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%23ffffff'/%3E%3Cstop offset='1' stop-color='%2363d1ff'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' stroke='url(%23g)' stroke-width='5' stroke-linecap='round'%3E%3Ccircle cx='120' cy='120' r='84'/%3E%3Ccircle cx='120' cy='120' r='48'/%3E%3Cpath d='M120 18v34M120 188v34M18 120h34M188 120h34'/%3E%3Cpath d='m68 68 22 22m60 60 22 22m0-104-22 22m-60 60-22 22' stroke-opacity='.6'/%3E%3C/g%3E%3Ccircle cx='120' cy='120' r='10' fill='%23ffffff' fill-opacity='.85'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(109, 147, 255, 0.16);
    color: #d7e3ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-badge::before {
    content: "";
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23d7e3ff' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Cpath d='M12 2v4M12 18v4M2 12h4M18 12h4'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.hero-panel h1 {
    margin-top: 16px;
    font-size: clamp(2rem, 3vw, 3.3rem);
    line-height: 1.08;
}

.hero-lead {
    margin-top: 16px;
    max-width: 760px;
    font-size: 1.03rem;
}

.hero-highlights {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.hero-cta-row {
    margin-top: 24px;
}

.highlight-card {
    position: relative;
    padding: 18px;
    overflow: hidden;
}

.highlight-card small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
}

.highlight-card::before,
.quick-link-card::before,
.footer-title::before {
    content: "";
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.highlight-card::before {
    display: block;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    padding: 10px;
    border-radius: 14px;
    background-color: rgba(255, 255, 255, 0.08);
}

.highlight-card--online::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='2.5' fill='%23dce7ff'/%3E%3Cg fill='none' stroke='%23dce7ff' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 3v3M12 18v3M3 12h3M18 12h3'/%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3C/g%3E%3C/svg%3E");
}

.highlight-card--connect::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23dce7ff' d='M12 2 5 6v5c0 4.8 2.9 9.2 7 11 4.1-1.8 7-6.2 7-11V6z'/%3E%3Cpath fill='%23101827' d='M11 7h2v2h2v2h-2v2h-2v-2H9V9h2z'/%3E%3C/svg%3E");
}

.highlight-card--today::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23dce7ff' d='M6 2h2v2h8V2h2v2h2a2 2 0 0 1 2 2v12a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V6a2 2 0 0 1 2-2zm0 8h12v8H6z'/%3E%3C/svg%3E");
}

.accent-card {
    background: linear-gradient(180deg, rgba(109, 147, 255, 0.24), rgba(99, 209, 255, 0.14));
}

.quick-links-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.quick-link-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: grid;
    gap: 8px;
    padding: 18px;
    min-height: 100%;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.quick-link-card > * {
    position: relative;
    z-index: 1;
}

.quick-link-card::before {
    position: relative;
    z-index: 1;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 10px;
}

.quick-link-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.36;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    transform: scale(1.12);
    transition: opacity 0.2s ease, transform 0.25s ease;
}

.quick-link-card--rank::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23dce7ff' d='M12 2 9.7 8H3l5.4 3.8L6.4 18 12 14.2 17.6 18l-2-6.2L21 8h-6.7z'/%3E%3C/svg%3E");
}

.quick-link-card--rank::after {
    background-image:
        linear-gradient(180deg, rgba(14, 20, 31, 0.22), rgba(14, 20, 31, 0.9)),
        linear-gradient(135deg, rgba(109, 147, 255, 0.22), rgba(99, 209, 255, 0.08)),
        url('/assets/home/rank-cs.jpg');
}

.quick-link-card--bans::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23dce7ff' d='M12 2 5 5v6c0 5 3.4 9.4 7 11 3.6-1.6 7-6 7-11V5z'/%3E%3Cpath fill='%23101827' d='m9 9 6 6m0-6-6 6'/%3E%3C/svg%3E");
}

.quick-link-card--bans::after {
    background-image:
        linear-gradient(180deg, rgba(14, 20, 31, 0.2), rgba(14, 20, 31, 0.92)),
        linear-gradient(135deg, rgba(255, 184, 77, 0.14), rgba(109, 147, 255, 0.08)),
        url('/assets/home/bans-cs.jpg');
}

.quick-link-card--news::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23dce7ff' d='M3 6h18v12H3z'/%3E%3Cpath fill='%23101827' d='M5 8h7v8H5zm9 0h5v2h-5zm0 4h5v2h-5zm0 4h3v2h-3z'/%3E%3C/svg%3E");
}

.quick-link-card--news::after {
    background-image:
        linear-gradient(180deg, rgba(14, 20, 31, 0.24), rgba(14, 20, 31, 0.9)),
        linear-gradient(135deg, rgba(99, 209, 255, 0.18), rgba(109, 147, 255, 0.06)),
        url('/assets/home/news-cs.jpg');
}

.quick-link-card:hover::after {
    opacity: 0.48;
    transform: scale(1.16);
}

.quick-link-card:hover {
    transform: translateY(-2px);
    border-color: rgba(127, 145, 255, 0.32);
    background: rgba(255, 255, 255, 0.05);
}

.quick-link-card span {
    color: var(--muted);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quick-link-card strong {
    font-size: 1.05rem;
    line-height: 1.4;
}

.quick-link-card small {
    color: var(--muted);
    line-height: 1.55;
}

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

.stacked-actions {
    flex-direction: column;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 16px;
    border: 1px solid transparent;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 16px 36px rgba(77, 124, 255, 0.28);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.08);
}

.btn.compact,
.btn-secondary.compact {
    padding: 10px 14px;
}

.stats-showcase {
    margin-top: 28px;
}

.compact-alert {
    margin: 0;
}

.topup-form {
    margin-top: 4px;
}

.topup-history-list,
.owned-list {
    display: grid;
    gap: 12px;
}

.topup-history-item,
.owned-item {
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.topup-history-item strong,
.owned-item strong {
    display: block;
}

.topup-history-item span,
.owned-item span,
.topup-history-item small,
.owned-item small {
    color: var(--muted);
}

.topup-error {
    color: #ffb7bf;
}

.payment-setup-box {
    padding: 16px;
}

.config-hints {
    display: grid;
    gap: 12px;
}

.config-hints div {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.config-hints strong {
    display: block;
    margin-top: 6px;
    color: var(--text);
    font-size: 0.96rem;
    word-break: break-word;
}

.topup-return-shell {
    max-width: 980px;
}

.topup-return-card {
    margin-top: 0;
}

.topup-return-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.topup-return-actions {
    margin-top: 22px;
}

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

@media (max-width: 560px) {
    .topup-return-grid {
        grid-template-columns: 1fr;
    }
}

.centered {
    text-align: center;
}

.stats-cards {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.stat-card {
    padding: 20px;
}

.stat-card strong {
    color: #c0d0ff;
    font-size: 1.8rem;
}

.surface-block {
    margin-top: 28px;
    padding: 28px;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 22px;
}

.section-header-row h2,
.page-banner h1,
.article-block h2 {
    font-size: clamp(1.7rem, 2vw, 2.4rem);
}

.section-note {
    max-width: 420px;
    text-align: right;
}

.server-grid,
.content-columns {
    display: grid;
    gap: 18px;
}

.server-grid {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.server-card {
    padding: 22px;
}

.server-card.online {
    border-color: rgba(49, 208, 127, 0.3);
}

.server-card.offline {
    border-color: rgba(255, 107, 122, 0.18);
}

.server-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.server-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.server-address {
    margin-top: 6px;
    color: var(--muted);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.is-online {
    background: rgba(49, 208, 127, 0.14);
    color: #aef6ca;
}

.is-offline {
    background: rgba(255, 107, 122, 0.12);
    color: #ffb0bb;
}

.server-meta-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.server-meta-grid div {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
}

.server-card-actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.server-card-note {
    color: var(--muted);
    font-size: 0.92rem;
    word-break: break-word;
}

.content-columns {
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
}

.news-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.news-item {
    padding: 20px 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.news-item h3,
.news-item h4 {
    margin-top: 8px;
    font-size: 1.25rem;
}

.news-item p {
    margin-top: 12px;
}

.feature-list {
    margin: 18px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

.feature-list li + li {
    margin-top: 10px;
}

.mini-surface + .mini-surface {
    margin-top: 14px;
}

.mini-surface {
    margin-top: 22px;
    padding: 18px;
}

.page-banner,
.article-block {
    margin-bottom: 24px;
}

.page-banner {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(245, 116, 140, 0.12), rgba(245, 116, 140, 0) 56%),
        linear-gradient(180deg, rgba(33, 44, 66, 0.98), rgba(23, 33, 50, 0.97));
}

.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        url('/assets/design-mix/slider_support.png') right center / 540px auto no-repeat,
        linear-gradient(90deg, rgba(20, 28, 44, 0.3), rgba(20, 28, 44, 0));
    opacity: 0.26;
}

.page-banner--appeal::before {
    background:
        url('/assets/design-mix/slider_unban.png') right center / 620px auto no-repeat,
        linear-gradient(90deg, rgba(20, 28, 44, 0.3), rgba(20, 28, 44, 0));
    opacity: 0.3;
}

.page-banner--bans::before {
    background:
        url('/assets/design-mix/slider_support.png') right center / 560px auto no-repeat,
        linear-gradient(90deg, rgba(20, 28, 44, 0.35), rgba(20, 28, 44, 0));
    opacity: 0.24;
}

.page-banner > * {
    position: relative;
    z-index: 1;
}

.appeal-template {
    min-height: 180px;
    font-family: Consolas, 'Courier New', monospace;
    white-space: pre-wrap;
}

.appeal-meta-list {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.appeal-meta-list li + li {
    margin-top: 6px;
}

.card,
.wrapper {
    padding: 26px;
}

.card-header,
.card-body,
.card-footer {
    background: transparent;
}

.card-header {
    margin-bottom: 14px;
}

.card-footer {
    margin-top: 20px;
}

.wrapper {
    max-width: 480px;
    margin: 0 auto;
}

.dashboard-wrapper {
    max-width: 960px;
}

.dashboard-shell {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 20px;
    padding: 34px 0 56px;
}

.dashboard-sidebar {
    position: sticky;
    top: 108px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: fit-content;
}

.dashboard-user-badge {
    width: 84px;
    height: 84px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(77, 124, 255, 0.22), rgba(127, 92, 255, 0.2));
    font-size: 2rem;
    font-weight: 800;
}

.dashboard-sidebar-nav,
.page-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dashboard-sidebar-nav a,
.page-switcher-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.dashboard-sidebar-nav a:hover,
.page-switcher-link:hover,
.page-switcher-link.active {
    background: linear-gradient(135deg, rgba(77, 124, 255, 0.2), rgba(127, 92, 255, 0.18));
    border-color: rgba(127, 145, 255, 0.28);
}

.dashboard-sidebar-metrics {
    display: grid;
    gap: 12px;
}

.dashboard-sidebar-metrics div {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-sidebar-metrics span {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.dashboard-sidebar-metrics strong {
    display: block;
    margin-top: 6px;
    font-size: 1rem;
    word-break: break-word;
}

.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dashboard-main-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.dashboard-section {
    margin-top: 0;
}

.dashboard-section--full {
    grid-column: 1 / -1;
}

.dashboard-progress-note {
    margin-top: 10px;
    text-align: center;
}

.compact-info-block {
    margin-top: 0;
}

.compact-info-block p,
.info-block p,
.placeholder-block p,
.alert p,
.alert-success p,
.alert-danger p {
    color: var(--text);
}

.compact-info-block code,
.info-block code {
    display: block;
    margin-top: 8px;
    padding: 12px 14px;
    border-radius: 14px;
}

.dashboard-connect-tip {
    margin-top: 10px;
    color: var(--muted);
}

.dashboard-password-form {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.dashboard-password-form label {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
}

.dashboard-server-list {
    margin-top: 16px;
    display: grid;
    gap: 12px;
}

.dashboard-server-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-server-meta {
    display: grid;
    gap: 4px;
}

.dashboard-server-meta span {
    color: var(--muted);
    word-break: break-word;
}

.dashboard-server-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-control,
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    outline: none;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(188, 200, 227, 0.92) 50%), linear-gradient(135deg, rgba(188, 200, 227, 0.92) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% + 2px), calc(100% - 12px) calc(50% + 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 38px;
}

select option,
select optgroup {
    background: #1a2436;
    color: var(--text);
}

select option:disabled {
    color: rgba(188, 200, 227, 0.5);
}

.form-control:focus,
textarea:focus,
select:focus {
    border-color: rgba(77, 124, 255, 0.85);
    box-shadow: 0 0 0 4px rgba(77, 124, 255, 0.14);
}

.is-invalid {
    border-color: rgba(255, 107, 122, 0.72);
    box-shadow: 0 0 0 4px rgba(255, 107, 122, 0.12);
}

.invalid-feedback {
    display: block;
    margin-top: 8px;
    color: #ffb9c2;
    font-size: 0.92rem;
    line-height: 1.45;
}

.alert-danger,
.alert-success,
.info-block,
.placeholder-block {
    margin-top: 20px;
    padding: 18px 20px;
    border-radius: 18px;
}

.alert-danger {
    background: rgba(255, 107, 122, 0.12);
    border: 1px solid rgba(255, 107, 122, 0.2);
    color: #ffd6dc;
}

.alert-success,
.info-block,
.placeholder-block {
    background: rgba(77, 124, 255, 0.08);
    border: 1px solid rgba(77, 124, 255, 0.16);
}

.alert {
    margin-top: 20px;
    padding: 18px 20px;
    border-radius: 18px;
}

.alert-info {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.progress-bar {
    width: 100%;
    height: 18px;
    margin-top: 12px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
}

.progress-bar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
}

.list-group {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.list-group-item {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.list-group-item + .list-group-item {
    margin-top: 10px;
}

.list-group-item.active {
    border-color: rgba(77, 124, 255, 0.4);
    background: rgba(77, 124, 255, 0.14);
}

.list-group-item.completed {
    opacity: 0.72;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.table thead th {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.table-striped tbody tr:nth-child(odd) {
    background: rgba(255, 255, 255, 0.02);
}

.text-success {
    color: #aef6ca;
}

.text-danger {
    color: #ffb0bb;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-left: 0;
    list-style: none;
}

.pagination-wrap {
    margin-top: 24px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.footer {
    margin-top: 48px;
    padding: 28px 0 32px;
    border-top: 1px solid var(--border);
    background: rgba(17, 25, 39, 0.92);
}

.footer-inner {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
}

.footer-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--text);
}

.footer-column--brand .footer-title::before,
.footer-column--links .footer-title::before,
.footer-column--connect .footer-title::before {
    width: 18px;
    height: 18px;
}

.footer-column--brand .footer-title::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23dce7ff' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Cpath d='M12 2v4M12 18v4M2 12h4M18 12h4'/%3E%3C/g%3E%3C/svg%3E");
}

.footer-column--links .footer-title::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23dce7ff' d='M5 4h12a2 2 0 0 1 2 2v11a3 3 0 0 1-3 3H8a3 3 0 0 1-3-3z'/%3E%3Cpath fill='%23101827' d='M8 8h8v2H8zm0 4h8v2H8zm0 4h5v2H8z'/%3E%3C/svg%3E");
}

.footer-column--connect .footer-title::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23dce7ff' d='M12 2 4 6v5c0 5.4 3.4 10.4 8 12 4.6-1.6 8-6.6 8-12V6z'/%3E%3Cpath fill='%23101827' d='M11 7h2v3h3v2h-3v3h-2v-3H8v-2h3z'/%3E%3C/svg%3E");
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: var(--muted);
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
    color: var(--text);
    transform: translateX(4px);
}

.footer-copy {
    width: min(1240px, calc(100% - 32px));
    margin: 22px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.empty-state {
    padding: 24px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--muted);
}

.page-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.page-switcher {
    margin-bottom: 0;
}

.shop-heading {
    align-items: center;
}

.balance-badge {
    min-width: 140px;
    padding: 18px 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.balance-badge strong {
    display: block;
    margin-top: 8px;
    font-size: 2rem;
    color: #91a8ff;
}

.shop-grid,
.dashboard-store-grid,
.admin-ops-grid {
    display: grid;
    gap: 22px;
}

.shop-layout {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.shop-layout--right-sidebar {
    grid-template-columns: minmax(0, 1fr) 360px;
}

.shop-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.shop-main-column {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.shop-layout .shop-catalog {
    margin-top: 0;
}

.shop-grid,
.dashboard-store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.stack-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.stack-form label {
    color: var(--muted);
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stack-form p {
    font-size: 0.95rem;
}

.two-columns-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.two-columns-form .full-width {
    grid-column: 1 / -1;
}

.checkbox-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.checkbox-row label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.product-card {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-visual {
    height: 148px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-image-placeholder {
    color: var(--muted);
    font-size: 0.9rem;
}

.product-topline,
.product-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.product-code,
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.product-code {
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
}

.product-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #91a8ff;
}

.product-card h3 {
    font-size: 1.08rem;
    line-height: 1.35;
}

.shop-overview-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
    gap: 24px;
    align-items: stretch;
}

.shop-overview-copy {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(145, 168, 255, 0.22), transparent 28%),
        linear-gradient(135deg, rgba(15, 24, 48, 0.96), rgba(27, 39, 70, 0.92));
    color: #f7faff;
}

.shop-overview-copy::after {
    content: "";
    position: absolute;
    inset: auto -40px -46px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.shop-overview-copy > * {
    position: relative;
    z-index: 1;
}

.shop-overview-copy .section-kicker,
.shop-overview-copy p,
.shop-overview-copy h2 {
    color: inherit;
}

.shop-overview-copy h2 {
    margin-top: 8px;
    font-size: 2.1rem;
    line-height: 1.08;
    max-width: 13ch;
}

.shop-overview-copy p {
    margin-top: 12px;
    max-width: 56ch;
    color: rgba(239, 244, 255, 0.84);
}

.shop-overview-copy .hero-actions {
    margin-top: 18px;
}

.shop-overview-metrics {
    display: grid;
    gap: 16px;
}

.shop-overview-card {
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.shop-overview-card span {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shop-overview-card strong {
    display: block;
    margin-top: 8px;
    font-size: 1.5rem;
    color: #101c39;
}

.shop-overview-card p {
    margin-top: 8px;
    font-size: 0.94rem;
}

.shop-filter-panel {
    padding: 22px 24px;
}

.shop-filter-form {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
}

.shop-filter-form h3 {
    margin-top: 6px;
    font-size: 1.15rem;
}

.shop-filter-controls {
    display: flex;
    gap: 14px;
    align-items: center;
    width: min(100%, 440px);
}

.shop-filter-controls .form-control {
    flex: 1 1 auto;
}

.recent-purchases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}

.recent-purchase-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.recent-purchase-media {
    min-height: 120px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.recent-purchase-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.recent-purchase-topline {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.recent-purchase-status {
    font-size: 0.92rem;
    font-weight: 800;
    color: #91a8ff;
}

.recent-purchase-body h3 {
    font-size: 1.02rem;
}

.recent-purchase-body p {
    font-size: 0.94rem;
    line-height: 1.5;
}

.recent-purchase-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.recent-purchase-meta span {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font-size: 0.82rem;
}

.recent-purchase-actions {
    margin-top: auto;
}

.shop-empty-state {
    padding: 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shop-empty-state strong {
    font-size: 1.05rem;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--muted);
    font-size: 0.92rem;
}

.product-offer {
    position: relative;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 184, 77, 0.22);
    background:
        linear-gradient(135deg, rgba(255, 184, 77, 0.16), rgba(255, 184, 77, 0.04)),
        rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.product-offer::after {
    content: "";
    position: absolute;
    top: -26px;
    right: -18px;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 216, 128, 0.34), rgba(255, 216, 128, 0));
    pointer-events: none;
}

.product-offer-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-offer-label {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 233, 194, 0.86);
}

.product-offer-value {
    font-size: 1.35rem;
    font-weight: 900;
    color: #fff3cf;
    line-height: 1.1;
}

.product-offer-note {
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(255, 243, 219, 0.82);
    max-width: 30ch;
}

.badge-warning {
    background: rgba(255, 184, 77, 0.16);
    color: #ffe0ab;
    border: 1px solid rgba(255, 184, 77, 0.2);
}

.badge-success {
    background: rgba(49, 208, 127, 0.14);
    color: #aef6ca;
}

.owned-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.owned-item {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.owned-item strong,
.owned-item span,
.owned-item small {
    display: block;
}

.owned-item span {
    margin-top: 4px;
    color: #91a8ff;
}

.owned-item small {
    margin-top: 6px;
    color: var(--muted);
}

.wallet-balance-box strong {
    font-size: 2rem;
    color: #91a8ff;
}

.admin-product-thumb {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: block;
}

.table-muted {
    color: var(--muted);
}

.catalog-table-wrap {
    overflow-x: auto;
}

.skin-table td,
.skin-table th {
    vertical-align: top;
}

.btn-small {
    padding: 10px 14px;
    border-radius: 12px;
}

.compact-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-mini-surface {
    margin-bottom: 16px;
}

.compact-search-form {
    max-width: 520px;
}

.compact-search-form .hero-actions,
.stack-form .hero-actions {
    margin-top: 16px;
}

.inventory-badge strong {
    font-size: 1.8rem;
}

.mt-4 {
    margin-top: 24px;
}

@media (max-width: 1080px) {
    .hero-grid,
    .content-columns,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .stats-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-highlights {
        grid-template-columns: 1fr;
    }

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

    .section-header-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-note {
        text-align: left;
    }

    .shop-grid,
    .shop-layout,
    .shop-overview-panel,
    .dashboard-store-grid,
    .dashboard-shell,
    .dashboard-main-grid,
    .admin-ops-grid,
    .two-columns-form {
        grid-template-columns: 1fr;
    }

    .navbar {
        align-items: center;
    }

    .shop-filter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-filter-controls {
        width: 100%;
    }

    .recent-purchase-card {
        grid-template-columns: 108px minmax(0, 1fr);
    }

    .navbar-panel {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 100px);
        margin-bottom: 14px;
    }

    .site-header.menu-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-header.menu-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-header.menu-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .navbar-links,
    .navbar-right {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-panel {
        order: -1;
    }

    .dashboard-sidebar {
        position: static;
        top: auto;
    }
}

@media (max-width: 720px) {
    .container,
    .navbar,
    .footer-inner,
    .footer-copy {
        width: min(100% - 20px, 100% - 20px);
    }

    .home-shell,
    .page-shell {
        padding-top: 24px;
    }

    .navbar-panel {
        max-height: calc(100vh - 92px);
    }

    .stats-cards,
    .server-meta-grid,
    .auth-metrics {
        grid-template-columns: 1fr;
    }

    .surface-block,
    .auth-panel,
    .hero-panel,
    .card,
    .wrapper {
        padding: 20px;
        border-radius: 20px;
    }

    .hero-panel h1,
    .auth-panel h2 {
        font-size: 1.8rem;
    }

    .page-heading,
    .section-header-row,
    .product-topline,
    .product-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-heading {
        align-items: stretch;
    }

    .balance-badge {
        width: 100%;
        min-width: 0;
    }

    .page-switcher-link,
    .dashboard-sidebar-nav a {
        flex: 1 1 100%;
    }

    .table {
        min-width: 720px;
    }

    .compact-stats-grid {
        grid-template-columns: 1fr;
    }

    .navbar-links,
    .navbar-right {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .navbar-links a,
    .navbar-right a {
        width: 100%;
        justify-content: flex-start;
        border-radius: 16px;
    }

    .hero-cta-row .btn,
    .product-actions form,
    .product-actions form .btn {
        width: 100%;
    }

    .hero-panel::after {
        width: 160px;
        height: 160px;
        right: -16px;
        bottom: -10px;
        opacity: 0.16;
    }

    .shop-overview-copy {
        padding: 22px;
    }

    .shop-overview-copy h2 {
        font-size: 1.7rem;
        max-width: none;
    }

    .shop-filter-controls {
        flex-direction: column;
        align-items: stretch;
    }

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

    .recent-purchase-media {
        min-height: 132px;
    }

    .recent-purchase-topline,
    .recent-purchase-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .hero-actions .btn,
    .stacked-actions .btn,
    .topup-history-item .btn,
    .product-actions .btn {
        width: 100%;
    }

    .product-card {
        padding: 18px;
    }

    .product-visual {
        height: 136px;
    }

    .balance-badge,
    .mini-surface,
    .highlight-card,
    .quick-link-card {
        width: 100%;
    }
}

:root {
    --bg: #edf3ff;
    --bg-soft: #f7f9fe;
    --surface: rgba(255, 255, 255, 0.88);
    --surface-2: #ffffff;
    --surface-3: #f2f5fc;
    --border: rgba(27, 42, 71, 0.1);
    --text: #0f1830;
    --muted: #596b8b;
    --accent: #090d22;
    --accent-2: #1a2848;
    --success: #1f9e65;
    --danger: #d96565;
    --warning: #c88f32;
    --shadow: 0 28px 64px rgba(61, 83, 122, 0.14);
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(184, 202, 239, 0.58), transparent 28%),
        radial-gradient(circle at top right, rgba(212, 224, 247, 0.76), transparent 30%),
        linear-gradient(180deg, #f2f6ff 0%, #ebf1ff 52%, #edf3ff 100%);
}

body::before {
    background:
        radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.9), transparent 18%),
        radial-gradient(circle at 84% 16%, rgba(217, 227, 246, 0.72), transparent 20%),
        radial-gradient(circle at 12% 86%, rgba(225, 233, 249, 0.6), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
    opacity: 1;
}

h1,
h2,
h3,
h4,
.brand-link {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.03em;
}

p {
    color: var(--muted);
}

.site-header {
    background: rgba(246, 249, 255, 0.82);
    border-bottom: 1px solid rgba(28, 43, 72, 0.08);
    box-shadow: 0 14px 34px rgba(102, 120, 153, 0.08);
}

.navbar-panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(32, 48, 77, 0.08);
    box-shadow: 0 28px 54px rgba(52, 70, 104, 0.14);
}

.nav-toggle {
    border-color: rgba(24, 40, 72, 0.08);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 14px 28px rgba(85, 105, 142, 0.12);
}

.nav-toggle span {
    background: #0f1830;
}

.brand-link {
    gap: 14px;
    color: #0f1830;
}

.brand-link::before {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: #090d22;
    box-shadow: 0 16px 28px rgba(9, 13, 34, 0.18);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8'%3E%3Cpath d='M7 9h10a2 2 0 0 1 2 2v6l-2.4-1.6a2 2 0 0 0-1.1-.4H8.5a2 2 0 0 0-1.1.4L5 17v-6a2 2 0 0 1 2-2Z'/%3E%3Cpath d='M9 12h.01M15 12h.01M12 9V7M10 8h4'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 20px 20px;
}

.brand-tag,
.section-kicker,
.news-meta,
.card-header small,
.auth-metrics span,
.highlight-card span,
.stat-card span,
.server-meta-grid span,
.mini-surface span,
.form-group label,
.table thead th {
    color: #5f7090;
}

.navbar a,
.dashboard-sidebar-nav a,
.page-switcher-link,
.footer-links a,
.page-link {
    color: #203050;
    background: rgba(244, 247, 253, 0.95);
    border-color: rgba(27, 42, 71, 0.06);
}

.navbar a:hover,
.dashboard-sidebar-nav a:hover,
.page-switcher-link:hover,
.page-switcher-link.active,
.footer-links a:hover,
.page-link:hover {
    color: #0f1830;
    background: #ffffff;
    border-color: rgba(27, 42, 71, 0.12);
    box-shadow: 0 12px 24px rgba(71, 93, 133, 0.12);
}

.nav-link-item::before {
    filter: brightness(0.22) saturate(0.8);
}

.auth-panel,
.surface-block,
.stat-card,
.server-card,
.mini-surface,
.wrapper,
.card,
.hero-panel,
.highlight-card,
.quick-link-card,
.topup-history-item,
.owned-item,
.dashboard-sidebar-metrics div,
.auth-metrics div,
.compact-mini-surface,
.page-banner {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 255, 0.94));
    border: 1px solid rgba(27, 42, 71, 0.08);
    box-shadow: var(--shadow);
}

.auth-panel,
.surface-block,
.card,
.wrapper,
.hero-panel,
.page-banner {
    backdrop-filter: blur(14px);
}

.auth-avatar,
.dashboard-user-badge {
    background: linear-gradient(180deg, #121a32, #091023);
    color: #ffffff;
    border: none;
    box-shadow: 0 22px 40px rgba(12, 18, 37, 0.16);
}

.hero-panel {
    color: var(--text);
}

.hero-panel::before,
.page-banner::before {
    opacity: 0.12;
    background:
        radial-gradient(circle at 18% 20%, rgba(9, 13, 34, 0.12), transparent 20%),
        radial-gradient(circle at 82% 26%, rgba(68, 92, 142, 0.16), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
}

.hero-panel::after {
    opacity: 0.14;
}

.hero-badge {
    background: rgba(15, 24, 48, 0.06);
    color: #223154;
}

.hero-badge::before {
    filter: brightness(0.2);
}

.btn {
    border-radius: 14px;
    font-weight: 800;
}

.btn-primary {
    background: linear-gradient(180deg, #090d22, #16213f);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(9, 13, 34, 0.18);
}

.btn-secondary {
    background: #ffffff;
    color: #13203f;
    border-color: rgba(27, 42, 71, 0.1);
}

.btn-secondary:hover {
    box-shadow: 0 16px 30px rgba(71, 93, 133, 0.12);
}

.topup-history-item,
.owned-item,
.auth-metrics div,
.dashboard-sidebar-metrics div,
.highlight-card,
.mini-surface,
.dashboard-sidebar-nav a,
.page-switcher-link {
    background: #f7f9fe;
}

.form-control,
textarea,
select {
    border: 1px solid rgba(27, 42, 71, 0.1);
    background: #f9fbff;
    color: #0f1830;
}

.form-control:focus,
textarea:focus,
select:focus {
    border-color: rgba(18, 31, 60, 0.34);
    box-shadow: 0 0 0 4px rgba(17, 28, 55, 0.08);
}

select {
    background-image: linear-gradient(45deg, transparent 50%, rgba(32, 48, 77, 0.72) 50%), linear-gradient(135deg, rgba(32, 48, 77, 0.72) 50%, transparent 50%);
}

select option,
select optgroup {
    background: #ffffff;
    color: #0f1830;
}

.invalid-feedback,
.text-danger,
.topup-error {
    color: #c85f6f;
}

.text-success {
    color: #1f9e65;
}

.table th,
.table td {
    border-bottom: 1px solid rgba(27, 42, 71, 0.08);
    color: #243352;
}

.table-striped tbody tr:nth-child(odd) {
    background: rgba(243, 246, 252, 0.92);
}

.alert-danger,
.alert-success,
.info-block,
.placeholder-block {
    border-color: rgba(27, 42, 71, 0.08);
    background: rgba(248, 250, 255, 0.92);
}

code,
kbd {
    background: #f4f7fd;
    border-color: rgba(27, 42, 71, 0.12);
    color: #13203f;
}

.footer {
    background: transparent;
}

.footer-inner {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 26px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(27, 42, 71, 0.08);
    box-shadow: 0 24px 54px rgba(71, 93, 133, 0.12);
    backdrop-filter: blur(14px);
}

.footer-copy {
    color: #90a0bc;
}

@media (max-width: 1080px) {
    .navbar-panel {
        background: rgba(255, 255, 255, 0.96);
    }
}

@media (max-width: 720px) {
    .footer-inner {
        width: min(100% - 20px, 100% - 20px);
        padding: 18px;
    }

    .navbar-links a,
    .navbar-right a {
        background: #ffffff;
    }
}

a:not(.btn):not(.nav-link-item):not(.brand-link):not(.page-link):not(.page-switcher-link) {
    color: #193a78;
    text-decoration: underline;
    text-decoration-color: rgba(25, 58, 120, 0.22);
    text-underline-offset: 0.18em;
    transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

a:not(.btn):not(.nav-link-item):not(.brand-link):not(.page-link):not(.page-switcher-link):hover {
    color: #0b1d43;
    text-decoration-color: rgba(11, 29, 67, 0.42);
}

.brand-tag,
.section-kicker,
.news-meta,
.card-header small,
.auth-metrics span,
.highlight-card span,
.stat-card span,
.server-meta-grid span,
.mini-surface span,
.form-group label,
.table thead th {
    color: #566987;
}

.highlight-card strong,
.stat-card strong,
.auth-metrics strong,
.server-meta-grid strong,
.mini-surface strong,
.card h4,
.card h3,
.surface-block h2,
.surface-block h3 {
    color: #101c39;
}

.navbar a,
.dashboard-sidebar-nav a,
.page-switcher-link,
.footer-links a,
.page-link {
    color: #1c2e55;
    background: rgba(243, 247, 255, 0.98);
    border-color: rgba(23, 41, 79, 0.09);
}

.navbar a:hover,
.dashboard-sidebar-nav a:hover,
.page-switcher-link:hover,
.page-switcher-link.active,
.footer-links a:hover,
.page-link:hover,
.page-item.active .page-link {
    color: #091022;
    background: #ffffff;
    border-color: rgba(12, 27, 58, 0.18);
    box-shadow: 0 16px 32px rgba(53, 74, 112, 0.14);
}

.btn {
    min-height: 48px;
    border-radius: 15px;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(180deg, #0c1228, #1a2747);
    color: #ffffff;
    border-color: rgba(7, 12, 28, 0.22);
    box-shadow: 0 20px 38px rgba(9, 13, 34, 0.22);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #111936, #22345e);
    box-shadow: 0 24px 42px rgba(9, 13, 34, 0.26);
}

.btn-secondary {
    background: linear-gradient(180deg, #ffffff, #f3f7ff);
    color: #13264e;
    border-color: rgba(19, 38, 78, 0.14);
    box-shadow: 0 10px 22px rgba(72, 95, 138, 0.08);
}

.btn-secondary:hover {
    color: #0d1a37;
    border-color: rgba(13, 26, 55, 0.22);
    background: linear-gradient(180deg, #ffffff, #edf3ff);
    box-shadow: 0 18px 32px rgba(72, 95, 138, 0.14);
}

.btn-small,
.btn.compact,
.btn-secondary.compact {
    min-height: 40px;
    border-radius: 12px;
}

.hero-badge {
    background: rgba(15, 24, 48, 0.1);
    color: #1b2f58;
}

.footer-links a {
    font-weight: 700;
}

.table a,
.card a,
.surface-block a,
.wrapper a {
    font-weight: 600;
}

/* Contrast guardrails: light surfaces always get dark copy, dark surfaces always get light copy. */
.surface-block,
.card,
.wrapper,
.mini-surface,
.topup-history-item,
.owned-item,
.shop-overview-card,
.shop-empty-state,
.recent-purchase-card,
.product-card,
.page-banner,
.highlight-card,
.quick-link-card,
.stat-card,
.server-card {
    color: #13203f;
}

.surface-block p,
.card p,
.wrapper p,
.mini-surface p,
.topup-history-item p,
.owned-item p,
.shop-overview-card p,
.shop-empty-state p,
.recent-purchase-card p,
.product-card p,
.page-banner p,
.surface-block small,
.card small,
.wrapper small,
.mini-surface small,
.topup-history-item small,
.owned-item small,
.shop-overview-card small,
.shop-empty-state small,
.recent-purchase-card small,
.product-card small,
.page-banner small,
.surface-block li,
.card li,
.wrapper li,
.page-banner li {
    color: #5a6c8d;
}

.surface-block h1,
.surface-block h2,
.surface-block h3,
.surface-block h4,
.card h1,
.card h2,
.card h3,
.card h4,
.wrapper h1,
.wrapper h2,
.wrapper h3,
.wrapper h4,
.page-banner h1,
.page-banner h2,
.page-banner h3,
.page-banner h4,
.shop-overview-card strong,
.recent-purchase-card strong,
.product-card strong,
.shop-empty-state strong {
    color: #101c39;
}

.shop-overview-copy,
.shop-overview-copy h1,
.shop-overview-copy h2,
.shop-overview-copy h3,
.shop-overview-copy h4,
.shop-overview-copy p,
.shop-overview-copy small,
.shop-overview-copy .section-kicker,
.shop-overview-copy strong {
    color: #f7faff;
}

.shop-overview-copy p,
.shop-overview-copy small,
.shop-overview-copy .section-kicker {
    color: rgba(239, 244, 255, 0.84);
}

.product-offer {
    background:
        linear-gradient(135deg, rgba(255, 205, 122, 0.22), rgba(255, 205, 122, 0.08)),
        rgba(255, 255, 255, 0.92);
    border-color: rgba(199, 138, 35, 0.22);
}

.product-offer-label {
    color: #8b5a14;
}

.product-offer-value {
    color: #3b2a0f;
}

.product-offer-note {
    color: #6f572f;
}

.recent-purchase-meta span,
.product-code {
    color: #4f6180;
}

.dashboard-shell {
    gap: 28px;
    padding: 38px 0 64px;
    align-items: start;
}

.dashboard-sidebar {
    gap: 20px;
}

.dashboard-main {
    gap: 24px;
}

.dashboard-main-grid {
    gap: 24px;
    align-items: start;
}

.dashboard-hero,
.dashboard-section {
    margin-top: 0;
}

.dashboard-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.95fr);
    gap: 24px;
    padding: 32px;
    overflow: hidden;
    border: 1px solid rgba(120, 146, 201, 0.18);
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 28%),
        linear-gradient(135deg, #071327 0%, #13254a 48%, #214586 100%);
    box-shadow: 0 28px 64px rgba(34, 63, 112, 0.22);
}

.dashboard-hero::before {
    content: '';
    position: absolute;
    inset: auto -12% -36% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(122, 180, 255, 0.28), rgba(122, 180, 255, 0));
    pointer-events: none;
}

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

.dashboard-hero-copy {
    display: grid;
    align-content: start;
    gap: 14px;
}

.dashboard-hero-copy h1 {
    margin: 0;
    max-width: 12ch;
    color: #f7faff;
    font-size: clamp(2rem, 3.3vw, 3.05rem);
    line-height: 1.02;
}

.dashboard-hero-copy p {
    margin: 0;
    max-width: 60ch;
    color: rgba(235, 242, 255, 0.84);
    font-size: 1rem;
}

.dashboard-hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-content: start;
}

.dashboard-hero-card {
    padding: 18px 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.dashboard-hero-card span {
    display: block;
    margin-bottom: 10px;
    color: rgba(226, 235, 251, 0.72);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-hero-card strong {
    display: block;
    color: #ffffff;
    font-size: 1.35rem;
    line-height: 1.1;
}

.dashboard-main > .alert,
.dashboard-main > .alert-success,
.dashboard-main > .alert-danger,
.dashboard-main > .info-block,
.dashboard-main > .placeholder-block,
.dashboard-section .alert,
.dashboard-section .alert-success,
.dashboard-section .alert-danger,
.dashboard-section .info-block,
.dashboard-section .placeholder-block,
.dashboard-section .compact-info-block {
    margin-top: 0;
}

.dashboard-section .card-header {
    margin-bottom: 18px;
}

.dashboard-section .card-header h4 {
    margin: 0;
}

.dashboard-section .card-body {
    display: grid;
    gap: 18px;
}

.dashboard-section .card-body > * {
    margin-top: 0;
    margin-bottom: 0;
}

.dashboard-section .list-group,
.dashboard-section .dashboard-server-list,
.dashboard-section .dashboard-password-form,
.dashboard-section .stack-form,
.dashboard-section .stats-cards,
.dashboard-section .hero-actions,
.dashboard-section .empty-state {
    margin-top: 0;
}

.dashboard-progress-note,
.dashboard-connect-tip {
    margin-top: 0;
}

.dashboard-server-filter {
    padding: 18px;
    border-radius: 18px;
    background: rgba(244, 248, 255, 0.84);
    border: 1px solid rgba(23, 43, 77, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.dashboard-server-filter .hero-actions {
    justify-content: flex-start;
}

.dashboard-server-entry {
    padding: 16px 18px;
    border-radius: 18px;
}

.dashboard-sidebar-metrics div,
.dashboard-server-entry,
.dashboard-section .mini-surface,
.dashboard-section .info-block,
.dashboard-section .empty-state,
.dashboard-section .list-group-item {
    box-shadow: 0 14px 30px rgba(67, 88, 129, 0.08);
}

@media (max-width: 980px) {
    .dashboard-hero {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .dashboard-hero-copy h1 {
        max-width: none;
    }
}

@media (max-width: 560px) {
    .dashboard-main,
    .dashboard-main-grid {
        gap: 20px;
    }

    .dashboard-hero-metrics {
        grid-template-columns: 1fr;
    }

    .dashboard-server-entry {
        flex-direction: column;
        align-items: flex-start;
    }
}