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

:root {
    --gold: #ffd700;
    --gold-dark: #b8860b;
    --purple: #9400d3;
    --purple-light: #ba55d3;
    --cyan: #00ffff;
    --cyan-dark: #008b8b;
    --dark-bg: #0d0d1a;
    --darker-bg: #080812;
    --card-bg: rgba(20, 20, 40, 0.95);
    --text-bright: #ffffff;
}

* {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8' fill='%23ffd700' stroke='%23fff' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='3' fill='%23000'/%3E%3C/svg%3E") 12 12, auto;
}

a, button, input, select, .btn, .nav-links a, .feature-item, .stat-card, .character-card {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='10' fill='%2300ffff' stroke='%23ffd700' stroke-width='2'/%3E%3Ccircle cx='14' cy='14' r='4' fill='%23000'/%3E%3C/svg%3E") 14 14, pointer;
}

input:focus, textarea:focus, select:focus {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8' fill='%239400d3' stroke='%2300ffff' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='3' fill='%23fff'/%3E%3C/svg%3E") 12 12, text;
}

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

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--darker-bg);
    min-height: 100vh;
    color: var(--text-bright);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(255, 215, 0, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(148, 0, 211, 0.12) 0%, transparent 50%);
    animation: bgPulse 8s ease-in-out infinite;
    z-index: -1;
}

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

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: linear-gradient(180deg, rgba(13, 13, 26, 0.98) 0%, rgba(13, 13, 26, 0.95) 100%);
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--cyan);
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
    letter-spacing: 3px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-bright);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    border-radius: 2px;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    background: radial-gradient(ellipse at center, rgba(148, 0, 211, 0.08) 0%, transparent 70%);
}

#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.2;
}

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

.hero-content h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--cyan);
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.6), 0 0 60px rgba(0, 255, 255, 0.4);
    letter-spacing: 4px;
    line-height: 1.2;
}

.hero-content p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 2rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

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

.btn {
    font-family: 'Orbitron', sans-serif;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: 2px solid;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    color: var(--darker-bg);
    border-color: var(--gold);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.8);
}

.btn-secondary {
    background: transparent;
    color: var(--cyan);
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(0, 255, 255, 0.6);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    padding: 4rem 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
}

.stat-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.stat-card .number {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.status.online {
    color: var(--cyan);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.status.online::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--cyan);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 15px var(--cyan);
}

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

.features {
    padding: 4rem 5%;
    text-align: center;
}

.features h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    letter-spacing: 3px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 968px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.feature-item {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid var(--purple);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.feature-item:hover {
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    transform: scale(1.03);
}

.feature-item h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-bright);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.form-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7rem 2rem 3rem;
}

.form-box {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 8px;
    width: 100%;
    max-width: 420px;
    border: 2px solid var(--gold);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.form-box h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    letter-spacing: 2px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--cyan);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--purple);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-bright);
    font-size: 1rem;
    font-family: 'Rajdhani', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.form-links {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--cyan);
}

.form-links a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.form-links a:hover {
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.error {
    background: rgba(255, 0, 0, 0.1);
    color: #ff6b6b;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 0, 0, 0.3);
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

.success {
    background: rgba(0, 255, 0, 0.1);
    color: #4ecca3;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 255, 0, 0.3);
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

.ranking-table {
    width: 100%;
    max-width: 1000px;
    margin: 2rem auto;
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--gold);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
}

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

.ranking-table th,
.ranking-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--purple);
}

.ranking-table th {
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.05) 100%);
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--gold);
}

.ranking-table tr:hover {
    background: rgba(255, 215, 0, 0.05);
}

.rank-1 { 
    color: var(--gold); 
    font-weight: 700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    font-size: 1.1rem;
}
.rank-2 { 
    color: #c0c0c0; 
    font-weight: 700;
    text-shadow: 0 0 10px rgba(192, 192, 192, 0.6);
}
.rank-3 { 
    color: #cd7f32; 
    font-weight: 700;
    text-shadow: 0 0 10px rgba(205, 127, 50, 0.6);
}

.panel-container {
    padding: 6rem 5% 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.panel-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

.sidebar {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid var(--purple);
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: 0 0 20px rgba(148, 0, 211, 0.3);
}

.sidebar h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gold);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    letter-spacing: 2px;
}

.sidebar p {
    margin-bottom: 1rem;
    color: var(--cyan);
    font-size: 1rem;
}

.sidebar .label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--purple-light);
    margin-bottom: 0.25rem;
    display: block;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.panel-box {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--purple);
    transition: all 0.3s ease;
}

.panel-box:hover {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.panel-box h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gold);
    letter-spacing: 1px;
}

.characters-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.character-card {
    background: linear-gradient(135deg, rgba(148, 0, 211, 0.2), rgba(0, 255, 255, 0.1));
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--cyan);
    text-align: center;
    transition: all 0.3s ease;
}

.character-card:hover {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    transform: translateY(-5px);
}

.character-card h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--gold);
}

.character-card p {
    color: var(--cyan);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.character-card .playtime {
    color: var(--purple-light);
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 20px;
    display: inline-block;
    border: 1px solid var(--cyan);
}

footer {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-top: 2px solid var(--gold);
    color: var(--cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

@media (max-width: 968px) {
    .panel-grid {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        border-bottom: 2px solid var(--gold);
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger {
        display: flex;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .stats {
        grid-template-columns: 1fr;
    }
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-box {
        padding: 2rem;
    }
    .characters-list {
        grid-template-columns: 1fr;
    }
    .sidebar {
        padding: 1.5rem;
    }
}


:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --accent: #14b8a6;
    --bg-dark: #0a0a1a;
    --bg-card: rgba(20, 20, 45, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --glow: 0 0 40px rgba(99, 102, 241, 0.3);
}

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

body {
    font-family: 'Inter', 'Space Grotesk', sans-serif;
    background: var(--bg-dark);
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
    z-index: -1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 5%;
    background: var(--bg-glass);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid var(--border);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::before {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 3px;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
}

#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.hero-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient 8s linear infinite;
}

@keyframes gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-content p {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    padding: 1.125rem 2.5rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 2px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
    padding: 5rem 5%;
    max-width: 1300px;
    margin: 0 auto;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px 4px 0 0;
}

.stat-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--glow), var(--shadow);
}

.stat-card h3 {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.stat-card .number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.status.online {
    color: var(--accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.status.online::before {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 20px var(--accent);
}

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

.features {
    padding: 6rem 5%;
    text-align: center;
}

.features h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 968px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.feature-item {
    background: var(--bg-card);
    padding: 1.25rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.feature-item:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: var(--glow);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.3));
}

.feature-item h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.form-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
}

.form-box {
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    padding: 3.5rem;
    border-radius: 28px;
    width: 100%;
    max-width: 480px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.form-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 5px 5px 0 0;
}

.form-box h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1.125rem 1.5rem;
    border: 2px solid var(--border);
    border-radius: 16px;
    background: rgba(10, 10, 26, 0.5);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.form-links {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-secondary);
}

.form-links a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.form-links a:hover {
    color: var(--secondary);
}

.error {
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    padding: 1.25rem;
    border-radius: 16px;
    margin-bottom: 1.75rem;
    border: 1px solid rgba(239, 68, 68, 0.2);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.error::before {
    content: '⚠️';
}

.success {
    background: rgba(20, 184, 166, 0.1);
    color: #5eead4;
    padding: 1.25rem;
    border-radius: 16px;
    margin-bottom: 1.75rem;
    border: 1px solid rgba(20, 184, 166, 0.2);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.success::before {
    content: '✅';
}

.ranking-table {
    width: 100%;
    max-width: 1100px;
    margin: 3rem auto;
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

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

.ranking-table th,
.ranking-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.ranking-table th {
    background: rgba(99, 102, 241, 0.1);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
}

.ranking-table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.rank-1 { 
    color: #fbbf24; 
    font-weight: 700;
    text-shadow: 0 0 30px rgba(251, 191, 36, 0.6);
}
.rank-2 { 
    color: #e2e8f0; 
    font-weight: 700;
    text-shadow: 0 0 30px rgba(226, 232, 240, 0.4);
}
.rank-3 { 
    color: #fb923c; 
    font-weight: 700;
    text-shadow: 0 0 30px rgba(251, 146, 60, 0.4);
}

.panel-container {
    padding: 8rem 5% 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.panel-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 2.5rem;
}

.sidebar {
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    padding: 2.5rem;
    border-radius: 28px;
    border: 1px solid var(--border);
    height: fit-content;
    position: sticky;
    top: 120px;
    box-shadow: var(--shadow);
}

.sidebar h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.sidebar .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 600;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.panel-box {
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    padding: 2.5rem;
    border-radius: 28px;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    box-shadow: var(--shadow);
}

.panel-box:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--glow);
    transform: translateY(-5px);
}

.panel-box h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
}

.characters-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.character-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

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

.character-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.character-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.character-card .playtime {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1.25rem;
    padding: 0.75rem 1.25rem;
    background: rgba(20, 184, 166, 0.1);
    border-radius: 50px;
    display: inline-block;
    border: 1px solid rgba(20, 184, 166, 0.3);
}

footer {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 4rem;
}

@media (max-width: 968px) {
    .panel-grid {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        backdrop-filter: blur(30px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger {
        display: flex;
    }
    .hero-content h1 {
        font-size: 2.75rem;
    }
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .stats {
        grid-template-columns: 1fr;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .form-box {
        padding: 2.5rem 1.75rem;
    }
    .characters-list {
        grid-template-columns: 1fr;
    }
    .sidebar {
        padding: 1.75rem;
    }
}
