/* =========================================================
   Belediye Web Sayfası — Premium Weather Banner Redesign
   ========================================================= */

:root {
    --bg-base: #061833;
    --banner-bg: rgba(2, 20, 47, 0.74);
    --banner-bg-strong: rgba(3, 26, 62, 0.92);
    --banner-border: rgba(255, 255, 255, 0.18);
    --banner-border-soft: rgba(255, 255, 255, 0.10);
    --text-primary: #f8fafc;
    --text-secondary: #b8c7dc;
    --text-muted: rgba(248, 250, 252, 0.56);
    --accent: #38bdf8;
    --accent-2: #22c55e;
    --accent-3: #facc15;
    --municipal-blue: #0060ce;
    --municipal-navy: #021536;
    --municipal-cyan: #5eead4;

    --sunny: #fcd34d;
    --cloudy: #e2e8f0;
    --rainy: #60a5fa;
    --snowy: #bae6fd;
    --storm: #818cf8;

    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --ease-out: cubic-bezier(.2, .8, .2, 1);
    --shadow-lg: 0 26px 70px rgba(0, 12, 32, .38);
    --shadow-md: 0 16px 42px rgba(0, 12, 32, .24);
}

/* Ana dış alan: belediye portalına yakışan güçlü mavi taban */
.weather-banner-wrapper {
    width: 100%;
    background:
        radial-gradient(circle at 12% 20%, rgba(94, 234, 212, .28), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(56, 189, 248, .30), transparent 30%),
        linear-gradient(135deg, #003c91 0%, #0060ce 46%, #0080e8 100%);
    padding: clamp(.65rem, 1.5vw, 1.15rem);
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.weather-banner-wrapper::before,
.weather-banner-wrapper::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

.weather-banner-wrapper::before {
    width: 46rem;
    height: 46rem;
    right: -20rem;
    top: -28rem;
    background:
        repeating-conic-gradient(from 16deg, rgba(255,255,255,.11) 0deg 8deg, transparent 8deg 18deg);
    border-radius: 999px;
    opacity: .36;
    filter: blur(.2px);
    animation: wrapperOrbit 28s linear infinite;
}

.weather-banner-wrapper::after {
    inset: 0;
    background:
        linear-gradient(110deg, transparent 0 26%, rgba(255,255,255,.12) 44%, transparent 62% 100%);
    transform: translateX(-120%);
    animation: civicSweep 8s var(--ease-out) infinite;
    opacity: .65;
}

/* Premium cam yüzey */
.weather-banner {
    width: min(100%, 1720px);
    margin-inline: auto;
    min-height: 138px;
    background:
        linear-gradient(120deg, rgba(255,255,255,.16), rgba(255,255,255,.045) 42%, rgba(255,255,255,.10)),
        linear-gradient(135deg, var(--banner-bg), rgba(0, 96, 206, .42));
    backdrop-filter: blur(28px) saturate(150%);
    -webkit-backdrop-filter: blur(28px) saturate(150%);
    border: 1px solid var(--banner-border);
    box-shadow:
        var(--shadow-lg),
        inset 0 1px 0 rgba(255,255,255,.26),
        inset 0 -1px 0 rgba(255,255,255,.08);
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    padding: 0 clamp(1rem, 2.8vw, 2.4rem);
    border-radius: var(--radius-xl);
    color: var(--text-primary);
}

.weather-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 6% 20%, rgba(94, 234, 212, .22), transparent 22%),
        radial-gradient(circle at 72% 44%, rgba(250, 204, 21, .12), transparent 24%),
        linear-gradient(90deg, rgba(255,255,255,.08) 0%, transparent 12%, transparent 86%, rgba(255,255,255,.08) 100%);
    pointer-events: none;
}

.weather-banner::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: calc(var(--radius-xl) - 1px);
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
    mask: linear-gradient(#000, transparent 18%, transparent 82%, #000);
    -webkit-mask: linear-gradient(#000, transparent 18%, transparent 82%, #000);
    opacity: .45;
}

.divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.28), transparent);
    margin: clamp(1rem, 2vw, 1.65rem) clamp(1rem, 2.3vw, 2rem);
    flex-shrink: 0;
}

/* Sol ana hava bilgisi */
.banner-main {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 1.55rem);
    padding: clamp(1.15rem, 2vw, 1.65rem) 0;
    min-width: max-content;
    position: relative;
    z-index: 1;
}

.main-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(78px, 7vw, 104px);
    height: clamp(78px, 7vw, 104px);
    border-radius: 30px;
    background:
        radial-gradient(circle at 38% 28%, rgba(255,255,255,.36), transparent 36%),
        linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.055));
    border: 1px solid rgba(255,255,255,.18);
    box-shadow:
        0 18px 38px rgba(0, 0, 0, .22),
        inset 0 1px 0 rgba(255,255,255,.28);
    position: relative;
    overflow: hidden;
}

.main-icon-wrapper::after {
    content: "";
    position: absolute;
    width: 70%;
    height: 70%;
    background: rgba(56,189,248,.18);
    filter: blur(24px);
    border-radius: 999px;
    animation: iconGlow 4s ease-in-out infinite;
}

.main-icon-wrapper > * {
    position: relative;
    z-index: 1;
}

.main-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.main-temp {
    display: flex;
    align-items: baseline;
    gap: .58rem;
    flex-wrap: wrap;
}

.temp-val {
    font-size: clamp(2.55rem, 4.2vw, 4.15rem);
    font-weight: 900;
    line-height: .88;
    letter-spacing: -2.4px;
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, .22);
}

.temp-desc {
    font-size: clamp(1rem, 1.45vw, 1.35rem);
    font-weight: 800;
    color: #bff7ff;
    text-transform: capitalize;
    letter-spacing: -.2px;
    padding: .38rem .72rem;
    border: 1px solid rgba(94, 234, 212, .22);
    background: rgba(94, 234, 212, .10);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}

.main-city {
    font-size: clamp(.9rem, 1vw, 1rem);
    font-weight: 650;
    color: var(--text-secondary);
    margin-top: .55rem;
    display: flex;
    align-items: center;
    gap: .42rem;
    letter-spacing: .1px;
}

.main-city i,
.last-update i {
    color: var(--municipal-cyan);
    filter: drop-shadow(0 0 10px rgba(94,234,212,.38));
}

.last-update {
    font-size: .78rem;
    color: var(--text-muted);
    margin-top: .42rem;
    display: flex;
    align-items: center;
    gap: .32rem;
    font-weight: 600;
}

/* Orta detaylar */
.banner-details {
    display: flex;
    align-items: center;
    gap: clamp(.9rem, 1.8vw, 1.45rem);
    padding: clamp(1.15rem, 2vw, 1.65rem) 0;
    position: relative;
    z-index: 1;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: .78rem;
    min-width: 132px;
    padding: .78rem .9rem;
    border-radius: var(--radius-md);
    background:
        linear-gradient(145deg, rgba(255,255,255,.105), rgba(255,255,255,.035));
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
    transition:
        transform .28s var(--ease-out),
        background .28s var(--ease-out),
        border-color .28s var(--ease-out),
        box-shadow .28s var(--ease-out);
}

.detail-item:hover {
    transform: translateY(-4px);
    background:
        linear-gradient(145deg, rgba(255,255,255,.16), rgba(94,234,212,.055));
    border-color: rgba(94, 234, 212, .28);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, .18),
        inset 0 1px 0 rgba(255,255,255,.18);
}

.detail-icon {
    font-size: 1.55rem;
    color: #dff9ff;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,.34), transparent 38%),
        linear-gradient(145deg, rgba(56,189,248,.22), rgba(255,255,255,.06));
    padding: .58rem;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 10px 22px rgba(0,0,0,.15);
}

.detail-texts {
    display: flex;
    flex-direction: column;
    gap: .16rem;
}

.d-label {
    font-size: .70rem;
    text-transform: uppercase;
    letter-spacing: .9px;
    color: rgba(226, 240, 255, .68);
    font-weight: 800;
}

.d-val {
    font-size: 1.08rem;
    font-weight: 850;
    color: var(--text-primary);
    letter-spacing: -.25px;
}

/* Sağ tahmin alanı */
.banner-forecast {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    padding: clamp(1.15rem, 2vw, 1.65rem) 0;
    gap: clamp(.65rem, 1.3vw, 1rem);
    position: relative;
    z-index: 1;
}

.forecast-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .48rem;
    flex: 1;
    min-width: 76px;
    padding: .82rem .55rem;
    border-radius: 20px;
    background: rgba(255,255,255,.045);
    border: 1px solid transparent;
    transition:
        transform .28s var(--ease-out),
        background .28s var(--ease-out),
        border-color .28s var(--ease-out),
        box-shadow .28s var(--ease-out);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.forecast-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(94,234,212,.20), transparent 48%);
    opacity: 0;
    transition: opacity .28s var(--ease-out);
    pointer-events: none;
}

.forecast-item:hover,
.forecast-item:focus-within {
    transform: translateY(-6px);
    background: rgba(255,255,255,.105);
    border-color: rgba(255,255,255,.18);
    box-shadow: var(--shadow-md);
}

.forecast-item:hover::before,
.forecast-item:focus-within::before {
    opacity: 1;
}

.f-day {
    font-size: .76rem;
    font-weight: 850;
    color: rgba(226, 240, 255, .72);
    text-transform: uppercase;
    letter-spacing: .8px;
}

.f-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    margin: .12rem 0;
    transform: translateZ(0);
}

.f-temps {
    font-size: .96rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: .4rem;
    letter-spacing: -.1px;
}

.f-max {
    color: var(--text-primary);
}

.f-min {
    color: rgba(226, 240, 255, .58);
}

/* Loading */
.loading {
    width: 100%;
    padding: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.spinner {
    width: 34px;
    height: 34px;
    border: 3px solid rgba(255,255,255,0.13);
    border-left-color: var(--municipal-cyan);
    border-top-color: rgba(94,234,212,.58);
    border-radius: 50%;
    animation: spin .82s linear infinite;
    box-shadow: 0 0 22px rgba(94,234,212,.26);
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

@keyframes wrapperOrbit {
    to { transform: rotate(360deg); }
}

@keyframes civicSweep {
    0%, 48% { transform: translateX(-120%); }
    74%, 100% { transform: translateX(120%); }
}

@keyframes iconGlow {
    0%, 100% {
        transform: scale(.92);
        opacity: .68;
    }
    50% {
        transform: scale(1.18);
        opacity: 1;
    }
}

/* Daha dar ekranlarda detaylar kompaktlaşır */
@media (max-width: 1360px) {
    .banner-details {
        gap: .75rem;
    }

    .detail-item {
        min-width: 116px;
        padding: .72rem .76rem;
    }

    .d-val {
        font-size: 1rem;
    }
}

@media (max-width: 1200px) {
    .banner-details {
        display: none;
    }

    .divider:first-of-type {
        display: none;
    }

    .weather-banner {
        min-height: 124px;
    }
}

@media (max-width: 850px) {
    .weather-banner-wrapper {
        padding: .75rem;
    }

    .weather-banner {
        flex-direction: column;
        align-items: stretch;
        padding: clamp(1rem, 4vw, 1.35rem);
        gap: .85rem;
        border-radius: 24px;
    }

    .divider {
        width: 100%;
        height: 1px;
        margin: 0;
        background: linear-gradient(to right, transparent, rgba(255,255,255,.22), transparent);
    }

    .banner-main {
        width: 100%;
        padding: 0;
        justify-content: flex-start;
    }

    .main-info {
        flex: 1;
    }

    .banner-forecast {
        padding: 0;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
        scrollbar-color: rgba(255,255,255,.28) transparent;
        -webkit-overflow-scrolling: touch;
        padding-bottom: .15rem;
    }

    .forecast-item {
        flex: 0 0 94px;
        scroll-snap-align: start;
    }
}

@media (max-width: 560px) {
    .weather-banner-wrapper {
        padding: .55rem;
    }

    .weather-banner {
        border-radius: 20px;
        padding: .95rem;
    }

    .banner-main {
        gap: .82rem;
    }

    .main-icon-wrapper {
        width: 72px;
        height: 72px;
        border-radius: 22px;
    }

    .temp-val {
        font-size: 2.38rem;
        letter-spacing: -1.6px;
    }

    .temp-desc {
        font-size: .88rem;
        padding: .3rem .56rem;
    }

    .main-city {
        font-size: .86rem;
    }

    .last-update {
        font-size: .72rem;
    }

    .forecast-item {
        flex-basis: 84px;
        min-width: 84px;
        padding: .72rem .48rem;
    }

    .f-day {
        font-size: .70rem;
    }

    .f-temps {
        font-size: .88rem;
    }
}

@media (max-width: 380px) {
    .banner-main {
        align-items: flex-start;
    }

    .main-icon-wrapper {
        width: 62px;
        height: 62px;
        border-radius: 18px;
    }

    .temp-val {
        font-size: 2rem;
    }

    .main-temp {
        gap: .35rem;
    }
}

/* Touch cihazlarda hover baskısını azalt */
@media (hover: none) {
    .forecast-item:hover,
    .detail-item:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Düşük hareket tercihi */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Backdrop desteklemeyen tarayıcılar için görünür fallback */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .weather-banner {
        background: linear-gradient(135deg, rgba(2, 21, 54, .98), rgba(0, 82, 180, .94));
    }
}

/* --- TRPORTAL ANIMATED WEATHER ICONS — Premium Rework --- */

.wi {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    transform: translateZ(0);
}

/* ---- SUN ---- */
.wi-sun {
    width: 48px;
    height: 48px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 10px 18px rgba(250, 204, 21, .30));
}

.wi-sun .sun-core {
    width: 22px;
    height: 22px;
    background:
        radial-gradient(circle at 35% 30%, #fff7ad 0 22%, #fde047 38%, #f59e0b 100%);
    border-radius: 50%;
    box-shadow:
        0 0 16px 5px rgba(255, 210, 52, 0.52),
        inset -3px -4px 8px rgba(180, 83, 9, .20);
    animation: sunPulse 2.5s ease-in-out infinite;
    z-index: 2;
    position: relative;
}

.wi-sun .sun-rays {
    position: absolute;
    inset: 0;
    animation: sunRotate 11s linear infinite;
}

.wi-sun .sun-rays span {
    position: absolute;
    width: 3px;
    height: 10px;
    background: linear-gradient(to bottom, #fef08a, rgba(250, 204, 21, 0));
    border-radius: 999px;
    left: 50%;
    top: 0;
    transform-origin: 50% 24px;
}

.wi-sun .sun-rays span:nth-child(1) { transform: translateX(-50%) rotate(0deg); }
.wi-sun .sun-rays span:nth-child(2) { transform: translateX(-50%) rotate(45deg); }
.wi-sun .sun-rays span:nth-child(3) { transform: translateX(-50%) rotate(90deg); }
.wi-sun .sun-rays span:nth-child(4) { transform: translateX(-50%) rotate(135deg); }
.wi-sun .sun-rays span:nth-child(5) { transform: translateX(-50%) rotate(180deg); }
.wi-sun .sun-rays span:nth-child(6) { transform: translateX(-50%) rotate(225deg); }
.wi-sun .sun-rays span:nth-child(7) { transform: translateX(-50%) rotate(270deg); }
.wi-sun .sun-rays span:nth-child(8) { transform: translateX(-50%) rotate(315deg); }

@keyframes sunRotate {
    to { transform: rotate(360deg); }
}

@keyframes sunPulse {
    0%, 100% {
        box-shadow:
            0 0 16px 5px rgba(255, 210, 52, 0.52),
            inset -3px -4px 8px rgba(180, 83, 9, .20);
        transform: scale(1);
    }

    50% {
        box-shadow:
            0 0 25px 9px rgba(255, 218, 64, 0.72),
            inset -3px -4px 8px rgba(180, 83, 9, .18);
        transform: scale(1.08);
    }
}

/* ---- CLOUD ---- */
.wi-cloud {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 32px;
    animation: cloudFloat 4.2s ease-in-out infinite;
    filter: drop-shadow(0 10px 14px rgba(15, 23, 42, .20));
}

.wi-cloud .cloud-body {
    position: absolute;
    bottom: 0;
    left: 4px;
    width: 40px;
    height: 20px;
    background: linear-gradient(180deg, #f2f8ff 0%, #c8d8e8 48%, #9db4ca 100%);
    border-radius: 999px;
}

.wi-cloud .cloud-top {
    position: absolute;
    bottom: 14px;
    left: 12px;
    width: 22px;
    height: 22px;
    background: linear-gradient(180deg, #ffffff, #dbeafe);
    border-radius: 50%;
}

.wi-cloud .cloud-top2 {
    position: absolute;
    bottom: 12px;
    left: 24px;
    width: 16px;
    height: 16px;
    background: linear-gradient(180deg, #f8fbff, #d4e4f3);
    border-radius: 50%;
}

@keyframes cloudFloat {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -4px, 0); }
}

/* ---- PARTLY CLOUDY ---- */
.wi-partly-cloudy {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 48px;
}

.wi-partly-cloudy .pc-sun {
    position: absolute;
    top: 0;
    right: 0;
    width: 28px;
    height: 28px;
}

.wi-partly-cloudy .pc-sun .sun-core {
    width: 16px;
    height: 16px;
}

.wi-partly-cloudy .pc-sun .sun-rays span {
    height: 7px;
    transform-origin: 50% 17px;
}

.wi-partly-cloudy .pc-cloud {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 42px;
    height: 26px;
    animation: cloudFloat 4s ease-in-out infinite;
    filter: drop-shadow(2px 8px 10px rgba(0, 0, 0, 0.18));
}

.wi-partly-cloudy .pc-cloud .cloud-body {
    position: absolute;
    bottom: 0;
    left: 3px;
    width: 36px;
    height: 17px;
    background: linear-gradient(180deg, #f8fbff, #b8cede);
    border-radius: 999px;
}

.wi-partly-cloudy .pc-cloud .cloud-top {
    position: absolute;
    bottom: 11px;
    left: 9px;
    width: 19px;
    height: 19px;
    background: linear-gradient(180deg, #ffffff, #ddeaf5);
    border-radius: 50%;
}

.wi-partly-cloudy .pc-cloud .cloud-top2 {
    position: absolute;
    bottom: 10px;
    left: 22px;
    width: 13px;
    height: 13px;
    background: linear-gradient(180deg, #ffffff, #ddeaf5);
    border-radius: 50%;
}

/* ---- RAIN ---- */
.wi-rain {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 52px;
    overflow: visible;
}

.wi-rain .r-cloud {
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 28px;
    filter: drop-shadow(0 9px 12px rgba(15,23,42,.22));
}

.wi-rain .r-cloud .cloud-body {
    position: absolute;
    bottom: 0;
    left: 2px;
    width: 44px;
    height: 18px;
    background: linear-gradient(180deg, #94b4d0, #526f8d);
    border-radius: 999px;
}

.wi-rain .r-cloud .cloud-top {
    position: absolute;
    bottom: 12px;
    left: 10px;
    width: 22px;
    height: 22px;
    background: linear-gradient(180deg, #a8c7e2, #7598b9);
    border-radius: 50%;
}

.wi-rain .r-cloud .cloud-top2 {
    position: absolute;
    bottom: 10px;
    left: 26px;
    width: 15px;
    height: 15px;
    background: linear-gradient(180deg, #a8c7e2, #789bbd);
    border-radius: 50%;
}

.wi-rain .drops {
    position: absolute;
    top: 26px;
    left: 6px;
    display: flex;
    gap: 6px;
}

.wi-rain .drop {
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(to bottom, #bfdbfe, #38bdf8);
    animation: rainFall .95s ease-in infinite;
    opacity: 0;
    box-shadow: 0 0 8px rgba(96, 165, 250, .45);
}

.wi-rain .drop:nth-child(1) { height: 10px; animation-delay: 0s; }
.wi-rain .drop:nth-child(2) { height: 14px; animation-delay: .2s; margin-top: 3px; }
.wi-rain .drop:nth-child(3) { height: 10px; animation-delay: .4s; }
.wi-rain .drop:nth-child(4) { height: 14px; animation-delay: .15s; margin-top: 3px; }
.wi-rain .drop:nth-child(5) { height: 10px; animation-delay: .35s; }

@keyframes rainFall {
    0% { opacity: 0; transform: translateY(0); }
    20% { opacity: 1; }
    80% { opacity: .72; }
    100% { opacity: 0; transform: translateY(14px); }
}

/* ---- HEAVY RAIN ---- */
.wi-heavy-rain .drop {
    animation-duration: .62s !important;
}

/* ---- SNOW ---- */
.wi-snow {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 52px;
    overflow: visible;
}

.wi-snow .s-cloud {
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 28px;
    filter: drop-shadow(0 9px 12px rgba(15,23,42,.18));
}

.wi-snow .s-cloud .cloud-body {
    position: absolute;
    bottom: 0;
    left: 2px;
    width: 44px;
    height: 18px;
    background: linear-gradient(180deg, #dbeafe, #8fb8dd);
    border-radius: 999px;
}

.wi-snow .s-cloud .cloud-top {
    position: absolute;
    bottom: 12px;
    left: 10px;
    width: 22px;
    height: 22px;
    background: linear-gradient(180deg, #f8fbff, #cce0f5);
    border-radius: 50%;
}

.wi-snow .s-cloud .cloud-top2 {
    position: absolute;
    bottom: 10px;
    left: 26px;
    width: 15px;
    height: 15px;
    background: linear-gradient(180deg, #f8fbff, #cce0f5);
    border-radius: 50%;
}

.wi-snow .flakes {
    position: absolute;
    top: 26px;
    left: 6px;
    display: flex;
    gap: 6px;
}

.wi-snow .flake {
    font-size: 10px;
    animation: snowFall 1.8s ease-in-out infinite;
    opacity: 0;
    color: #cffafe;
    text-shadow: 0 0 10px rgba(165,243,252,.65);
}

.wi-snow .flake:nth-child(1) { animation-delay: 0s; }
.wi-snow .flake:nth-child(2) { animation-delay: .4s; margin-top: 4px; }
.wi-snow .flake:nth-child(3) { animation-delay: .8s; }
.wi-snow .flake:nth-child(4) { animation-delay: .2s; margin-top: 4px; }
.wi-snow .flake:nth-child(5) { animation-delay: .6s; }

@keyframes snowFall {
    0% { opacity: 0; transform: translateY(0) rotate(0deg); }
    25% { opacity: 1; }
    75% { opacity: .78; }
    100% { opacity: 0; transform: translateY(18px) rotate(180deg); }
}

/* ---- STORM / THUNDER ---- */
.wi-storm {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 56px;
    overflow: visible;
}

.wi-storm .st-cloud {
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 28px;
    filter: drop-shadow(0 10px 14px rgba(0,0,0,.24));
}

.wi-storm .st-cloud .cloud-body {
    position: absolute;
    bottom: 0;
    left: 2px;
    width: 44px;
    height: 18px;
    background: linear-gradient(180deg, #596274, #202b3d);
    border-radius: 999px;
}

.wi-storm .st-cloud .cloud-top {
    position: absolute;
    bottom: 12px;
    left: 10px;
    width: 22px;
    height: 22px;
    background: linear-gradient(180deg, #727b8d, #3f4858);
    border-radius: 50%;
}

.wi-storm .st-cloud .cloud-top2 {
    position: absolute;
    bottom: 10px;
    left: 26px;
    width: 15px;
    height: 15px;
    background: linear-gradient(180deg, #727b8d, #444d5d);
    border-radius: 50%;
}

.wi-storm .bolt {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 22px;
    filter: drop-shadow(0 0 6px #fef08a);
    animation: boltFlash 2s ease-in-out infinite;
}

.wi-storm .st-drops {
    position: absolute;
    top: 28px;
    left: 6px;
    display: flex;
    gap: 6px;
}

.wi-storm .st-drop {
    width: 3px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(to bottom, #bfdbfe, #38bdf8);
    animation: rainFall .78s ease-in infinite;
    opacity: 0;
}

.wi-storm .st-drop:nth-child(1) { animation-delay: 0s; }
.wi-storm .st-drop:nth-child(2) { animation-delay: .3s; margin-top: 3px; }
.wi-storm .st-drop:nth-child(3) { animation-delay: .6s; }

@keyframes boltFlash {
    0%, 100% {
        opacity: 1;
        filter: drop-shadow(0 0 6px #fef08a);
    }

    40%, 60% {
        opacity: .32;
        filter: drop-shadow(0 0 2px #fef08a);
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 16px #fef08a) drop-shadow(0 0 34px #fbbf24);
    }
}

/* ---- FOG ---- */
.wi-fog {
    position: relative;
    width: 48px;
    height: 36px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    filter: drop-shadow(0 8px 12px rgba(15,23,42,.14));
}

.wi-fog .fog-line {
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(to right, transparent, rgba(226, 240, 255, 0.92), transparent);
    animation: fogDrift 3.1s ease-in-out infinite;
}

.wi-fog .fog-line:nth-child(1) { width: 100%; animation-delay: 0s; }
.wi-fog .fog-line:nth-child(2) { width: 80%; margin-left: 10%; animation-delay: .5s; }
.wi-fog .fog-line:nth-child(3) { width: 90%; margin-left: 5%; animation-delay: 1s; }
.wi-fog .fog-line:nth-child(4) { width: 70%; margin-left: 15%; animation-delay: 1.5s; }

@keyframes fogDrift {
    0%, 100% {
        opacity: .48;
        transform: translateX(0);
    }

    50% {
        opacity: 1;
        transform: translateX(5px);
    }
}

/* ---- DRIZZLE ---- */
.wi-drizzle .drop {
    height: 6px !important;
    animation-duration: 1.35s !important;
}

/* ---- SIZE VARIANTS ---- */
.wi-sm .wi-sun {
    width: 32px;
    height: 32px;
}

.wi-sm .wi-sun .sun-core {
    width: 14px;
    height: 14px;
}

.wi-sm .wi-sun .sun-rays span {
    height: 6px;
    transform-origin: 50% 16px;
}

.wi-sm .wi-cloud,
.wi-sm .wi-rain,
.wi-sm .wi-snow,
.wi-sm .wi-storm,
.wi-sm .wi-partly-cloudy {
    transform: scale(.7);
    transform-origin: left center;
}

.wi-lg .wi-sun {
    width: 72px;
    height: 72px;
}

.wi-lg .wi-sun .sun-core {
    width: 32px;
    height: 32px;
}

.wi-lg .wi-sun .sun-rays span {
    height: 14px;
    transform-origin: 50% 36px;
}

.wi-lg .wi-cloud,
.wi-lg .wi-rain,
.wi-lg .wi-snow,
.wi-lg .wi-storm,
.wi-lg .wi-partly-cloudy {
    transform: scale(1.5);
    transform-origin: left center;
}

/* ---- MODAL BIG ICONS ---- */
.wi-modal {
    transform: scale(1.4);
    transform-origin: left center;
}
