/* --- Classy Midnight & Gold Typography --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;600;800&family=Noto+Sans+Devanagari:wght@400;700;800&display=swap');

:root { 
    --brand: #0f172a; /* Deep Midnight Blue - Very Classy */
    --accent: #d4af37; /* Metallic Gold for a premium feel */
    --brand-light: #f1f5f9;
    --dark: #020617; /* Near Black for contrast */
    --bg: #f8fafc; /* Ultra clean background */
    --white: #ffffff;
    --text-muted: #64748b;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body { 
    font-family: 'Noto Sans Devanagari', sans-serif; 
    background: var(--bg); 
    padding-bottom: 85px; 
    overflow-x: hidden;
    color: var(--brand);
}

/* --- 1. Classy Midnight Header --- */
.app-header { 
    background: var(--brand); 
    padding: 18px 20px; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    color: var(--accent); /* Gold Logo on Blue background */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.logo { 
    font-family: 'Outfit', sans-serif; 
    font-size: 24px; 
    font-weight: 900; 
    letter-spacing: -1px; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* --- 2. Premium Category Chips --- */
.top-nav-scroll {
    background: var(--white);
    padding: 14px 0;
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.top-nav-scroll::-webkit-scrollbar { display: none; }

.nav-chip {
    text-decoration: none;
    color: var(--brand);
    background: var(--brand-light);
    padding: 8px 20px;
    border-radius: 10px; /* Modern Slightly Rounded Corners */
    font-weight: 800;
    font-size: 13px;
    margin-left: 12px;
    border: 1px solid #cbd5e1;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-chip.active { 
    background: var(--brand); 
    color: var(--accent); 
    border-color: var(--accent);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

/* --- 3. Hero Slider with Soft Glow --- */
.hero-slider { 
    overflow: hidden; 
    position: relative; 
    width: 100%; 
    height: 270px; 
    margin: 5px 0;
}

.slide { width: 100%; height: 100%; position: relative; display: none; }
.slide.active { display: block; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

.slide-title { 
    position: absolute; 
    bottom: 0; 
    background: linear-gradient(to top, rgba(15,23,42,1) 0%, rgba(15,23,42,0.8) 40%, transparent 100%); 
    color: var(--white); 
    padding: 50px 15px 20px; 
    width: 100%; 
    font-size: 20px; 
    font-weight: 800; 
    border-bottom: 3px solid var(--accent);
}

/* --- 4. Ticker Styling (High Contrast) --- */
.ticker-box { 
    display: flex; 
    background: var(--brand); 
    color: var(--white); 
    height: 44px; 
    align-items: center; 
    margin: 15px;
    border-radius: 12px; 
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.ticker-tag { 
    background: var(--accent); 
    padding: 0 15px; 
    font-weight: 900; 
    height: 100%; 
    display: flex; 
    align-items: center; 
    font-size: 11px;
    color: var(--brand);
    text-transform: uppercase;
}

/* --- 5. News Cards (Elevated Shadow) --- */
.section-box { margin-top: 30px; }

.section-title { 
    padding: 0 15px; 
    font-size: 19px; 
    font-weight: 800; 
    border-left: 5px solid var(--accent); 
    margin-left: 15px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}

.section-title a { color: var(--accent); text-decoration: none; font-size: 13px; font-weight: 800; background: var(--brand); padding: 4px 12px; border-radius: 6px; }

.news-card { 
    background: var(--white); 
    margin: 15px; 
    border-radius: 16px; 
    display: flex; 
    gap: 15px; 
    padding: 15px; 
    text-decoration: none; 
    color: var(--brand); 
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s;
}

.news-card img { 
    width: 110px; 
    height: 90px; 
    border-radius: 12px; 
    object-fit: cover; 
}

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

.news-card-info h3 { 
    font-size: 16px; 
    line-height: 1.4; 
    font-weight: 800;
    color: var(--brand);
}

/* Views aur Time Meta Styling */
.news-meta { 
    display: flex; 
    gap: 12px; 
    font-size: 11px; 
    color: var(--text-muted); 
    font-weight: 700; 
    align-items: center;
    margin-top: 8px;
}

/* --- 6. Luxury Bottom Nav --- */
.bottom-nav { 
    position: fixed; 
    bottom: 0; 
    left: 0;
    width: 100%; 
    background: var(--brand); 
    display: flex; 
    justify-content: space-around; 
    padding: 12px 0; 
    z-index: 2000; 
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.2);
    border-top: 2px solid var(--accent);
}

.nav-link { 
    text-decoration: none; 
    color: var(--text-muted); 
    font-size: 11px; 
    text-align: center; 
    font-weight: 800;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s;
}

.nav-icon { font-size: 22px; margin-bottom: 2px; }

.nav-link.active { color: var(--accent); transform: translateY(-3px); }
