/* ============================================
   NATIVE EXPANSES ON RUSSIA — Main Stylesheet
   ============================================ */

/* --- CSS Variables --- */
:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #0d0d2b;
    --bg-tertiary: #111133;
    --bg-card: rgba(13, 13, 43, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.03);
    
    --neon-cyan: #00f5ff;
    --neon-purple: #b829dd;
    --neon-gold: #ffd700;
    --neon-pink: #ff2d95;
    --neon-blue: #4d6dff;
    --neon-green: #00ff88;
    --neon-red: #ff3355;
    --neon-orange: #ff8800;
    
    --text-primary: #ffffff;
    --text-secondary: #b0b0d0;
    --text-muted: #6a6a8a;
    
    --border-glow: rgba(0, 245, 255, 0.2);
    --shadow-glow: 0 0 20px rgba(0, 245, 255, 0.15);
    
    --font-main: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Orbitron', var(--font-main);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(184, 41, 221, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 245, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(77, 109, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--neon-gold);
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--neon-cyan);
    text-shadow: 
        0 0 10px var(--neon-cyan),
        0 0 20px var(--neon-cyan),
        0 0 40px var(--neon-cyan);
    margin-bottom: 2rem;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid transparent;
    border-top-color: var(--neon-cyan);
    border-right-color: var(--neon-purple);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.preloader-spinner::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 3px solid transparent;
    border-bottom-color: var(--neon-gold);
    border-left-color: var(--neon-pink);
    border-radius: 50%;
    animation: spin 1.2s linear reverse infinite;
}

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

@keyframes preloaderPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* --- Particles Container --- */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* --- Header / Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.8rem 2rem;
    transition: all var(--transition-normal);
    backdrop-filter: blur(0px);
}

.header.scrolled {
    background: rgba(10, 10, 26, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glow);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    padding: 0.5rem 2rem;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 1001;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.4);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.logo:hover .logo-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 0 25px rgba(0, 245, 255, 0.6);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple), var(--neon-gold));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

/* Nav */
.nav {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-link {
    padding: 0.5rem 1.2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

/* Auth buttons */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-main);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.4;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

/* Primary neon button */
.btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    color: #000;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.5), 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Outline button */
.btn-outline {
    background: transparent;
    color: var(--neon-cyan);
    border: 1.5px solid var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.1);
}

.btn-outline:hover {
    background: rgba(0, 245, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

/* Gold button */
.btn-gold {
    background: linear-gradient(135deg, var(--neon-gold), var(--neon-orange));
    color: #000;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

/* Danger button */
.btn-danger {
    background: linear-gradient(135deg, var(--neon-red), #cc0033);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 51, 85, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 51, 85, 0.5);
}

/* Small button */
.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}

/* Large button */
.btn-lg {
    padding: 0.9rem 2.5rem;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}

/* User menu (after login) */
.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
    object-fit: cover;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.user-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
}

.user-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.user-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.user-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 0 12px currentColor;
}

.badge-admin {
    background: linear-gradient(135deg, var(--neon-gold), var(--neon-orange));
    color: #000;
}

/* Role-specific badge styles */
.role-player {
    background: rgba(106, 106, 138, 0.2);
    color: #a0a0c0;
    border: 1px solid rgba(106, 106, 138, 0.4);
}

.role-helper {
    background: rgba(0, 245, 255, 0.15);
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 245, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.1);
}

.role-moderator {
    background: rgba(0, 255, 136, 0.15);
    color: var(--neon-green);
    border: 1px solid rgba(0, 255, 136, 0.3);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.1);
}

.role-admin {
    background: rgba(255, 215, 0, 0.15);
    color: var(--neon-gold);
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
}

.role-deputy {
    background: rgba(255, 45, 149, 0.15);
    color: var(--neon-pink);
    border: 1px solid rgba(255, 45, 149, 0.3);
    box-shadow: 0 0 10px rgba(255, 45, 149, 0.1);
}

.role-owner {
    background: linear-gradient(135deg, rgba(184, 41, 221, 0.2), rgba(184, 41, 221, 0.3));
    color: #d4a0f0;
    border: 1px solid rgba(184, 41, 221, 0.5);
    box-shadow: 0 0 15px rgba(184, 41, 221, 0.2);
    animation: ownerPulse 2s ease-in-out infinite;
}

.role-developer {
    background: linear-gradient(135deg, rgba(255, 0, 64, 0.2), rgba(255, 0, 64, 0.3));
    color: #ff6b8a;
    border: 1px solid rgba(255, 0, 64, 0.5);
    box-shadow: 0 0 15px rgba(255, 0, 64, 0.2);
    animation: devPulse 2s ease-in-out infinite;
}

@keyframes ownerPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(184, 41, 221, 0.2); }
    50% { box-shadow: 0 0 25px rgba(184, 41, 221, 0.4); }
}

@keyframes devPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(255, 0, 64, 0.2); }
    50% { box-shadow: 0 0 25px rgba(255, 0, 64, 0.4); }
}

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

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(180deg, transparent 0%, var(--bg-primary) 100%);
    z-index: 1;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--neon-purple);
    text-transform: uppercase;
    letter-spacing: 6px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(184, 41, 221, 0.5);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-title .line1 {
    display: block;
    background: linear-gradient(90deg, var(--neon-cyan), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.4));
}

.hero-title .line2 {
    display: block;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(184, 41, 221, 0.4));
}

.hero-title .line3 {
    display: block;
    background: linear-gradient(90deg, var(--neon-gold), var(--neon-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4));
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

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

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--neon-cyan);
    text-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
    display: block;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.3rem;
}

/* --- Sections --- */
.section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.85rem;
    color: var(--neon-purple);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-shadow: 0 0 10px rgba(184, 41, 221, 0.4);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Feature Cards --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple), var(--neon-gold));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

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

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.feature-icon.cyan {
    background: rgba(0, 245, 255, 0.1);
    color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.15);
}

.feature-icon.purple {
    background: rgba(184, 41, 221, 0.1);
    color: var(--neon-purple);
    box-shadow: 0 0 20px rgba(184, 41, 221, 0.15);
}

.feature-icon.gold {
    background: rgba(255, 215, 0, 0.1);
    color: var(--neon-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
}

.feature-icon.pink {
    background: rgba(255, 45, 149, 0.1);
    color: var(--neon-pink);
    box-shadow: 0 0 20px rgba(255, 45, 149, 0.15);
}

.feature-icon.green {
    background: rgba(0, 255, 136, 0.1);
    color: var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.15);
}

.feature-icon.blue {
    background: rgba(77, 109, 255, 0.1);
    color: var(--neon-blue);
    box-shadow: 0 0 20px rgba(77, 109, 255, 0.15);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.feature-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* --- Forbes / Top Players Table --- */
.table-container {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    gap: 1rem;
}

.table-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--neon-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.table-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-main);
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(0, 245, 255, 0.1);
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
}

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

thead th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: color var(--transition-fast);
    user-select: none;
}

thead th:hover {
    color: var(--neon-cyan);
}

thead th .sort-icon {
    margin-left: 0.3rem;
    font-size: 0.7rem;
}

tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: all var(--transition-fast);
}

tbody tr:hover {
    background: rgba(0, 245, 255, 0.03);
}

tbody td {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    vertical-align: middle;
}

.rank-cell {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    width: 50px;
}

.rank-1 { color: var(--neon-gold); text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
.rank-2 { color: #c0c0c0; text-shadow: 0 0 10px rgba(192, 192, 192, 0.4); }
.rank-3 { color: #cd7f32; text-shadow: 0 0 10px rgba(205, 127, 50, 0.4); }

.player-cell {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.player-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--border-glow);
    object-fit: cover;
    flex-shrink: 0;
}

.player-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: #fff;
    flex-shrink: 0;
}

.player-nick {
    font-weight: 600;
}

.fraction-badge {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    background: rgba(77, 109, 255, 0.15);
    color: var(--neon-blue);
    border: 1px solid rgba(77, 109, 255, 0.3);
}

.money-cell {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--neon-green);
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
}

.level-cell {
    font-weight: 700;
    color: var(--neon-purple);
}

.online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.online-dot.online {
    background: var(--neon-green);
    box-shadow: 0 0 8px var(--neon-green);
}

.online-dot.offline {
    background: var(--text-muted);
}

/* --- Auth Pages --- */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    z-index: 1;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 3rem;
    width: 100%;
    max-width: 460px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple), var(--neon-gold));
}

.auth-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* --- Forms --- */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
    font-family: var(--font-main);
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    transition: all var(--transition-fast);
    outline: none;
}

/* Fix for select elements */
.form-input:focus,
select.form-input {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
}

select.form-input option {
    background: #0d0d2b;
    color: var(--text-primary);
    padding: 0.5rem;
}

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

.form-input:focus {
    border-color: var(--neon-cyan);
    background: rgba(0, 245, 255, 0.03);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.1);
}

.form-input.error {
    border-color: var(--neon-red);
    box-shadow: 0 0 15px rgba(255, 51, 85, 0.15);
}

.form-input.success {
    border-color: var(--neon-green);
}

.form-error {
    font-size: 0.8rem;
    color: var(--neon-red);
    margin-top: 0.4rem;
    display: none;
}

.form-error.visible {
    display: block;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--neon-cyan);
    cursor: pointer;
}

.form-checkbox span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--neon-cyan);
    font-weight: 600;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

/* --- Dashboard --- */
.dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    padding: 6rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 6rem);
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 6rem;
    height: fit-content;
}

.sidebar-profile {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    margin-bottom: 1.5rem;
}

.sidebar-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    margin: 0 auto 1rem;
    object-fit: cover;
}

.sidebar-nick {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.sidebar-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.sidebar-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.sidebar-stat {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    padding: 0.8rem;
    text-align: center;
}

.sidebar-stat-value {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--neon-cyan);
    display: block;
}

.sidebar-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.2rem;
}

/* Sidebar menu */
.sidebar-menu {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.sidebar-menu-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
    text-decoration: none;
}

.sidebar-menu-item:hover,
.sidebar-menu-item.active {
    background: rgba(0, 245, 255, 0.08);
    color: var(--neon-cyan);
}

.sidebar-menu-item .menu-icon {
    width: 20px;
    text-align: center;
}

/* Dashboard content */
.dashboard-content {
    min-width: 0;
}

.content-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.content-card:hover {
    border-color: rgba(255, 255, 255, 0.08);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-title .icon {
    color: var(--neon-cyan);
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.stat-card.cyan::before { background: var(--neon-cyan); }
.stat-card.purple::before { background: var(--neon-purple); }
.stat-card.gold::before { background: var(--neon-gold); }
.stat-card.green::before { background: var(--neon-green); }
.stat-card.pink::before { background: var(--neon-pink); }

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-card-icon {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.stat-card-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 0.3rem;
}

.stat-card.cyan .stat-card-value { color: var(--neon-cyan); }
.stat-card.purple .stat-card-value { color: var(--neon-purple); }
.stat-card.gold .stat-card-value { color: var(--neon-gold); }
.stat-card.green .stat-card-value { color: var(--neon-green); }
.stat-card.pink .stat-card-value { color: var(--neon-pink); }

.stat-card-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Progress bars */
.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
}

/* Achievement bars */
.achievement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.achievement-item:last-child {
    border-bottom: none;
}

.achievement-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

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

.achievement-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.achievement-progress {
    font-size: 0.75rem;
    color: var(--text-muted);
}

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

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

.admin-table th,
.admin-table td {
    padding: 0.8rem 1rem;
    text-align: left;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.admin-table th {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
}

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

.action-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.action-ban { background: rgba(255, 51, 85, 0.15); color: var(--neon-red); }
.action-kick { background: rgba(255, 136, 0, 0.15); color: var(--neon-orange); }
.action-warn { background: rgba(255, 215, 0, 0.15); color: var(--neon-gold); }
.action-jail { background: rgba(77, 109, 255, 0.15); color: var(--neon-blue); }
.action-mute { background: rgba(184, 41, 221, 0.15); color: var(--neon-purple); }
.action-unban { background: rgba(0, 255, 136, 0.15); color: var(--neon-green); }

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-top: 2rem;
}

.pagination-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-main);
}

.pagination-btn:hover,
.pagination-btn.active {
    background: rgba(0, 245, 255, 0.1);
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
}

/* --- Footer --- */
.footer {
    background: rgba(10, 10, 26, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem 1.5rem;
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand .logo-text {
    font-size: 1rem;
    margin-bottom: 1rem;
    display: block;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
}

.footer-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--neon-cyan);
}

.footer-bottom {
    max-width: 1400px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* --- Alert / Toast --- */
.toast-container {
    position: fixed;
    top: 5rem;
    right: 2rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 300px;
    max-width: 450px;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    animation: toastIn 0.4s ease;
}

.toast.success {
    border-left: 3px solid var(--neon-green);
}

.toast.error {
    border-left: 3px solid var(--neon-red);
}

.toast.info {
    border-left: 3px solid var(--neon-cyan);
}

.toast-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast.success .toast-icon { color: var(--neon-green); }
.toast.error .toast-icon { color: var(--neon-red); }
.toast.info .toast-icon { color: var(--neon-cyan); }

.toast-message {
    font-size: 0.9rem;
    color: var(--text-primary);
    flex: 1;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    line-height: 1;
}

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

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

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--neon-cyan);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* --- Chart containers --- */
.chart-container {
    position: relative;
    width: 100%;
    height: 300px;
    margin: 1rem 0;
}

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 500px;
    position: relative;
    animation: modalIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color var(--transition-fast);
    line-height: 1;
}

.modal-close:hover {
    color: var(--neon-red);
}

/* --- Search --- */
.search-input-wrapper {
    position: relative;
    max-width: 400px;
}

.search-input-wrapper .form-input {
    padding-left: 2.5rem;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.8rem 1rem;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        transition: right var(--transition-normal);
        border-left: 1px solid var(--border-glow);
        z-index: 1000;
    }
    
    .nav.open {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 0.8rem 1rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .auth-buttons {
        display: none;
    }
    
    .nav.open .auth-buttons-mobile {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
    
    .section {
        padding: 4rem 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .auth-card {
        padding: 2rem 1.5rem;
    }
    
    .table-header {
        padding: 1rem;
    }
    
    tbody td, thead th {
        padding: 0.7rem 1rem;
    }
    
    .toast {
        min-width: auto;
        max-width: calc(100vw - 4rem);
    }
    
    .toast-container {
        right: 1rem;
        left: 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan);
}

/* --- Selection --- */
::selection {
    background: rgba(0, 245, 255, 0.3);
    color: #fff;
}

/* --- Utility classes --- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-cyan { color: var(--neon-cyan); }
.text-purple { color: var(--neon-purple); }
.text-gold { color: var(--neon-gold); }
.text-green { color: var(--neon-green); }
.text-red { color: var(--neon-red); }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.85rem; }
.text-xs { font-size: 0.75rem; }
.font-heading { font-family: var(--font-heading); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.hidden { display: none !important; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.w-full { width: 100%; }

/* ======================== */
/* FEATURE IMAGES          */
/* ======================== */
.feature-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    opacity: 0.3;
    transition: opacity 0.3s;
}
.feature-card:hover .feature-image {
    opacity: 0.5;
}
.feature-card {
    position: relative;
    overflow: hidden;
}

/* ======================== */
/* FAQ ANSWERS             */
/* ======================== */
.faq-answer.visible {
    display: block !important;
}

/* ======================== */
/* TICKET VIEW MODAL       */
/* ======================== */
#ticket-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

/* ======================== */
/* COOKIE BANNER           */
/* ======================== */
#cookie-banner {
    animation: slideUp 0.5s ease;
}

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

/* ======================== */
/* TERMS MODAL             */
/* ======================== */
#terms-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

/* ======================== */
/* ADMIN/OWNER PANEL STYLES */
/* ======================== */

/* User management table */
.users-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.users-table th {
    padding: 0.8rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.users-table td {
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    vertical-align: middle;
}

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

.user-action-btns {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.user-action-btns .btn {
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
}

/* Log viewer */
.logs-container {
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.log-entry {
    display: flex;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.2s;
}

.log-entry:hover {
    background: rgba(0, 245, 255, 0.02);
}

.log-source {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
    min-width: 60px;
    text-align: center;
}

.log-source.site {
    background: rgba(0, 245, 255, 0.15);
    color: var(--neon-cyan);
}

.log-source.game {
    background: rgba(0, 255, 136, 0.15);
    color: var(--neon-green);
}

.log-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    min-width: 130px;
}

.log-admin {
    font-weight: 600;
    color: var(--neon-gold);
    white-space: nowrap;
    min-width: 120px;
}

.log-action {
    font-weight: 600;
    color: var(--neon-cyan);
    white-space: nowrap;
}

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

/* Payment config form */
.payment-gateway-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.gateway-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.gateway-card:hover,
.gateway-card.active {
    border-color: var(--neon-cyan);
    background: rgba(0, 245, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.1);
}

.gateway-card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.gateway-card-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.gateway-card-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Settings form */
.settings-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.settings-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.settings-section-title i {
    color: var(--neon-cyan);
}

/* Toggle switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transition: 0.3s;
}

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

.toggle-switch input:checked + .toggle-slider {
    background: var(--neon-cyan);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(24px);
}

/* Stats overview cards for owner */
.owner-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.owner-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    text-align: center;
    transition: all 0.3s;
}

.owner-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.owner-stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.owner-stat-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.2rem;
}

.owner-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Pagination for logs/users */
.pagination-admin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-top: 1.5rem;
}

.pagination-admin .page-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-main);
}

.pagination-admin .page-btn:hover,
.pagination-admin .page-btn.active {
    background: rgba(0, 245, 255, 0.1);
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
}

/* Filter tabs */
.filter-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-main);
}

.filter-tab:hover,
.filter-tab.active {
    background: rgba(0, 245, 255, 0.1);
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
}

/* Search bar for admin tables */
.admin-search {
    position: relative;
    max-width: 350px;
    margin-bottom: 1.5rem;
}

.admin-search .form-input {
    padding-left: 2.5rem;
}

.admin-search .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Modal for admin actions */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.admin-modal.active {
    display: flex;
}

.admin-modal-content {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalIn 0.3s ease;
}

.admin-modal-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}
