@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Share+Tech+Mono&family=Exo+2:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #060717;
    --bg-card: rgba(6, 7, 23, 0.85);
    --bg-card2: rgba(10, 12, 35, 0.9);
    --accent-gold: #f7ca00;
    --accent-orange: #cc8b00;
    --accent-gold-glow: rgba(247, 202, 0, 0.25);
    --text-blue: #1eb3f6;
    --text-blue-dim: rgba(30, 179, 246, 0.6);
    --text-secondary: #8892b0;
    --text-bright: #e6f1ff;
    --border-color: rgba(247, 202, 0, 0.15);
    --border-glow: rgba(247, 202, 0, 0.4);
    --danger: #ff4757;
    --success: #2ed573;
    --warning: #ffa502;
    --sidebar-width: 260px;
    --grid-line: rgba(30, 179, 246, 0.04);
}

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    font-family: 'Exo 2', sans-serif;
    color: var(--text-blue);
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- ANIMATED GRID BACKGROUND --- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(247,202,0,0.08) 0%, transparent 70%),
                radial-gradient(ellipse 60% 40% at 80% 110%, rgba(30,179,246,0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* --- SIDEBAR --- */
.sidebar {
    width: var(--sidebar-width);
    background: rgba(3, 4, 15, 0.97);
    border-right: 1px solid var(--border-color);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(20px);
}

.sidebar::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--accent-gold), var(--text-blue), var(--accent-gold), transparent);
    opacity: 0.5;
    animation: sidebarGlow 4s ease-in-out infinite;
}

@keyframes sidebarGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.sidebar-header {
    padding: 28px 20px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.sidebar-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(247,202,0,0.05), transparent 60%);
    animation: headerPulse 3s ease-in-out infinite;
}

@keyframes headerPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

.logo-img {
    width: 55px;
    height: 55px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 12px var(--accent-gold));
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 8px var(--accent-gold)); }
    50% { filter: drop-shadow(0 0 20px var(--accent-gold)) drop-shadow(0 0 35px rgba(247,202,0,0.4)); }
}

.sidebar-header h2 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin: 0;
}

.sidebar-server-tag {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    margin-top: 4px;
    opacity: 0.7;
}

.sidebar-nav {
    flex: 1;
    padding: 15px 0;
}

.sidebar-nav ul { list-style: none; }

.sidebar-nav ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Exo 2', sans-serif;
    font-weight: 500;
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    transition: all 0.25s ease;
    border-left: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.sidebar-nav ul li a::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 0; height: 100%;
    background: linear-gradient(90deg, rgba(247,202,0,0.12), transparent);
    transition: width 0.3s ease;
}

.sidebar-nav ul li a:hover::before,
.sidebar-nav ul li a.active::before { width: 100%; }

.sidebar-nav ul li a i {
    width: 18px;
    text-align: center;
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.sidebar-nav ul li a:hover {
    color: var(--accent-gold);
    border-left-color: var(--accent-gold);
}

.sidebar-nav ul li a:hover i { transform: scale(1.15); }

.sidebar-nav ul li a.active {
    color: var(--accent-gold);
    border-left-color: var(--accent-gold);
    background: rgba(247,202,0,0.06);
}

.sidebar-nav .nav-divider {
    height: 1px;
    background: var(--border-color);
    margin: 10px 20px;
}

.sidebar-nav .nav-section-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem;
    color: var(--text-secondary);
    letter-spacing: 0.2em;
    padding: 8px 22px 4px;
    opacity: 0.5;
    text-transform: uppercase;
}

/* --- MAIN CONTENT --- */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 30px 35px;
    width: calc(100% - var(--sidebar-width));
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* --- PAGE HEADER --- */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 80px; height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), transparent);
}

h2 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 0.08em;
    color: var(--accent-gold);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

h2 i {
    font-size: 1.3rem;
    filter: drop-shadow(0 0 8px var(--accent-gold));
}

h3 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    color: var(--accent-gold);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

/* --- CARDS --- */
.card {
    background: var(--bg-card2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 22px 25px;
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0.4;
}

.card:hover {
    border-color: rgba(247,202,0,0.3);
    box-shadow: 0 0 30px rgba(247,202,0,0.06), 0 8px 32px rgba(0,0,0,0.3);
}

/* --- STATS GRID --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--bg-card2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), var(--text-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(247,202,0,0.35);
    box-shadow: 0 12px 35px rgba(0,0,0,0.35), 0 0 20px rgba(247,202,0,0.07);
}

.stat-card:hover::after { transform: scaleX(1); }

.stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(247,202,0,0.08);
    border: 1px solid rgba(247,202,0,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent-gold);
    flex-shrink: 0;
    transition: all 0.3s;
}

.stat-card:hover .stat-icon {
    background: rgba(247,202,0,0.15);
    box-shadow: 0 0 15px rgba(247,202,0,0.2);
}

.stat-info h3 {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 4px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.stat-value {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--text-blue);
    line-height: 1;
}

.stat-sub {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin-top: 3px;
    opacity: 0.7;
}

/* --- TABLE --- */
.table-responsive { overflow-x: auto; border-radius: 8px; }

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

table th {
    padding: 12px 16px;
    text-align: left;
    background: rgba(247,202,0,0.07);
    color: var(--accent-gold);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

table td {
    padding: 11px 16px;
    border-bottom: 1px solid rgba(247,202,0,0.06);
    color: var(--text-blue);
    vertical-align: middle;
}

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

table tbody tr {
    transition: background 0.2s;
}

table tbody tr:hover {
    background: rgba(247,202,0,0.04);
}

code {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.82rem;
    color: var(--accent-gold);
    background: rgba(247,202,0,0.08);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(247,202,0,0.15);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background 0.2s;
}

.btn:hover::after { background: rgba(255,255,255,0.08); }

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(247,202,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247,202,0,0.35);
}

.btn-danger {
    background: linear-gradient(135deg, #ff4757, #c0392b);
    color: white;
    box-shadow: 0 4px 12px rgba(255,71,87,0.2);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255,71,87,0.35);
}

.btn-success {
    background: linear-gradient(135deg, #2ed573, #1e8449);
    color: var(--bg-dark);
    box-shadow: 0 4px 12px rgba(46,213,115,0.2);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(46,213,115,0.3);
}

.btn-warning {
    background: linear-gradient(135deg, #ffa502, #e67e00);
    color: var(--bg-dark);
}

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

.btn-sm { padding: 5px 12px; font-size: 0.78rem; }

.btn-block { width: 100%; justify-content: center; }

/* --- FORM ELEMENTS --- */
.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    background: rgba(6,7,23,0.8);
    border: 1px solid rgba(247,202,0,0.2);
    border-radius: 6px;
    color: var(--text-blue);
    font-family: 'Exo 2', sans-serif;
    font-size: 0.9rem;
    transition: all 0.25s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(247,202,0,0.1), 0 0 12px rgba(247,202,0,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(30,179,246,0.3);
}

.form-group small {
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-top: 4px;
    display: block;
}

/* --- ALERTS --- */
.alert {
    padding: 13px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: alertIn 0.3s ease;
}

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

.alert-success {
    background: rgba(46,213,115,0.1);
    border: 1px solid rgba(46,213,115,0.3);
    color: #2ed573;
}

.alert-error {
    background: rgba(255,71,87,0.1);
    border: 1px solid rgba(255,71,87,0.3);
    color: #ff6b7a;
}

/* --- PAGINATION --- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.page-link {
    padding: 7px 13px;
    background: rgba(6,7,23,0.8);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.page-link:hover {
    background: rgba(247,202,0,0.1);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.page-link.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--bg-dark);
    box-shadow: 0 0 12px rgba(247,202,0,0.4);
}

/* --- MODAL --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
    animation: modalBgIn 0.2s ease;
}

@keyframes modalBgIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal[style*="block"] .modal-content {
    animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.92) translateY(-20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-content {
    background: rgba(8, 10, 30, 0.98);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    width: 90%;
    max-width: 520px;
    margin: 6% auto;
    position: relative;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), var(--text-blue), var(--accent-gold));
    border-radius: 10px 10px 0 0;
}

.close-modal {
    position: absolute;
    top: 16px; right: 20px;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s;
    line-height: 1;
}

.close-modal:hover { color: var(--accent-gold); }

/* --- BADGES / TAGS --- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.badge-online { background: rgba(46,213,115,0.15); color: #2ed573; border: 1px solid rgba(46,213,115,0.3); }
.badge-offline { background: rgba(255,71,87,0.12); color: #ff6b7a; border: 1px solid rgba(255,71,87,0.25); }
.badge-vip { background: rgba(247,202,0,0.15); color: var(--accent-gold); border: 1px solid rgba(247,202,0,0.3); }
.badge-lady { background: rgba(255,105,180,0.15); color: #ff69b4; border: 1px solid rgba(255,105,180,0.3); }
.badge-premium { background: rgba(204,139,0,0.15); color: var(--accent-orange); border: 1px solid rgba(204,139,0,0.3); }
.badge-pending { background: rgba(255,165,2,0.12); color: #ffa502; border: 1px solid rgba(255,165,2,0.3); }
.badge-accepted { background: rgba(46,213,115,0.12); color: #2ed573; border: 1px solid rgba(46,213,115,0.3); }
.badge-rejected { background: rgba(255,71,87,0.12); color: #ff6b7a; border: 1px solid rgba(255,71,87,0.3); }

/* --- LOGIN PAGE --- */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

.login-card {
    background: rgba(6, 9, 28, 0.95);
    border: 1px solid rgba(247,202,0,0.25);
    border-radius: 12px;
    padding: 40px 35px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(247,202,0,0.08);
    animation: cardEntry 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cardEntry {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    border-radius: 12px 12px 0 0;
}

.login-header {
    margin-bottom: 28px;
}

.login-header img {
    filter: drop-shadow(0 0 15px var(--accent-gold));
    animation: logoPulse 2s ease-in-out infinite;
}

.login-header h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    justify-content: center;
    color: var(--accent-gold);
    margin-top: 10px;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 0.82rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 4px;
}

/* --- RANK BADGE (profile) --- */
.rank-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 14px;
    border-radius: 20px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    color: white;
}

/* --- WARN DOTS --- */
.warn-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    border: 2px solid rgba(255,255,255,0.1);
}

/* --- PROFILE CARD --- */
.profile-hero {
    background: var(--bg-card2);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 28px;
    margin-bottom: 24px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.profile-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), var(--text-blue), var(--accent-gold));
    opacity: 0.5;
}

.profile-avatar {
    width: 90px; height: 90px;
    background: linear-gradient(135deg, rgba(247,202,0,0.15), rgba(30,179,246,0.1));
    border: 2px solid rgba(247,202,0,0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--accent-gold);
    flex-shrink: 0;
    box-shadow: 0 0 25px rgba(247,202,0,0.1);
}

.profile-info { flex: 1; min-width: 250px; }

.profile-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-bright);
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.profile-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.profile-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-meta-label {
    font-size: 0.68rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.profile-meta-value {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-blue);
}

/* --- ONLINE PLAYERS --- */
.player-row-admin { border-left: 2px solid var(--accent-gold) !important; }

/* --- QUICK COMMAND GRID --- */
.quick-cmd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}

.quick-cmd-btn {
    background: rgba(247,202,0,0.06);
    border: 1px solid rgba(247,202,0,0.18);
    border-radius: 6px;
    padding: 10px 14px;
    color: var(--text-blue);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    width: 100%;
}

.quick-cmd-btn:hover {
    background: rgba(247,202,0,0.12);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247,202,0,0.1);
}

.quick-cmd-btn.danger {
    background: rgba(255,71,87,0.07);
    border-color: rgba(255,71,87,0.2);
    color: #ff6b7a;
}

.quick-cmd-btn.danger:hover {
    background: rgba(255,71,87,0.15);
    border-color: var(--danger);
    box-shadow: 0 4px 12px rgba(255,71,87,0.15);
}

/* --- DATE GROUP (cmds by date) --- */
.date-group-header {
    background: rgba(247,202,0,0.07);
    border: 1px solid rgba(247,202,0,0.12);
    border-radius: 5px;
    padding: 6px 12px;
    margin-bottom: 6px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.78rem;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cmd-entry {
    background: rgba(6,7,23,0.6);
    border: 1px solid rgba(247,202,0,0.07);
    border-radius: 5px;
    padding: 8px 12px;
    margin-bottom: 5px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cmd-time {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

/* --- BAN ENTRY --- */
.ban-entry {
    background: rgba(6,7,23,0.6);
    border: 1px solid rgba(255,71,87,0.1);
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 10px;
    transition: border-color 0.2s;
}

.ban-entry:hover { border-color: rgba(255,71,87,0.25); }

.ban-name {
    font-weight: 600;
    color: var(--text-bright);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
}

.ban-steamid {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* --- FORUM TOGGLE --- */
.forum-toggle {
    cursor: pointer;
    color: var(--accent-gold);
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 12px;
    background: rgba(247,202,0,0.08);
    border: 1px solid rgba(247,202,0,0.2);
    transition: background 0.2s;
    margin-top: 6px;
}

.forum-toggle:hover { background: rgba(247,202,0,0.15); }

.forum-links a {
    display: block;
    color: var(--text-blue);
    text-decoration: none;
    font-size: 0.8rem;
    padding: 3px 0;
    transition: color 0.2s;
}

.forum-links a:hover { color: var(--accent-gold); }

/* --- ADMIN ACTIONS --- */
.admin-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

/* --- PROGRESS BAR --- */
.progress-bar-wrap {
    background: rgba(6,7,23,0.8);
    border-radius: 20px;
    height: 6px;
    overflow: hidden;
    margin-top: 6px;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--accent-gold), var(--text-blue));
    transition: width 0.8s ease;
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 20px; height: 100%;
    background: rgba(255,255,255,0.4);
    filter: blur(4px);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* --- STATUS INDICATOR --- */
.status-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
}

.status-dot.online {
    background: var(--success);
    box-shadow: 0 0 6px var(--success);
    animation: pulseDot 2s ease-in-out infinite;
}

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

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 4px var(--success); }
    50% { box-shadow: 0 0 10px var(--success), 0 0 20px rgba(46,213,115,0.3); }
}

/* --- COMMAND QUEUE STATUS --- */
.cmd-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cmd-status-pending {
    background: rgba(255,165,2,0.1);
    color: #ffa502;
    border: 1px solid rgba(255,165,2,0.25);
}

.cmd-status-executed {
    background: rgba(46,213,115,0.1);
    color: #2ed573;
    border: 1px solid rgba(46,213,115,0.25);
}

/* --- NEWS CARD --- */
.news-card {
    background: rgba(6,7,23,0.7);
    border: 1px solid rgba(247,202,0,0.12);
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 14px;
    position: relative;
    transition: border-color 0.2s;
}

.news-card:hover { border-color: rgba(247,202,0,0.25); }

.news-card-actions {
    position: absolute;
    top: 14px; right: 16px;
    display: flex;
    gap: 10px;
}

/* --- SCROLL ANIMATIONS --- */
.fade-in {
    animation: fadeInUp 0.4s ease both;
}

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

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: rgba(6,7,23,0.5); }
::-webkit-scrollbar-thumb { background: rgba(247,202,0,0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(247,202,0,0.45); }

/* --- TOOLTIP --- */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(6,7,23,0.95);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 0.75rem;
    color: var(--text-blue);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 200;
}

[data-tooltip]:hover::after { opacity: 1; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    :root { --sidebar-width: 60px; }
    .sidebar-header h2,
    .sidebar-server-tag,
    .sidebar-nav .nav-section-label,
    .sidebar-nav ul li a span { display: none; }
    .sidebar-nav ul li a { justify-content: center; padding: 14px; }
    .sidebar-nav ul li a i { font-size: 1.1rem; }
    .main-content { padding: 20px 16px; }
}

@media (max-width: 600px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .profile-hero { flex-direction: column; }
}
.notification-toggle {
    transition: all 0.3s ease;
}

.notification-toggle:hover {
    background: rgba(247, 202, 0, 0.1);
    color: var(--accent-gold);
}

#notificationStatus {
    font-size: 0.7rem;
    margin-left: 5px;
    opacity: 0.7;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.install-popup-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.install-popup-icon {
    flex-shrink: 0;
}

.install-popup-text {
    flex: 1;
}

.install-popup-text h4 {
    margin: 0 0 5px 0;
    color: var(--accent-gold);
}

.install-popup-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.install-popup-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-install {
    background: var(--accent-gold);
    color: var(--bg-dark);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-install:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
}

.btn-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    padding: 0 8px;
    transition: color 0.3s ease;
}

.btn-close:hover {
    color: var(--danger);
}

@media (max-width: 768px) {
    .install-popup-content {
        flex-direction: column;
        text-align: center;
    }
    
    .install-popup-buttons {
        width: 100%;
        justify-content: center;
    }
}

.install-pwa-btn {
    transition: all 0.3s ease;
}

.install-pwa-btn:hover {
    background: rgba(247, 202, 0, 0.1);
    color: var(--accent-gold);
}

.notification-btn {
    transition: all 0.3s ease;
}

.notification-btn:hover {
    background: rgba(247, 202, 0, 0.1);
    color: var(--accent-gold);
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent-gold);
}

input:checked + .slider:before {
    transform: translateX(26px);
}