/* ============================================
   🎬 INDIA GOT LATENT — Premium Streaming CSS
   Dark cinematic, modern glassmorphism
   ============================================ */

:root {
  --bg-primary: #06060e;
  --bg-secondary: #0d0d1a;
  --bg-card: #111127;
  --bg-card-hover: #1a1a3a;
  --bg-glass: rgba(17, 17, 39, 0.7);
  --accent: #e50914;
  --accent-hover: #ff1a25;
  --accent-glow: rgba(229, 9, 20, 0.25);
  --gold: #ffd700;
  --blue: #4f7df5;
  --green: #22c55e;
  --text-primary: #f1f1f5;
  --text-secondary: #9999b3;
  --text-muted: #555570;
  --border: #1e1e3a;
  --border-light: #2a2a50;
  --gradient-accent: linear-gradient(135deg, #e50914 0%, #ff6b35 100%);
  --gradient-blue: linear-gradient(135deg, #4f7df5 0%, #7c3aed 100%);
  --gradient-hero: linear-gradient(180deg, transparent 0%, rgba(6,6,14,0.7) 50%, #06060e 100%);
  --shadow-card: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px var(--accent-glow);
  --shadow-modal: 0 25px 60px rgba(0,0,0,0.7);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================
   NAVBAR
   ================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 32px;
  background: rgba(6, 6, 14, 0.8);
  backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(6, 6, 14, 0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-badge {
  background: var(--gradient-accent);
  color: white;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.logo-text .highlight { color: var(--accent); }

.nav-center {
  flex: 1;
  max-width: 480px;
  margin: 0 40px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 16px;
  transition: var(--transition);
}

.search-box:focus-within {
  border-color: var(--accent);
  background: rgba(229, 9, 20, 0.05);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.search-box i { color: var(--text-muted); font-size: 0.85rem; }
.search-box input {
  background: none; border: none; outline: none;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.85rem;
  width: 100%;
}
.search-box input::placeholder { color: var(--text-muted); }

.search-shortcut {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 0.65rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.btn-admin {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: var(--transition);
  color: var(--text-secondary);
}

.btn-admin:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* ==================
   HERO SECTION
   ================== */
.hero {
  position: relative;
  height: 80vh;
  min-height: 520px;
  max-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 30% 50%, rgba(229, 9, 20, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(79, 125, 245, 0.05) 0%, transparent 50%),
              var(--bg-primary);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  animation: fadeInUp 0.8s ease;
}

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

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, #e50914 0%, #ff6b35 40%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 32px;
}

.stat-item { text-align: center; }
.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  background: var(--gradient-accent);
  color: white;
  border: none;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px var(--accent-glow);
}

/* ==================
   CATEGORIES
   ================== */
.categories-section {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 57px;
  z-index: 100;
  background: rgba(6, 6, 14, 0.95);
  backdrop-filter: blur(12px);
}

.categories-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0;
}
.categories-bar::-webkit-scrollbar { display: none; }

.cat-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.cat-btn:hover {
  background: rgba(255,255,255,0.06);
  color: white;
  border-color: var(--border-light);
}

.cat-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 4px 20px var(--accent-glow);
}

/* ==================
   VIDEO GRID
   ================== */
.videos-section { padding: 40px 0 80px; }

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title i { color: var(--accent); }

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* VIDEO CARD */
.video-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.video-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--shadow-card);
  border-color: var(--border-light);
}

.video-card:hover .card-thumbnail img { transform: scale(1.06); }
.video-card:hover .play-overlay { opacity: 1; }

.card-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-secondary);
}

.card-thumbnail img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: var(--transition);
}

.play-overlay i {
  font-size: 3rem;
  color: white;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
  transition: var(--transition);
}

.video-card:hover .play-overlay i { transform: scale(1.15); }

.duration-badge {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.85);
  color: white;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  font-size: 0.7rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.category-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--accent);
  color: white;
  padding: 3px 10px;
  border-radius: var(--radius-xs);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-info { padding: 14px 16px; }

.card-title {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==================
   MODAL / POPUP
   ================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.25s ease;
}

.modal-overlay.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
  position: relative;
  animation: modalSlideUp 0.35s ease;
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 10;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.modal-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  background: #000;
}

.modal-thumbnail img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.modal-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(229, 9, 20, 0.5);
}

.modal-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 12px 40px rgba(229, 9, 20, 0.6);
}

.modal-play-btn i {
  color: white;
  font-size: 1.8rem;
  margin-left: 4px; /* optical centering */
}

.modal-badge {
  position: absolute;
  bottom: 12px; left: 12px;
  background: var(--accent);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-body { padding: 24px; }

.modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.modal-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.modal-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  padding: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-watch {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--gradient-accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-watch:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-howto, .btn-like-modal, .btn-share-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.btn-howto:hover { background: rgba(79, 125, 245, 0.1); border-color: var(--blue); color: var(--blue); }
.btn-like-modal:hover { background: rgba(229, 9, 20, 0.1); border-color: var(--accent); color: var(--accent); }
.btn-share-modal:hover { background: rgba(34, 197, 94, 0.1); border-color: var(--green); color: var(--green); }

.btn-like-modal.liked {
  background: rgba(229, 9, 20, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}

/* How To Play Section */
.howto-section {
  margin-top: 20px;
  padding: 20px;
  background: rgba(79, 125, 245, 0.05);
  border: 1px solid rgba(79, 125, 245, 0.15);
  border-radius: var(--radius-sm);
  animation: fadeInUp 0.3s ease;
}

.howto-section h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 8px;
}

.howto-steps { display: flex; flex-direction: column; gap: 14px; }

.howto-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-num {
  flex-shrink: 0;
  width: 30px; height: 30px;
  background: var(--gradient-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: white;
}

.howto-step strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.9rem;
}

.howto-step p {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ==================
   EMPTY & LOADING
   ================== */
.empty-state { text-align: center; padding: 80px 24px; }

.empty-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.empty-state h3 { font-size: 1.3rem; margin-bottom: 8px; }
.empty-state p { color: var(--text-secondary); margin-bottom: 24px; }

.loading { text-align: center; padding: 60px 0; }

.spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto 14px;
}

@keyframes spin { to { transform: rotate(360deg); } }
.loading p { color: var(--text-muted); font-size: 0.85rem; }

/* ==================
   FOOTER
   ================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 50px 0 20px;
}

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

.footer-col h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col h4 {
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.6; }

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 4px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--accent); padding-left: 6px; }

.seo-tags {
  font-size: 9px;
  color: var(--text-muted);
  opacity: 0.2;
  margin-top: 20px;
  text-align: justify;
  line-height: 1.5;
  max-height: 60px;
  overflow: hidden;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ==================
   WATCH PAGE
   ================== */
.watch-page { padding-top: 80px; min-height: 100vh; }

.player-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.video-player-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.video-player-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.video-details {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.video-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 16px;
}

.video-watch-title { font-size: 1.4rem; font-weight: 700; flex: 1; }

.video-actions { display: flex; gap: 10px; }

.action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}
.action-btn:hover { background: var(--accent); color: white; border-color: var(--accent); }

.video-meta-info { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 16px; }

.video-description {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--text-secondary);
  line-height: 1.7;
  border: 1px solid var(--border);
}

/* ==================
   ADMIN STYLES
   ================== */
.admin-page { padding-top: 90px; padding-bottom: 60px; min-height: 100vh; }

.admin-container { max-width: 800px; margin: 0 auto; padding: 0 24px; }

.admin-header { text-align: center; margin-bottom: 36px; }
.admin-header h1 { font-size: 1.8rem; margin-bottom: 8px; }
.admin-header p { color: var(--text-secondary); }

.upload-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.upload-card.dragover { border-color: var(--accent); background: rgba(229, 9, 20, 0.03); }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; margin-bottom: 6px;
  font-weight: 600; font-size: 0.85rem;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 11px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.88rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea { resize: vertical; min-height: 90px; }

.file-input-wrapper {
  position: relative;
  text-align: center;
  padding: 36px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.file-input-wrapper:hover { border-color: var(--accent); }
.file-input-wrapper input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-input-wrapper .upload-icon { font-size: 2.5rem; margin-bottom: 10px; color: var(--accent); }
.file-input-wrapper p { color: var(--text-secondary); font-size: 0.85rem; }
.file-input-wrapper .file-name { margin-top: 8px; color: var(--gold); font-weight: 600; font-size: 0.85rem; }

.upload-progress { display: none; margin-top: 18px; }
.progress-bar-container { background: var(--bg-secondary); border-radius: 50px; overflow: hidden; height: 6px; margin-bottom: 6px; }
.progress-bar-fill { height: 100%; background: var(--gradient-accent); border-radius: 50px; width: 0%; transition: width 0.3s; }
.progress-text { text-align: center; color: var(--text-muted); font-size: 0.8rem; }

.upload-btn {
  width: 100%; padding: 14px;
  background: var(--gradient-accent);
  color: white; border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
}
.upload-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px var(--accent-glow); }
.upload-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.admin-videos { margin-top: 40px; }
.admin-videos h2 { margin-bottom: 18px; font-size: 1.2rem; }

.admin-video-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  transition: var(--transition);
}
.admin-video-item:hover { border-color: var(--border-light); }

.admin-video-thumb {
  width: 110px; height: 62px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-secondary);
}
.admin-video-thumb img { width: 100%; height: 100%; object-fit: cover; }

.admin-video-info { flex: 1; }
.admin-video-info h4 { font-size: 0.9rem; margin-bottom: 3px; }
.admin-video-info p { color: var(--text-muted); font-size: 0.75rem; }

.delete-btn {
  padding: 7px 14px;
  background: transparent;
  border: 1px solid rgba(229,9,20,0.2);
  border-radius: var(--radius-xs);
  color: var(--accent);
  font-family: var(--font);
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}
.delete-btn:hover { background: var(--accent); color: white; }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  padding: 12px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: white;
  font-family: var(--font);
  font-size: 0.85rem;
  z-index: 9999;
  animation: slideInRight 0.35s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.toast.success { border-color: var(--green); }
.toast.error { border-color: #ef4444; }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==================
   LANDING PAGE
   ================== */
.nav-link {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-link:hover { color: white; background: rgba(255,255,255,0.04); }
.nav-link.active-link { color: var(--accent); }

.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--gradient-accent);
  color: white;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition);
}
.btn-primary-sm:hover { transform: translateY(-2px); box-shadow: 0 6px 20px var(--accent-glow); }

.hero-home { height: 90vh; max-height: 780px; }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(229, 9, 20, 0.08);
  border: 1px solid rgba(229, 9, 20, 0.15);
  border-radius: 50px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.section-heading {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 10px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-section {
  padding: 80px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: var(--transition);
}
.about-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.about-icon {
  width: 50px; height: 50px;
  background: var(--gradient-accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  margin-bottom: 18px;
}

.about-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* Seasons Section */
.seasons-section {
  padding: 80px 0;
}

.seasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
}

.season-card {
  display: flex;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.season-card:hover {
  border-color: var(--border-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.season-card.featured {
  border-color: rgba(229, 9, 20, 0.2);
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.03) 0%, var(--bg-card) 100%);
}

.season-badge-new {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--accent);
  color: white;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.season-num {
  flex-shrink: 0;
  width: 70px; height: 70px;
  background: var(--gradient-accent);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
}

.season-info h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.season-info p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.season-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-bottom: 14px;
}

.season-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-outline-sm:hover { border-color: white; color: white; }
.btn-outline-sm.accent { border-color: var(--accent); color: var(--accent); }
.btn-outline-sm.accent:hover { background: var(--accent); color: white; }

/* Judges Section */
.judges-section {
  padding: 80px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.judges-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}

.judge-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.judge-chip:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.judge-chip i {
  color: var(--gold);
  font-size: 0.7rem;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
}

.cta-card {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.08) 0%, rgba(79, 125, 245, 0.05) 100%);
  border: 1px solid rgba(229, 9, 20, 0.15);
  border-radius: 24px;
}

.cta-card h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 28px;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

/* Episodes Page Hero */
.episodes-hero {
  padding-top: 100px;
  padding-bottom: 30px;
}

.episodes-title {
  font-size: 2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
}

.episodes-sub {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 8px;
}

.video-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: auto;
}

/* Footer Simple */
.footer-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.footer-simple p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ==================
   MOBILE OPTIMIZATION (Fixes & Enhancements)
   ================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Navbar */
  .navbar { padding: 12px 16px; }
  .nav-center { display: none; }
  .nav-right .nav-link { display: none; }
  .logo-text { font-size: 1.1rem; }
  
  /* Hero */
  .hero { height: auto; padding: 120px 20px 60px; min-height: 80vh; }
  .hero-home { height: auto; min-height: 80vh; padding-top: 140px; }
  .hero-title { font-size: 2.2rem; }
  .hero-desc { font-size: 0.95rem; }
  .hero-stats { flex-wrap: wrap; justify-content: center; gap: 15px; }
  .stat-item { width: 40%; }
  .stat-divider { display: none; }
  
  /* Sections */
  .section-heading { font-size: 1.6rem; }
  .seasons-grid { grid-template-columns: 1fr; }
  .season-card { flex-direction: column; gap: 16px; padding: 20px; }
  .season-num { width: 50px; height: 50px; font-size: 1.1rem; border-radius: 12px; }
  .about-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 40px 24px; }
  .cta-card h2 { font-size: 1.5rem; }
  
  /* Episodes Page */
  .episodes-title { font-size: 1.6rem; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)); gap: 20px; }
  .categories-bar { overflow-x: auto; white-space: nowrap; padding-bottom: 5px; justify-content: flex-start; }
  
  /* Modal */
  .modal-card { width: 95%; max-height: 90vh; margin: 10px; }
  .modal-thumbnail { height: 220px; }
  .modal-body { padding: 20px; overflow-y: auto; }
  .modal-title { font-size: 1.2rem; }
  .modal-meta { flex-wrap: wrap; gap: 12px; }
  .modal-actions { flex-direction: column; }
  .btn-watch { width: 100%; justify-content: center; }
  .btn-howto, .btn-like-modal, .btn-share-modal { width: 100%; justify-content: center; }
  
  /* Watch Page */
  .watch-page { padding-top: 70px; }
  .player-container { padding: 0 10px; }
  .video-details { padding: 0 16px 40px; }
  .video-title-row { flex-direction: column; gap: 12px; }
  .video-actions { width: 100%; overflow-x: auto; padding-bottom: 5px; }
  .video-watch-title { font-size: 1.2rem; }
  
  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer-col h3 { justify-content: center; }
  .footer-simple { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons a { width: 100%; justify-content: center; }
  
  .about-card, .cta-card { padding: 24px 16px; }
  
  .modal-thumbnail { height: 180px; }
  .modal-play-btn { width: 50px; height: 50px; font-size: 1.2rem; }
}
