:root {
    --primary: #ffffff;
    --primary-dark: #f8f9fa;
    --accent: #e74c3c;
    --accent-hover: #c0392b;
    --accent2: #f0a500;
    --bg-body: #f0f2f5;
    --bg-card: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a5a;
    --text-muted: #9a9aab;
    --border-color: #e8ecf1;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.10);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font: 'Tajawal', 'Cairo', sans-serif;
    --gradient-accent: linear-gradient(135deg, #e74c3c, #d63031);
}

* { scrollbar-width: thin; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #eef0f3; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

body {
    font-family: var(--font);
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.7;
    direction: rtl;
}
a { color: var(--accent); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

/* ===== TOP BAR ===== */
.top-bar { background: #0f0f1a; padding: 0.3rem 0; font-size: 0.75rem; }
.top-bar .today-date { color: rgba(255,255,255,0.3); }
.breaking-news-label { background: var(--accent); color: #fff; padding: 0.1rem 0.5rem; border-radius: 3px; font-weight: 700; font-size: 0.65rem; display: inline-flex; align-items: center; gap: 0.3rem; }
.breaking-news-label i { font-size: 0.55rem; }
.breaking-news-text { color: rgba(255,255,255,0.4); overflow: hidden; white-space: nowrap; max-width: 200px; }
.news-ticker { overflow: hidden; flex:1; min-width:0; position:relative; height:1.4rem; }
.ticker-track { display:flex; gap:2rem; animation:ticker-scroll 25s linear infinite; white-space:nowrap; width:max-content; }
.ticker-track:hover { animation-play-state:paused; }
.ticker-item { color:rgba(255,255,255,0.5); text-decoration:none; font-size:0.75rem; transition:color 0.2s; }
.ticker-item:hover { color:#fff; }
@keyframes ticker-scroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.alert-bar-full { width:100%; padding:0.6rem 0; border-bottom:1px solid rgba(0,0,0,0.08); animation:alert-glow 3s ease-in-out infinite; }
.alert-bar-full.alert-urgent { background:linear-gradient(135deg,#c0392b,#e74c3c); }
.alert-bar-full.alert-important { background:linear-gradient(135deg,#d35400,#e67e22); }
.alert-bar-link { display:flex; align-items:center; gap:1rem; text-decoration:none; color:#fff; }
.alert-bar-badge { font-weight:900; font-size:0.8rem; padding:0.25rem 0.7rem; border-radius:4px; background:rgba(255,255,255,0.2); color:#fff; white-space:nowrap; flex-shrink:0; }
.alert-bar-title { font-weight:700; font-size:1.15rem; line-height:1.4; }
.alert-bar-link:hover .alert-bar-title { text-decoration:underline; }
@keyframes alert-glow { 0%,100%{box-shadow:inset 0 0 0 0 rgba(255,255,255,0)} 50%{box-shadow:inset 0 0 30px 0 rgba(255,255,255,0.08)} }
.alert-bar-dismiss { color:rgba(255,255,255,0.6); text-decoration:none; font-size:0.8rem; padding:0.2rem 0.4rem; border-radius:4px; transition:0.2s; flex-shrink:0; }
.alert-bar-dismiss:hover { color:#fff; background:rgba(255,255,255,0.15); }
.top-social { color: rgba(255,255,255,0.3); font-size: 0.8rem; transition: 0.3s; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.top-social:hover { color: var(--accent); background: rgba(231,76,60,0.15); }

/* ===== SITE HEADER ===== */
.site-header { background: var(--primary); padding: 0.7rem 0; border-bottom: 1px solid var(--border-color); position: relative; }
.site-header::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--gradient-accent); }
.site-logo img { height: 52px; width: auto; max-width: 180px; object-fit: contain; }
.header-search .form-control { background: #f5f6f8; border: 1px solid var(--border-color); border-radius: 8px; font-size: 0.8rem; min-width: 200px; padding: 0.4rem 0.9rem; }
.header-search .form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(231,76,60,0.08); background: #fff; }
.btn-accent { background: var(--gradient-accent); color: #fff !important; border: none; font-weight: 700; transition: 0.3s; }
.btn-accent:hover { box-shadow: 0 4px 15px rgba(231,76,60,0.3); transform: translateY(-1px); color: #fff; }

/* ===== NAVBAR ===== */
.main-navbar { background: var(--primary); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(10px); background: rgba(255,255,255,0.97); }
.main-navbar .navbar-toggler { border: 1px solid var(--border-color); padding: 0.35rem 0.5rem; border-radius: 8px; }
.main-navbar .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(231,76,60,0.15); }
.main-navbar .nav-link { color: var(--text-secondary) !important; font-weight: 600; font-size: 0.82rem; padding: 0.7rem 0.9rem !important; transition: 0.3s; position: relative; }
.main-navbar .nav-link::after { content: ''; position: absolute; bottom: 0; right: 50%; transform: translateX(50%); width: 0; height: 2px; background: var(--accent); transition: 0.3s; }
.main-navbar .nav-link:hover::after, .main-navbar .nav-link.active::after { width: 100%; }
.main-navbar .nav-link:hover, .main-navbar .nav-link.active { color: var(--accent) !important; }
.live-nav-link { color: var(--accent) !important; display: flex !important; align-items: center; gap: 0.3rem; }
.live-nav-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse-dot 1.5s infinite; display: inline-block; }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(1.3)} }

/* ===== HEADER BANNER ===== */
.header-banner { background: var(--bg-body); border-bottom: 1px solid var(--border-color); padding: 6px 0; }
.header-banner img { max-height: 80px; border-radius: var(--radius); }

/* ===== HERO ===== */
.hero-section { background: var(--primary); border-bottom: 1px solid var(--border-color); overflow: hidden; position: relative; }
.hero-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gradient-accent); z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.2rem; align-items: start; padding: 1.8rem 0; }

.hero-main-card { display: block; border-radius: var(--radius-xl); overflow: hidden; position: relative; box-shadow: var(--shadow-lg); transition: 0.5s; height: 100%; min-height: 400px; }
.hero-main-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-2px); }
.hero-main-img { width: 100%; height: 100%; min-height: 400px; background-size: cover; background-position: center; position: relative; display: flex; align-items: flex-end; transition: transform 0.8s; }
.hero-main-card:hover .hero-main-img { transform: scale(1.03); }
.hero-main-overlay { width: 100%; background: linear-gradient(transparent 5%, rgba(0,0,0,0.92) 65%); padding: 2.5rem 1.8rem 1.8rem; position: relative; z-index: 2; }
.hero-tags { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.7rem; flex-wrap: wrap; }
.hero-badge { display: inline-block; padding: 0.15rem 0.9rem; border-radius: 20px; font-size: 0.65rem; font-weight: 700; color: #fff; }
.hero-source, .hero-duration { color: rgba(255,255,255,0.5); font-size: 0.7rem; display: flex; align-items: center; gap: 0.25rem; }
.hero-main-overlay h2 { color: #fff; font-weight: 900; font-size: 1.3rem; line-height: 1.35; margin: 0; }
.hero-main-card:hover .hero-main-overlay h2 { color: var(--accent2); }
.hero-meta-row { display: flex; gap: 1rem; color: rgba(255,255,255,0.4); font-size: 0.75rem; margin-top: 0.4rem; }
.hero-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 3.5rem; color: rgba(255,255,255,0.85); text-shadow: 0 4px 30px rgba(0,0,0,0.5); z-index: 3; transition: 0.4s; opacity: 0.85; }
.hero-main-card:hover .hero-play-btn { opacity: 1; transform: translate(-50%,-50%) scale(1.1); filter: drop-shadow(0 0 20px rgba(231,76,60,0.3)); }
.hero-side-list { display: flex; flex-direction: column; gap: 0.7rem; }
.hero-side-item { background: var(--bg-card); border-radius: var(--radius); padding: 0.75rem; border: 1px solid var(--border-color); transition: 0.3s; display: flex; gap: 0.7rem; align-items: center; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.hero-side-item::before { content: ''; position: absolute; top: 0; right: 0; width: 3px; height: 100%; background: var(--accent); transform: scaleY(0); transition: transform 0.3s; transform-origin: top; }
.hero-side-item:hover::before { transform: scaleY(1); }
.hero-side-item:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.hero-side-num { font-size: 1.1rem; font-weight: 900; color: var(--border-color); min-width: 20px; flex-shrink: 0; }
.hero-side-item:nth-child(1) .hero-side-num { color: var(--accent); }
.hero-side-item:nth-child(2) .hero-side-num { color: var(--accent2); }
.hero-side-item:nth-child(3) .hero-side-num { color: #2ecc71; }
.hero-side-item:nth-child(4) .hero-side-num { color: #3498db; }
.hero-side-img { flex-shrink: 0; width: 75px; height: 50px; border-radius: 8px; overflow: hidden; position: relative; }
.hero-side-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-side-play { position: absolute; bottom: 2px; left: 2px; background: rgba(231,76,60,0.85); color: #fff; border-radius: 50%; width: 16px; height: 16px; font-size: 0.5rem; display: flex; align-items: center; justify-content: center; }
.hero-side-info { flex: 1; min-width: 0; }
.hero-side-cat { font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.hero-side-info h4 { margin: 0.1rem 0; color: var(--text-primary); font-weight: 700; font-size: 0.82rem; line-height: 1.3; }
.hero-side-info h4:hover { color: var(--accent); }
.hero-side-meta { color: var(--text-muted); font-size: 0.65rem; display: flex; gap: 0.4rem; margin-top: 0.1rem; flex-wrap: wrap; }

/* ===== ON-AIR BAR ===== */
.onair-bar { background: #0a0a15; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 0.5rem 0; position: sticky; top: 0; z-index: 1020; }
.onair-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.onair-left { display: flex; align-items: center; gap: 0.6rem; }
.onair-dot { width: 10px; height: 10px; background: #e74c3c; border-radius: 50%; display: inline-block; animation: onair-pulse 1.2s infinite; }
@keyframes onair-pulse { 0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(231,76,60,0.6)} 50%{opacity:0.6;box-shadow:0 0 0 6px rgba(231,76,60,0)} }
.onair-label { color: #e74c3c; font-weight: 800; font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; }
.onair-sep { color: rgba(255,255,255,0.15); }
.onair-program { color: rgba(255,255,255,0.8); font-size: 0.82rem; font-weight: 600; }
.onair-right { display: flex; align-items: center; gap: 1rem; }
.onair-watch { display: inline-flex; align-items: center; gap: 0.4rem; color: #e74c3c; font-weight: 700; font-size: 0.8rem; text-decoration: none; transition: 0.2s; }
.onair-watch:hover { color: #fff; }
.onair-date { color: rgba(255,255,255,0.4); font-size: 0.75rem; }
html.dark .onair-bar { background: #050510; }

/* ===== CHANNEL BUTTONS ===== */
.channel-btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.25rem 0.8rem; border-radius: 6px; font-size: 0.75rem; font-weight: 700; color: #fff; text-decoration: none; transition: 0.2s; }
.channel-btn.ch-yt { background: #ff0000; }
.channel-btn.ch-yt:hover { background: #cc0000; color: #fff; }
.channel-btn.ch-fb { background: #1877f2; }
.channel-btn.ch-fb:hover { background: #1464d0; color: #fff; }
.channel-btn i { font-size: 0.9rem; }

/* ===== LIVE TV ===== */
@keyframes scan-line { 0%,100%{opacity:0.3} 50%{opacity:1} }
.live-container { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; position: relative; z-index: 2; }

.live-brand { display: flex; align-items: center; gap: 1rem; }
.live-brand-icon { font-size: 2.2rem; color: var(--accent); animation: pulse-glow 2s infinite; }
@keyframes pulse-glow { 0%,100%{filter:drop-shadow(0 0 8px rgba(231,76,60,0.2))} 50%{filter:drop-shadow(0 0 20px rgba(231,76,60,0.4))} }
.live-badge { display: flex; align-items: center; gap: 0.4rem; background: var(--accent); color: #fff; font-weight: 800; font-size: 0.9rem; padding: 0.3rem 1rem; border-radius: 30px; }
.live-badge .dot { width: 8px; height: 8px; background: #fff; border-radius: 50%; animation: live-pulse 1.5s infinite; }
@keyframes live-pulse { 0%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(1.4)} 100%{opacity:1;transform:scale(1)} }
.live-info { flex: 1; min-width: 200px; }
.live-info h3 { color: #fff; font-weight: 900; margin: 0; font-size: 1.2rem; }
.live-info p { color: rgba(255,255,255,0.4); margin: 0; font-size: 0.8rem; }
.live-cta { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--gradient-accent); color: #fff; font-weight: 800; padding: 0.65rem 1.8rem; border-radius: 30px; font-size: 0.9rem; transition: 0.3s; box-shadow: 0 4px 20px rgba(231,76,60,0.25); }
.live-cta:hover { transform: scale(1.05); color: #fff; box-shadow: 0 6px 30px rgba(231,76,60,0.4); }

/* ===== LIVE SECTION MODERN ===== */
.live-section-modern { background: linear-gradient(135deg, #0f0f1a, #1a1a2e); padding: 2.5rem 0; margin-bottom: 1.5rem; position: relative; overflow: hidden; border-top: 3px solid var(--accent); border-bottom: 3px solid var(--accent); text-align: center; }
.live-section-modern .live-inner { max-width: 600px; margin: 0 auto; }
.live-section-modern .live-badge-lg { display: inline-flex; align-items: center; gap: 0.5rem; background: #e74c3c; color: #fff; padding: 0.3rem 1.2rem; border-radius: 30px; font-weight: 800; font-size: 0.85rem; margin-bottom: 1rem; }
.live-section-modern .live-badge-lg .dot { width: 10px; height: 10px; background: #fff; border-radius: 50%; animation: onair-pulse 1.2s infinite; }
.live-section-modern h2 { color: #fff; font-size: 1.5rem; font-weight: 800; margin-bottom: 0.3rem; }
.live-section-modern p { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-bottom: 1.2rem; }
.live-section-modern .live-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--accent); color: #fff; padding: 0.6rem 1.8rem; border-radius: 50px; font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: 0.3s; }
.live-section-modern .live-btn:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 6px 25px rgba(231,76,60,0.3); }
html.dark .live-section-modern { background: linear-gradient(135deg, #080812, #12121e); }

/* ===== SECTION HEADING ===== */
.section-heading { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.sh-title { display: flex; flex-direction: column; gap: 0.05rem; }
.sh-title h3 { font-weight: 900; margin: 0; font-size: 1.25rem; color: var(--text-primary); }
.sh-title h3 i { margin-left: 0.4rem; font-size: 1rem; }
.sh-sub { color: var(--text-muted); font-size: 0.75rem; }
.section-link { margin-right: auto; font-weight: 600; font-size: 0.78rem; color: var(--accent); display: flex; align-items: center; gap: 0.3rem; transition: 0.3s; flex-shrink: 0; }
.section-link:hover { gap: 0.6rem; }

/* ===== SECTION BLOCK ===== */
.section-block { padding: 2.5rem 0; }
.section-block.alt-bg { background: var(--bg-body); }
.section-block + .section-block { border-top: 1px solid var(--border-color); }

/* ===== COMMON CARD ELEMENTS ===== */
.play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0.8); font-size: 2.8rem; color: rgba(255,255,255,0.9); text-shadow: 0 2px 20px rgba(0,0,0,0.4); z-index: 3; opacity: 0; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.card-hover:hover .play-icon { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.badge-source { position: absolute; top: 8px; right: 8px; padding: 0.12rem 0.55rem; border-radius: 4px; font-size: 0.6rem; font-weight: 700; color: #fff; z-index: 3; line-height: 1.4; }
.badge-source.yt { background: #ff0000; }
.badge-source.fb { background: #1877f2; }

/* ===== CARD BASE ===== */
.card-base { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); box-shadow: var(--shadow-sm); }
.card-base:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; padding-bottom: 60%; overflow: hidden; }
.card-media img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.card-base:hover .card-media img { transform: scale(1.08); }
.card-duration { position: absolute; bottom: 8px; left: 8px; background: rgba(0,0,0,0.8); color: #fff; font-size: 0.65rem; font-weight: 700; padding: 0.1rem 0.5rem; border-radius: 4px; z-index: 3; }
.card-body { padding: 1.1rem; }
.card-body h5 { margin: 0 0 0.3rem; }
.card-body h5 a { color: var(--text-primary); font-weight: 700; font-size: 0.9rem; line-height: 1.4; display: block; }
.card-body h5 a:hover { color: var(--accent); }
.card-meta { display: flex; gap: 0.8rem; color: var(--text-muted); font-size: 0.75rem; }
.card-meta i { margin-left: 0.25rem; }
.card-body small { color: var(--text-muted); font-size: 0.75rem; }
.card-media .card-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 2.8rem; color: rgba(231,76,60,0.85); cursor: pointer; transition: 0.3s; text-shadow: 0 2px 20px rgba(0,0,0,0.6); z-index: 3; opacity: 0; }
.card-base:hover .card-media .card-play { opacity: 1; }

/* ===== TIMELINE (تغطيات) ===== */
.tl-carousel-wrap { position: relative; }
.tl-carousel { display: flex; gap: 1rem; overflow: hidden; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
.tl-card { flex: 0 0 calc(25% - 0.75rem); min-width: 200px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); box-shadow: var(--shadow-sm); }
.tl-card:hover { border-color: #3498db; transform: translateY(-6px); box-shadow: 0 12px 40px rgba(52,152,219,0.12); }
.tl-card .tl-media { position: relative; padding-bottom: 60%; overflow: hidden; }
.tl-card .tl-media img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.tl-card:hover .tl-media img { transform: scale(1.08); }
.tl-card .tl-body { padding: 0.9rem; }
.tl-card .tl-body .tl-date { font-size: 0.7rem; color: #3498db; display: block; margin-bottom: 0.25rem; }
.tl-card .tl-body h5 { margin: 0; font-weight: 700; font-size: 0.85rem; color: var(--text-primary); line-height: 1.4; }
.tl-card:hover .tl-body h5 { color: #3498db; }
.tl-card .play-icon { color: #3498db; }

.tl-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-primary); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 5; box-shadow: var(--shadow-md); transition: 0.3s; opacity: 0; }
.tl-carousel-wrap:hover .tl-nav { opacity: 1; }
.tl-nav:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.tl-prev { right: -18px; }
.tl-next { left: -18px; }

@media (max-width: 991px) { .tl-card { flex: 0 0 calc(50% - 0.5rem); } .tl-prev { right: -8px; } .tl-next { left: -8px; } }
@media (max-width: 575px) { .tl-card { flex: 0 0 85%; } .tl-prev, .tl-next { display: none; } }

/* ===== COOKING SPLIT ===== */
.cooking-split .feature-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; transition: 0.4s; height: 100%; box-shadow: var(--shadow-sm); display: block; }
.cooking-split .feature-card:hover { border-color: #e67e22; transform: translateY(-6px); box-shadow: 0 12px 40px rgba(230,126,34,0.12); }
.cooking-split .feature-card .fc-media { position: relative; padding-bottom: 60%; overflow: hidden; }
.cooking-split .feature-card .fc-media img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.cooking-split .feature-card:hover .fc-media img { transform: scale(1.06); }
.cooking-split .feature-card .fc-body { padding: 1.2rem; }
.cooking-split .feature-card .fc-body h4 { color: var(--text-primary); font-weight: 800; font-size: 1rem; margin: 0 0 0.3rem; }
.cooking-split .feature-card:hover .fc-body h4 { color: #e67e22; }
.cooking-split .feature-card .play-icon { color: #e67e22; font-size: 3rem; }

.cooking-split .side-grid { display: flex; flex-direction: column; gap: 0.7rem; height: 100%; }
.cooking-split .mini-card { display: flex; gap: 0.7rem; align-items: center; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 0.65rem; transition: 0.3s; }
.cooking-split .mini-card:hover { border-color: #e67e22; background: #fffdfa; box-shadow: var(--shadow-sm); }
.cooking-split .mini-card .mc-img { flex-shrink: 0; width: 75px; height: 55px; border-radius: 8px; overflow: hidden; position: relative; }
.cooking-split .mini-card .mc-img img { width: 100%; height: 100%; object-fit: cover; }
.cooking-split .mini-card .mc-play,
.cooking-split .mini-card .mini-play { position: absolute; bottom: 2px; left: 2px; background: rgba(230,126,34,0.85); color: #fff; border-radius: 50%; width: 16px; height: 16px; font-size: 0.5rem; display: flex; align-items: center; justify-content: center; }
.cooking-split .mini-card .mc-body { flex: 1; min-width: 0; }
.cooking-split .mini-card .mc-body h6 { color: var(--text-primary); font-weight: 700; font-size: 0.8rem; margin: 0 0 0.1rem; line-height: 1.3; }
.cooking-split .mini-card .mc-body h6:hover { color: #e67e22; }
.cooking-split .mini-card .mc-body small { color: var(--text-muted); font-size: 0.68rem; }
.cooking-split .mini-card .badge-source { font-size: 0.55rem; padding: 0.1rem 0.4rem; top: 4px; right: 4px; }

/* ===== SPORTS ===== */
.sport-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.sport-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; transition: 0.4s; box-shadow: var(--shadow-sm); }
.sport-card:hover { border-color: #2ecc71; transform: translateY(-6px); box-shadow: 0 12px 40px rgba(46,204,113,0.10); }
.sport-card .sp-media { position: relative; padding-bottom: 62%; overflow: hidden; }
.sport-card .sp-media img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.sport-card:hover .sp-media img { transform: scale(1.08); }
.sport-card .sp-duration { position: absolute; bottom: 8px; left: 8px; background: rgba(0,0,0,0.8); color: #fff; font-size: 0.65rem; font-weight: 700; padding: 0.1rem 0.5rem; border-radius: 4px; z-index: 3; }
.sport-card .sp-body { padding: 0.9rem; }
.sport-card .sp-body h5 { margin: 0 0 0.3rem; font-weight: 700; font-size: 0.85rem; color: var(--text-primary); line-height: 1.4; }
.sport-card:hover .sp-body h5 { color: #2ecc71; }
.sport-card .sp-body .sp-meta { display: flex; gap: 0.7rem; font-size: 0.7rem; color: var(--text-muted); }
.sport-card .play-icon { color: #2ecc71; }

/* ===== ECONOMY SCROLL ===== */
.eco-scroll { overflow: hidden; position: relative; }
.eco-scroll::after { content: ''; position: absolute; top: 0; left: 0; width: 40px; height: 100%; background: linear-gradient(90deg, var(--bg-card), transparent); z-index: 2; pointer-events: none; }
.eco-track { display: flex; gap: 1rem; overflow-x: auto; padding: 0.5rem 0 0.8rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.eco-track::-webkit-scrollbar { height: 3px; }
.eco-card { flex: 0 0 270px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; transition: 0.4s; box-shadow: var(--shadow-sm); scroll-snap-align: start; position: relative; }
.eco-card:hover { border-color: #9b59b6; transform: translateY(-6px); box-shadow: 0 12px 40px rgba(155,89,182,0.10); }
.eco-card .eco-img { position: relative; padding-bottom: 58%; overflow: hidden; }
.eco-card .eco-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.eco-card:hover .eco-img img { transform: scale(1.06); }
.eco-card .eco-body { padding: 0.9rem; }
.eco-card .eco-body h5 { margin: 0 0 0.3rem; font-weight: 700; font-size: 0.85rem; color: var(--text-primary); line-height: 1.4; }
.eco-card:hover .eco-body h5 { color: #9b59b6; }
.eco-card .eco-body .eco-meta { display: flex; gap: 0.7rem; font-size: 0.7rem; color: var(--text-muted); }
.eco-card .play-icon { color: #9b59b6; }
.eco-card-num { position: absolute; top: 10px; left: 10px; background: rgba(155,89,182,0.9); color: #fff; font-size: 0.7rem; font-weight: 900; padding: 0.12rem 0.55rem; border-radius: 4px; z-index: 3; }

/* ===== LIVE PROGRAMS ===== */
.live-prog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.live-prog-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; transition: 0.4s; box-shadow: var(--shadow-sm); position: relative; }
.live-prog-card:hover { border-color: #1abc9c; transform: translateY(-6px); box-shadow: 0 12px 40px rgba(26,188,156,0.10); }
.live-prog-card .lp-media { position: relative; padding-bottom: 60%; overflow: hidden; }
.live-prog-card .lp-media img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.live-prog-card:hover .lp-media img { transform: scale(1.08); }
.live-prog-card .lp-live-tag { position: absolute; top: 8px; left: 8px; display: flex; align-items: center; gap: 0.3rem; background: #1abc9c; color: #fff; font-size: 0.58rem; font-weight: 700; padding: 0.12rem 0.5rem; border-radius: 4px; z-index: 3; }
.live-prog-card .lp-dot { width: 5px; height: 5px; background: #fff; border-radius: 50%; animation: lp-pulse 1.5s infinite; }
@keyframes lp-pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.live-prog-card .lp-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0.8); font-size: 3rem; color: rgba(26,188,156,0.85); z-index: 3; opacity: 0; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); text-shadow: 0 2px 20px rgba(0,0,0,0.3); filter: drop-shadow(0 0 15px rgba(26,188,156,0.3)); }
.live-prog-card:hover .lp-play-btn { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.live-prog-card .lp-body { padding: 0.9rem; }
.live-prog-card .lp-body h5 { margin: 0 0 0.25rem; font-weight: 700; font-size: 0.85rem; color: var(--text-primary); line-height: 1.4; }
.live-prog-card:hover .lp-body h5 { color: #1abc9c; }
.live-prog-card .lp-body small { color: var(--text-muted); font-size: 0.7rem; }

/* ===== ADS SCROLL ===== */
.ads-scroll { overflow: hidden; position: relative; }
.ads-track { display: flex; gap: 1rem; overflow-x: auto; padding: 0.5rem 0 0.8rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.ads-track::-webkit-scrollbar { height: 3px; }
.ad-card-h { flex: 0 0 230px; background: linear-gradient(145deg, #fff, #fefefe); border: 2px solid var(--border-color); border-radius: var(--radius); overflow: hidden; transition: 0.3s; box-shadow: var(--shadow-sm); scroll-snap-align: start; }
.ad-card-h:hover { border-color: #f39c12; transform: translateY(-4px); box-shadow: 0 12px 35px rgba(243,156,18,0.10); }
.ad-card-h .ad-h-img { position: relative; padding-bottom: 62%; overflow: hidden; }
.ad-card-h .ad-h-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.ad-card-h:hover .ad-h-img img { transform: scale(1.05); }
.ad-card-h .ad-h-body { padding: 0.7rem; text-align: center; }
.ad-card-h .ad-h-body h6 { margin: 0 0 0.15rem; font-weight: 700; font-size: 0.8rem; color: var(--text-primary); }
.ad-card-h:hover .ad-h-body h6 { color: #f39c12; }
.ad-card-h .ad-h-body small { color: var(--text-muted); font-size: 0.68rem; }

/* ===== SIDEBAR ===== */
.sidebar-sticky { position: sticky; top: 70px; }
.sidebar-widget { background: var(--bg-card); border-radius: var(--radius-lg); padding: 1.2rem; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.widget-title { font-size: 0.85rem; font-weight: 900; color: var(--text-primary); margin-bottom: 0.8rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--accent); display: flex; align-items: center; gap: 0.4rem; }
.pop-item { display: flex; align-items: center; gap: 0.7rem; padding: 0.5rem 0; border-bottom: 1px solid var(--border-color); transition: 0.3s; }
.pop-item:last-child { border-bottom: none; }
.pop-item:hover { padding-right: 0.4rem; }
.pop-rank { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--bg-body); font-weight: 900; font-size: 0.65rem; color: var(--text-muted); flex-shrink: 0; }
.pop-rank.hot { background: var(--accent); color: #fff; }
.pop-info { flex: 1; min-width: 0; }
.pop-info h6 { margin: 0; font-size: 0.78rem; font-weight: 700; color: var(--text-primary); line-height: 1.3; }
.pop-meta { color: var(--text-muted); font-size: 0.65rem; display: flex; gap: 0.5rem; margin-top: 0.1rem; }
.sidebar-link { display: flex; align-items: center; justify-content: space-between; padding: 0.35rem 0.5rem; border-radius: 8px; transition: 0.3s; color: var(--text-secondary); font-size: 0.82rem; }
.sidebar-link:hover { background: rgba(231,76,60,0.05); color: var(--accent); padding-right: 0.8rem; }
.sidebar-link .badge { background: var(--accent); font-size: 0.6rem; font-weight: 700; border-radius: 20px; }

/* ===== CHANNEL FOLLOW SIDEBAR ===== */
.channel-follow-grid { display: flex; flex-direction: column; gap: 0.5rem; }
.channel-follow-card { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 1rem; border-radius: 10px; text-decoration: none; color: #fff; transition: 0.2s; position: relative; overflow: hidden; }
.channel-follow-card:hover { color: #fff; transform: translateX(-4px); }
.channel-follow-card i { font-size: 1.4rem; }
.ch-follow-label { flex: 1; font-weight: 700; font-size: 0.8rem; }
.ch-follow-btn { font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.8rem; border-radius: 20px; background: rgba(255,255,255,0.2); }
.ch-yt-card { background: #ff0000; }
.ch-fb-card { background: #1877f2; }
.ch-live-card { background: linear-gradient(135deg, #e74c3c, #c0392b); }

/* ===== DARK MODE ===== */
html.dark body { background: #0a0a12; color: #f0f0f5; }
html.dark .card-base, html.dark .sport-card, html.dark .eco-card, html.dark .live-prog-card, html.dark .ad-card-h, html.dark .tl-card, html.dark .feature-card, html.dark .mini-card, html.dark .hero-side-item, html.dark .sidebar-widget { background: #161622; border-color: #1e1e32; }
html.dark .hero-section, html.dark .site-header, html.dark .main-navbar { background: #0f0f1a; }
html.dark .main-navbar { background: rgba(15,15,26,0.97); }
html.dark .header-search .form-control { background: #1a1a2e; border-color: #1e1e32; color: #f0f0f5; }
html.dark .header-search .form-control:focus { background: #1e1e32; }
html.dark .section-block.alt-bg { background: #0d0d18; }
html.dark .section-block + .section-block { border-color: #1a1a2e; }
html.dark .pop-item { border-color: #1e1e32; }
html.dark .cooking-split .mini-card:hover { background: #1a1a28; }

/* ===== VIDEO MODAL ===== */
.v-modal { display: none; position: fixed; inset: 0; z-index: 99999; background: rgba(0,0,0,0.92); align-items: center; justify-content: center; padding: 2rem; }
.v-modal.active { display: flex; }
.v-modal-box { position: relative; width: 100%; max-width: 900px; background: #000; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.8); }
.v-modal-close { position: absolute; top: 12px; right: 12px; z-index: 10; width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(0,0,0,0.6); color: #fff; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.v-modal-close:hover { background: #e74c3c; }
.v-modal-ratio { position: relative; padding-bottom: 56.25%; height: 0; }
.v-modal-ratio iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.v-modal-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.4); font-size: 0.9rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
    .sport-grid, .live-prog-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
    .hero-grid { grid-template-columns: 1fr; gap: 1rem; }
    .hero-main-card, .hero-main-img { min-height: 250px; }
    .hero-main-overlay { padding: 1.5rem 1rem 1rem; }
    .hero-main-overlay h2 { font-size: 1rem; }
    .hero-play-btn { font-size: 2.5rem; }
    .sport-grid, .live-prog-grid { grid-template-columns: repeat(2, 1fr); }
    .eco-card { flex: 0 0 230px; }
    .ad-card-h { flex: 0 0 190px; }
    .section-heading { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
    .section-link { margin-right: 0; }
    .section-block { padding: 1.5rem 0; }
    .onair-program { display: none; }
    .onair-date { display: none; }
}
@media (max-width: 575px) {
    .sport-grid, .live-prog-grid { grid-template-columns: 1fr; }
    .tl-grid, .cook-grid { grid-template-columns: 1fr; }
}

/* ===== ARTICLE PAGE ===== */
.article-main { background: var(--bg-card); border-radius: var(--radius-lg); padding: 1.5rem; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.article-title { font-weight: 900; font-size: 1.4rem; color: var(--text-primary); line-height: 1.35; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.8rem; color: var(--text-muted); font-size: 0.8rem; margin-bottom: 1.2rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--border-color); }
.article-meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.article-meta a { color: var(--accent); }
.article-content { line-height: 1.9; font-size: 1.05rem; color: var(--text-primary); }
.article-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 1rem 0; }
.article-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag-link { display: inline-flex; align-items: center; gap: 0.3rem; background: var(--bg-body); color: var(--text-secondary); padding: 0.25rem 0.8rem; border-radius: 20px; font-size: 0.75rem; font-weight: 600; border: 1px solid var(--border-color); transition: 0.3s; }
.tag-link:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.article-share { padding-top: 1rem; border-top: 1px solid var(--border-color); }
.share-label { color: var(--text-muted); font-size: 0.8rem; }
.share-btn { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; transition: 0.3s; border: none; cursor: pointer; }
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.telegram { background: #0088cc; }
.share-btn.email { background: #6c757d; }
.share-btn.copy { background: var(--accent); }
.share-btn:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); color: #fff; }
.article-nav { padding-top: 1rem; border-top: 1px solid var(--border-color); }
.article-nav-link { display: flex; align-items: center; gap: 0.8rem; padding: 0.8rem 1rem; background: var(--bg-body); border-radius: var(--radius); border: 1px solid var(--border-color); transition: 0.3s; flex: 1; color: var(--text-primary); }
.article-nav-link:hover { border-color: var(--accent); color: var(--accent); }
.article-nav-link .nav-arrow { font-size: 1.2rem; flex-shrink: 0; }
.article-nav-link .nav-text { display: flex; flex-direction: column; }
.article-nav-link .nav-text small { font-size: 0.7rem; color: var(--text-muted); }
.article-nav-link .nav-text span { font-weight: 700; font-size: 0.85rem; line-height: 1.3; }
.article-nav-link.prev { text-align: right; }
.article-nav-link.next { text-align: left; }
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius); background: #000; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.eco-item { display: flex; gap: 0.7rem; align-items: center; padding: 0.5rem; border-radius: var(--radius); transition: 0.3s; border: 1px solid transparent; }
.eco-item:hover { background: var(--bg-body); border-color: var(--border-color); }
.eco-thumb { flex-shrink: 0; width: 100px; height: 65px; border-radius: 8px; overflow: hidden; }
.eco-thumb img { width: 100%; height: 100%; object-fit: cover; }
.eco-info { flex: 1; min-width: 0; }
.eco-info h5 { margin: 0; font-size: 0.82rem; font-weight: 700; color: var(--text-primary); line-height: 1.3; }
.eco-info .eco-meta { font-size: 0.68rem; color: var(--text-muted); }
.page-hero-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }

/* ===== BANNER ===== */
.banner-wrapper { text-align: center; }
.banner-wrapper img { max-width: 100%; height: auto; border-radius: 6px; display: inline-block; vertical-align: middle; }
.banner-wrapper a { display: inline-block; }
.banner-horizontal img { width: 100%; height: auto; display: block; }
.banner-vertical img { max-height: 350px; width: auto; }
.below-header-banner { padding: 6px 0; background: var(--bg-body); border-bottom: 1px solid var(--border-color); text-align: center; }
.footer-banner { padding: 12px 0; text-align: center; background: var(--bg-body); border-top: 1px solid var(--border-color); }
.footer-banner img { max-height: 100px; width: auto; }

/* Banner Popup */
.banner-popup-overlay { display: none; position: fixed; inset: 0; z-index: 99998; background: rgba(0,0,0,0.7); align-items: center; justify-content: center; padding: 1rem; }
.banner-popup-overlay.show { display: flex; }
.banner-popup-box { position: relative; background: var(--bg-card); border-radius: var(--radius-lg); padding: 1.5rem; max-width: 600px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,0.3); animation: popupIn 0.3s ease; }
@keyframes popupIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.banner-popup-close { position: absolute; top: 8px; left: 8px; width: 30px; height: 30px; border-radius: 50%; border: none; background: var(--accent); color: #fff; font-size: 0.8rem; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; }

/* Banner Floating */
.banner-floating-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; background: var(--bg-card); border-top: 2px solid var(--accent); padding: 8px 0; box-shadow: 0 -4px 20px rgba(0,0,0,0.1); }
.banner-floating-bar.show { display: block; }
.banner-floating-bar .container { position: relative; }
.banner-floating-close { position: absolute; top: -14px; left: 0; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--accent); background: var(--bg-card); color: var(--accent); font-size: 0.7rem; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; }
html.dark .banner-popup-box { background: #161622; }
html.dark .banner-floating-bar { background: #161622; border-color: var(--accent); }

/* ===== DARK TOGGLE ===== */
.dark-toggle { position: fixed; bottom: 20px; right: 20px; z-index: 999; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 15px rgba(231,76,60,0.3); transition: 0.3s; font-size: 1.2rem; }
.dark-toggle:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(231,76,60,0.4); }

/* ===== FOOTER ===== */
.site-footer { background: #0f0f1a; color: rgba(255,255,255,0.8); border-top: 3px solid var(--accent); }
.site-footer h5, .site-footer h6 { color: #fff; font-weight: 800; margin-bottom: 1rem; font-size: 1rem; }
.site-footer .text-muted { color: rgba(255,255,255,0.5) !important; }
.footer-link { color: rgba(255,255,255,0.5); font-size: 0.82rem; display: block; padding: 0.2rem 0; transition: 0.3s; }
.footer-link:hover { color: var(--accent); padding-right: 0.3rem; }
.footer-link i { font-size: 0.6rem; margin-left: 0.3rem; }
.social-icons { display: flex; gap: 0.5rem; }
.social-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-size: 1rem; transition: 0.3s; }
.social-icon:hover { background: var(--accent); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); color: rgba(255,255,255,0.3); font-size: 0.8rem; }
html.dark .site-footer { background: #050510; }

/* ===== UTILITY / MISC ===== */
.text-accent { color: var(--accent) !important; }
.section-info { background: var(--bg-card); border-radius: var(--radius-lg); border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.search-form-lg .form-control { border-radius: 8px; padding: 0.6rem 1rem; }
.search-form-lg .btn { border-radius: 8px; }
html.dark .section-info { background: #161622; }

/* ===== MISSING CLASSES (hero-vid-*, vid-*, etc.) ===== */

/* Hero video wrap */
.hero-vid-wrap { border-radius: 20px; overflow: hidden; position: relative; box-shadow: var(--shadow-lg); transition: 0.5s; }
.hero-vid-wrap:hover { box-shadow: var(--shadow-xl); transform: translateY(-2px); }
.hero-vid-bg { display: block; width: 100%; min-height: 420px; background-size: cover; background-position: center; position: relative; transition: transform 0.8s; }
.hero-vid-wrap:hover .hero-vid-bg { transform: scale(1.03); }
.hero-vid-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 4rem; color: rgba(255,255,255,0.85); text-shadow: 0 4px 30px rgba(0,0,0,0.5); z-index: 3; transition: 0.4s; opacity: 0.85; }
.hero-vid-wrap:hover .hero-vid-play { opacity: 1; transform: translate(-50%,-50%) scale(1.1); filter: drop-shadow(0 0 20px rgba(231,76,60,0.3)); }
.hero-vid-info { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent 5%, rgba(0,0,0,0.92) 65%); padding: 2.5rem 1.8rem 1.8rem; z-index: 2; }
.hero-vid-info h2 { color: #fff; font-weight: 900; font-size: 1.3rem; line-height: 1.35; margin: 0.5rem 0 0.3rem; }
.hero-vid-badges { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.hero-vid-badges span { display: inline-block; padding: 0.15rem 0.9rem; border-radius: 20px; font-size: 0.65rem; font-weight: 700; color: #fff; }
.badge-yt { background: #ff0000; color: #fff; display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.15rem 0.6rem; border-radius: 4px; font-size: 0.6rem; font-weight: 700; }
.badge-fb { background: #1877f2; color: #fff; display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.15rem 0.6rem; border-radius: 4px; font-size: 0.6rem; font-weight: 700; }
.badge-dur { background: rgba(0,0,0,0.75); color: #fff; font-size: 0.65rem; font-weight: 700; padding: 0.1rem 0.5rem; border-radius: 4px; }
.hero-vid-meta { display: flex; gap: 1rem; color: rgba(255,255,255,0.4); font-size: 0.75rem; margin-top: 0.3rem; }
.hero-vid-controls { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,0.15); z-index: 2; }
.hero-vid-progress { height: 100%; width: 30%; background: var(--accent); border-radius: 0 2px 2px 0; }
.hero-side-play-fixed { position: absolute; bottom: 2px; left: 2px; background: rgba(231,76,60,0.85); color: #fff; border-radius: 50%; width: 16px; height: 16px; font-size: 0.5rem; display: flex; align-items: center; justify-content: center; }

/* vid-grid and card classes */
.vid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.vid-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; transition: 0.4s; box-shadow: var(--shadow-sm); }
.vid-card:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: 0 12px 40px rgba(231,76,60,0.10); }
.vid-card .vid-thumb { position: relative; padding-bottom: 60%; overflow: hidden; }
.vid-card .vid-thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.vid-card:hover .vid-thumb img { transform: scale(1.08); }
.vid-thumb .vid-play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0.8); font-size: 2.8rem; color: rgba(255,255,255,0.9); text-shadow: 0 2px 20px rgba(0,0,0,0.4); z-index: 3; opacity: 0; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.vid-card:hover .vid-play-icon { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.vid-thumb .vid-source { position: absolute; top: 8px; right: 8px; padding: 0.12rem 0.55rem; border-radius: 4px; font-size: 0.6rem; font-weight: 700; color: #fff; z-index: 3; line-height: 1.4; display: inline-flex; align-items: center; gap: 0.25rem; }
.vid-thumb .vid-source.yt { background: #ff0000; }
.vid-thumb .vid-source.fb { background: #1877f2; }
.vid-thumb .vid-duration { position: absolute; bottom: 8px; left: 8px; background: rgba(0,0,0,0.8); color: #fff; font-size: 0.65rem; font-weight: 700; padding: 0.1rem 0.5rem; border-radius: 4px; z-index: 3; }
.vid-card .vid-body { padding: 0.9rem; }
.vid-card .vid-body h5 { margin: 0 0 0.3rem; font-weight: 700; font-size: 0.85rem; color: var(--text-primary); line-height: 1.4; }
.vid-card:hover .vid-body h5 { color: var(--accent); }
.vid-card .vid-body .vid-meta { display: flex; gap: 0.7rem; font-size: 0.7rem; color: var(--text-muted); }

/* vid-scroll for economy/ads */
.vid-scroll { overflow: hidden; position: relative; }
.vid-track { display: flex; gap: 1rem; overflow-x: auto; padding: 0.5rem 0 0.8rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.vid-track::-webkit-scrollbar { height: 3px; }
.vid-track .vid-card { flex: 0 0 270px; scroll-snap-align: start; }

/* fc-img (cooking feature image) */
.cooking-split .feature-card .fc-img { position: relative; padding-bottom: 60%; overflow: hidden; }
.cooking-split .feature-card .fc-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.cooking-split .feature-card:hover .fc-img img { transform: scale(1.06); }
.cooking-split .feature-card .fc-img .vid-play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 2.8rem; color: rgba(255,255,255,0.9); text-shadow: 0 2px 20px rgba(0,0,0,0.4); z-index: 3; }
.cooking-split .feature-card .fc-img .vid-source { position: absolute; top: 8px; right: 8px; padding: 0.12rem 0.55rem; border-radius: 4px; font-size: 0.6rem; font-weight: 700; color: #fff; z-index: 3; }
.cooking-split .feature-card .fc-img .vid-duration { position: absolute; bottom: 8px; left: 8px; background: rgba(0,0,0,0.8); color: #fff; font-size: 0.65rem; font-weight: 700; padding: 0.1rem 0.5rem; border-radius: 4px; z-index: 3; }

/* Responsive */
@media (max-width: 1199px) {
    .vid-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
    .vid-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-vid-bg { min-height: 280px; }
    .hero-vid-info { padding: 1.5rem 1rem 1rem; }
    .hero-vid-info h2 { font-size: 1rem; }
    .hero-vid-play { font-size: 2.5rem; }
    .vid-track .vid-card { flex: 0 0 230px; }
}
@media (max-width: 575px) {
    .vid-grid { grid-template-columns: 1fr; }
}

/* ---- Unified Pagination ---- */
.pagination-unified .page-link,
.pagination-unified .page-item .page-link {
    color: var(--text-primary) !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.25s;
    border-radius: 0;
    box-shadow: none;
}
.pagination-unified .page-link:hover,
.pagination-unified .page-item:hover .page-link,
.pagination-unified .page-link:focus,
.pagination-unified .page-item:focus .page-link {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
    z-index: 2;
    box-shadow: 0 0 0 3px rgba(231,76,60,0.25) !important;
    outline: none;
}
.pagination-unified .page-item.active .page-link {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(231,76,60,0.25);
}
.pagination-unified .page-item.disabled .page-link,
.pagination-unified .page-item.disabled:hover .page-link {
    background: var(--bg-body) !important;
    border-color: var(--border-color) !important;
    color: var(--text-muted) !important;
    opacity: 0.6;
    pointer-events: none;
}
.pagination-unified .page-item:first-child .page-link {
    border-radius: 8px 0 0 8px;
}
.pagination-unified .page-item:last-child .page-link {
    border-radius: 0 8px 8px 0;
}
