* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background: #0f172a; color: #fff; overflow-x: hidden; min-height: 100vh; position: relative; }
#weather-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.app-container { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; padding: 20px; }
.header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.logo { font-size: 1.6rem; font-weight: 800; display: flex; align-items: center; gap: 8px; color: #38bdf8; }
.logo small { font-size: 0.6rem; background: #0284c7; color: #fff; padding: 2px 6px; border-radius: 4px; }
.controls { display: flex; gap: 10px; }
.icon-btn { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; padding: 8px 14px; border-radius: 12px; cursor: pointer; backdrop-filter: blur(10px); transition: 0.3s; }
.icon-btn:hover { background: rgba(255, 255, 255, 0.25); }
.search-box { position: relative; margin-bottom: 30px; }
.search-box input { width: 100%; padding: 16px 50px 16px 20px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(15, 23, 42, 0.6); color: #fff; font-size: 1rem; backdrop-filter: blur(12px); outline: none; }
.search-icon { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: #94a3b8; }
#search-btn { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); background: #0284c7; border: none; color: #fff; width: 36px; height: 36px; border-radius: 10px; cursor: pointer; }
.search-results { position: absolute; top: 110%; left: 0; width: 100%; background: rgba(30, 41, 59, 0.95); border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(15px); z-index: 10; max-height: 250px; overflow-y: auto; display: none; }
.search-results div { padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); cursor: pointer; }
.search-results div:hover { background: rgba(56, 189, 248, 0.2); }
.current-weather { text-align: center; margin-bottom: 30px; background: rgba(255, 255, 255, 0.05); padding: 30px; border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(12px); }
.location-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 1.2rem; color: #38bdf8; background: rgba(56, 189, 248, 0.1); padding: 6px 16px; border-radius: 20px; margin-bottom: 15px; }
.temp-display { font-size: 5rem; font-weight: 800; line-height: 1; margin-bottom: 10px; text-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.condition { font-size: 1.3rem; color: #cbd5e1; margin-bottom: 15px; }
.temp-range { display: flex; justify-content: center; gap: 20px; color: #94a3b8; }
.grid-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px; margin-bottom: 25px; }
.card { background: rgba(255, 255, 255, 0.05); padding: 18px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.08); backdrop-filter: blur(10px); display: flex; align-items: center; gap: 15px; }
.card i { font-size: 1.8rem; color: #38bdf8; }
.card span { font-size: 0.85rem; color: #94a3b8; display: block; }
.card h3 { font-size: 1.2rem; margin-top: 4px; }
.ai-box { background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(129, 140, 248, 0.15)); border: 1px solid rgba(56, 189, 248, 0.3); padding: 20px; border-radius: 20px; margin-bottom: 25px; backdrop-filter: blur(12px); }
.ai-header { display: flex; align-items: center; gap: 10px; color: #38bdf8; font-weight: bold; margin-bottom: 8px; }
.chart-section, .radar-section, .forecast-section { background: rgba(255, 255, 255, 0.05); padding: 20px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.08); backdrop-filter: blur(10px); margin-bottom: 25px; }
.chart-section h3, .radar-section h3, .forecast-section h3 { font-size: 1.1rem; margin-bottom: 15px; color: #e2e8f0; display: flex; align-items: center; gap: 8px; }
#radar-map { height: 280px; border-radius: 14px; overflow: hidden; }
.forecast-list { display: flex; flex-direction: column; gap: 12px; }
.forecast-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: rgba(255, 255, 255, 0.03); border-radius: 12px; }
.forecast-item .day { font-weight: bold; min-width: 90px; }
.forecast-item .icon { font-size: 1.2rem; color: #38bdf8; }
