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

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

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

h1 {
    color: #f7931a;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.subtitle {
    color: #8b949e;
    text-align: center;
    margin-bottom: 1rem;
}

.time-selector {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.time-btn {
    background: #21262d;
    border: 1px solid #30363d;
    color: #8b949e;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.time-btn:hover {
    background: #30363d;
    color: #c9d1d9;
}

.time-btn.active {
    background: #f7931a;
    border-color: #f7931a;
    color: #0d1117;
    font-weight: 600;
}

.chart-container {
    background: #161b22;
    border-radius: 12px;
    padding: 20px;
    height: 500px;
    margin-bottom: 2rem;
    border: 1px solid #30363d;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

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

.stat-label {
    display: block;
    color: #8b949e;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f7931a;
}

.footer {
    text-align: center;
    color: #484f58;
    font-size: 0.75rem;
}

.footer a {
    color: #484f58;
    text-decoration: none;
}

.footer a:hover {
    color: #484f58;
}

.x-link {
    color: #484f58;
    transition: color 0.2s;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.x-link:hover {
    color: #c9d1d9;
}

@media (max-width: 768px) {
    .chart-container {
        height: 350px;
    }

    .stats {
        gap: 1.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }
}
