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

@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:wght@200&family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #8b9dc3 0%, #9fa8b8 100%);
    color: #333;
    min-height: 100vh;
}

.dashboard {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 2rem 3rem;
}

.dashboard-header {
    text-align: center;
    color: #2d3748;
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 200;
    font-style: italic;
    text-align: right;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.last-update {
    font-size: 1rem;
    opacity: 0.9;
    text-align: right;
}

.loading, .error {
    text-align: center;
    color: #2d3748;
    font-size: 1.5rem;
    padding: 3rem;
}

.error {
    background: rgba(239, 68, 68, 0.15);
    border-radius: 1rem;
    border: 2px solid rgba(239, 68, 68, 0.3);
}

.weather-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 2rem;
    flex: 1;
}

@media (max-width: 1200px) {
    .weather-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Weather Cards */
.weather-card {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.weather-card.featured {
    padding: 2.5rem;
}

/* Copenhagen Section */
.copenhagen {
    background: rgba(255, 255, 255, 0.35);
}

.city-header {
    margin-bottom: 1.5rem;
}

.city-header h2 {
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 0.25rem;
}

.city-header h3 {
    font-size: 2rem;
    color: #1e40af;
    margin-bottom: 0.25rem;
}

.country {
    font-size: 1.2rem;
    color: #64748b;
}

.current-weather {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.temp-main {
    font-size: 5rem;
    font-weight: 700;
    color: #1e40af;
}

.weather-icon img {
    width: 120px;
    height: 120px;
}

.weather-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.weather-details.compact {
    grid-template-columns: 1fr;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 0.5rem;
}

.detail-item .label {
    color: #64748b;
    font-weight: 500;
}

.detail-item .value {
    color: #1e40af;
    font-weight: 600;
    font-size: 1.1rem;
}

.description {
    text-align: center;
    font-size: 1.3rem;
    color: #475569;
    text-transform: capitalize;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.1);
}

/* 5-Day Forecast */
.forecast-section {
    margin-top: 1.5rem;
}

.forecast-header {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 1rem;
    text-align: center;
}

.forecast-days {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

.forecast-day {
    text-align: center;
    padding: 0.75rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 0.75rem;
    transition: transform 0.2s;
}

.forecast-day:hover {
    transform: translateY(-2px);
    background: rgba(59, 130, 246, 0.1);
}

.forecast-day-name {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.forecast-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.forecast-temp {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e40af;
    margin-top: 0.5rem;
}

/* Greenland Section */
.greenland-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section-header {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.section-header h2 {
    font-size: 2rem;
    color: #1e40af;
    text-align: center;
}

/* Nuuk Card */
.nuuk {
    background: rgba(255, 255, 255, 0.32);
    flex: 1;
}

.nuuk .temp-main {
    font-size: 4rem;
}

.nuuk .weather-icon img {
    width: 100px;
    height: 100px;
}

/* Regional Hubs */
.regional-hubs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.weather-card.compact {
    padding: 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.28);
}

.city-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 0.75rem;
}

.compact .temp {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.weather-icon-small img {
    width: 70px;
    height: 70px;
    margin: 0 auto;
}

.wind-info {
    margin-top: 0.75rem;
    color: #64748b;
    font-size: 1.1rem;
}

/* Responsive adjustments for infoscreen */
@media (max-width: 1920px) {
    .dashboard-header h1 {
        font-size: 4rem;
    }
    
    .temp-main {
        font-size: 4rem;
    }
    
    .city-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 1366px) {
    .dashboard {
        padding: 1.5rem 2rem;
    }
    
    .dashboard-header h1 {
        font-size: 3rem;
    }
    
    .temp-main {
        font-size: 3.5rem;
    }
    
    .forecast-days {
        gap: 0.5rem;
    }
    
    .forecast-icon {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 1200px) {
    .dashboard-header h1 {
        font-size: 2.5rem;
    }
    
    .temp-main {
        font-size: 3rem;
    }
    
    .city-header h2 {
        font-size: 1.75rem;
    }
    
    .city-header h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .dashboard {
        padding: 1rem 1.5rem;
    }
    
    .dashboard-header {
        margin-bottom: 1.5rem;
    }
    
    .dashboard-header h1 {
        font-size: 2rem;
    }
    
    .temp-main {
        font-size: 2.5rem;
    }
    
    .weather-icon img {
        width: 80px;
        height: 80px;
    }
    
    .nuuk .weather-icon img {
        width: 70px;
        height: 70px;
    }
    
    .weather-details {
        grid-template-columns: 1fr;
    }
    
    .forecast-days {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }
    
    .forecast-icon {
        width: 40px;
        height: 40px;
    }
    
    .regional-hubs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .dashboard-header h1 {
        font-size: 1.5rem;
    }
    
    .temp-main {
        font-size: 2rem;
    }
    
    .city-header h2 {
        font-size: 1.5rem;
    }
    
    .weather-card {
        padding: 1.5rem;
    }
    
    .weather-card.featured {
        padding: 1.5rem;
    }
}