:root {
    --bg: #09070d;
    --panel: #110d18;
    --panel-elevated: #181322;
    --border: #231a32;
    --border-hover: rgba(247, 37, 133, 0.45);
    --blue: #f72585;
    --blue-glow: #d946ef;
    --blue-dark: #7209b7;
    --loader: #f72585;
    --text: #ffffff;
    --muted: #a19bb3;
    --pink-glow: rgba(247, 37, 133, 0.3);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background: #231a32;
    border-radius: 99px;
    border: 2px solid var(--bg);
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--blue);
}

* {
    scrollbar-width: thin;
    scrollbar-color: #231a32 transparent;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg);
    background-image: radial-gradient(rgba(247, 37, 133, 0.06) 1px, transparent 1.4px);
    background-size: 30px 30px;
    animation: dotDrift 70s linear infinite;
    color: var(--text);
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    min-height: 100vh;
    overflow-x: clip;
}

@keyframes dotDrift {
    from { background-position: 0 0; }
    to { background-position: -260px 130px; }
}

::selection {
    background: rgba(247, 37, 133, 0.4);
    color: #fff;
}

.bg-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    background: radial-gradient(800px 400px at 50% -80px, rgba(247, 37, 133, 0.14), transparent 75%);
}

.bg-glow::before,
.bg-glow::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.bg-glow::before {
    width: 600px;
    height: 600px;
    left: -180px;
    top: 6%;
    background: radial-gradient(circle, rgba(247, 37, 133, 0.18), transparent 70%);
    opacity: 0.5;
    animation: orbA 18s ease-in-out infinite alternate;
}

.bg-glow::after {
    width: 700px;
    height: 700px;
    right: -220px;
    top: 32%;
    background: radial-gradient(circle, rgba(114, 9, 183, 0.22), transparent 70%);
    opacity: 0.45;
    animation: orbB 22s ease-in-out infinite alternate;
}

@keyframes orbA {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(120px, 90px) scale(1.15); }
}

@keyframes orbB {
    from { transform: translate(0, 0) scale(1.1); }
    to { transform: translate(-140px, -80px) scale(0.95); }
}

main {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.hidden {
    display: none !important;
}

/* Floating Navigation */
.nav-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 32px 0;
    position: relative;
    z-index: 100;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background: rgba(17, 13, 24, 0.85);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 20px;
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(247, 37, 133, 0.08);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    margin-right: auto;
}

.logo-img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 0 16px rgba(247, 37, 133, 0.5);
    flex-shrink: 0;
    border: 1px solid rgba(247, 37, 133, 0.3);
}

.brand-text strong {
    font-size: 15px;
    display: block;
    line-height: 1;
    letter-spacing: -0.5px;
    font-weight: 800;
}

.brand-text small {
    display: block;
    color: var(--blue);
    font-size: 10px;
    letter-spacing: 1.2px;
    margin-top: 3px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 4px;
    margin-left: auto;
}

.nav-item {
    background: transparent;
    border: 0;
    color: var(--muted);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 9px 15px;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.nav-item.active,
.nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-item.active {
    color: var(--blue);
    background: rgba(247, 37, 133, 0.12);
}

.nav-auth {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
    margin-left: 8px;
}

.burger {
    display: none;
    background: #181322;
    border: 1px solid var(--border);
    color: #fff;
    border-radius: 10px;
    padding: 8px 11px;
    cursor: pointer;
}

.mobile-menu {
    max-width: 900px;
    width: 100%;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-top: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu button {
    background: transparent;
    border: 0;
    color: #fff;
    text-align: left;
    padding: 10px;
    cursor: pointer;
    font-weight: 700;
    border-radius: 8px;
}

.mobile-menu button:hover {
    background: var(--panel-elevated);
}

/* Buttons */
.btn {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    transition: all 0.2s ease;
}

.btn-blue {
    background: linear-gradient(135deg, #ff2a8d, #b5179e 60%, #7209b7);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 22px rgba(247, 37, 133, 0.4);
}

.btn-blue:hover {
    background: linear-gradient(135deg, #ff4b9f, #c720ad 60%, #830dc9);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(247, 37, 133, 0.6);
}

.btn-dark {
    background: #161120;
    border-color: #2b1f3c;
    color: #fff;
}

.btn-dark:hover {
    background: #20172e;
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-1px);
}

.btn.sm {
    padding: 8px 16px;
    font-size: 12px;
}

.btn.full {
    width: 100%;
}

.btn.big {
    padding: 16px 36px;
    font-size: 14px;
    border-radius: 12px;
}

.btn-discord {
    background: #5865f2;
    border-color: transparent;
    color: #fff;
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-1px);
}

/* User Pill in Top Navigation */
.profile-pill {
    display: flex;
    align-items: center;
    gap: 9px;
    background: #181322;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 14px 4px 5px;
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
}

.profile-pill:hover {
    border-color: var(--blue);
}

.pf-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.pf-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff2a8d, #7209b7);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

/* Pages */
.page {
    display: block;
    animation: fadeIn 0.25s ease-out;
}

.page.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* HERO SECTION (spacemenu style) */
.hero-sus {
    position: relative;
    text-align: center;
    padding: 85px 24px 60px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px 7px 12px;
    border-radius: 999px;
    background: rgba(247, 37, 133, 0.12);
    border: 1px solid rgba(247, 37, 133, 0.35);
    color: #f72585;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.2px;
    margin-bottom: 24px;
    transition: all 0.2s ease;
}

.eyebrow:hover {
    background: rgba(247, 37, 133, 0.2);
    border-color: var(--blue);
    transform: translateY(-1px);
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff2a8d;
    box-shadow: 0 0 0 3px rgba(247, 37, 133, 0.3);
    flex-shrink: 0;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

.mega {
    font-size: clamp(48px, 7.5vw, 88px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.05;
    margin: 0;
}

.grad {
    background: linear-gradient(92deg, #ff2a8d 10%, #d946ef 55%, #9333ea 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 32px rgba(247, 37, 133, 0.45));
}

.trusted {
    color: var(--muted);
    font-size: 16px;
    margin: 22px auto 30px;
    line-height: 1.7;
    max-width: 580px;
}

.trusted b {
    color: #fff;
    font-weight: 700;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 24px 0 32px;
    flex-wrap: wrap;
}

/* Floating Orbit Pills */
.orbit {
    position: absolute;
    inset: 40px 0 -40px;
    pointer-events: none;
    z-index: 0;
}

.hero-sus > *:not(.orbit) {
    position: relative;
    z-index: 1;
}

.orbit .pill-float {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 12px;
    font-weight: 700;
    color: #e2e8f0;
    background: rgba(17, 13, 24, 0.9);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 16px;
    backdrop-filter: blur(8px);
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    will-change: transform;
    offset-path: ellipse(var(--rx, 470px) var(--ry, 220px) at center);
    offset-rotate: 0deg;
    animation: orbitMove var(--orbit-t, 36s) linear infinite;
    animation-delay: var(--orbit-d, 0s);
}

.pill-float.pink {
    border-color: rgba(247, 37, 133, 0.45);
    color: var(--blue);
    background: rgba(26, 15, 32, 0.92);
    box-shadow: 0 0 16px rgba(247, 37, 133, 0.25);
}

.pf1 { --rx: 530px; --ry: 270px; --orbit-d: 0s; --orbit-t: 36s; }
.pf2 { --rx: 560px; --ry: 285px; --orbit-d: -6s; --orbit-t: 36s; }
.pf3 { --rx: 515px; --ry: 300px; --orbit-d: -12s; --orbit-t: 36s; }
.pf4 { --rx: 565px; --ry: 275px; --orbit-d: -18s; --orbit-t: 36s; }
.pf5 { --rx: 505px; --ry: 295px; --orbit-d: -24s; --orbit-t: 36s; }
.pf6 { --rx: 540px; --ry: 285px; --orbit-d: -30s; --orbit-t: 36s; }

@keyframes orbitMove {
    from { offset-distance: 0%; }
    to { offset-distance: 100%; }
}

@media (max-width: 900px) {
    .orbit { display: none; }
}

/* Livestats */
.livestats {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.lstat {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-align: left;
    background: rgba(17, 13, 24, 0.65);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 10px 18px;
}

.lstat-ic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    color: var(--blue);
    background: rgba(247, 37, 133, 0.14);
    border: 1px solid rgba(247, 37, 133, 0.35);
}

.lstat-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.lstat strong {
    display: block;
    font-size: 18px;
    line-height: 1.15;
    color: #fff;
}

.lstat span {
    color: var(--muted);
    font-size: 10.5px;
    letter-spacing: 1.1px;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Trust Row */
.trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    max-width: 680px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 600;
}

.trust-item svg {
    color: var(--blue);
    flex-shrink: 0;
}

/* Section titles */
.ptitle {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}

.ptitle.center {
    text-align: center;
}

.psub {
    color: var(--muted);
    font-size: 15px;
    margin: 0 0 28px;
}

.psub.center {
    text-align: center;
}

/* Features Grid */
.feat-wrap {
    padding: 50px 0;
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feat {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.2s ease;
}

.feat:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(247, 37, 133, 0.1);
}

.feat-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: var(--blue);
    background: rgba(247, 37, 133, 0.12);
    border: 1px solid rgba(247, 37, 133, 0.32);
    margin-bottom: 16px;
}

.feat h4 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
}

.feat p {
    margin: 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.5;
}

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

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

/* 3 Steps Section */
.steps-wrap {
    padding: 40px 0 60px;
}

.cards3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.step-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    position: relative;
    transition: all 0.2s ease;
}

.step-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.step-num {
    font-size: 40px;
    font-weight: 900;
    color: var(--blue);
    opacity: 0.9;
    margin-bottom: 12px;
    line-height: 1;
}

.step-card h3 {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 700;
}

.step-card p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

/* PRODUCTS SECTION */
.pm-wrap {
    padding: 40px 0;
}

.pm-title {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 8px;
    text-align: center;
}

.pm-sub {
    color: var(--muted);
    font-size: 15px;
    text-align: center;
    margin-bottom: 36px;
}

.pm-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 40px;
    align-items: center;
}

.pm-hero-art {
    background: radial-gradient(circle, rgba(247, 37, 133, 0.16), transparent 70%), #0c0914;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 240px;
}

.pm-hero-art img {
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(247, 37, 133, 0.4);
}

.pm-hero-info h3 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px;
}

.pm-hero-info p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.pm-hero-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.pm-from {
    display: flex;
    flex-direction: column;
}

.pm-from small {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
}

.pm-from span {
    font-size: 24px;
    font-weight: 900;
    color: var(--blue);
}

.pm-all-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 20px;
}

.pm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pm-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.pm-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(247, 37, 133, 0.15);
}

.pm-banner {
    position: relative;
    padding: 30px;
    text-align: center;
    background: radial-gradient(circle, rgba(247, 37, 133, 0.14), transparent 70%), #0e0a16;
    border-bottom: 1px solid var(--border);
}

.pm-banner img {
    height: 60px;
    width: 60px;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(247, 37, 133, 0.4);
}

.pm-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(247, 37, 133, 0.15);
    color: var(--blue);
    border: 1px solid rgba(247, 37, 133, 0.35);
}

.pm-body {
    padding: 24px;
}

.pm-body h4 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
}

.pm-body p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.pm-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.pm-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--blue);
}

.pm-price small {
    font-size: 11px;
    color: var(--muted);
    font-weight: normal;
    margin-right: 4px;
}

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

/* FAQ SECTION */
.faq-wrap {
    max-width: 820px;
    margin: 40px auto;
}

details.faq {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

details.faq:hover {
    border-color: var(--border-hover);
}

details.faq summary {
    padding: 18px 22px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

details.faq summary::-webkit-details-marker {
    display: none;
}

details.faq summary::after {
    content: "+";
    font-size: 20px;
    font-weight: 400;
    color: var(--blue);
}

details.faq[open] summary::after {
    content: "−";
}

.faq-body {
    padding: 0 22px 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    margin-top: 6px;
    padding-top: 16px;
}

/* AUTH PAGES (Login & Register Split Layout) */
.auth-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    max-width: 860px;
    margin: 40px auto;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(247, 37, 133, 0.1);
}

.auth-left {
    background: radial-gradient(600px 300px at 0% 0%, rgba(247, 37, 133, 0.14), transparent 60%), #0e0a16;
    padding: 44px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--border);
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--blue);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.auth-badge img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.auth-left h2 {
    font-size: 32px;
    line-height: 1.1;
    margin: 0 0 12px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.auth-left h2 span {
    color: var(--blue);
}

.auth-left p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.auth-right {
    padding: 40px 36px;
    background: #110d18;
}

.auth-right h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 6px;
}

.auth-right .muted {
    font-size: 13.5px;
    margin-bottom: 22px;
}

.auth-right .or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 700;
}

.auth-right .or::before,
.auth-right .or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

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

.auth-right label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--muted);
    text-transform: uppercase;
}

.auth-right input {
    width: 100%;
    margin-top: 6px;
    background: #0a0710;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.auth-right input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 12px rgba(247, 37, 133, 0.2);
}

@media (max-width: 768px) {
    .auth-split { grid-template-columns: 1fr; }
    .auth-left { display: none; }
}

/* DASHBOARD LAYOUT (spacemenu style) */
.dash-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    align-items: start;
    padding: 30px 0;
}

.dash-side {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    position: sticky;
    top: 24px;
}

.dash-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: #0a0710;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.dash-avatar-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    border: 1px solid var(--blue);
}

.dash-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dash-user strong {
    font-size: 14px;
    display: block;
    font-weight: 700;
}

.dash-user span {
    font-size: 11px;
    color: var(--blue);
    font-weight: 700;
}

.dash-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dash-item {
    background: transparent;
    border: 0;
    color: var(--muted);
    text-align: left;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-item:hover {
    background: #181322;
    color: #fff;
}

.dash-item.active {
    background: linear-gradient(135deg, #ff2a8d, #7209b7);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(247, 37, 133, 0.35);
}

.dash-foot {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 11px;
    color: var(--muted);
    font-family: monospace;
}

.dash-main {
    min-width: 0;
}

.dash-view {
    display: none;
}

.dash-view.active {
    display: block;
}

.dash-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 18px;
}

.sect {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.sect.tight {
    margin-bottom: 12px;
}

.dash-counts {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.dash-count {
    background: #0a0710;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 20px;
    min-width: 110px;
    text-align: center;
}

.dash-count strong {
    font-size: 22px;
    display: block;
    color: var(--blue);
    font-weight: 900;
}

.dash-count span {
    font-size: 10.5px;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
}

.rank-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rank-chip {
    background: #181322;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

.rank-chip.pink {
    background: rgba(247, 37, 133, 0.15);
    border-color: rgba(247, 37, 133, 0.45);
    color: var(--blue);
}

.acc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.acc-cell {
    background: #0a0710;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
}

.acc-label {
    display: block;
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.acc-cell strong {
    font-size: 14px;
    color: #fff;
    word-break: break-all;
}

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

/* Tables */
.table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    text-align: left;
}

.tbl th {
    background: #0a0710;
    padding: 12px 16px;
    color: var(--muted);
    font-weight: 700;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
}

.tbl td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.tbl tr:last-child td {
    border-bottom: 0;
}

/* Status pills */
.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.badge-status.active {
    background: rgba(247, 37, 133, 0.15);
    color: #f72585;
    border: 1px solid rgba(247, 37, 133, 0.4);
}

/* Notices */
.notice {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 13.5px;
    margin-bottom: 16px;
}

.notice.ok {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #10b981;
}

.notice.warn {
    background: rgba(247, 37, 133, 0.14);
    border: 1px solid rgba(247, 37, 133, 0.4);
    color: #f72585;
}

/* Modals */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 4, 8, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: #110d18;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(247, 37, 133, 0.15);
    transform: translateY(12px) scale(0.98);
    transition: transform 0.2s ease;
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.modal-close {
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #fff;
}

/* Toast notifications */
#toasts {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #140f1f;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    min-width: 280px;
    max-width: 380px;
    font-size: 13.5px;
    color: #fff;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.6), 0 0 20px rgba(247, 37, 133, 0.2);
    animation: toastIn 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.toast-bar {
    width: 4px;
    height: 100%;
    border-radius: 99px;
    background: var(--blue);
}

.toast.err .toast-bar {
    background: #ef4444;
}

/* Footer */
footer {
    text-align: center;
    color: var(--muted);
    font-size: 12.5px;
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

footer a {
    color: var(--blue);
    text-decoration: none;
    margin: 0 6px;
}

footer a:hover {
    text-decoration: underline;
}
