/* (keep the same as the iPhone clone version from earlier, as it matches the design) */
.weather-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 400px;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #fff;
}

.weather-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    padding: 10px;
    box-sizing: border-box;
    overflow-y: auto;
}

.city-name {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 5px;
}

.temp {
    font-size: 80px;
    font-weight: 100;
    line-height: 0.8;
    margin: 0;
}

.description {
    font-size: 20px;
    font-weight: 400;
    margin-top: -10px;
}

.high-low {
    font-size: 16px;
    opacity: 0.8;
}

.weather-icon {
    width: 48px;
    height: 48px;
}

/* Backgrounds */
.bg-clear-day { background: linear-gradient(135deg, #1E90FF 0%, #87CEEB 100%); }
.bg-clear-night { background: linear-gradient(135deg, #191970 0%, #483D8B 100%); }
.bg-cloudy { background: linear-gradient(135deg, #A9A9A9 0%, #D3D3D3 100%); }
.bg-rain { background: linear-gradient(135deg, #4682B4 0%, #87CEFA 100%); }
.bg-snow { background: linear-gradient(135deg, #DCDCDC 0%, #F5F5F5 100%); }
.bg-thunder { background: linear-gradient(135deg, #4B0082 0%, #9370DB 100%); }
.bg-mist { background: linear-gradient(135deg, #C0C0C0 0%, #F0F0F0 100%); }

/* Modules */
.module {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 10px;
    margin: 8px 0;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.module h3 {
    font-size: 12px;
    text-transform: uppercase;
    opacity: 0.8;
    margin: 0 0 4px;
}

.module .value {
    font-size: 24px;
    font-weight: 500;
}

/* AQI */
.aqi-module {
    text-align: left;
}

.aqi-value {
    font-size: 28px;
}

.aqi-bar {
    height: 4px;
    background: linear-gradient(to right, #00E400, #FFFF00, #FF7E00, #FF0000, #99004C, #7E0023);
    position: relative;
    margin: 4px 0;
}

.aqi-indicator {
    position: absolute;
    top: -4px;
    width: 2px;
    height: 12px;
    background: #fff;
}

/* Hourly */
.hourly-forecast {
    display: flex;
    overflow-x: auto;
    gap: 10px;
}

.hourly-item {
    text-align: center;
    min-width: 50px;
}

.hourly-time {
    font-size: 12px;
    opacity: 0.8;
}

.hourly-temp {
    font-size: 16px;
}

/* Daily */
.daily-forecast {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.daily-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.daily-day {
    width: 60px;
    font-size: 16px;
}

.daily-bar-container {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.2);
    position: relative;
    border-radius: 2px;
}

.daily-bar {
    height: 100%;
    border-radius: 2px;
}

.daily-low, .daily-high {
    font-size: 14px;
    opacity: 0.8;
}

/* UV */
.uv-bar {
    height: 4px;
    background: linear-gradient(to right, green, yellow, orange, red, purple);
    position: relative;
    margin: 4px 0;
}

.uv-indicator {
    position: absolute;
    top: -4px;
    width: 2px;
    height: 12px;
    background: #fff;
}

/* Wind Compass */
.compass {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    position: relative;
    margin-left: auto;
}

.compass-label {
    position: absolute;
    font-size: 12px;
    opacity: 0.6;
}

.compass-n { top: 5px; left: 50%; transform: translateX(-50%); }
.compass-s { bottom: 5px; left: 50%; transform: translateX(-50%); }
.compass-e { right: 5px; top: 50%; transform: translateY(-50%); }
.compass-w { left: 5px; top: 50%; transform: translateY(-50%); }

.wind-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 20px solid #fff;
    transform-origin: center 75%;
    transform: translate(-50%, -50%) rotate(0deg);
}

/* Sunset Arc */
.sun-arc {
    width: 80px;
    height: 40px;
    border-radius: 0 0 80px 80px;
    background: rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.sun-position {
    position: absolute;
    bottom: 100%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, 50%);
}

/* Moon */
.moon-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.3;
    margin-left: auto;
}

/* Pressure Gauge */
.pressure-gauge {
    width: 80px;
    height: 40px;
    border-bottom: 4px solid #fff;
    border-radius: 0 0 40px 40px;
    position: relative;
    opacity: 0.5;
    margin-left: auto;
}

.pressure-indicator {
    position: absolute;
    bottom: -4px;
    width: 2px;
    height: 8px;
    background: #fff;
}

/* Transitions (same as before) */
@keyframes slide-top {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(0); }
}
.slide-top { animation: slide-top 1s ease forwards; }
/* ... (add all other animations as in previous) */

.design-fruitful, .design-dark, .design-minimal {
    color: #333;
    background: #f9f9f9;
}
.design-dark {
    background: #121212;
    color: #fff;
}