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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    min-height: 100vh;
}

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

.header {
    text-align: center;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.last-updated {
    color: #7f8c8d;
    font-size: 0.9rem;
}

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

.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.5);
}

.card h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.5rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.loading {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    padding: 20px;
}

.weather-temp {
    font-size: 3rem;
    font-weight: bold;
    color: #e74c3c;
    text-align: center;
    margin: 20px 0;
}

.weather-desc {
    text-align: center;
    font-size: 1.2rem;
    color: #34495e;
    margin-bottom: 15px;
}

.weather-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.weather-detail {
    background: rgba(52, 152, 219, 0.1);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

.game-status {
    background: #8b4513;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}

.game-info {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 15px;
    align-items: center;
    margin: 15px 0;
}

.team {
    text-align: center;
    padding: 10px;
    background: rgba(139, 69, 19, 0.1);
    border-radius: 8px;
}

.team-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.score {
    font-size: 2rem;
    font-weight: bold;
    color: #8b4513;
}

.vs {
    font-size: 1.5rem;
    font-weight: bold;
    color: #34495e;
}

.news-item {
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.news-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #2c3e50;
}

.news-time {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.traffic-route {
    margin-bottom: 10px;
    padding: 10px;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 8px;
    border-left: 4px solid #2ecc71;
}

.route-name {
    font-weight: bold;
    color: #27ae60;
}

.route-status {
    margin-top: 5px;
    font-size: 0.9rem;
    color: #34495e;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .weather-temp {
        font-size: 2.5rem;
    }
}