/* ==========================================================================
   DAKWAH TV UINSA - ULTRA-PREMIUM VERCEL/APPLE AESTHETIC & MOBBIN SIDEBAR
   Designed for Executive Leadership Presentation & Mobile Perfection
   ========================================================================== */

:root {
  /* Apple/Vercel Dark Mode Palette */
  --bg-main: #06090e;
  --bg-surface: #0c1119;
  --bg-card: rgba(18, 24, 34, 0.76);
  --bg-card-hover: rgba(26, 36, 50, 0.94);
  --bg-nav: rgba(6, 9, 14, 0.92);
  
  /* Luxury Accents */
  --emerald-primary: #10b981;
  --emerald-light: #34d399;
  --teal-glow: rgba(16, 185, 129, 0.38);
  
  --gold-primary: #f59e0b;
  --gold-light: #fbbf24;
  --gold-accent: #fde047;
  --gold-glow: rgba(245, 158, 11, 0.4);

  --cyan-accent: #06b6d4;

  /* Text & Borders */
  --text-white: #ffffff;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-emerald: rgba(16, 185, 129, 0.45);
  --border-gold: rgba(245, 158, 11, 0.45);

  /* Radii & Timing */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-fast: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.88), 0 0 35px rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   DARK GLASS CUSTOM SCROLLBAR SYSTEM (Anti-White Scrollbar Override)
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 185, 129, 0.4) #04070c;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #04070c;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  border: 2px solid #04070c;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--emerald-primary);
  box-shadow: 0 0 10px var(--teal-glow);
}

::-webkit-scrollbar-corner {
  background: #04070c;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Ecosystem Logo Light Box (AMORA & SAVIRA Contrast Container) */
.ecosystem-logo-box {
  background: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.85);
  transition: var(--transition-fast);
}

.ecosystem-logo-box:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.35);
}

.ecosystem-logo-box img {
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* Glassmorphic Top Navbar (Dead-Centered Logo & Perfectly Aligned Far-Left ☰ Button) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-fast);
}

.navbar.scrolled {
  background: rgba(6, 9, 14, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-left {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.nav-brand img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 15px rgba(16, 185, 129, 0.45));
  transition: var(--transition-fast);
}

.nav-brand img:hover {
  transform: scale(1.05);
}

.nav-right {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: var(--emerald-light);
  font-weight: 700;
}

.mobile-toggle {
  display: none !important;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--emerald-light);
  font-size: 1.2rem;
  width: 42px;
  height: 42px;
  padding: 0;
  margin: 0;
  line-height: 1;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-toggle i {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1.2rem;
}

.mobile-toggle:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: var(--border-emerald);
  color: #ffffff;
  transform: scale(1.05);
}

/* ==========================================================================
   MOBBIN-INSPIRED SLIDE-OUT MOBILE SIDEBAR DRAWER
   ========================================================================== */

/* Backdrop Overlay */
.sidebar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 6, 8, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.sidebar-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Sidebar Drawer Container */
.mobile-sidebar-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #090e15;
  border-right: 1px solid var(--border-emerald);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 15px 0 50px rgba(0, 0, 0, 0.95), 0 0 35px rgba(16, 185, 129, 0.22);
  overflow-y: auto;
}

.mobile-sidebar-drawer.open {
  transform: translateX(0);
}

/* Sidebar Header Profile Card */
.sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid var(--border-glass);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.14) 0%, rgba(9, 14, 21, 1) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-brand img {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(16, 185, 129, 0.5));
}

.sidebar-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.sidebar-close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: rotate(90deg);
}

/* Sidebar Nav Menu Links */
.sidebar-menu {
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-body);
  font-size: 0.94rem;
  font-weight: 600;
  transition: var(--transition-fast);
  min-height: 48px;
}

.sidebar-nav-item i {
  font-size: 1.15rem;
  width: 24px;
  text-align: center;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.sidebar-nav-item:hover, .sidebar-nav-item.active {
  background: rgba(16, 185, 129, 0.14);
  color: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.sidebar-nav-item:hover i, .sidebar-nav-item.active i {
  color: var(--emerald-light);
  transform: scale(1.15);
}

/* Sidebar Quick Action Cards Footer */
.sidebar-quick-actions {
  padding: 18px 16px 24px 16px;
  border-top: 1px solid var(--border-glass);
  background: rgba(0, 0, 0, 0.45);
}

.sidebar-action-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.sidebar-app-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sidebar-app-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
  transition: var(--transition-fast);
}

.sidebar-app-btn:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--border-emerald);
}

.sidebar-app-btn img {
  height: 28px;
  width: auto;
  object-fit: contain;
  margin-bottom: 4px;
}

.sidebar-app-btn span {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
}

/* Dynamic Root Component Mounting */
#app-root {
  min-height: 80vh;
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  min-height: 46px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-primary) 0%, var(--emerald-light) 100%);
  color: #06090e;
  font-weight: 800;
  box-shadow: 0 4px 20px var(--teal-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.6);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 100%);
  color: #06090e;
  font-weight: 800;
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.6);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-white);
  border-color: var(--border-glass);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-emerald);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.84rem;
  min-height: 38px;
  border-radius: var(--radius-sm);
}

/* Sections Base */
.section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px auto;
}

.section-subtitle {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--emerald-light);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 14px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Hero Stage (Apple/Vercel Minimalist Centered) */
.hero-stage {
  min-height: 85vh;
  padding-top: 130px;
  padding-bottom: 80px;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(16, 185, 129, 0.16) 0%, rgba(6, 9, 14, 1) 70%);
}

@keyframes pulseSlow {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.5);
    border-color: rgba(52, 211, 153, 0.8);
  }
  50% {
    opacity: 0.65;
    box-shadow: 0 0 6px rgba(52, 211, 153, 0.2);
    border-color: rgba(52, 211, 153, 0.3);
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.5);
  border-radius: var(--radius-full);
  color: #6ee7b7;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 22px;
  animation: pulseSlow 3.2s infinite ease-in-out;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.05;
  margin-bottom: 12px;
  color: #ffffff;
}

.hero-slogan {
  font-size: clamp(1.1rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold-primary);
  background: linear-gradient(90deg, var(--gold-primary) 0%, var(--gold-light) 50%, var(--gold-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 22px;
}

.hero-desc {
  font-size: clamp(0.98rem, 2vw, 1.18rem);
  color: var(--text-body);
  max-width: 740px;
  margin: 0 auto 36px auto;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
  margin-bottom: 50px;
}

/* Glowing Button Wrapper for Hero Section */
.btn-glow-wrapper {
  position: relative;
  display: inline-flex;
  border-radius: calc(var(--radius-md) + 2px);
  padding: 4px;
  background: transparent;
  overflow: hidden;
  z-index: 1;
}

.btn-glow-wrapper::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent,
    rgba(16, 185, 129, 0.8),
    rgba(245, 158, 11, 0.8),
    transparent 40%
  );
  animation: rotate-glow 3.5s linear infinite;
  z-index: -2;
}

.btn-glow-wrapper::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: rgba(6, 9, 14, 1);
  border-radius: calc(var(--radius-md) - 2px);
  z-index: -1;
}

.btn-glow-wrapper .btn {
  margin: 0;
  border: none;
  border-radius: calc(var(--radius-md) - 2px);
  z-index: 2;
  position: relative;
}

.btn-glow-wrapper .btn-outline {
  background: transparent;
}


/* Cinema Theatre Container */
.cinema-container {
  max-width: 980px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-premium);
}

.cinema-screen {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  cursor: pointer;
}

.cinema-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 0.5s ease;
}

.cinema-screen:hover img {
  transform: scale(1.04);
  opacity: 0.96;
}

.cinema-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  background: var(--emerald-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06090e;
  font-size: 1.8rem;
  box-shadow: 0 0 30px var(--teal-glow);
  transition: var(--transition-fast);
}

.cinema-screen:hover .cinema-play {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--emerald-light);
}

.cinema-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(6, 9, 14, 0.95) 0%, transparent 100%);
  text-align: left;
}

.cinema-overlay h3 {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: #fff;
  margin-top: 6px;
}

/* Cinema Tabs */
.cinema-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.tab-btn {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn:hover, .tab-btn.active {
  border-color: var(--border-emerald);
  background: rgba(16, 185, 129, 0.12);
}

.tab-btn.active {
  border-color: var(--emerald-primary);
}

.tab-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  display: block;
}

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

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-8 { grid-column: span 8; }
.bento-6 { grid-column: span 6; }
.bento-4 { grid-column: span 4; }

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition-fast);
}

.glass-card:hover {
  border-color: var(--border-emerald);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.program-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  transition: var(--transition-fast);
}

.program-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-emerald);
  box-shadow: var(--shadow-premium);
}

.program-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}

.program-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-body {
  padding: 20px;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.badge-planned { background: rgba(6, 182, 212, 0.16); color: #06b6d4; border: 1px solid rgba(6, 182, 212, 0.35); }
.badge-ongoing { background: rgba(245, 158, 11, 0.16); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.35); }
.badge-done { background: rgba(16, 185, 129, 0.16); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.35); }

/* Footer */
.footer {
  background: #030508;
  border-top: 1px solid var(--border-glass);
  padding: 70px 0 0 0;
  margin-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  gap: 36px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 18px;
  color: #fff;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; font-size: 0.9rem; color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--emerald-light); }

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding: 24px 0;
}

/* Modal Player */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 6, 8, 0.92);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  width: 100%;
  max-width: 920px;
  background: var(--bg-surface);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  font-size: 1rem;
}

.modal-close:hover { background: #ef4444; }

.modal-header-title {
  padding: 16px 20px;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid var(--border-glass);
}

.modal-video-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  background: #000;
}

.modal-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Toast Box */
.toast-box {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--emerald-primary);
  color: #06090e;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  z-index: 3000;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-fast);
}

.toast-box.show {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile & Tablet Adaptive Rules (Dead-Centered Logo & Far-Left Hamburger) */
@media (max-width: 1024px) {
  .bento-8, .bento-6, .bento-4 {
    grid-column: span 12;
  }
  .cinema-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 64px;
  }

  .nav-container {
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    align-items: center;
    height: 100%;
  }

  .nav-left {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    order: 2;
  }

  .nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    order: 3;
  }

  .nav-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .nav-brand img {
    height: 32px;
  }

  .nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    order: 1;
  }

  .nav-links {
    display: none !important;
  }

  .mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--emerald-light);
    font-size: 1.15rem;
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    line-height: 1;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
  }

  .section {
    padding: 60px 0;
  }

  .hero-stage {
    padding-top: 110px;
    padding-bottom: 60px;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .hero-btns .btn {
    width: 100%;
  }

  .cinema-container {
    padding: 10px;
  }

  .cinema-play {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
  }

  .cinema-tabs {
    grid-template-columns: 1fr;
  }

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

  .toast-box {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-tag {
    font-size: 0.78rem;
    padding: 5px 14px;
  }

  .hero-desc {
    font-size: 0.94rem;
  }

  .ecosystem-logo-box {
    padding: 6px 12px;
  }

  .ecosystem-logo-box img {
    height: 36px;
  }

  .nav-brand img {
    height: 30px;
  }
}

/* ==========================================================================
   ANIMATED GLOWING BOX (Equipment Portal Preview)
   ========================================================================== */

.glow-box {
  position: relative;
  border-radius: var(--radius-md);
  padding: 4px; /* Border thickness */
  overflow: hidden;
  background: var(--bg-card);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px; 
}

.glow-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent,
    rgba(16, 185, 129, 0.2),
    var(--emerald-primary),
    var(--gold-primary),
    rgba(245, 158, 11, 0.2),
    transparent
  );
  animation: rotate-glow 4s linear infinite;
  z-index: -2;
}

.glow-box::after {
  content: "";
  position: absolute;
  inset: 4px; /* Matches padding */
  background: rgba(6, 9, 14, 0.95); /* Dark background inside */
  border-radius: calc(var(--radius-md) - 4px);
  z-index: -1;
}

@keyframes rotate-glow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.glow-content {
  text-align: center;
  padding: 40px;
  z-index: 2;
}

.glow-content i.fa-camera {
  font-size: 3.5rem;
  color: var(--gold-primary);
  margin-bottom: 24px;
  filter: drop-shadow(0 0 15px var(--gold-glow));
}

.glow-content h3 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: #fff;
  margin-bottom: 14px;
}

.glow-content p {
  color: var(--text-body);
  font-size: 1.05rem;
  margin: 0 auto 32px auto;
  max-width: 600px;
  line-height: 1.7;
}

/* ==========================================================================
   PROGRAM PAGE — Auto Slider Infinite Scroll System
   Adapted from image-auto-slider.tsx (React) → Vanilla CSS
   ========================================================================== */

/* Program Section Header (News / Reguler label) */
.program-section-header {
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-glass);
}

.program-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.program-section-label.news {
  background: rgba(239, 68, 68, 0.14);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.program-section-label.reguler {
  background: rgba(16, 185, 129, 0.14);
  color: var(--emerald-light);
  border: 1px solid var(--border-emerald);
}

.program-section-title {
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.program-section-desc {
  color: var(--text-body);
  font-size: 0.94rem;
  max-width: 640px;
}

/* Program Block (each show inside a section) */
.prog-block {
  margin-bottom: 44px;
}

.prog-block-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}

.prog-block-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.prog-block-sub {
  font-size: 0.83rem;
  color: var(--text-muted);
  max-width: 540px;
}

/* Infinite Auto Slider Container */
.auto-slider-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  /* Fade mask on edges like the React component */
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

@keyframes slider-scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes slider-scroll-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.auto-slider-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: slider-scroll-left 32s linear infinite;
}

.auto-slider-track.slider-rev {
  animation: slider-scroll-right 32s linear infinite;
}

/* Pause on hover */
.auto-slider-wrapper:hover .auto-slider-track {
  animation-play-state: paused;
}

/* Individual Slider Card */
.slider-card {
  flex-shrink: 0;
  width: 260px;
  background: transparent;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slider-card:hover {
  transform: translateY(-4px);
}

.slider-thumb {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #111;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: box-shadow 0.3s ease;
}

.slider-card:hover .slider-thumb {
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.slider-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slider-card:hover .slider-thumb img {
  transform: scale(1.02);
}

.slider-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 42px;
  height: 42px;
  background: rgba(16, 185, 129, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #06090e;
  font-size: 0.95rem;
  opacity: 0;
  transition: var(--transition-fast);
}

.slider-card:hover .slider-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.slider-views {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.slider-caption {
  padding: 12px 2px 0 2px;
}

.slider-caption p {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* YT Channel banner */
.yt-channel-banner {
  border-radius: var(--radius-md);
}

/* Responsive slider */
@media (max-width: 768px) {
  .slider-card { width: 200px; }
  .auto-slider-track { animation-duration: 24s; }
  .prog-block-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .slider-card { width: 170px; }
}
