:root {
    /* Modern Glass Extensions */
    --glass-bg: rgba(22, 22, 29, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.03);
    --glow-primary: 0 0 20px rgba(124, 58, 237, 0.3);
    --glow-secondary: 0 0 20px rgba(168, 85, 247, 0.2);

    /* Core Theme Variables */
    --bg-primary: #0f0f12;
    --bg-secondary: #16161d;
    --bg-tertiary: #1e1e28;
    --bg-card: #1a1a24;
    --bg-hover: #252532;

    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7a;

    --accent-primary: #7c3aed;
    --accent-secondary: #a855f7;
    --accent-gradient: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);

    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;

    --border-color: #2a2a3a;
    --border-radius: 12px;
    --border-radius-sm: 8px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.3);

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: all 0.2s ease;
}

/* ... (Keep existing dashboard styles) ... */

/* =====================================================
   MODERN PUBLIC LANDING PAGE (REWORKED)
   ===================================================== */

.public-page {
    background: radial-gradient(circle at top center, #1b1b22 0%, #0f0f12 60%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Effects */
.public-page::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.public-page::after {
    content: '';
    position: fixed;
    bottom: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

/* Navbar */
.public-navbar {
    background: rgba(15, 15, 18, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 1;
}

.brand-icon {
    font-size: 32px;
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.5));
}

.brand-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: white;
}

.brand-accent {
    color: var(--accent-secondary);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    z-index: 1;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-btn:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 80px 0 120px;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, #a0a0b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.4));
}

.hero-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

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

.btn-glow {
    background: var(--accent-gradient);
    color: white;
    padding: 16px 36px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    box-shadow: var(--glow-primary);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-glow:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.5);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 16px 36px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Top 5 Cards (Hero Right) */
.top5-wrapper {
    position: relative;
    perspective: 1000px;
}

.top5-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.top5-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: 0.3s;
}

.top5-card:hover {
    transform: translateX(-10px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(90deg, var(--glass-bg) 0%, rgba(124, 58, 237, 0.05) 100%);
}

.top5-card:hover::before {
    opacity: 1;
}

.rank-badge {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.top5-card:nth-child(1) .rank-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.top5-card:nth-child(2) .rank-badge {
    background: linear-gradient(135deg, #E0E0E0 0%, #B0B0B0 100%);
    color: #000;
}

.top5-card:nth-child(3) .rank-badge {
    background: linear-gradient(135deg, #CD7F32 0%, #A0522D 100%);
    color: #000;
}

.server-minimal-info {
    flex: 1;
}

.server-label {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
    display: block;
}

.server-sub {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    gap: 10px;
}

.ip-pill {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    color: var(--accent-secondary);
}

/* Stats Ribbon */
.stats-ribbon {
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 30px 0;
    margin-bottom: 80px;
    backdrop-filter: blur(10px);
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(to bottom, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 4px;
}

.stat-desc {
    color: var(--text-secondary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Main Server List */
.list-section {
    padding-bottom: 100px;
}

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

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
}

.search-wrapper {
    position: relative;
    width: 350px;
}

.search-input {
    width: 100%;
    padding: 14px 20px;
    padding-left: 48px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-size: 14px;
    transition: all 0.3s;
}

.search-input:focus {
    background: rgba(22, 22, 29, 0.9);
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
    outline: none;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 18px;
}

/* Modern Table */
.modern-table-container {
    background: var(--glass-bg);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.modern-table th {
    text-align: left;
    padding: 20px 24px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
}

.modern-table td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--glass-border);
    transition: background 0.2s;
}

.modern-table tr:last-child td {
    border-bottom: none;
}

.modern-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.server-row {
    cursor: pointer;
}

/* Server Grid Layout */
.server-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.server-grid-header {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr 1.2fr 0.8fr;
    gap: 16px;
    padding: 16px 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.server-grid-row {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr 1.2fr 0.8fr;
    gap: 16px;
    padding: 16px 20px;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    border-radius: 6px;
}

.server-grid-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.server-grid-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

/* Boosted Row - Animated Glow Effect */
.boosted-row {
    position: relative;
    overflow: visible;
    z-index: 1;
}

.boosted-row::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg,
            transparent 0%,
            transparent 35%,
            rgba(124, 58, 237, 0.7) 50%,
            transparent 65%,
            transparent 100%);
    background-size: 200% 100%;
    animation: boosted-glow 3s ease-in-out infinite;
    border-radius: 8px;
    z-index: -1;
    pointer-events: none;
}

.boosted-row::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(124, 58, 237, 0.4);
    border-radius: 6px;
    pointer-events: none;
    box-shadow: inset 0 0 20px rgba(124, 58, 237, 0.1);
}

@keyframes boosted-glow {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .server-grid-header {
        display: none;
    }

    .server-grid-row {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .server-grid-row>div::before {
        content: attr(data-label);
        font-size: 11px;
        font-weight: 600;
        color: var(--text-secondary);
        text-transform: uppercase;
        display: block;
        margin-bottom: 4px;
    }
}

.map-tag {
    font-size: 13px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 6px;
}

.mobile-only {
    display: none;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .top5-wrapper {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        height: 70px;
    }

    /* Mobile Menu Button (Hamburger) */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }

    .mobile-menu-btn span {
        width: 100%;
        height: 3px;
        background: white;
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: left;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg);
    }

    /* Mobile Sidebar */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        width: 280px;
        height: 100vh;
        background: #1a1a22 !important;
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 8px;
        z-index: 9999 !important;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        overflow-y: auto;
        display: flex;
    }

    /* Disable backdrop filter on mobile navbar to prevent stacking context bugs */
    .public-navbar {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: #0f0f12 !important;
        z-index: 9990 !important;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links .nav-link,
    .nav-links .nav-btn {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        padding: 14px 16px;
        border-radius: 10px;
        font-size: 15px;
        text-align: left;
        color: white;
        text-decoration: none;
        pointer-events: auto;
        cursor: pointer;
    }

    .nav-links .nav-link:hover,
    .nav-links .nav-btn:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .nav-links .nav-btn {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 4px;
    }

    /* Mobile Menu Overlay */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .stats-container {
        flex-direction: column;
        gap: 30px;
    }

    .section-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .search-wrapper {
        width: 100%;
    }

    /* Convert Table to Cards on Mobile */
    .modern-table thead {
        display: none;
    }

    .modern-table,
    .modern-table tbody,
    .modern-table tr,
    .modern-table td {
        display: block;
        width: 100%;
    }

    .modern-table tr {
        margin-bottom: 16px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid var(--glass-border);
        border-radius: 12px;
        overflow: hidden;
    }

    .modern-table td {
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        padding: 12px 16px;
        text-align: right;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .modern-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-secondary);
        font-size: 12px;
        text-transform: uppercase;
    }

    /* Hero adjustments */
    .hero-section {
        padding-top: 40px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .btn-glow,
    .btn-glass {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Desktop: hide mobile elements */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none !important;
    }

    .mobile-overlay {
        display: none !important;
    }
}



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

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--accent-secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-primary);
}

/* App Layout */
.app {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

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

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

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-nav {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.nav-item.active {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-glow);
}

.nav-icon {
    font-size: 18px;
}

.nav-divider {
    height: 1px;
    background: var(--border-color);
    margin: 12px 0;
}

.nav-item-secondary {
    opacity: 0.7;
    font-size: 13px;
}

.nav-item-secondary:hover {
    opacity: 1;
}

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

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 500;
    font-size: 14px;
}

.user-coins {
    font-size: 12px;
    color: var(--success);
}

.logout-btn {
    display: block;
    text-align: center;
    padding: 10px;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
}

.logout-btn:hover {
    background: var(--error);
    color: white;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 32px;
    min-height: 100vh;
}

/* Page Header */
.page-header {
    margin-bottom: 32px;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    transition: var(--transition);
}

.card:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

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

.card-title {
    font-size: 18px;
    font-weight: 600;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-icon.success {
    background: rgba(16, 185, 129, 0.15);
}

.stat-icon.warning {
    background: rgba(245, 158, 11, 0.15);
}

.stat-icon.info {
    background: rgba(59, 130, 246, 0.15);
}

.stat-icon.accent {
    background: rgba(124, 58, 237, 0.15);
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-danger {
    background: var(--error);
    color: white;
}

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

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-family);
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--error);
}

.alert ul {
    margin: 0;
    padding-left: 20px;
}

/* Tables */
.table-container {
    overflow-x: auto;
}

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

.table th,
.table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--bg-tertiary);
}

.table tr:hover td {
    background: var(--bg-hover);
}

/* Data Table - Dashboard Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

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

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

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* Status Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.badge-error {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error);
}

.badge-info {
    background: rgba(59, 130, 246, 0.15);
    color: var(--info);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition);
}

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

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Server Card */
.server-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    margin-bottom: 12px;
    transition: var(--transition);
}

.server-card:hover {
    border-color: var(--accent-primary);
}

.server-info h4 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.server-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.server-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.online {
    background: var(--success);
}

.status-dot.offline {
    background: var(--error);
}

.status-dot.checking {
    background: var(--warning);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-secondary);
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

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

/* Loading */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--bg-tertiary);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--bg-primary);
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo .logo-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

.auth-logo .logo-text {
    font-size: 28px;
}

.auth-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 8px;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.auth-divider span {
    padding: 0 16px;
}

.btn-steam:hover {
    background: #2a475e !important;
    border-color: #66c0f4 !important;
    transform: translateY(-1px);
}

/* PIX QR Code */
.pix-container {
    text-align: center;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.pix-qrcode {
    max-width: 200px;
    margin: 0 auto 16px;
    background: white;
    padding: 8px;
    border-radius: 8px;
}

.pix-qrcode img {
    width: 100%;
    height: auto;
}

.pix-code {
    background: var(--bg-primary);
    padding: 12px;
    border-radius: var(--border-radius-sm);
    font-family: monospace;
    font-size: 12px;
    word-break: break-all;
    margin-top: 16px;
}

.copy-btn {
    margin-top: 12px;
}

/* Dashboard Mobile Header */
.mobile-header {
    display: none;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    margin: -32px -32px 32px -32px;
    /* Compensate for main-content padding */
}

.mobile-header-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        height: 100vh;
        z-index: 1050;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5);
    }

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

    .main-content {
        margin-left: 0;
        padding: 32px 20px;
        /* Reset padding but keep it consistent */
        padding-top: 80px;
        /* Space for mobile header */
    }

    .mobile-header {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        margin: 0;
        z-index: 1030;
    }

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

/* =====================================================
   PUBLIC HOME PAGE STYLES
   ===================================================== */

.public-page {
    background: var(--bg-primary);
    min-height: 100vh;
}

/* Public Navbar */
.public-navbar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-logo .logo-icon {
    font-size: 32px;
}

.navbar-logo .logo-text {
    font-size: 22px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.nav-link.active {
    color: var(--accent-secondary);
}

.nav-link.btn-login {
    background: var(--accent-gradient);
    color: white;
}

.nav-link.btn-login:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

/* Public Main */
.public-main {
    min-height: calc(100vh - 70px - 60px);
}

.section-container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 24px;
}

/* Top 5 Section */
.top5-section {
    padding: 60px 0 40px;
    background: radial-gradient(ellipse at center top, rgba(124, 58, 237, 0.15) 0%, transparent 60%);
}

.top5-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.top5-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 40px;
}

.top5-subtitle a {
    color: var(--accent-secondary);
    text-decoration: underline;
}

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

.empty-top5 {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 24px;
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--border-radius);
}

.empty-top5 .empty-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}

.empty-top5 p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Medal Cards */
.medal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.medal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
}

.medal-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.medal-card.medal-1::before {
    background: linear-gradient(90deg, #ffd700, #ffb800);
}

.medal-card.medal-2::before {
    background: linear-gradient(90deg, #c0c0c0, #a8a8a8);
}

.medal-card.medal-3::before {
    background: linear-gradient(90deg, #cd7f32, #b87333);
}

.medal-badge {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
}

.medal-content .server-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.medal-content .server-address {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-family: monospace;
}

/* Player Bars */
.player-bar-container {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.player-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.player-bar.bar-low {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.player-bar.bar-medium {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.player-bar.bar-full {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

.player-bar.bar-empty {
    background: var(--bg-hover);
}

.player-count {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Stats Bar */
.stats-bar {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.stats-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-item .stat-value {
    font-size: 28px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item .stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Servers Section */
.servers-section {
    padding: 50px 0;
}

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

.section-title {
    font-size: 24px;
    font-weight: 700;
}

.search-box {
    width: 100%;
    max-width: 400px;
}

.search-box .form-input {
    width: 100%;
}

/* Servers Table */
.servers-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    table-layout: fixed;
}

.servers-table thead {
    background: var(--bg-tertiary);
}

/* Table Columns */
.col-server {
    width: 45%;
}

.col-address {
    width: 20%;
}

.col-map {
    width: 15%;
}

.col-players {
    width: 20%;
}

.servers-table th {
    padding: 14px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.servers-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

/* ... existing hover styles ... */

.server-name-cell {
    /* Width controlled by col-server */
    position: relative;
    overflow: hidden;
}

.server-name-text {
    display: inline-block;
    max-width: 100%;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.server-owner-text {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.boost-badge {
    margin-right: 6px;
    vertical-align: middle;
}

.server-address-cell {
    /* Width controlled by col-address */
    white-space: nowrap;
}

.server-address-cell code {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-family: 'Consolas', 'Monaco', monospace;
}

.server-map-cell {
    color: var(--text-secondary);
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.server-players-cell {
    /* Width controlled by col-players */
}

.player-bar-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.player-bar-bg {
    flex: 1;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    min-width: 80px;
}

.player-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    min-width: 50px;
}

.empty-table {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px !important;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
    background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

/* Public Footer */
.public-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    text-align: center;
}

.public-footer p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1200px) {
    .top5-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .medal-card:nth-child(4),
    .medal-card:nth-child(5) {
        grid-column: span 1;
    }
}

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

    .navbar-nav {
        gap: 4px;
    }

    .nav-link {
        padding: 8px 12px;
        font-size: 13px;
    }

    .top5-section {
        padding: 40px 0 30px;
    }

    .top5-title {
        font-size: 28px;
    }

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

    .medal-card:nth-child(5) {
        grid-column: 1 / -1;
    }

    .stats-inline {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .servers-header {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        max-width: none;
    }

    .servers-table th:nth-child(2),
    .servers-table td:nth-child(2) {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }
}

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

    .medal-card:nth-child(5) {
        grid-column: auto;
    }

    .servers-table th:nth-child(3),
    .servers-table td:nth-child(3) {
        display: none;
    }
}

/* =====================================================
   ADDITIONAL STYLES FOR HOME & SERVER DETAILS
   ===================================================== */

/* IP Badge with color */
.ip-badge {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-family: 'Consolas', 'Monaco', monospace;
    display: inline-block;
    margin-top: 8px;
}

/* Server Owner in cards */
.medal-content .server-owner {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

/* Medal card as link */
a.medal-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Server name and owner in table */
.server-name-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.server-name-text {
    font-weight: 500;
}

.server-owner-text {
    font-size: 12px;
    color: var(--text-muted);
}

/* Server row hover */
.server-row:hover {
    background: var(--bg-hover) !important;
}

/* =====================================================
   SERVER DETAILS PAGE
   ===================================================== */

.server-details-section {
    padding: 40px 0 60px;
}

.breadcrumb {
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-secondary);
}

.breadcrumb a:hover {
    color: var(--accent-secondary);
}

.breadcrumb .separator {
    margin: 0 8px;
}

.server-details-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
}

/* Main Card */
.server-main-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
}

.server-header-info {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.boost-tag {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.server-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.server-header-info .server-owner {
    color: var(--text-secondary);
    font-size: 14px;
}

.server-header-info .server-owner strong {
    color: var(--accent-secondary);
}

/* Info Table */
.server-info-table {
    margin-bottom: 24px;
}

.info-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    width: 120px;
    color: var(--text-secondary);
    font-size: 14px;
    flex-shrink: 0;
}

.info-value {
    flex: 1;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-value .ip-badge {
    margin-top: 0;
}

.copy-ip-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    opacity: 0.6;
    transition: var(--transition);
}

.copy-ip-btn:hover {
    opacity: 1;
}

/* Server Actions */
.server-actions {
    display: flex;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

/* Sidebar */
.server-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
}

.sidebar-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

/* Map Card */
.map-card {
    padding: 16px;
}

.map-image-container {
    position: relative;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.map-image-container:hover .map-image {
    transform: scale(1.02);
}

.map-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px 12px 10px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

/* Big Player Bar */
.big-player-bar {
    text-align: center;
}

.big-player-bar .player-bar-bg {
    height: 12px;
    margin-bottom: 12px;
}

.big-player-bar .player-bar-text {
    font-size: 24px;
    font-weight: 700;
}

.big-player-bar .player-bar-text .current {
    color: var(--accent-secondary);
}

.big-player-bar .player-bar-text .separator {
    color: var(--text-muted);
    margin: 0 4px;
}

.big-player-bar .player-bar-text .max {
    color: var(--text-secondary);
}

/* Boost Card */
.boost-card {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(168, 85, 247, 0.1));
    border-color: rgba(124, 58, 237, 0.3);
}

.boost-card p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 8px;
}

.boost-expires {
    font-size: 12px !important;
    color: var(--text-muted) !important;
}

/* CTA Card */
.cta-card {
    text-align: center;
}

.cta-card p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}

.btn-block {
    width: 100%;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    animation: toastIn 0.3s ease, toastOut 0.3s ease 1.7s forwards;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* Responsive Server Details */
@media (max-width: 992px) {
    .server-details-grid {
        grid-template-columns: 1fr;
    }

    .server-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar-card {
        flex: 1;
        min-width: 250px;
    }
}

@media (max-width: 576px) {
    .server-main-card {
        padding: 20px;
    }

    .server-title {
        font-size: 22px;
    }

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

    .sidebar-card {
        min-width: 100%;
    }
}