:root {
    --bg-dark: #050508;
    --panel-bg: rgba(16, 20, 30, 0.65);
    --panel-border: rgba(0, 240, 255, 0.2);
    --neon-cyan: #00f0ff;
    --neon-pink: #ff0055;
    --neon-purple: #bf00ff;
    --neon-yellow: #fcee0a;
    --text-main: #e0e6ed;
    --text-muted: #8b9bb4;
    --tier-sss: #ff0055;
    --tier-ss: #fcee0a;
    --tier-s: #00f0ff;
    --tier-a: #00ff66;
    --tier-b: #bf00ff;
    --tier-c: #ff9900;
    --tier-d: #8b9bb4;
}

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

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

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3, h4, .score-value, .stat-number, .tier-badge {
    font-family: 'Orbitron', sans-serif;
}

.text-glow {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.7);
}

.hidden { display: none !important; }
.active-section { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 80vh; }

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    border-bottom: 1px solid var(--panel-border);
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: 2px;
    position: relative;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--neon-cyan);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}
.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}
.lang-btn:hover {
    color: #fff;
}
.lang-btn.active {
    color: var(--neon-cyan);
    text-shadow: 0 0 5px var(--neon-cyan);
}
.lang-sep {
    color: var(--panel-border);
}

.container {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    width: 100%;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.search-box {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#username-input,
#player1-input,
#player2-input {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--neon-cyan);
    color: var(--text-main);
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    font-family: 'Rajdhani', sans-serif;
    outline: none;
    width: 350px;
    border-radius: 4px;
    box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.1);
    transition: all 0.3s;
    text-align: center;
}

#player1-input,
#player2-input {
    width: 250px; 
}

#username-input:focus,
#player1-input:focus,
#player2-input:focus {
    box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.2), 0 0 15px rgba(0, 240, 255, 0.4);
    border-color: var(--neon-cyan);
}

.cyber-btn {
    background: var(--neon-cyan);
    color: #000;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all 0.3s ease;
}

.cyber-btn:hover {
    background: #fff;
    box-shadow: 0 0 20px var(--neon-cyan);
}

.cyber-btn.outline-btn {
    background: transparent;
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
}
.cyber-btn.outline-btn:hover {
    background: rgba(0, 240, 255, 0.1);
}

.small-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
}

.glass-panel {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    backdrop-filter: blur(12px);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    opacity: 0.5;
}

.panel-title {
    color: var(--neon-cyan);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    padding-bottom: 0.5rem;
}

#loading-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.loader-ring {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 4px solid transparent;
}

.ring.outer {
    top: 0; left: 0; right: 0; bottom: 0;
    border-top-color: var(--neon-cyan);
    border-bottom-color: var(--neon-pink);
    animation: spin 2s linear infinite;
}

.ring.inner {
    top: 15px; left: 15px; right: 15px; bottom: 15px;
    border-left-color: var(--neon-purple);
    border-right-color: var(--neon-yellow);
    animation: spin-reverse 1.5s linear infinite;
}

.loading-text-container {
    text-align: center;
    width: 300px;
}

#loading-message {
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
    height: 1.5rem;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    transition: width 0.3s ease;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    align-items: start;
}

.dashboard-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-card {
    text-align: center;
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.avatar-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
}

#user-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--neon-cyan);
    z-index: 2;
    position: relative;
}

.avatar-ring {
    position: absolute;
    top: -10px; left: -10px; right: -10px; bottom: -10px;
    border-radius: 50%;
    border: 2px dashed rgba(0, 240, 255, 0.5);
    animation: spin 10s linear infinite;
    z-index: 1;
}

#user-name {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

#user-login {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.1rem;
}
#user-login:hover { color: var(--neon-cyan); }

.rank-display-container {
    background: rgba(0,0,0,0.4);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.tier-badge-container {
    margin-bottom: 1rem;
}

.tier-badge {
    font-size: 5rem;
    line-height: 1;
    font-weight: 900;
    text-shadow: 0 0 20px currentColor;
    transform: scale(0);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tier-badge.revealed {
    transform: scale(1);
    opacity: 1;
    animation: pulse-glow 2s infinite;
}

.score-container {
    margin-bottom: 1rem;
}

.score-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.score-value {
    font-size: 2.5rem;
    color: var(--text-main);
}
.max-score {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.archetype-container {
    font-size: 1.2rem;
}
.archetype-label { color: var(--text-muted); }
.archetype-value { font-weight: 700; }

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.chart-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.radar-container {
    position: relative;
    width: 280px;
    height: 280px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    transition: transform 0.3s;
}
.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.5);
}

.stat-icon {
    font-size: 2.5rem;
}
.stat-info {
    display: flex;
    flex-direction: column;
}

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

.stat-number {
    font-size: 2rem;
    color: var(--text-main);
}

.neon-cyan { color: var(--neon-cyan); text-shadow: 0 0 10px rgba(0,240,255,0.5); }
.neon-yellow { color: var(--neon-yellow); text-shadow: 0 0 10px rgba(252,238,10,0.5); }
.neon-pink { color: var(--neon-pink); text-shadow: 0 0 10px rgba(255,0,85,0.5); }
.neon-purple { color: var(--neon-purple); text-shadow: 0 0 10px rgba(191,0,255,0.5); }

.commentary-card {
    min-height: 150px;
}

.typewriter-container p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #e0e6ed;
    border-left: 2px solid var(--neon-cyan);
    padding-left: 1rem;
}

.badges-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.badge {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}
.badge:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0,240,255,0.3);
}

#toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.toast {
    background: rgba(20, 20, 30, 0.9);
    border-left: 4px solid var(--neon-pink);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    animation: slideInRight 0.3s forwards;
}

@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes spin-reverse { 100% { transform: rotate(-360deg); } }

@keyframes pulse-glow {
    0% { text-shadow: 0 0 10px currentColor, 0 0 20px currentColor; }
    50% { text-shadow: 0 0 20px currentColor, 0 0 40px currentColor; }
    100% { text-shadow: 0 0 10px currentColor, 0 0 20px currentColor; }
}

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

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

.glitch {
    position: relative;
}
.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0.8;
}
.glitch::before {
    left: 2px;
    text-shadow: -1px 0 var(--neon-pink);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}
.glitch::after {
    left: -2px;
    text-shadow: -1px 0 var(--neon-cyan);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 34px, 0); }
    20% { clip: rect(81px, 9999px, 2px, 0); }
    40% { clip: rect(32px, 9999px, 73px, 0); }
    60% { clip: rect(16px, 9999px, 93px, 0); }
    80% { clip: rect(61px, 9999px, 15px, 0); }
    100% { clip: rect(22px, 9999px, 83px, 0); }
}

.qr-container {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px dashed rgba(0, 240, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
#user-qr {
    width: 120px;
    height: 120px;
    border: 2px solid var(--neon-cyan);
    padding: 5px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    transition: transform 0.3s;
}
#user-qr:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}
.qr-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    color: var(--neon-cyan);
    letter-spacing: 2px;
}

.tech-stack-card {
    min-height: 120px;
}
.language-bar {
    width: 100%;
    height: 12px;
    background: rgba(0,0,0,0.5);
    border-radius: 6px;
    display: flex;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
}
.language-segment {
    height: 100%;
    transition: width 1s ease-out;
}
.language-segment:hover {
    filter: brightness(1.2);
}
.language-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.legend-color {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.vs-text {
    font-size: 2.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    margin: 0 1.5rem;
}
.compare-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 3rem;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1rem;
}
.compare-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: visible;
}
.vs-divider {
    font-size: 4rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    color: var(--neon-pink);
    text-shadow: 0 0 20px rgba(255,0,85,0.7);
    align-self: center;
}
.compare-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--panel-border);
    margin-bottom: 1rem;
    object-fit: cover;
}
.compare-score {
    font-size: 3.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    margin: 1rem 0;
}
.compare-tier {
    font-size: 4rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    margin-bottom: 1rem;
}
.compare-stats {
    list-style: none;
    width: 100%;
    text-align: left;
    margin-top: 1.5rem;
    border-top: 1px dashed rgba(255,255,255,0.2);
    padding-top: 1.5rem;
}
.compare-stats li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
}
.compare-stats span {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}
.crown {
    position: absolute;
    top: -25px;
    font-size: 1.5rem;
    background: var(--neon-yellow);
    color: #000;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    box-shadow: 0 0 20px var(--neon-yellow);
    animation: bounce 2s infinite;
    z-index: 20;
}
.winner-card {
    border: 2px solid var(--neon-yellow);
    box-shadow: 0 0 30px rgba(252,238,10,0.3);
    transform: scale(1.05);
    z-index: 10;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

#compare-loading-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}
.fight-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}
.fighter {
    font-size: 2.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    animation: pulse-glow 1s infinite alternate;
}
.p1-loader { color: var(--neon-cyan); text-shadow: 0 0 10px var(--neon-cyan); }
.p2-loader { color: var(--neon-pink); text-shadow: 0 0 10px var(--neon-pink); }
.fighter-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.avatar-pixel {
    font-size: 5rem;
    animation: jump-shake 0.4s infinite alternate;
}
.p1-pixel {
    transform: scaleX(1);
}
.p2-pixel {
    transform: scaleX(-1);
}

@keyframes jump-shake {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-15px) rotate(5deg); }
}

.battle-fx {
    display: flex;
    align-items: center;
    width: 300px;
    height: 50px;
    margin-top: 3rem;
}
.beam {
    height: 12px;
    width: 50%; 
    border-radius: 6px;
    animation: beam-pulse 0.1s infinite alternate;
    transition: width 0.2s ease-in-out;
}
.blue-beam {
    background: var(--neon-cyan);
    box-shadow: 0 0 20px var(--neon-cyan);
}
.pink-beam {
    background: var(--neon-pink);
    box-shadow: 0 0 20px var(--neon-pink);
}
.clash-spark {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
    margin: 0 -30px; 
}
.chevron-text {
    font-size: 3rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 15px #fff;
    animation: chevron-pulse 0.2s infinite alternate;
}
.energy-core {
    width: 20px;
    height: 20px;
    background: #fff;
    box-shadow: 0 0 20px #fff;
    transform: rotate(45deg);
    animation: core-pulse 0.1s infinite alternate;
}
@keyframes core-pulse {
    0% { transform: scale(0.8) rotate(45deg); }
    100% { transform: scale(1.4) rotate(45deg); filter: brightness(1.5); }
}
@keyframes chevron-pulse {
    0% { opacity: 0.5; transform: scale(0.9) translateX(-2px); }
    100% { opacity: 1; transform: scale(1.1) translateX(2px); }
}
@keyframes beam-pulse {
    0% { opacity: 0.8; height: 10px; }
    100% { opacity: 1; height: 16px; }
}
.mt-2 { margin-top: 2rem; }

/* Cyberpunk Error Display */
.error-container {
    margin: 2rem auto 0 auto;
    width: 100%;
    max-width: 500px;
    animation: glitch-blink 0.3s ease-out;
}
.error-glow-border {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 0, 85, 0.05);
    border: 1px solid var(--neon-pink);
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.2), inset 0 0 10px rgba(255, 0, 85, 0.1);
    border-radius: 4px;
    position: relative;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.error-icon {
    font-size: 2rem;
    text-shadow: 0 0 10px var(--neon-pink);
    animation: error-shake 0.5s infinite alternate;
}
.error-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.error-title {
    color: var(--neon-pink);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-shadow: 0 0 5px var(--neon-pink);
}
.error-desc {
    color: var(--text-muted);
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.2rem;
}

@keyframes glitch-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
@keyframes error-shake {
    0% { transform: translateY(-1px) rotate(-3deg); }
    100% { transform: translateY(1px) rotate(3deg); }
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .search-box {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        gap: 1rem;
        align-items: center;
        margin: 0 auto;
    }
    #username-input,
    #player1-input,
    #player2-input {
        width: 100%;
    }
    .vs-text {
        margin: 0.5rem 0;
    }
    .compare-grid {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    .compare-col {
        width: 100%;
        max-width: 400px;
    }
    .vs-divider {
        font-size: 3rem;
        margin: 0.5rem 0;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 0.8rem;
        padding: 1rem 1.5rem;
        text-align: center;
    }
    .logo {
        font-size: 1.6rem;
    }
    .nav-controls {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        width: 100%;
        flex-wrap: wrap;
    }
    .nav-links {
        width: auto;
        justify-content: center;
        gap: 1.5rem;
    }
    .lang-switch {
        align-self: center;
    }
    .container {
        padding: 1rem;
    }
    .glass-panel {
        padding: 1.2rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .radar-container {
        width: 240px;
        height: 240px;
    }
    #radar-chart {
        width: 240px !important;
        height: 240px !important;
    }
}
