/* RED PORTAL THEME SYSTEM - MULTI-LEVEL MEGA SUB-MENU (STATES & CITIES) */

:root {
  --primary-red: #d32f2f;
  --dark-bg: #0f172a;
  --light-bg: #f8fafc;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border-color: #cbd5e1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Noto Sans Devanagari', 'Inter', -apple-system, sans-serif; background-color: #f8fafc; color: #1e293b; line-height: 1.5; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 15px; }

/* HEADER STYLING */
.site-header { width: 100%; background: #ffffff; box-shadow: 0 2px 5px rgba(0,0,0,0.05); display: block; position: relative; z-index: 100; }

/* ROW 1: TOP BLACK BAR */
.top-black-bar { background: #000000; color: #ffffff; font-size: 12px; font-weight: 700; padding: 6px 0; width: 100%; }
.top-black-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.top-left-links { display: flex; align-items: center; gap: 15px; }
.badge-focus { background: #d32f2f; color: #ffffff; font-size: 11px; padding: 2px 8px; border-radius: 2px; font-weight: 800; display: inline-block; }
.top-right-meta { display: flex; align-items: center; gap: 15px; font-size: 12px; }
.top-social-icons { display: flex; gap: 8px; }
.top-social-icons a { width: 22px; height: 22px; border-radius: 50%; background: #333333; color: #ffffff; display: flex; align-items: center; justify-content: center; font-size: 11px; text-decoration: none; }
.top-social-icons a:hover { background: #d32f2f; }

/* ROW 2: BRAND LOGO & SEARCH HEADER BAR */
.main-logo-bar { background: #ffffff; padding: 15px 0; border-bottom: 1px solid #e2e8f0; width: 100%; }
.logo-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; }
.brand-logo-box { display: flex; flex-direction: column; flex-shrink: 0; }
.brand-logo-text { font-size: 32px; font-weight: 900; color: #111111; letter-spacing: -1px; text-decoration: none; line-height: 1.1; display: inline-block; }
.brand-logo-text span { color: #d32f2f; }
.brand-tagline { font-size: 11px; font-weight: 800; color: #d32f2f; margin-top: 4px; letter-spacing: 0.5px; display: block; }

.header-search-box { display: flex; align-items: center; background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 4px; overflow: hidden; width: 340px; flex-shrink: 0; height: 40px; }
.header-search-box input { border: none; background: transparent; padding: 8px 12px; font-size: 14px; width: 100%; outline: none; height: 100%; }
.header-search-box button { background: transparent; border: none; padding: 8px 12px; color: #64748b; cursor: pointer; font-size: 15px; height: 100%; display: flex; align-items: center; justify-content: center; }

.header-right-actions { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.btn-live-tv-pill { background: #d32f2f; color: #ffffff; font-weight: 800; font-size: 13px; padding: 8px 18px; border-radius: 6px; display: flex; align-items: center; gap: 8px; text-decoration: none; box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3); white-space: nowrap; height: 40px; }
.hamburger-menu-btn { font-size: 22px; color: #111111; cursor: pointer; padding: 5px; display: flex; align-items: center; }

/* ROW 3: RED REGIONAL BAR WITH MULTI-LEVEL MEGA SUB-MENU */
.red-regional-bar { background: #d32f2f; color: #ffffff; padding: 0; font-size: 13px; font-weight: 700; width: 100%; position: relative; z-index: 90; }
.regional-menu-list { display: flex; list-style: none; gap: 0; align-items: center; justify-content: flex-start; margin: 0; padding: 0; }
.regional-menu-list li { position: relative; display: flex; align-items: center; }
.regional-menu-list li a { color: #ffffff; text-decoration: none; padding: 10px 14px; display: block; }
.regional-menu-list li a:hover { background: rgba(0,0,0,0.15); }
.regional-menu-list li:not(:last-child)::after { content: "|"; color: rgba(255,255,255,0.4); font-size: 12px; }

/* MEGA MENU & MULTI-LEVEL SUB-MENU DROPDOWN PANEL */
.has-mega-menu { position: relative; }
.mega-menu-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 820px;
  background: #ffffff;
  color: #1e293b;
  box-shadow: 0 12px 35px rgba(0,0,0,0.2);
  border: 1px solid #cbd5e1;
  border-radius: 0 0 8px 8px;
  padding: 20px;
  z-index: 1000;
  grid-template-columns: 180px 180px 1fr;
  gap: 20px;
}
.has-mega-menu:hover .mega-menu-panel { display: grid; }

.mega-col-title { font-size: 13px; font-weight: 800; color: #d32f2f; border-bottom: 2px solid #d32f2f; padding-bottom: 6px; margin-bottom: 10px; text-transform: uppercase; }

/* SUB-MENU LIST (STATES & CITIES) */
.sub-menu-list { list-style: none; margin: 0; padding: 0; }
.sub-menu-item { margin-bottom: 4px; }
.sub-menu-item a { color: #1e293b !important; padding: 6px 10px !important; border-radius: 4px; font-weight: 700; font-size: 12px; display: flex; justify-content: space-between; align-items: center; }
.sub-menu-item a:hover, .sub-menu-item.active a { background: #f1f5f9; color: #d32f2f !important; }

.city-pill-list { display: flex; flex-wrap: wrap; gap: 6px; }
.city-pill { background: #f1f5f9; color: #334155; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 4px; text-decoration: none; border: 1px solid #e2e8f0; }
.city-pill:hover { background: #d32f2f; color: #ffffff; border-color: #d32f2f; }

.mega-card { background: #f8fafc; border-radius: 6px; overflow: hidden; padding: 8px; border: 1px solid #e2e8f0; }
.mega-card img { width: 100%; height: 95px; object-fit: cover; border-radius: 4px; margin-bottom: 6px; }
.mega-card-title { font-size: 12px; font-weight: 700; color: #0f172a; line-height: 1.3; }
.mega-card-title a { color: #0f172a !important; padding: 0 !important; }

/* ROW 4: STANDALONE ROUNDED BREAKING NEWS TICKER BOX */
.ticker-wrapper { padding: 10px 0 0 0; background: #f8fafc; }
.ticker-bar { background-color: #0f172a; color: #ffffff; display: flex; align-items: center; height: 36px; border-radius: 8px; overflow: hidden; font-size: 12px; width: 100%; border: 1px solid #1e293b; box-shadow: 0 2px 4px rgba(0,0,0,0.04); }
.ticker-badge { background-color: #d32f2f; color: #ffffff; font-weight: 900; padding: 0 12px; height: 26px; margin-left: 5px; border-radius: 5px; display: flex; align-items: center; gap: 6px; font-size: 11px; flex-shrink: 0; letter-spacing: 0.5px; }
.ticker-content { flex-grow: 1; overflow: hidden; position: relative; height: 100%; display: flex; align-items: center; }
.ticker-list { display: flex; align-items: center; white-space: nowrap; animation: tickerScroll 30s linear infinite; list-style: none; margin: 0; padding: 0; }
.ticker-item { display: flex; align-items: center; margin-right: 30px; }
.ticker-item a { color: #ffffff; text-decoration: none; font-weight: 600; }
.ticker-item::before { content: "•"; color: #ea580c; margin-right: 10px; font-size: 14px; }
.ticker-time { background: #1e293b; padding: 0 14px; height: 100%; display: flex; align-items: center; font-size: 11px; font-weight: 700; color: #cbd5e1; flex-shrink: 0; border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
@keyframes tickerScroll { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* HERO SECTION (3 COLUMNS) */
.hero-section { margin-top: 15px; }
.hero-grid { display: grid; grid-template-columns: 2.2fr 1.6fr 1.2fr; gap: 20px; }

.hero-main-card { position: relative; background: #000; border-radius: 6px; overflow: hidden; color: #fff; }
.hero-thumb-wrapper { position: relative; height: 320px; }
.hero-thumb-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.play-overlay-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background: rgba(211,47,47,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; text-decoration: none; box-shadow: 0 0 20px rgba(0,0,0,0.5); }
.badge-live-tag { position: absolute; top: 12px; left: 12px; background: #d32f2f; color: #fff; font-weight: 800; font-size: 11px; padding: 3px 8px; border-radius: 3px; display: flex; align-items: center; gap: 4px; }
.live-dot { width: 6px; height: 6px; background: #fff; border-radius: 50%; display: inline-block; animation: pulseDot 1s infinite; }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-content-box { padding: 18px; background: #000; }
.hero-headline { font-size: 20px; font-weight: 800; line-height: 1.35; margin-bottom: 8px; }
.hero-headline a { color: #fff; text-decoration: none; }
.hero-meta { display: flex; gap: 15px; font-size: 12px; color: #aaa; }

/* HERO CENTER STACK */
.hero-stack { display: flex; flex-direction: column; gap: 12px; }
.stack-card { display: flex; gap: 12px; background: #fff; border-radius: 6px; padding: 10px; border: 1px solid #e2e8f0; }
.stack-thumb { position: relative; width: 120px; height: 75px; flex-shrink: 0; border-radius: 4px; overflow: hidden; }
.stack-thumb img { width: 100%; height: 100%; object-fit: cover; }
.stack-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 28px; height: 28px; background: rgba(211,47,47,0.9); border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; text-decoration: none; }
.stack-info { display: flex; flex-direction: column; justify-content: space-between; }
.stack-title { font-size: 13px; font-weight: 700; line-height: 1.35; }
.stack-title a { color: #0f172a; text-decoration: none; }
.stack-meta { font-size: 11px; color: #64748b; display: flex; gap: 10px; }

/* HERO RIGHT SIDEBAR */
.hero-sidebar { display: flex; flex-direction: column; gap: 15px; }
.live-tv-widget { background: #000; border-radius: 6px; padding: 12px; color: #fff; text-align: center; }
.live-tv-header { font-size: 12px; font-weight: 800; color: #d32f2f; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.live-tv-screen { width: 100%; height: 110px; border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
.live-tv-screen img { width: 100%; height: 100%; object-fit: cover; }
.live-tv-btn { display: block; background: #d32f2f; color: #fff; font-weight: 800; font-size: 12px; padding: 6px 0; border-radius: 4px; text-decoration: none; }

.trending-widget { background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 14px; }
.trending-widget-title { font-size: 13px; font-weight: 800; color: #d32f2f; border-bottom: 2px solid #d32f2f; padding-bottom: 6px; margin-bottom: 10px; }
.trending-list { list-style: none; counter-reset: trendingCounter; margin: 0; padding: 0; }
.trending-item { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 12px; font-weight: 700; }
.trending-item::before { counter-increment: trendingCounter; content: counter(trendingCounter) "."; color: #d32f2f; font-weight: 900; }
.trending-item a { color: #1e293b; text-decoration: none; }

/* SECTION HEADERS */
.video-section { margin-top: 25px; }
.section-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #e2e8f0; padding-bottom: 6px; margin-bottom: 14px; }
.section-title { font-size: 15px; font-weight: 800; color: #0f172a; display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 0.3px; }
.section-more { font-size: 12px; font-weight: 700; color: #d32f2f; text-decoration: none; }

.video-grid-container { display: grid; grid-template-columns: 4fr 1fr; gap: 20px; }
.video-cards-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.video-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; overflow: hidden; padding: 8px; display: flex; flex-direction: column; justify-content: space-between; }
.video-thumb { position: relative; height: 110px; border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-type-badge { position: absolute; top: 6px; left: 6px; font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 2px; color: #fff; }
.badge-video-story { background: #000; }
.badge-reels { background: #e11d48; }
.badge-viral { background: #9333ea; }
.video-duration { position: absolute; bottom: 6px; right: 6px; background: rgba(0,0,0,0.8); color: #fff; font-size: 9px; padding: 1px 4px; border-radius: 2px; }
.video-title { font-size: 12px; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
.video-title a { color: #0f172a; text-decoration: none; }
.video-time { font-size: 10px; color: #64748b; }

.app-promo-card { background: #000; color: #fff; border-radius: 6px; padding: 15px; text-align: center; display: flex; flex-direction: column; justify-content: space-between; }
.app-promo-title { font-size: 16px; font-weight: 800; color: #d32f2f; }
.app-promo-sub { font-size: 11px; color: #ccc; margin-top: 4px; }
.app-btn { display: inline-block; background: #d32f2f; color: #fff; font-weight: 800; font-size: 11px; padding: 6px 12px; border-radius: 4px; text-decoration: none; margin-top: 8px; }

/* 3-COLUMN CATEGORY GRID */
.cat-row-3col { margin-top: 25px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-block { background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 14px; }
.cat-featured { margin-bottom: 12px; }
.cat-featured-img { width: 100%; height: 160px; object-fit: cover; border-radius: 4px; margin-bottom: 8px; }
.cat-featured-title { font-size: 14px; font-weight: 800; line-height: 1.35; }
.cat-featured-title a { color: #0f172a; text-decoration: none; }

.cat-list { list-style: none; border-top: 1px solid #f1f5f9; padding-top: 8px; margin: 0; }
.cat-list-item { display: flex; gap: 10px; align-items: center; padding: 6px 0; }
.cat-list-item:not(:last-child) { border-bottom: 1px solid #f8fafc; }
.cat-list-thumb { width: 45px; height: 35px; border-radius: 3px; object-fit: cover; flex-shrink: 0; }
.cat-list-title { font-size: 12px; font-weight: 700; line-height: 1.3; }
.cat-list-title a { color: #334155; text-decoration: none; }

/* 4-COLUMN CATEGORY GRID */
.cat-row-4col { margin-top: 25px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* BOTTOM SECTION */
.bottom-section { margin-top: 25px; margin-bottom: 35px; }
.epaper-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 6px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; text-align: center; }
.epaper-img { width: 100%; height: 100px; object-fit: cover; border-radius: 4px; margin-bottom: 10px; }
.epaper-btn { display: block; background: #d32f2f; color: #fff; font-weight: 800; font-size: 12px; padding: 8px 0; border-radius: 4px; text-decoration: none; margin-top: 8px; }

/* FOOTER */
.site-footer { background: #0f172a; color: #94a3b8; padding: 35px 0 0 0; font-size: 13px; margin-top: 35px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; padding-bottom: 25px; }
.footer-brand { font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 10px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #cbd5e1; text-decoration: none; }
.footer-bottom { background: #070a12; padding: 15px 0; border-top: 1px solid #1e293b; text-align: center; font-size: 12px; color: #64748b; }
