:root {
    /* Color Palette - Dark Mode Default */
    --bg-base: #0f172a;
    --bg-accent: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    
    /* Glassmorphism Variables */
    --glass-bg: rgba(30, 41, 59, 0.5);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #38bdf8, #818cf8);
    --gradient-warm: linear-gradient(135deg, #fbbf24, #f59e0b);
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
}

[data-theme="light"] {
    --bg-base: #f1f5f9;
    --bg-accent: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(0, 0, 0, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--bg-base);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Map Mock Layers */
.mock-temp { filter: hue-rotate(150deg) saturate(1.5) brightness(1.2); }
.mock-rain { filter: sepia(0.8) hue-rotate(200deg) saturate(2) brightness(0.8); }
.mock-wind { filter: grayscale(0.8) contrast(1.2) brightness(1.5); }
.mock-clouds { filter: grayscale(0.5) brightness(0.7) contrast(1.1); }

/* Backgrounds & Glowing Orbs */
.weather-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-size: cover;
    background-position: center;
    transition: background 1s ease-in-out;
    background-color: var(--bg-base);
}

.weather-sunny { background: linear-gradient(135deg, #1e3a8a, #0f172a); }
.weather-rain { background: linear-gradient(135deg, #0f172a, #020617); }
.weather-clouds { background: linear-gradient(135deg, #334155, #0f172a); }

/* Animated Orbs for Premium Cinematic Effect */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: floatOrb 15s ease-in-out infinite alternate;
    z-index: -1;
    pointer-events: none;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: #38bdf8;
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: #818cf8;
    bottom: -20%;
    right: -10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: #fbbf24;
    top: 40%;
    left: 60%;
    opacity: 0.3;
    animation-delay: -10s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); filter: blur(80px) hue-rotate(0deg); }
    50% { transform: translate(50px, 100px) scale(1.1); filter: blur(100px) hue-rotate(20deg); }
    100% { transform: translate(-50px, 50px) scale(0.9); filter: blur(80px) hue-rotate(0deg); }
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 80%);
}

#weather-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Base Classes */
.app-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* Shimmer effect inside glass panels on hover */
.glass-panel::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}
.glass-panel:hover::after {
    left: 150%;
}

.glass-panel:hover {
    box-shadow: 0 15px 45px 0 rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: all 0.3s ease;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hidden {
    display: none !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
}

.metric-value .unit {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.sub-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }

/* Alerts Banner */
.alerts-banner {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    backdrop-filter: blur(8px);
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

/* Navigation */
.glass-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 2rem;
    color: #38bdf8;
}

.search-container {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-box {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: #38bdf8;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1);
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-sans);
    outline: none;
    padding: 0.5rem 0;
}

.search-box input::placeholder {
    color: var(--text-secondary);
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    width: 100%;
    padding: 1rem;
    border-radius: 16px;
    z-index: 50;
}

.suggestions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.text-btn {
    background: transparent;
    border: none;
    color: #38bdf8;
    cursor: pointer;
    font-size: 0.85rem;
}

.text-btn:hover {
    text-decoration: underline;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.list-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-wrapper {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: 280px;
    padding: 1rem;
    border-radius: 16px;
    z-index: 50;
}

.dropdown-header {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

#unit-toggle {
    padding: 0 1rem;
    height: 44px;
    border-radius: 100px;
    font-weight: 600;
}

#unit-toggle span {
    opacity: 0.5;
    transition: opacity 0.2s;
}

#unit-toggle span.active {
    opacity: 1;
    color: #38bdf8;
}

/* Dashboard Grid Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    grid-template-rows: auto auto auto;
    gap: 1.5rem;
}

/* Current Weather Section */
.current-weather {
    grid-column: 1;
    grid-row: 1 / 4;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.premium-shadow {
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), 0 20px 40px -10px rgba(0,0,0,0.5);
}

.city-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.city-name {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.current-date {
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.greeting {
    font-weight: 500;
    color: #38bdf8;
}

.weather-main-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 3rem 0;
}

@keyframes pulseGlow {
    0% { text-shadow: 0 0 10px rgba(255,255,255,0.1); }
    50% { text-shadow: 0 0 30px rgba(255,255,255,0.4); }
    100% { text-shadow: 0 0 10px rgba(255,255,255,0.1); }
}

.temperature {
    font-size: 5rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 0.5rem;
    animation: pulseGlow 4s infinite alternate;
}

.weather-desc {
    font-size: 1.25rem;
    font-weight: 500;
    text-transform: capitalize;
}

.weather-icon-large {
    font-size: 6rem;
    color: #fbbf24;
    filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.4));
}

@keyframes floatAndRotate {
    0%, 100% { transform: translateY(0) rotate(0deg); filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.4)); }
    50% { transform: translateY(-15px) rotate(5deg); filter: drop-shadow(0 0 40px rgba(251, 191, 36, 0.8)); }
}

.floating {
    animation: floatAndRotate 6s ease-in-out infinite;
}

.current-quick-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
}

.stat i {
    color: #38bdf8;
}

/* Hourly Forecast */
.hourly-forecast {
    grid-column: 2;
    grid-row: 1;
    padding: 1.5rem;
    overflow: hidden;
}

.section-header {
    margin-bottom: 1.25rem;
}

.section-header h3 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hourly-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.hourly-container::-webkit-scrollbar {
    height: 6px;
}

.hourly-container::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,0.2);
    border-radius: 10px;
}

.hourly-item {
    min-width: 100px;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.hourly-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.hourly-item .time {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hourly-item i {
    font-size: 2rem;
    color: #38bdf8;
}

.hourly-item .temp {
    font-weight: 600;
    font-size: 1.1rem;
}

.hourly-item .rain {
    font-size: 0.75rem;
    color: #60a5fa;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Highlights Bento Grid */
.highlights-bento {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: column;
}

.bento-header {
    margin-bottom: 1.25rem;
}

.bento-header h3 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.bento-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.hover-lift {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.hover-lift:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px 0 rgba(0,0,0,0.5), inset 0 0 15px rgba(255,255,255,0.1);
}

.card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.card-title i {
    font-size: 1.2rem;
    transition: transform 0.3s;
}
.bento-card:hover .card-title i.ph-sun {
    animation: spinSlow 4s linear infinite;
}
.bento-card:hover .card-title i.ph-wind {
    transform: translateX(5px);
}
.bento-card:hover .card-title i.ph-drop {
    transform: translateY(3px) scale(1.1);
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flex-center {
    align-items: center;
    text-align: center;
}

/* Specific Bento Cards */
.compass-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.wind-dir-icon {
    font-size: 1.25rem;
    color: #38bdf8;
}

.sun-times {
    gap: 1rem;
}

.sun-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sun-item i {
    font-size: 2rem;
    color: #fbbf24;
}

.time-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.time-value {
    font-weight: 600;
    font-size: 1.1rem;
}

.linear-progress {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    margin-top: 1rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
}

.uv-aqi-row {
    display: flex;
    justify-content: space-between;
}

.metric-col {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.small-metric {
    font-size: 2rem;
}

.aqi-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.aqi-badge.good { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
.aqi-badge.fair { background: rgba(234, 179, 8, 0.2); color: #facc15; }
.aqi-badge.poor { background: rgba(249, 115, 22, 0.2); color: #fb923c; }
.aqi-badge.bad { background: rgba(239, 68, 68, 0.2); color: #f87171; }

/* 7-Day Forecast & Map Layout Row */
.daily-forecast {
    grid-column: 1;
    grid-row: 4;
    padding: 1.5rem;
}

.daily-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.daily-item {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    align-items: center;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    transition: all 0.3s ease;
    cursor: default;
}

.daily-item:hover {
    background: rgba(255,255,255,0.08);
}

.daily-day {
    font-weight: 600;
}

.daily-icon-desc {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.daily-icon-desc i {
    font-size: 1.5rem;
    color: #38bdf8;
}

.daily-temps {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    font-weight: 500;
}

.temp-max { color: var(--text-primary); }
.temp-min { color: var(--text-secondary); }

/* Map Section */
.map-section {
    grid-column: 2;
    grid-row: 3 / 5;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.map-header h3 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.map-controls {
    display: flex;
    gap: 0.5rem;
}

.map-layer-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.map-layer-btn:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
}

.map-layer-btn.active {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.4);
}

.map-container {
    flex: 1;
    min-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    z-index: 1; /* For Leaflet */
}

/* Loading & Toasts */
.loading-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-base);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    border-top-color: #38bdf8;
    animation: spin 1s ease-in-out infinite;
}

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

.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: opacity 0.3s, transform 0.3s;
}

.toast.hidden {
    opacity: 0;
    transform: translate(-50%, 20px);
    pointer-events: none;
}

.toast i {
    font-size: 1.25rem;
}
.toast.success i { color: #4ade80; }
.toast.error i { color: #f87171; }

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 300px 1fr;
    }
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Custom Leaflet Tooltip */
.leaflet-tooltip.glass-map-tooltip {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    box-shadow: var(--glass-shadow);
    border-radius: 12px;
    padding: 0.5rem 1rem;
}
.leaflet-tooltip.glass-map-tooltip::before {
    display: none; /* Hide default leaflet tooltip arrow */
}

@media (max-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .current-weather {
        grid-column: 1;
        grid-row: 1;
    }
    .hourly-forecast {
        grid-column: 1;
        grid-row: 2;
    }
    .highlights-bento {
        grid-column: 1;
        grid-row: 3;
    }
    .daily-forecast {
        grid-column: 1;
        grid-row: 4;
    }
    .map-section {
        grid-column: 1;
        grid-row: 5;
    }
}

@media (max-width: 640px) {
    .app-container {
        padding: 1rem;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .glass-nav {
        flex-direction: column;
        align-items: stretch;
    }
    .nav-controls {
        justify-content: space-between;
    }
}

/* Progress Rings */
.progress-ring-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.progress-ring {
    transform: rotate(-90deg);
}
.ring-bg {
    fill: none;
    stroke: var(--glass-border);
    stroke-width: 6;
}
.ring-fill {
    fill: none;
    stroke: var(--accent-cyan);
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease-out;
    stroke-dasharray: 251.2; /* 2 * PI * 40 */
    stroke-dashoffset: 251.2;
}
.ring-text {
    position: absolute;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Sun Path SVG */
.sun-path-container {
    width: 100%;
    margin-top: 1rem;
    position: relative;
}
.sun-path-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

/* Error Modal */
.error-screen {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s;
}
.error-screen.hidden {
    opacity: 0;
    pointer-events: none;
}
.error-content {
    text-align: center;
    padding: 3rem;
    max-width: 400px;
    border-color: rgba(239, 68, 68, 0.4) !important;
}
.error-icon {
    font-size: 5rem;
    color: var(--accent-red);
    margin-bottom: 1rem;
}
.error-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Skeleton Loader */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}
.skeleton {
    animation: shimmer 2s infinite linear;
    background: linear-gradient(to right, rgba(255,255,255,0.05) 4%, rgba(255,255,255,0.15) 25%, rgba(255,255,255,0.05) 36%);
    background-size: 1000px 100%;
}
.skeleton * {
    visibility: hidden;
}
