:root {
    /* Color Palette */
    --bg-main: #050505;
    --bg-glass: rgba(20, 20, 25, 0.7);
    --bg-glass-heavy: rgba(10, 10, 15, 0.9);

    --border-glass: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);

    --text-main: #ffffff;
    --text-muted: #8e8e93;

    --neon-red: #ff0033;
    --neon-blue: #00e5ff;
    --neon-purple: #9d00ff;

    /* Typography */
    --font-hindi: 'Noto Sans Devanagari', sans-serif;
    --font-en: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;

    /* Spacing & Utilities */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
}

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

body {
    font-family: var(--font-en);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-hindi);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.mb-sm {
    margin-bottom: var(--space-sm);
}

.mb-xs {
    margin-bottom: var(--space-xs);
}

.mt-sm {
    margin-top: var(--space-sm);
}

.mt-md {
    margin-top: var(--space-md);
}

.mt-lg {
    margin-top: var(--space-lg);
}

.p-sm {
    padding: var(--space-sm);
}

.p-0 {
    padding: 0;
}

.w-100 {
    width: 100%;
}

.text-left {
    text-align: left;
}

.text-muted {
    color: var(--text-muted);
}

.text-sm {
    font-size: 0.85rem;
}

.text-blue {
    color: var(--neon-blue);
}

.text-red {
    color: var(--neon-red);
}

.text-green {
    color: #00ff66;
}

.text-neon-blue {
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.text-neon-red {
    color: var(--neon-red);
    text-shadow: 0 0 10px rgba(255, 0, 51, 0.4);
}

.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.gap-md {
    gap: var(--space-md);
}

.overflow-hidden {
    overflow: hidden;
}

.border-top-glass {
    border-top: 1px solid var(--border-glass);
}

.border-bottom-glass {
    border-bottom: 1px solid var(--border-glass);
}

.border-neon-red {
    border-left: 3px solid var(--neon-red);
}

.border-neon-blue {
    border-left: 3px solid var(--neon-blue);
}

.bg-blue {
    background: var(--neon-blue);
}

.bg-red {
    background: var(--neon-red);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-hindi);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-live {
    background: rgba(255, 0, 51, 0.15);
    color: var(--neon-red);
    border: 1px solid var(--neon-red);
}

.btn-live:hover {
    background: var(--neon-red);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-main);
}

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

.btn-glass {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: white;
}

.btn-micro {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
}

.btn-micro:hover {
    color: white;
}

.icon-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 1.2rem;
}

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

/* Header */
.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    padding: var(--space-sm) 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo h1 {
    font-size: 1.8rem;
    font-family: var(--font-display);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--neon-blue);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
}

.under-construction-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 2px 8px;
    border-radius: 999px;
    font-family: var(--font-en);
}

.header-widgets {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.widget {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    padding: 0.4rem 0.8rem;
    gap: 8px;
    border: 1px solid var(--border-glass);
}

.search-container i {
    cursor: pointer;
    color: var(--text-muted);
}

.search-container i:hover {
    color: white;
}

.voice-search {
    color: var(--neon-blue) !important;
}

.lang-switch {
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.mega-nav {
    padding: 0;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
}

.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-links a {
    padding: var(--space-sm) 0;
    font-family: var(--font-hindi);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--neon-blue);
    border-bottom-color: var(--neon-blue);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Ticker */
.ticker-wrapper {
    display: flex;
    background: #000;
    border-bottom: 1px solid var(--border-glass);
    height: 40px;
    align-items: center;
}

.ticker-label {
    background: var(--neon-red);
    color: white;
    font-family: var(--font-hindi);
    font-weight: 700;
    padding: 0 var(--space-md);
    height: 100%;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    box-shadow: 5px 0 10px rgba(0, 0, 0, 0.5);
}

.ticker-content {
    flex: 1;
    overflow: hidden;
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: ticker-scroll 25s linear infinite;
}

.ticker-item {
    padding: 0 var(--space-md);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.ticker-item .bullet {
    color: var(--neon-red);
    margin-right: 4px;
}

/* 3 Column Layout */
.layout-main {
    display: grid;
    grid-template-columns: 3fr 4fr 3fr;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.section-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-title-sm {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Left Column: Hero & Stack */
.hero-slider {
    height: 400px;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
}

.badge-live {
    background: var(--neon-red);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin-bottom: 8px;
}

.hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 8px;
}

.hero-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.flash-cards {
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: var(--space-sm);
}

.flash-card {
    padding: var(--space-sm);
    margin-bottom: var(--space-sm);
    border-radius: var(--radius-sm);
}

.flash-time {
    color: var(--neon-red);
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.stack-item {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-sm);
    margin-bottom: var(--space-sm);
    border-radius: var(--radius-sm);
    transition: transform 0.2s;
}

.stack-item:hover {
    transform: translateX(5px);
    border-color: var(--border-light);
}

.stack-img {
    width: 100px;
    height: 70px;
    border-radius: var(--radius-sm);
    background-size: cover;
    flex-shrink: 0;
}

.stack-content h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.meta-small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Center Column: Dashboards & AI Feed */
.election-dashboard {
    padding: var(--space-md);
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dash-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.stat-col {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.party-name {
    width: 50px;
    font-weight: 700;
    font-size: 0.9rem;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.fill {
    height: 100%;
}

.seats {
    font-weight: 700;
    font-size: 0.9rem;
    width: 30px;
    text-align: right;
}

.ai-feed {
    padding: var(--space-md);
}

.feed-ai-tag {
    color: var(--neon-blue);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 4px;
    border: 1px solid rgba(0, 229, 255, 0.3);
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
}

.feed-summary {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 8px 0;
}

.feed-actions {
    display: flex;
    gap: 1rem;
}

.stories-flex {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    padding-bottom: 8px;
}

.story-card {
    min-width: 120px;
    height: 200px;
    border-radius: var(--radius-md);
    position: relative;
    background-size: cover;
    flex-shrink: 0;
    cursor: pointer;
}

.story-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 8px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.story-overlay p {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
}

/* Right Column: Sidebar */
.live-tv-widget .video-container {
    height: 180px;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon-lg {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: color 0.2s;
}

.play-icon-lg:hover {
    color: var(--neon-red);
}

.live-badge-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--neon-red);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 4px;
}

.trending-widget {
    padding: var(--space-md);
}

.trend-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trend-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.trend-rank {
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    width: 25px;
}

.trend-info h5 {
    font-size: 0.95rem;
}

.trend-count {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.poll-widget {
    padding: var(--space-md);
}

/* Video Carousel Section */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-md);
}

.section-header h3 {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.horizontal-scroll {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 16px;
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.video-card {
    min-width: 280px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.video-card:hover {
    transform: scale(1.02);
}

.vid-thumb {
    height: 160px;
    background-size: cover;
    position: relative;
}

.play-btn-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.vid-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
}

.vid-info h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    line-height: 1.3;
}

/* Footer */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-lg);
}

.footer-col-main h2 {
    font-size: 2rem;
}

.footer-col-main span {
    color: var(--neon-blue);
}

.footer-col h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: white;
}

.app-buttons .btn {
    justify-content: flex-start;
    padding: 0.8rem 1rem;
}

/* Mobile Bottom Nav */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    border-top: 1px solid var(--border-glass);
    justify-content: space-around;
    align-items: center;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.nav-item span {
    font-size: 0.65rem;
}

.nav-item.active {
    color: var(--neon-blue);
}

.nav-live-icon {
    background: var(--neon-red);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Placeholders for backgrounds */
.bg-img-hero {
    background: linear-gradient(45deg, #1a1a2e, #16213e);
}

.bg-img-1 {
    background: linear-gradient(45deg, #2b1055, #7597de);
}

.bg-img-2 {
    background: linear-gradient(45deg, #000000, #434343);
}

.bg-img-3 {
    background: linear-gradient(45deg, #0f2027, #203a43);
}

.bg-img-story-1 {
    background: linear-gradient(to bottom, transparent, #000), linear-gradient(45deg, #111, #333);
}

.bg-img-story-2 {
    background: linear-gradient(to bottom, transparent, #000), linear-gradient(45deg, #220000, #550000);
}

.bg-img-story-3 {
    background: linear-gradient(to bottom, transparent, #000), linear-gradient(45deg, #001122, #003355);
}

.bg-img-vid-1 {
    background: linear-gradient(45deg, #4b134f, #c94b4b);
}

.bg-img-vid-2 {
    background: linear-gradient(45deg, #11998e, #38ef7d);
}

.bg-img-vid-3 {
    background: linear-gradient(45deg, #ee0979, #ff6a00);
}

.bg-img-vid-4 {
    background: linear-gradient(45deg, #3a1c71, #d76d77);
}

/* Responsive */
@media (max-width: 1024px) {
    .layout-main {
        grid-template-columns: 1fr 1fr;
    }

    .col-right {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }

    .live-tv-widget {
        grid-column: 1 / -1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .header-widgets {
        display: none;
    }
}

@media (max-width: 768px) {
    .layout-main {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        margin-top: var(--space-md);
    }

    .col-right {
        grid-template-columns: 1fr;
    }

    .mega-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-actions .icon-btn,
    .header-actions .btn,
    .lang-switch {
        display: none;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    .main-footer {
        padding-bottom: 80px;
        /* space for bottom nav */
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Featured Shows Row */
.featured-show-banner {
    margin: 1.5rem auto;
}

.shows-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .shows-row {
        grid-template-columns: 1fr;
    }
}

/* CEO Section */
.ceo-section {
    margin: 0 auto 1.5rem;
}

.ceo-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.06);
}

.ceo-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid rgba(0, 229, 255, 0.4);
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.25);
}

.ceo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--neon-blue);
    border: 1px solid rgba(0, 229, 255, 0.3);
    padding: 3px 12px;
    border-radius: 999px;
    margin-bottom: 0.6rem;
}

.ceo-name {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.2rem;
}

.ceo-title {
    color: var(--neon-blue);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.ceo-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.2rem;
    border-left: 2px solid rgba(0, 229, 255, 0.3);
    padding-left: 1rem;
}

.ceo-contacts {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ceo-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border: 1px solid var(--border-glass);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    text-decoration: none;
    transition: all 0.2s ease;
}

.ceo-contact-btn:hover {
    color: white;
    border-color: var(--border-light);
    background: rgba(255,255,255,0.08);
}

@media (max-width: 600px) {
    .ceo-inner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    .ceo-desc {
        border-left: none;
        padding-left: 0;
        text-align: left;
    }
    .ceo-contacts {
        justify-content: center;
    }
}

.featured-show-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    border: 1px solid rgba(157, 0, 255, 0.3);
    box-shadow: 0 0 30px rgba(157, 0, 255, 0.1);
}

.featured-show-img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius-md);
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(157, 0, 255, 0.4);
}

.featured-show-info {
    flex: 1;
}

.featured-show-title {
    font-family: var(--font-hindi);
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffd700, #ff69b4, #9d00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.featured-show-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
    .featured-show-inner {
        flex-direction: column;
        text-align: center;
    }

    .featured-show-img {
        width: 180px;
        height: 180px;
    }

    .featured-show-title {
        font-size: 1.5rem;
    }
}