/* 
 * Weather Premium Styles
 * Optimized for Page Speed and Professional UI
 */

:root {
    --primary-premium: #6366f1;
    --secondary-premium: #a855f7;
    --premium-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --text-main: #334155;
    --text-dark: #1e293b;
    --text-muted: #94a3b8;
}

/* Weather Page Base */
.weather-page-v2 {
    background-color: #ffffff;
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    color: var(--text-main);
    padding-bottom: 60px;
    min-height: 100vh;
}

/* Hero Section */
.weather-hero-section {
    position: relative;
    padding: 30px 0;
}

.glass-hero-card {
    background: #ffffff;
    border-radius: 50px;
    padding: 60px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.glass-hero-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.03));
    pointer-events: none;
}

.date-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.city-name-hero {
    font-size: 3.5rem;
    font-weight: 400;
    color: #334155;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.weather-status-badge {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: white;
    padding: 10px 22px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.25);
    margin-bottom: 40px;
}

.temp-display-group {
    display: flex;
    align-items: center;
    gap: 30px;
}

.temp-main {
    font-size: 11rem;
    font-weight: 800;
    color: #334155;
    line-height: 0.8;
    letter-spacing: -8px;
}

.feels-like-box {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feels-label {
    color: var(--text-muted);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.feels-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #334155;
}

/* Stat Grid Right */
.stat-grid-premium {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.premium-stat-box {
    background: #ffffff;
    border-radius: 35px;
    padding: 30px;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.premium-stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.stat-icon-square {
    width: 70px;
    height: 70px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.stat-info-text {
    display: flex;
    flex-direction: column;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #334155;
}

/* Forecast Section */
.forecast-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 5px 40px;
    scrollbar-width: thin;
    scrollbar-color: #e2e8f0 transparent;
    cursor: grab;
    user-select: none;
    scroll-behavior: smooth;
}

.forecast-slider:active { cursor: grabbing; }

.forecast-slider::-webkit-scrollbar { height: 6px; }
.forecast-slider::-webkit-scrollbar-track { background: transparent; }
.forecast-slider::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 10px; }

.forecast-day-card {
    min-width: 180px;
    background: white;
    border-radius: 35px;
    padding: 35px 25px;
    text-align: center;
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 260px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.forecast-day-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 35px -12px rgba(99, 102, 241, 0.15);
    border-color: var(--primary-premium);
}

.forecast-day-card.is-active {
    background: #1e293b;
    color: white;
    border-color: #1e293b;
    box-shadow: 0 20px 40px -10px rgba(30, 41, 59, 0.3);
}

.forecast-day-card.is-active .text-muted {
    color: rgba(255,255,255,0.6) !important;
}

/* SEO Section */
.seo-detail-card {
    background: white;
    border-radius: 50px;
    padding: 70px;
    border: 1px solid #f1f5f9;
    margin-top: 60px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.04);
}

/* City Cloud */
.city-cloud-section {
    margin-top: 80px;
    padding: 50px;
    background: #f8fafc;
    border-radius: 40px;
    text-align: center;
}

.city-cloud-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    max-width: 1000px;
    margin: 0 auto;
}

.seo-city-link {
    font-size: 0.75rem;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
}

.seo-city-link:hover {
    color: var(--primary-premium);
    background: rgba(99, 102, 241, 0.05);
}

/* Sidebar Widget Specifics */
.weather-widget-premium-sidebar .premium-sidebar-card {
    background: #ffffff;
    border-radius: 30px;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.weather-widget-premium-sidebar .badge-premium-mini {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.2);
}

.weather-widget-premium-sidebar .btn-all-mini {
    font-size: 0.6rem;
    font-weight: 800;
    color: #64748b;
    text-decoration: none;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 100px;
    transition: all 0.2s;
}

.weather-widget-premium-sidebar .stat-sidebar-box {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.weather-widget-premium-sidebar .stat-icon-mini {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.weather-widget-premium-sidebar .stat-label-mini {
    font-size: 0.55rem;
    font-weight: 800;
    color: #94a3b8;
}

.weather-widget-premium-sidebar .stat-value-mini {
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
    line-height: 1;
}

/* Utilities */
.fw-900 { font-weight: 900; }
.fw-800 { font-weight: 800; }
.tracking-widest { letter-spacing: 0.1em; }

@media (max-width: 991px) {
    .glass-hero-card { padding: 40px; border-radius: 40px; }
    .temp-main { font-size: 7rem; }
    .city-name-hero { font-size: 2.5rem; }
    .stat-grid-premium { grid-template-columns: 1fr; }
    .seo-detail-card { padding: 40px; }
}
