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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1e1e2f 0%, #2a2a40 100%);
    color: #ffffff;
    padding: 20px;
    min-height: 100vh;
}

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

h1 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2em;
    color: #ffd93d;
}

h2 {
    margin: 30px 0 20px 0;
    color: #ffd93d;
    text-align: center;
}
.last-update {
    text-align: center;
    color: #aaa;
    margin-bottom: 30px;
    font-size: 0.9em;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.card-value {
    font-size: 2.5em;
    font-weight: bold;
    margin: 10px 0;
    color: #ffd93d;
}

/* Direction du vent */
#wind-dir {
    font-size: 1.8em;
}
.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.card-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.card-label {
    font-size: 0.9em;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-value {
    font-size: 2.5em;
    font-weight: bold;
    margin: 10px 0;
    color: #ffd93d;
}

.card-unit {
    font-size: 0.8em;
    color: #aaa;
}

.chart-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 40px;
}

.chart-container h3 {
    margin-bottom: 20px;
    color: #ffd93d;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
}

.stat-card h3 {
    color: #ffd93d;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.stat-card p {
    margin: 10px 0;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card span {
    color: #ffd93d;
    font-weight: bold;
}

@media (max-width: 768px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .card-value {
        font-size: 1.8em;
    }
}
