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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0B1221;
    color: #e4e4e4;
    padding: 20px;
    min-height: 100vh;
}

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

header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.minilogo {
    height: 50px;
    width: 50px;
}

h1 {
    font-size: 2.5rem;
    color: #e4e4e4;
    margin: 0;
}

.subtitle {
    color: #a0a0a0;
    font-size: 1.1rem;
}

.nav-bar {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #a0a0a0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e4e4e4;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    border-color: #667eea;
}

.controls {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label {
    color: #a0a0a0;
    font-size: 0.9rem;
    font-weight: 500;
}

select, input {
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #1a2332;
    color: #e4e4e4;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

select:hover, input:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: #243447;
}

select option {
    background: #1a2332;
    color: #e4e4e4;
}

button {
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.1);
    color: #e4e4e4;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

button:hover {
    border-color: #e4e4e4;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-label {
    color: #a0a0a0;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 600;
    color: #e4e4e4;
}

.chart-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.loading {
    text-align: center;
    padding: 40px;
    color: #a0a0a0;
    font-size: 1.2rem;
}

.error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid #f44336;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    color: #f44336;
}

.info-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    color: #a0a0a0;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

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

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