/* ============================================
   Saade Dashboard — Premium Command Center CSS v3.0
   Color Scheme: Violet Plasma + Electric Cyan
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    --gold: #a855f7;
    --gold-light: #c084fc;
    --gold-dark: #7c3aed;
    --gold-glow: rgba(168, 85, 247, 0.4);
    --gold-linear: linear-gradient(135deg, #c084fc, #a855f7, #7c3aed);
    --cyan: #06b6d4;
    --green: #10b981;
    --red: #ef4444;
    --orange: #f97316;

    --bg-black: #050507;
    --bg-obsidian: #08080c;
    --bg-surface: #0c0c12;
    --bg-surface-elevated: #111118;
    --bg-surface-hover: #16161f;
    --bg-sidebar: #06060a;

    --text-primary: #f1f1f6;
    --text-secondary: #c8c8d4;
    --text-dim: #6b6b80;
    --text-ultra-dim: #3a3a4a;

    --border-subtle: rgba(255, 255, 255, 0.04);
    --border-bright: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(168, 85, 247, 0.15);

    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-blur: blur(20px);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-medium: 0.4s var(--ease-out-expo);

    --sidebar-width: 270px;

    /* Theme Presets */
    --theme-nebula-bg: radial-gradient(circle at top right, rgba(168, 85, 247, 0.15), transparent), radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.1), transparent);
    --theme-deepsea-bg: radial-gradient(circle at top right, rgba(6, 182, 212, 0.15), transparent), radial-gradient(circle at bottom left, rgba(2, 6, 23, 0.8), transparent);
    --theme-acid-bg: radial-gradient(circle at top right, rgba(16, 185, 129, 0.15), transparent), radial-gradient(circle at bottom left, rgba(5, 5, 7, 0.8), transparent);
}


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

html {
    overflow-x: hidden;
    background: var(--bg-black);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-black);
    color: var(--text-primary);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

::-webkit-scrollbar { width: 5px; background: #000; }
::-webkit-scrollbar-thumb { background: var(--bg-surface-elevated); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
::selection { background: var(--gold); color: #000; }

/* ============================================
   Dashboard Layout â€” Sidebar + Main
   ============================================ */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

/* ============================================
   Sidebar Navigation
   ============================================ */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 100;
    transition: transform 0.4s var(--ease-out-expo);
}

.sidebar-header {
    padding: 28px 24px;
    border-bottom: 1px solid var(--border-subtle);
}

/* 3D Avatar Preview */
.sidebar-user {
    perspective: 1000px;
}

.sidebar-avatar {
    width: 48px;
    height: 48px;
    background: var(--gold-linear);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    transition: transform 0.6s var(--ease-spring);
    box-shadow: 0 0 20px var(--gold-glow);
    cursor: pointer;
}

.sidebar-user:hover .sidebar-avatar {
    transform: rotateY(180deg) scale(1.1);
}

.sidebar-avatar::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: var(--gold-linear);
    opacity: 0.3;
    z-index: -1;
    filter: blur(8px);
}

.sidebar-logo {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 3px;
    display: block;
}

.sidebar-logo span {
    background: var(--gold-linear);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 400;
}

.sidebar-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold);
    font-size: 0.55rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 100px;
    letter-spacing: 1px;
    margin-top: 8px;
    text-transform: uppercase;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.sidebar-section {
    padding: 0 16px;
    margin-bottom: 8px;
}

.sidebar-section-title {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-ultra-dim);
    padding: 12px 12px 8px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: var(--radius-md);
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
}

.sidebar-link.active {
    background: rgba(212, 175, 55, 0.06);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.sidebar-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.6;
}

.sidebar-link.active svg {
    opacity: 1;
}

.sidebar-link .badge {
    margin-left: auto;
    background: rgba(0, 255, 136, 0.1);
    color: var(--green);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 100px;
}

.sidebar-footer {
    padding: 20px 16px;
    border-top: 1px solid var(--border-subtle);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
}

.sidebar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold-linear);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    color: #000;
    flex-shrink: 0;
}

.sidebar-user-info {
    flex: 1;
    min-width: 0;
}

.sidebar-user-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-role {
    font-size: 0.65rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ============================================
   Main Content Area
   ============================================ */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

.main-header {
    padding: 24px 40px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.main-header-left h1 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.main-header-left p {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 2px;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-header {
    background: transparent;
    border: 1px solid var(--border-bright);
    color: var(--text-dim);
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-header:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-header-primary {
    background: var(--gold-linear);
    border: none;
    color: #000;
    font-weight: 700;
}

.btn-header-primary:hover {
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
    transform: translateY(-1px);
}

.btn-logout {
    border-color: rgba(255, 77, 106, 0.2);
    color: var(--red);
}

.btn-logout:hover {
    background: rgba(255, 77, 106, 0.06);
    border-color: var(--red);
}

/* ============================================
   Dashboard Panels
   ============================================ */
.panel-content {
    padding: 32px 40px;
    display: none;
    animation: panelFadeIn 0.4s var(--ease-out-expo);
}

.panel-content.active {
    display: block;
}

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

/* ============================================
   Overview Panel â€” Metric Cards
   ============================================ */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.metric-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--metric-color, var(--gold-linear));
    opacity: 0.6;
}

.metric-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.metric-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.metric-value {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-primary);
}

.metric-sub {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 4px;
}

.metric-card.gold::before { --metric-color: var(--gold-linear); }
.metric-card.green::before { --metric-color: linear-gradient(90deg, #00ff88, #00cc66); }
.metric-card.cyan::before { --metric-color: linear-gradient(90deg, #00e0ff, #0090ff); }
.metric-card.orange::before { --metric-color: linear-gradient(90deg, #ffaa33, #ff6633); }

/* ============================================
   Dashboard Grid Layout
   ============================================ */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

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

/* ============================================
   Dashboard Cards
   ============================================ */
.dash-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s;
}

.dash-card:hover {
    border-color: var(--border-bright);
}

.dash-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.dash-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-card-title svg {
    color: var(--gold);
    width: 18px;
    height: 18px;
}

.dash-card-badge {
    font-size: 0.55rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-live {
    background: rgba(0, 255, 136, 0.08);
    color: var(--green);
    border: 1px solid rgba(0, 255, 136, 0.15);
}

.badge-info {
    background: rgba(0, 224, 255, 0.08);
    color: var(--cyan);
    border: 1px solid rgba(0, 224, 255, 0.15);
}

/* ============================================
   Downloads Panel â€” Product Cards
   ============================================ */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.download-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.4s var(--ease-out-expo);
    display: flex;
    flex-direction: column;
}

.download-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
}

.download-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.download-icon {
    width: 48px;
    height: 48px;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.download-meta h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.download-version {
    font-size: 0.7rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-dim);
}

.download-desc {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.download-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 14px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.download-stat {
    text-align: center;
    flex: 1;
}

.download-stat-value {
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-primary);
}

.download-stat-label {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    margin-top: 2px;
}

.btn-dl {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    background: var(--gold-linear);
    color: #000;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-dl:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.btn-dl.disabled {
    background: var(--bg-surface-elevated);
    border: 1px dashed var(--border-bright);
    color: var(--text-dim);
    cursor: not-allowed;
}

.btn-dl.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Status indicator next to product name */
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-left: 8px;
}

.status-dot.operational { background: var(--green); box-shadow: 0 0 8px var(--green); }
.status-dot.updating { background: var(--orange); box-shadow: 0 0 8px var(--orange); animation: pulse 2s infinite; }
.status-dot.offline { background: var(--text-dim); }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ============================================
   Support Docs Panel
   ============================================ */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.doc-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
}

.doc-card:hover {
    border-color: var(--border-gold);
    background: var(--bg-surface-elevated);
    transform: translateY(-3px);
}

.doc-card-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 224, 255, 0.06);
    border: 1px solid rgba(0, 224, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    margin-bottom: 16px;
}

.doc-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.doc-card p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 16px;
}

.doc-tag {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-dim);
    border: 1px solid var(--border-subtle);
}

/* Expanded doc content */
.doc-expanded {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.doc-expanded.active {
    display: block;
    animation: panelFadeIn 0.3s var(--ease-out-expo);
}

.doc-expanded h4 {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.doc-expanded p, .doc-expanded li {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 8px;
}

.doc-expanded ul {
    list-style: none;
    padding: 0;
}

.doc-expanded li::before {
    content: 'â–¸ ';
    color: var(--gold);
}

.doc-expanded code {
    background: rgba(255, 255, 255, 0.04);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--cyan);
}

/* ============================================
   System Status Panel
   ============================================ */
.status-grid {
    display: grid;
    gap: 8px;
}

.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.status-row:hover {
    border-color: var(--border-bright);
}

.status-row-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-row-left svg {
    color: var(--text-dim);
    width: 16px;
    height: 16px;
}

.status-row-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.status-row-badge {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-operational {
    background: rgba(0, 255, 136, 0.06);
    color: var(--green);
    border: 1px solid rgba(0, 255, 136, 0.12);
}

.status-updating {
    background: rgba(255, 170, 51, 0.06);
    color: var(--orange);
    border: 1px solid rgba(255, 170, 51, 0.12);
}

/* ============================================
   Account Panel
   ============================================ */
.account-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.account-field {
    padding: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.account-field-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    margin-bottom: 6px;
}

.account-field-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
}

.account-field-value.gold {
    color: var(--gold);
}

/* ============================================
   Activity Log
   ============================================ */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    transition: background 0.2s;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.activity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.activity-dot.green { background: var(--green); }
.activity-dot.cyan { background: var(--cyan); }
.activity-dot.orange { background: var(--orange); }
.activity-dot.red { background: var(--red); }
.activity-dot.gold { background: var(--gold); }

.activity-text {
    flex: 1;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.activity-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.activity-time {
    font-size: 0.7rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-ultra-dim);
    white-space: nowrap;
}

/* ============================================
   Empty State
   ============================================ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-dim);
}

.empty-state svg {
    color: var(--text-ultra-dim);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.empty-state p {
    font-size: 0.85rem;
    max-width: 400px;
    margin: 0 auto;
}

/* ============================================
   Section Title in Panels
   ============================================ */
.panel-section-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin-bottom: 16px;
    margin-top: 32px;
}

.panel-section-title:first-child {
    margin-top: 0;
}

/* ============================================
   Loading State
   ============================================ */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--bg-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-subtle);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   Primary & Outline Buttons
   ============================================ */
.btn-primary {
    background: var(--gold-linear);
    color: #000;
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.35);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-bright);
    color: var(--text-dim);
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    font-family: inherit;
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.04);
}

/* ============================================
   Vault Panel â€” Personal Scripts Storage
   ============================================ */
.vault-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.vault-item {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.vault-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--gold));
    opacity: 0;
    transition: opacity 0.3s;
}

.vault-item:hover {
    border-color: rgba(0, 224, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.vault-item:hover::before {
    opacity: 0.8;
}

.vault-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.vault-item-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.vault-item-name svg {
    width: 14px;
    height: 14px;
    color: var(--cyan);
}

.vault-item-date {
    font-size: 0.6rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-ultra-dim);
}

.vault-item-preview {
    background: var(--bg-black);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 10px 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--green);
    margin-bottom: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    max-height: 42px;
}

.vault-item-actions {
    display: flex;
    gap: 8px;
}

.vault-btn {
    flex: 1;
    padding: 7px 0;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-dim);
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.vault-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.04);
}

.vault-btn.delete:hover {
    border-color: var(--red);
    color: var(--red);
    background: rgba(255, 77, 106, 0.04);
}

.vault-empty {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-dim);
}

.vault-empty svg {
    color: var(--text-ultra-dim);
    margin-bottom: 12px;
    opacity: 0.5;
}

.vault-empty p {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.vault-empty small {
    font-size: 0.7rem;
    color: var(--text-ultra-dim);
}

/* ============================================
   Active Session Manager
   ============================================ */
.session-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.session-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all 0.3s;
}

.session-item:hover {
    border-color: var(--border-bright);
}

.session-item.current {
    border-color: rgba(0, 255, 136, 0.15);
}

.session-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.session-icon svg {
    width: 18px;
    height: 18px;
    color: var(--text-dim);
}

.session-item.current .session-icon {
    background: rgba(0, 255, 136, 0.05);
    border-color: rgba(0, 255, 136, 0.15);
}

.session-item.current .session-icon svg {
    color: var(--green);
}

.session-info {
    flex: 1;
    min-width: 0;
}

.session-device {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.session-meta {
    font-size: 0.7rem;
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
}

.session-badge {
    font-size: 0.55rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.session-badge.active-now {
    background: rgba(0, 255, 136, 0.08);
    color: var(--green);
    border: 1px solid rgba(0, 255, 136, 0.15);
}

.session-badge.stale {
    background: rgba(255, 170, 51, 0.06);
    color: var(--orange);
    border: 1px solid rgba(255, 170, 51, 0.1);
}

/* ============================================
   Admin: Global Lockdown Button
   ============================================ */
.btn-lockdown {
    background: transparent;
    border: 2px solid var(--red);
    color: var(--red);
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    font-family: inherit;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
}

.btn-lockdown::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 77, 106, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn-lockdown:hover {
    background: rgba(255, 77, 106, 0.08);
    box-shadow: 0 0 30px rgba(255, 77, 106, 0.2), inset 0 0 30px rgba(255, 77, 106, 0.02);
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(255, 77, 106, 0.5);
}

.btn-lockdown:hover::before {
    transform: translateX(100%);
}

.btn-lockdown:active {
    transform: scale(0.97);
}

/* Lockdown Active State â€” Red Alert Overlay */
.lockdown-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.lockdown-overlay.active {
    opacity: 1;
    animation: lockdownFlash 0.8s ease-in-out 3;
}

@keyframes lockdownFlash {
    0%, 100% {
        background: transparent;
        box-shadow: none;
    }
    50% {
        background: rgba(255, 20, 40, 0.04);
        box-shadow: inset 0 0 120px rgba(255, 20, 40, 0.08);
    }
}

/* ============================================
   Admin: Support Inbox
   ============================================ */
.admin-inbox {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inbox-ticket {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
}

.inbox-ticket:hover {
    border-color: rgba(0, 224, 255, 0.12);
    background: rgba(0, 224, 255, 0.02);
}

.inbox-ticket.resolved {
    opacity: 0.4;
    pointer-events: none;
}

.inbox-ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.inbox-ticket-subject {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.inbox-ticket-from {
    font-size: 0.65rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-dim);
}

.inbox-ticket-body {
    font-size: 0.8rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 12px;
    display: none;
}

.inbox-ticket.expanded .inbox-ticket-body {
    display: block;
    animation: panelFadeIn 0.3s var(--ease-out-expo);
}

.inbox-ticket-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.inbox-ticket-time {
    font-size: 0.6rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-ultra-dim);
}

.inbox-ticket-status {
    font-size: 0.55rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.inbox-ticket-status.open {
    background: rgba(255, 170, 51, 0.08);
    color: var(--orange);
    border: 1px solid rgba(255, 170, 51, 0.15);
}

.inbox-ticket-status.resolved {
    background: rgba(0, 255, 136, 0.06);
    color: var(--green);
    border: 1px solid rgba(0, 255, 136, 0.12);
}

.btn-resolve {
    background: transparent;
    border: 1px solid rgba(0, 255, 136, 0.2);
    color: var(--green);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}

.btn-resolve:hover {
    background: rgba(0, 255, 136, 0.06);
    border-color: var(--green);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.1);
}

/* ============================================
   Admin: Live System Log Viewer (Terminal)
   ============================================ */
.log-viewer {
    background: var(--bg-black);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 18px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    line-height: 1.9;
    max-height: 320px;
    overflow-y: auto;
    color: var(--text-dim);
    position: relative;
}

.log-viewer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, var(--bg-black), transparent);
    z-index: 1;
    pointer-events: none;
}

.log-line {
    display: flex;
    gap: 8px;
    padding: 2px 0;
    opacity: 0;
    animation: logLineIn 0.3s ease forwards;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes logLineIn {
    from {
        opacity: 0;
        transform: translateX(-8px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.log-ts {
    color: var(--text-ultra-dim);
    flex-shrink: 0;
}

.log-tag {
    font-weight: 700;
    flex-shrink: 0;
    padding: 0 4px;
    border-radius: 2px;
}

.tag-sys {
    color: var(--cyan);
    background: rgba(0, 224, 255, 0.06);
}

.tag-auth {
    color: var(--green);
    background: rgba(0, 255, 136, 0.06);
}

.tag-warn {
    color: var(--orange);
    background: rgba(255, 170, 51, 0.06);
}

.tag-err {
    color: var(--red);
    background: rgba(255, 77, 106, 0.06);
}

.tag-dl {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.06);
}

/* ============================================
   Toast / Live Notifications
   ============================================ */
.live-notifications {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    z-index: 9999;
    pointer-events: none;
    max-width: 420px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    pointer-events: auto;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s var(--ease-out-expo);
}

.toast.animate {
    animation: toastSlideIn 0.4s var(--ease-out-expo);
}

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

.toast-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============================================
   Benchmark Table (Admin)
   ============================================ */
.benchmark-table {
    border-collapse: collapse;
}

.benchmark-table th,
.benchmark-table td {
    padding: 10px 0;
}

.benchmark-table tbody tr {
    transition: background 0.2s;
}

.benchmark-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.015);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .dashboard-grid { grid-template-columns: 1fr; }
    .account-grid { grid-template-columns: 1fr; }
    .vault-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .main-header {
        padding: 16px 20px;
    }

    .panel-content {
        padding: 24px 20px;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .downloads-grid,
    .docs-grid {
        grid-template-columns: 1fr;
    }

    .mobile-menu-btn {
        display: block !important;
    }

    .live-notifications {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }

    .log-viewer {
        max-height: 200px;
    }
}

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

    .session-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .vault-grid {
        grid-template-columns: 1fr;
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--border-bright);
    color: var(--text-dim);
    padding: 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99;
}

.mobile-overlay.active {
    display: block;
}

/* ============================================
   Notification Dropdown
   ============================================ */
.notif-wrapper {
    position: relative;
    margin-right: 15px;
}

.notif-bell {
    cursor: pointer;
    position: relative;
    padding: 4px;
}

.notif-count {
    position: absolute;
    top: -4px;
    right: -6px;
    min-width: 16px;
    height: 16px;
    background: var(--red);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px var(--red);
    line-height: 1;
}

.notif-count.hidden {
    display: none;
}

.notif-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: -20px;
    width: 360px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    z-index: 200;
    display: none;
    overflow: hidden;
    animation: notifSlideIn 0.3s var(--ease-out-expo);
}

.notif-dropdown.open {
    display: block;
}

@keyframes notifSlideIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.notif-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    font-weight: 700;
}

.notif-mark-read {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 0.65rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.notif-mark-read:hover {
    color: var(--gold-light);
}

.notif-list {
    max-height: 320px;
    overflow-y: auto;
}

.notif-item {
    display: flex;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: background 0.2s;
}

.notif-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.notif-item.unread {
    background: rgba(212, 175, 55, 0.02);
    border-left: 2px solid var(--gold);
}

.notif-item.read {
    opacity: 0.5;
}

.notif-item-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}

.notif-item-content {
    flex: 1;
    min-width: 0;
}

.notif-item-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 4px;
}

.notif-item-time {
    font-size: 0.6rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-ultra-dim);
}

.notif-empty {
    padding: 30px 20px;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* ============================================
   Marketplace â€” Community Scripts
   ============================================ */
.market-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.market-filter {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-dim);
    padding: 7px 18px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.market-filter:hover {
    border-color: var(--border-bright);
    color: var(--text-primary);
}

.market-filter.active {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.2);
    color: var(--gold);
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.market-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 22px;
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
}

.market-card:hover {
    border-color: rgba(212, 175, 55, 0.12);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.market-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.market-card-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.market-card-author {
    font-size: 0.65rem;
    color: var(--text-dim);
    font-family: 'JetBrains Mono', monospace;
    margin-top: 2px;
}

.market-card-cat {
    font-size: 0.5rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-dim);
    border: 1px solid var(--border-subtle);
    white-space: nowrap;
}

.market-card-desc {
    font-size: 0.8rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 14px;
}

.market-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.market-card-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.65rem;
    color: var(--text-dim);
}

.market-stars {
    display: flex;
    gap: 2px;
    color: var(--gold);
    font-size: 0.7rem;
}

.market-stars .dim {
    color: var(--text-ultra-dim);
}

.market-dl-count {
    font-family: 'JetBrains Mono', monospace;
}

.btn-install {
    background: transparent;
    border: 1px solid rgba(0, 224, 255, 0.2);
    color: var(--cyan);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-install:hover {
    background: rgba(0, 224, 255, 0.06);
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(0, 224, 255, 0.1);
}

.btn-report {
    background: none;
    border: none;
    color: var(--text-ultra-dim);
    font-size: 0.55rem;
    font-family: inherit;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-report:hover {
    color: var(--red);
}

/* ============================================
   Changelog â€” Update Timeline
   ============================================ */
.changelog-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.changelog-entry {
    position: relative;
    padding: 0 0 32px 36px;
    border-left: 1px solid var(--border-subtle);
}

.changelog-entry:last-child {
    border-left: 1px solid transparent;
    padding-bottom: 0;
}

.changelog-dot {
    position: absolute;
    left: -5px;
    top: 2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid var(--bg-surface);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.changelog-entry:first-child .changelog-dot {
    background: var(--green);
    box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.15), 0 0 12px rgba(0, 255, 136, 0.2);
}

.changelog-version {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 4px;
}

.changelog-date {
    font-size: 0.6rem;
    color: var(--text-ultra-dim);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 14px;
}

.changelog-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.changelog-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.cl-tag {
    font-size: 0.5rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    font-family: 'JetBrains Mono', monospace;
}

.cl-tag.new { background: rgba(0, 255, 136, 0.1); color: var(--green); }
.cl-tag.fix { background: rgba(0, 224, 255, 0.1); color: var(--cyan); }
.cl-tag.security { background: rgba(255, 77, 106, 0.1); color: var(--red); }
.cl-tag.breaking { background: rgba(255, 170, 51, 0.1); color: var(--orange); }

/* ============================================
   Analytics â€” Charts & Geo
   ============================================ */
.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 100px; /* Further reduced from 140px */
    padding-top: 10px;
    gap: 6px;
}

.chart-bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    height: 100%;
    justify-content: flex-end;
}

.chart-bar {
    width: 100%;
    max-width: 48px;
    border-radius: 4px 4px 0 0;
    background: var(--gold-linear);
    transition: height 0.6s var(--ease-out-expo);
    position: relative;
    min-height: 4px;
}

.chart-bar:hover {
    filter: brightness(1.2);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.chart-bar-value {
    font-size: 0.6rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-dim);
    font-weight: 600;
}

.chart-bar-label {
    font-size: 0.55rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-ultra-dim);
    text-transform: uppercase;
}

#panel-analytics .metric-card { padding: 12px 16px; border-radius: var(--radius-md); }
#panel-analytics .metric-value { font-size: 1.4rem; } 
#panel-analytics .metric-label { font-size: 0.6rem; margin-bottom: 4px; }
#panel-analytics .dash-card { padding: 16px; margin-top: 12px; }
#panel-analytics .metrics-grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
#panel-analytics .dashboard-grid { gap: 12px; margin-bottom: 12px; }

.geo-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 6px;
}

.geo-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
}

.geo-flag {
    font-size: 1rem; /* Reduced from 1.2rem */
    flex-shrink: 0;
}

.geo-name {
    flex: 1;
    font-size: 0.75rem; /* Reduced from 0.85rem */
    font-weight: 500;
}

.geo-bar-track {
    flex: 2;
    height: 4px;
    background: var(--border-subtle);
    border-radius: 100px;
    overflow: hidden;
}

.geo-bar-fill {
    height: 100%;
    background: var(--gold-linear);
    border-radius: 100px;
    transition: width 0.8s var(--ease-out-expo);
}

.geo-pct {
    font-size: 0.7rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-dim);
    min-width: 36px;
    text-align: right;
}

/* ============================================
   Theme Customizer
   ============================================ */
.theme-swatches {
    display: flex;
    gap: 10px;
}

.theme-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border-subtle);
    background: var(--swatch-color);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.theme-swatch:hover {
    transform: scale(1.15);
    box-shadow: 0 0 16px color-mix(in srgb, var(--swatch-color) 40%, transparent);
}

.theme-swatch.active {
    border-color: var(--swatch-color);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.06), 0 0 20px color-mix(in srgb, var(--swatch-color) 30%, transparent);
}

.theme-swatch.active::after {
    content: 'âœ“';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 900;
    color: #000;
}

.theme-modes {
    display: flex;
    gap: 8px;
}

.theme-mode {
    flex: 1;
    padding: 10px 16px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-dim);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.theme-mode:hover {
    border-color: var(--border-bright);
    color: var(--text-primary);
}

.theme-mode.active {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.04);
}

/* ============================================
   Download History
   ============================================ */
.download-history-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dl-history-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.dl-history-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.dl-history-icon {
    width: 30px;
    height: 30px;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dl-history-icon svg {
    width: 14px;
    height: 14px;
    color: var(--gold);
}

.dl-history-info {
    flex: 1;
}

.dl-history-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.dl-history-meta {
    font-size: 0.6rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-ultra-dim);
    margin-top: 2px;
}

.dl-history-empty {
    padding: 30px 0;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* ============================================
   Compact Mode Overrides
   ============================================ */
body.compact-mode .main-content { padding: 20px; }
body.compact-mode .dash-card { padding: 16px; margin-top: 15px !important; }
body.compact-mode .metric-card { padding: 12px; height: auto; }
body.compact-mode .metric-value { font-size: 1.4rem; }
body.compact-mode .sidebar-link { padding: 10px 18px; font-size: 0.7rem; }
body.compact-mode .header { padding: 15px 0; margin-bottom: 20px; }
body.compact-mode .panel-content { gap: 15px; }
body.compact-mode .market-card { padding: 14px; }
body.compact-mode .market-card-desc { font-size: 0.75rem; margin-bottom: 10px; }
body.compact-mode h3.dash-card-title { font-size: 0.85rem; }
body.compact-mode .notif-bell { transform: scale(0.9); }
body.compact-mode .vault-item { padding: 15px; }
body.compact-mode .vault-item-preview { font-size: 0.7rem; -webkit-line-clamp: 2; line-clamp: 2; }
body.compact-mode .activity-item { padding: 10px 0; }

/* ============================================
   Alt Generator â€” Slot Machine & Results
   ============================================ */
.altgen-machine {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 40px 30px;
    background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.04) 0%, transparent 70%);
    border: 1px solid rgba(168, 85, 247, 0.08);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.altgen-machine::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #a855f7, #7c3aed, transparent);
    opacity: 0.6;
}

.altgen-slots {
    display: flex;
    gap: 16px;
}

.altgen-slot {
    width: 80px;
    height: 80px;
    background: var(--bg-black);
    border: 2px solid rgba(168, 85, 247, 0.15);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: #a855f7;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.altgen-slot.spinning {
    animation: slotSpin 0.15s linear infinite;
    border-color: #a855f7;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.altgen-slot.revealed {
    border-color: #00ff88;
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.2);
    color: #00ff88;
    animation: slotReveal 0.4s var(--ease-out-expo);
}

@keyframes slotSpin {
    0% { transform: translateY(0); }
    25% { transform: translateY(-4px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(4px); }
    100% { transform: translateY(0); }
}

@keyframes slotReveal {
    0% { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

.altgen-spins-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.altgen-spin-counter {
    text-align: center;
}

.altgen-spin-num {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    color: #a855f7;
    line-height: 1;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
}

.altgen-spin-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin-top: 6px;
}

.altgen-cooldown {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--orange);
    font-family: 'JetBrains Mono', monospace;
    background: rgba(255, 170, 51, 0.06);
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid rgba(255, 170, 51, 0.12);
}

.btn-altgen-spin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #a855f7, #7c3aed, #6d28d9);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn-altgen-spin::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.btn-altgen-spin:hover::before {
    transform: translateX(100%);
}

.btn-altgen-spin:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.4);
}

.btn-altgen-spin:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    background: var(--bg-surface-elevated);
    color: var(--text-dim);
}

.btn-altgen-spin.spinning {
    pointer-events: none;
    animation: btnPulse 0.6s ease infinite;
}

@keyframes btnPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Result Card */
.altgen-result {
    margin-top: 28px;
    padding: 24px;
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: var(--radius-lg);
    background: rgba(168, 85, 247, 0.03);
    animation: panelFadeIn 0.5s var(--ease-out-expo);
}

.altgen-result-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #a855f7;
    margin-bottom: 20px;
}

.altgen-account-card {
    background: var(--bg-black);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.altgen-account-row {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
    gap: 14px;
}

.altgen-account-row:last-of-type {
    border-bottom: none;
}

.altgen-account-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    min-width: 80px;
}

.altgen-account-value {
    flex: 1;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-all;
}

.altgen-copy-btn {
    background: transparent;
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: #a855f7;
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.altgen-copy-btn:hover {
    background: rgba(168, 85, 247, 0.06);
    border-color: #a855f7;
}

.altgen-copy-all {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(124, 58, 237, 0.1));
    border: none;
    border-top: 1px solid var(--border-subtle);
    color: #a855f7;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
}

.altgen-copy-all:hover {
    background: rgba(168, 85, 247, 0.15);
}

/* History */
.altgen-history {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.altgen-history-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.altgen-history-item:hover {
    border-color: rgba(168, 85, 247, 0.12);
}

.altgen-history-icon {
    width: 32px;
    height: 32px;
    background: rgba(168, 85, 247, 0.06);
    border: 1px solid rgba(168, 85, 247, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #a855f7;
}

.altgen-history-info {
    flex: 1;
    min-width: 0;
}

.altgen-history-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
}

.altgen-history-time {
    font-size: 0.6rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-ultra-dim);
    margin-top: 2px;
}

.altgen-history-empty {
    padding: 30px 0;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* ============================================
   Analytics â€” Revamped Live Design
   ============================================ */
.analytics-live-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(0, 255, 136, 0.03);
    border: 1px solid rgba(0, 255, 136, 0.1);
    border-radius: var(--radius-md);
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--green);
    letter-spacing: 0.5px;
}

.analytics-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: livePulse 2s ease infinite;
    flex-shrink: 0;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--green); }
    50% { opacity: 0.4; box-shadow: 0 0 4px var(--green); }
}

.metric-live-pulse {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: livePulse 2s ease infinite;
}

.analytics-counter {
    display: inline-block;
    transition: all 0.4s var(--ease-out-expo);
}

/* Event Stream */
.analytics-event-stream {
    max-height: 340px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
}

.analytics-event-stream::-webkit-scrollbar { width: 3px; }
.analytics-event-stream::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 10px; }

.analytics-event-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    animation: eventSlideIn 0.3s var(--ease-out-expo);
}

@keyframes eventSlideIn {
    from { opacity: 0; transform: translateX(-12px); }
    to { opacity: 1; transform: translateX(0); }
}

.analytics-event-type {
    font-size: 0.5rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    white-space: nowrap;
}

.analytics-event-type.alt_spin { background: rgba(168,85,247,0.1); color: #a855f7; }
.analytics-event-type.download { background: rgba(212,175,55,0.1); color: var(--gold); }
.analytics-event-type.login { background: rgba(0,255,136,0.1); color: var(--green); }
.analytics-event-type.register { background: rgba(0,224,255,0.1); color: var(--cyan); }
.analytics-event-type.key_redeem { background: rgba(255,170,51,0.1); color: var(--orange); }
.analytics-event-type.default { background: rgba(255,255,255,0.03); color: var(--text-dim); }

.analytics-event-detail {
    flex: 1;
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.analytics-event-user {
    color: var(--text-primary);
    font-weight: 600;
}

.analytics-event-time {
    color: var(--text-ultra-dim);
    font-size: 0.55rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.analytics-event-empty {
    padding: 40px 0;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.8rem;
    font-family: 'Outfit', sans-serif;
}

/* Leaderboard */
.analytics-leaderboard {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.analytics-lb-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.analytics-lb-item:hover {
    border-color: var(--border-bright);
}

.analytics-lb-rank {
    font-size: 0.7rem;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-ultra-dim);
    min-width: 24px;
    text-align: center;
}

.analytics-lb-item:nth-child(1) .analytics-lb-rank { color: var(--gold); }
.analytics-lb-item:nth-child(2) .analytics-lb-rank { color: var(--text-dim); }
.analytics-lb-item:nth-child(3) .analytics-lb-rank { color: #cd7f32; }

.analytics-lb-name {
    flex: 1;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.analytics-lb-count {
    font-size: 0.7rem;
    font-family: 'JetBrains Mono', monospace;
    color: #a855f7;
    font-weight: 700;
}

.analytics-lb-bar {
    width: 60px;
    height: 4px;
    background: var(--border-subtle);
    border-radius: 100px;
    overflow: hidden;
}

.analytics-lb-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #a855f7, #7c3aed);
    border-radius: 100px;
    transition: width 0.6s var(--ease-out-expo);
}

/* ============================================
   New Component Styles (Mega Update)
   ============================================ */

/* Theme Presets */
.theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.theme-preset {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    text-align: center;
}

.theme-preset:hover {
    border-color: var(--gold);
    background: var(--bg-surface-hover);
    transform: translateY(-4px);
}

.theme-preset.active {
    border-color: var(--gold);
    box-shadow: 0 0 15px var(--gold-glow);
}

.theme-preview {
    height: 80px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    background: var(--bg-black);
}

.theme-preset.nebula .theme-preview { background: var(--theme-nebula-bg); }
.theme-preset.deepsea .theme-preview { background: var(--theme-deepsea-bg); }
.theme-preset.acid .theme-preview { background: var(--theme-acid-bg); }

/* Script Editor */
.editor-card {
    height: 700px;
    display: flex;
    flex-direction: column;
}

.monaco-container {
    flex: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.editor-actions {
    display: flex; gap: 10px;
}

/* Daily Streaks */
.streak-stats {
    text-align: center;
    padding: 24px 0;
}

.streak-count {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gold-linear);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.streak-progress {
    height: 8px;
    background: var(--bg-surface-elevated);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.streak-progress::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 75%;
    background: var(--gold-linear);
    box-shadow: 0 0 10px var(--gold-glow);
}

/* Referral Hub */
.ref-link-box {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.ref-link-box input {
    flex: 1;
    background: var(--bg-black);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 12px;
    color: var(--cyan);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.ref-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ref-stats .stat {
    background: var(--bg-surface-elevated);
    padding: 16px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
}

/* Admin Maps & Charts */
.map-container {
    height: 400px;
    background: var(--bg-black);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.traffic-chart-container {
    height: 300px;
}

/* Switch UI */
.switch-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-surface-elevated);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    cursor: pointer;
}

.switch-container input {
    display: none;
}

.checkmark {
    width: 44px;
    height: 24px;
    background: var(--bg-black);
    border-radius: 12px;
    position: relative;
    transition: 0.3s;
    border: 1px solid var(--border-subtle);
}

.checkmark::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: var(--text-dim);
    border-radius: 50%;
    transition: 0.3s;
}

.switch-container input:checked + .checkmark {
    background: var(--gold-glow);
    border-color: var(--gold);
}

.switch-container input:checked + .checkmark::after {
    left: 22px;
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
}

/* Admin Tables */
.admin-table-container {
    margin-top: 16px;
    overflow-x: auto;
}

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

.admin-table-container th {
    text-align: left;
    padding: 12px;
    color: var(--text-dim);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-subtle);
}

.admin-table-container td {
    padding: 12px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.85rem;
}

.btn-red {
    background: rgba(239, 68, 68, 0.1);
    color: var(--red);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: 0.2s;
}

.btn-red:hover {
    background: var(--red);
    color: #fff;
}



