/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red:        #E84C2B;
  --red-dark:   #C03B1E;
  --red-light:  rgba(232, 76, 43, 0.15);
  --red-glow:   rgba(232, 76, 43, 0.2);

  --bg:         #0D0D0D;
  --bg2:        #141414;
  --bg3:        #1A1A1A;
  --surface:    #222222;
  --surface2:   #2A2A2A;

  --border:     rgba(255,255,255,0.07);
  --border2:    rgba(255,255,255,0.12);

  --text:       #F0EDE8;
  --text2:      #B0ADA8;
  --muted:      #666;

  --font-d:     'Barlow Condensed', sans-serif;
  --font-b:     'Plus Jakarta Sans', sans-serif;

  --nav-h:      60px;
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;

  --px:         40px;
  --px-mob:     16px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img    { display: block; max-width: 100%; }
a      { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-b); }

/* ============================================
   SCROLLBAR
============================================ */
::-webkit-scrollbar       { width: 6px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 99px; }

/* ============================================
   NAVBAR
============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--px);
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 0.5px solid var(--border);
  gap: 20px;
}

.nav-logo {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-logo span { color: var(--red); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a.active  { font-weight: 500; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-search-wrap { position: relative; }
.nav-search-wrap svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.nav-search {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 99px;
  padding: 7px 14px 7px 32px;
  font-size: 13px;
  color: var(--text);
  outline: none;
  width: 200px;
  transition: border-color 0.2s, width 0.3s;
  font-family: var(--font-b);
}
.nav-search::placeholder { color: var(--muted); }
.nav-search:focus {
  border-color: rgba(232,76,43,0.5);
  width: 240px;
}

.lang-toggle {
  display: flex;
  background: var(--surface);
  border-radius: 99px;
  padding: 3px;
  gap: 2px;
  border: 0.5px solid var(--border);
}
.lang-btn {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: 99px;
  border: none;
  background: transparent;
  color: var(--muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  letter-spacing: 0.04em;
}
.lang-btn.active { background: var(--red); color: #fff; }

.nav-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  cursor: pointer;
  font-family: var(--font-d);
  border: 2px solid transparent;
  transition: border-color 0.2s;
}
.nav-avatar:hover { border-color: var(--red); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13,13,13,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 190;
  flex-direction: column;
  padding: 24px var(--px-mob);
  gap: 4px;
  border-top: 0.5px solid var(--border);
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 14px 12px;
  font-size: 16px;
  color: var(--text2);
  border-radius: var(--radius-md);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  font-weight: 400;
}
.mobile-nav a:hover,
.mobile-nav a.active { background: var(--surface); color: var(--text); }
.mobile-nav a.active  { font-weight: 500; }

.mobile-nav-divider { height: 0.5px; background: var(--border); margin: 8px 0; }

.mobile-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 8px;
}
.mobile-search input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 15px;
  flex: 1;
  font-family: var(--font-b);
}
.mobile-search input::placeholder { color: var(--muted); }

/* ============================================
   HERO
============================================ */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  padding: 60px var(--px) 50px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 20% 60%, rgba(232,76,43,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(30,50,80,0.3) 0%, transparent 60%),
    linear-gradient(160deg, #120805 0%, #0D0D0D 45%, #0a1018 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 80% at 30% 50%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 30% 50%, black 20%, transparent 75%);
}
.hero-glow {
  position: absolute;
  left: -100px;
  bottom: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--red-glow);
  filter: blur(100px);
  pointer-events: none;
}

/* Hero Banner (right side) */
.hero-banner {
  position: absolute;
  right: var(--px);
  top: 50%;
  transform: translateY(-50%);
  width: 46%;
  max-width: 520px;
  border-radius: 18px;
  overflow: hidden;
  border: 0.5px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 0.5px rgba(255,255,255,0.06);
  background: var(--surface);
  z-index: 2;
}
.hero-banner-img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  display: block;
}
.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.05) 0%,
    transparent 30%,
    transparent 45%,
    rgba(0,0,0,0.96) 100%
  );
}
.hero-banner-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-banner-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  font-family: var(--font-b);
}
.hero-banner-pill::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  animation: blink 1.4s ease-in-out infinite;
}
.hero-banner-share {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  border: 0.5px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-banner-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 18px 18px;
}
.hero-banner-category {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
  font-family: var(--font-b);
}
.hero-banner-title {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.hero-banner-info {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.hero-banner-info span {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-b);
  display: flex;
  align-items: center;
  gap: 4px;
}
.hero-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.banner-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-b);
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}
.banner-play-btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.banner-save-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 0.5px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 12px;
  cursor: pointer;
  font-family: var(--font-b);
  transition: background 0.2s;
}
.banner-save-btn:hover { background: rgba(255,255,255,0.14); }
.hero-banner-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.1);
}
.hero-banner-progress-fill {
  height: 100%;
  width: 65%;
  background: var(--red);
  border-radius: 0 2px 2px 0;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 440px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(232,76,43,0.12);
  border: 0.5px solid rgba(232,76,43,0.35);
  border-radius: 99px;
  padding: 5px 14px;
  font-size: 12px;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 20px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
.hero h1 {
  font-family: var(--font-d);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 em { color: var(--red); font-style: italic; }
.hero-desc {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 28px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 0.5px solid var(--border2);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 400;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-ghost:hover { background: rgba(255,255,255,0.11); }

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 0.5px solid var(--border);
}
.stat-num {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
}
.stat-lbl {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ============================================
   CATEGORY PILLS
============================================ */
.cat-section { padding: 20px 0; position: relative; }
.cat-scroll {
  display: flex;
  gap: 8px;
  padding: 0 var(--px);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-pill {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
  border: 0.5px solid var(--border);
  background: var(--bg2);
  color: var(--muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
  font-family: var(--font-b);
}
.cat-pill:hover { color: var(--text); border-color: var(--border2); background: var(--surface); }
.cat-pill.active { background: var(--red); color: #fff; border-color: var(--red); }

/* ============================================
   DIVIDER
============================================ */
.divider { height: 0.5px; background: var(--border); margin: 0 var(--px); }

/* ============================================
   SECTION
============================================ */
.section { padding: 28px 0; }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--px);
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.section-title span { color: var(--red); }
.see-all {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--red);
  cursor: pointer;
  transition: gap 0.2s;
  white-space: nowrap;
}
.see-all:hover { gap: 8px; }

/* ============================================
   HORIZONTAL SCROLL ROW
============================================ */
.h-scroll {
  display: flex;
  gap: 14px;
  padding: 0 var(--px);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}
.h-scroll::-webkit-scrollbar { display: none; }

/* ============================================
   FEATURED CARD
============================================ */
.feat-card {
  flex-shrink: 0;
  width: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 180px;
  cursor: pointer;
  border: 0.5px solid var(--border);
  background: var(--surface);
}
.feat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.feat-card:hover img { transform: scale(1.06); }
.feat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 20%, rgba(0,0,0,0.88));
}
.feat-play-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(232,76,43,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
  backdrop-filter: blur(4px);
}
.feat-card:hover .feat-play-btn { opacity: 1; }
.feat-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
}
.feat-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 6px;
}
.feat-title {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feat-info { font-size: 11px; color: rgba(255,255,255,0.55); display: flex; gap: 8px; }

/* ============================================
   VIDEO CARD
============================================ */
.v-card { flex-shrink: 0; width: 220px; cursor: pointer; }
.v-card:hover .v-thumb         { transform: scale(1.04); }
.v-card:hover .v-hover-overlay { opacity: 1; }
.v-card:hover .v-play-icon     { transform: scale(1); }

.v-thumb-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 124px;
  background: var(--surface);
  border: 0.5px solid var(--border);
}
.v-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.v-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
}
.v-play-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: transform 0.25s ease;
}
.v-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: 3px;
  text-transform: uppercase;
}
.v-badge.new { background: var(--red); color: #fff; }
.v-badge.hot { background: #F5A623; color: #1a0a00; }
.v-duration {
  position: absolute;
  bottom: 7px;
  right: 8px;
  font-size: 10px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
}
.v-meta    { padding: 10px 2px 0; }
.v-title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.v-row     { display: flex; align-items: center; justify-content: space-between; }
.v-channel { font-size: 11px; color: var(--muted); }
.v-views   { font-size: 11px; color: var(--muted); }
.v-progress {
  height: 2px;
  background: var(--surface2);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}
.v-bar { height: 100%; border-radius: 2px; background: var(--red); }

/* Progress width utilities */
.v-bar--60  { width: 60%; }
.v-bar--40  { width: 40%; }
.v-bar--80  { width: 80%; }

/* Coming-soon placeholder cards */
.v-card-empty .v-thumb-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.v-card-empty .v-thumb-wrap span { font-size: 26px; opacity: 0.6; }
.v-card-empty .v-thumb-wrap p    { font-size: 10px; color: var(--muted); letter-spacing: 0.04em; }

/* Placeholder backgrounds */
.thumb-bg--sbi      { background: linear-gradient(135deg, #111827, #0d1f2d); }
.thumb-bg--upi      { background: linear-gradient(135deg, #0a1a0a, #0f1f0f); }
.thumb-bg--news     { background: linear-gradient(135deg, #1a0e00, #1a1200); }
.thumb-bg--election { background: linear-gradient(135deg, #0e0e1a, #14142a); }

/* ============================================
   PROMO BANNER
============================================ */
.promo-banner {
  margin: 8px var(--px) 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(110deg, rgba(232,76,43,0.18) 0%, rgba(232,76,43,0.05) 60%);
  border: 0.5px solid rgba(232,76,43,0.25);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.promo-text h3 {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.promo-text p { font-size: 13px; color: var(--text2); max-width: 420px; line-height: 1.6; }
.promo-icon   { font-size: 48px; opacity: 0.8; flex-shrink: 0; }

/* ============================================
   MAKERS / TESTIMONIALS
============================================ */
.makers-section { padding: 28px 0 36px; }
.makers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 0 var(--px);
}
.maker-card {
  background: var(--bg2);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.maker-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 16px;
  font-family: var(--font-d);
  font-size: 80px;
  color: var(--red);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
}
.maker-quote { font-size: 13px; color: var(--text2); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.maker-info  { display: flex; align-items: center; gap: 10px; }
.maker-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface2);
  overflow: hidden;
  flex-shrink: 0;
  border: 0.5px solid var(--border2);
}
.maker-avatar img { width: 100%; height: 100%; object-fit: cover; }
.maker-name { font-size: 13px; font-weight: 500; color: var(--text); }
.maker-loc  { font-size: 11px; color: var(--muted); margin-top: 1px; }

/* ============================================
   FOOTER
============================================ */
footer {
  border-top: 0.5px solid var(--border);
  padding: 28px var(--px) 32px;
  margin-top: 8px;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.footer-brand .logo {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.footer-brand .logo span { color: var(--red); }
.footer-brand p { font-size: 12px; color: var(--muted); max-width: 240px; line-height: 1.6; }
.footer-links-group { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col li a { font-size: 13px; color: var(--text2); transition: color 0.2s; }
.footer-col li a:hover { color: var(--red); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 0.5px solid var(--border);
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy   { font-size: 12px; color: var(--muted); }
.footer-copy a { color: var(--red); }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  border: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}
.social-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ============================================
   SCROLL-TO-TOP
============================================ */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 100;
  transform: translateY(10px);
  box-shadow: 0 4px 20px rgba(232,76,43,0.4);
}
.scroll-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.scroll-top:hover   { background: var(--red-dark); }

/* ============================================
   EMPTY STATE
============================================ */
.empty-state {
  display: none;
  text-align: center;
  padding: 60px 20px;
  font-family: var(--font-b);
}
.empty-state.visible { display: block; }
.empty-state__icon  { font-size: 40px; margin-bottom: 14px; }
.empty-state__title { font-size: 16px; color: #888; margin-bottom: 6px; }
.empty-state__sub   { font-size: 13px; color: var(--muted); }

/* ============================================
   ANIMATIONS
============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content > * { animation: fadeUp 0.5s ease both; }
.hero-badge  { animation-delay: 0.05s; }
.hero h1     { animation-delay: 0.12s; }
.hero-desc   { animation-delay: 0.2s;  }
.hero-btns   { animation-delay: 0.27s; }
.hero-stats  { animation-delay: 0.34s; }

/* ============================================
   RESPONSIVE — TABLET ≤ 960px
============================================ */
@media (max-width: 960px) {
  :root { --px: 24px; }

  .nav-links      { display: none; }
  .nav-search-wrap{ display: none; }
  .hamburger      { display: flex; }
  .hero-banner    { display: none; }

  .hero           { min-height: 440px; padding: 50px var(--px) 44px; }
  .hero h1        { font-size: 52px; }
  .makers-grid    { grid-template-columns: 1fr; }
  .footer-links-group { gap: 28px; }
}

/* ============================================
   RESPONSIVE — MOBILE ≤ 640px
============================================ */
@media (max-width: 640px) {
  :root { --px: var(--px-mob); }

  .navbar     { padding: 0 var(--px-mob); gap: 12px; }
  .nav-logo   { font-size: 18px; }
  .lang-toggle{ display: none; }
  .nav-avatar { width: 30px; height: 30px; font-size: 12px; }

  .hero              { min-height: auto; padding: 36px var(--px-mob) 36px; align-items: flex-start; }
  .hero h1           { font-size: 46px; letter-spacing: 0.5px; }
  .hero-desc         { font-size: 13px; }
  .hero-btns         { gap: 10px; }
  .btn-primary,
  .btn-ghost         { padding: 10px 18px; font-size: 12px; }
  .hero-stats        { gap: 20px; margin-top: 28px; padding-top: 18px; }
  .stat-num          { font-size: 18px; }

  .cat-scroll        { padding: 0 var(--px-mob); }
  .section-header    { padding: 0 var(--px-mob); }
  .section-title     { font-size: 17px; }
  .h-scroll          { padding: 0 var(--px-mob); gap: 10px; }

  .feat-card         { width: 260px; height: 148px; }
  .v-card            { width: 170px; }
  .v-thumb-wrap      { height: 96px; }
  .v-title           { font-size: 12px; }

  .promo-banner      { margin: 8px var(--px-mob) 24px; padding: 20px; }
  .promo-icon        { display: none; }
  .promo-text h3     { font-size: 16px; }
  .divider           { margin: 0 var(--px-mob); }

  .makers-section    { padding: 20px 0 28px; }
  .makers-grid       { padding: 0 var(--px-mob); }
  .maker-card        { padding: 16px; }

  footer             { padding: 24px var(--px-mob) 28px; }
  .footer-top        { flex-direction: column; gap: 20px; }
  .footer-links-group{ gap: 24px; }
  .footer-bottom     { flex-direction: column; align-items: flex-start; }
  .scroll-top        { bottom: 16px; right: 16px; width: 36px; height: 36px; }
}

/* ============================================
   VERY SMALL ≤ 380px
============================================ */
@media (max-width: 380px) {
  .hero h1           { font-size: 38px; }
  .hero-btns         { flex-direction: column; }
  .btn-primary,
  .btn-ghost         { width: 100%; justify-content: center; }
  .v-card            { width: 150px; }
  .feat-card         { width: 230px; }
}


/* ============================================================
   VIDEO DETAIL PAGE
   All styles for the inner video / article page
============================================================ */

/* ============================================
   READING PROGRESS BAR
============================================ */
.reading-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border);
  z-index: 300;
}
.reading-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--red);
  border-radius: 0 2px 2px 0;
  transition: width 0.1s linear;
}

/* ============================================
   BREADCRUMB
============================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px var(--px);
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  border-bottom: 0.5px solid var(--border);
  background: var(--bg2);
}
.breadcrumb a            { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover      { color: var(--red); }
.breadcrumb-sep          { color: var(--surface2); font-size: 10px; }
.breadcrumb-current      { color: var(--text2); font-weight: 500; }

/* ============================================
   PAGE WRAPPER
============================================ */
.vp-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px var(--px) 60px;
}

/* ============================================
   PLAYER SECTION
============================================ */
.vp-player-section { margin-bottom: 28px; }

.vp-player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  border: 0.5px solid var(--border);
}
.vp-player-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.vp-player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px 0;
  gap: 12px;
  flex-wrap: wrap;
}
.vp-player-title {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.2;
  flex: 1;
  min-width: 0;
}
.vp-player-actions { display: flex; gap: 8px; flex-shrink: 0; }

.vp-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 500;
  border: 0.5px solid var(--border2);
  background: var(--surface);
  color: var(--text2);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.vp-action-btn:hover         { background: var(--surface2); color: var(--text); }
.vp-action-btn.primary       { background: var(--red); border-color: var(--red); color: #fff; }
.vp-action-btn.primary:hover { background: var(--red-dark); }
.vp-action-btn svg           { flex-shrink: 0; }

/* ============================================
   CONTENT GRID  (article + sidebar)
============================================ */
.vp-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: flex-start;
}

/* ---- META STRIP ---- */
.vp-meta-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  margin-bottom: 28px;
}
.vp-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
}
.vp-meta-item svg { flex-shrink: 0; }
.vp-meta-dot      { width: 3px; height: 3px; border-radius: 50%; background: var(--surface2); }
.vp-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--red-light);
  color: var(--red);
  border: 0.5px solid rgba(232,76,43,0.3);
}

/* ---- ARTICLE BODY ---- */
.vp-body { line-height: 1.8; color: var(--text2); }

.vp-body h2 {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 32px 0 12px;
  padding-left: 14px;
  border-left: 3px solid var(--red);
}
.vp-body h3 {
  font-family: var(--font-d);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 24px 0 10px;
}
.vp-body p  { font-size: 14px; margin-bottom: 14px; color: var(--text2); }
.vp-body ul {
  list-style: none;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vp-body ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text2);
}
.vp-body ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  margin-top: 7px;
}

/* ---- STEP CARDS ---- */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 28px;
}
.step-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg2);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.2s, background 0.2s;
}
.step-card:hover            { border-color: rgba(232,76,43,0.3); background: var(--bg3); }
.step-card--visible         { opacity: 1; transform: translateY(0); }

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-text          { font-size: 14px; color: var(--text2); line-height: 1.6; padding-top: 4px; }
.step-text strong   { color: var(--text); font-weight: 500; }

/* ---- TIPS CARD ---- */
.tips-card {
  background: linear-gradient(110deg, rgba(232,76,43,0.1) 0%, rgba(232,76,43,0.03) 60%);
  border: 0.5px solid rgba(232,76,43,0.2);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin: 24px 0;
}
.tips-card-title {
  font-family: var(--font-d);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--red);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---- ARTICLE DIVIDER ---- */
.article-divider { height: 0.5px; background: var(--border); margin: 28px 0; }

/* ============================================
   SIDEBAR
============================================ */
.vp-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-card {
  background: var(--bg2);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.sidebar-card-title {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 14px;
}
.sidebar-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.sidebar-stat         { background: var(--surface); border-radius: var(--radius-sm); padding: 10px 12px; }
.sidebar-stat-val     { font-family: var(--font-d); font-size: 18px; font-weight: 700; color: var(--red); }
.sidebar-stat-lbl     { font-size: 11px; color: var(--muted); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.05em; }

/* ---- SHARE BUTTONS ---- */
.share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn {
  flex: 1;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 500;
  border: 0.5px solid var(--border2);
  background: var(--surface);
  color: var(--text2);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.share-btn:hover     { background: var(--surface2); color: var(--text); }
.share-btn.yt        { border-color: rgba(255,70,70,0.3); }
.share-btn.yt:hover  { background: rgba(255,70,70,0.12); color: #ff4646; }
.share-btn.wa        { border-color: rgba(37,211,102,0.3); }
.share-btn.wa:hover  { background: rgba(37,211,102,0.1); color: #25d366; }
.share-btn.cp:hover  { background: rgba(232,76,43,0.1); color: var(--red); }

/* ---- RELATED VIDEOS ---- */
.related-list { display: flex; flex-direction: column; gap: 12px; }
.related-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  border-radius: var(--radius-md);
  padding: 8px;
  margin: -8px;
  transition: background 0.2s;
  text-decoration: none;
}
.related-card:hover                   { background: var(--surface); }
.related-card.active                  { background: var(--surface); }
.related-card.active .related-title   { color: var(--red); }

.related-thumb {
  position: relative;
  flex-shrink: 0;
  width: 110px;
  height: 62px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
  border: 0.5px solid var(--border);
}
.related-thumb img                    { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.related-card:hover .related-thumb img{ transform: scale(1.05); }
.related-thumb-dur {
  position: absolute;
  bottom: 4px;
  right: 5px;
  font-size: 9px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 1px 5px;
  border-radius: 3px;
}
.related-meta  { flex: 1; min-width: 0; }
.related-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-info  { font-size: 11px; color: var(--muted); }

/* ============================================
   VIDEO PAGE — RESPONSIVE
============================================ */
@media (max-width: 960px) {
  .vp-wrapper { padding: 24px var(--px) 48px; }

  .vp-grid                           { grid-template-columns: 1fr; gap: 28px; }
  .vp-sidebar                        { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .vp-sidebar .sidebar-card:last-child { grid-column: 1 / -1; }
  .related-list                      { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .related-card                      { flex-direction: column; margin: 0; }
  .related-thumb                     { width: 100%; height: 100px; }
}

@media (max-width: 640px) {
  .vp-wrapper        { padding: 16px var(--px-mob) 40px; }
  .breadcrumb        { padding: 12px var(--px-mob); }
  .vp-player-bar     { flex-direction: column; align-items: flex-start; gap: 10px; }
  .vp-player-title   { font-size: 18px; }
  .vp-player-actions { width: 100%; }
  .vp-action-btn     { flex: 1; justify-content: center; }
  .vp-sidebar        { grid-template-columns: 1fr; }
  .related-list      { grid-template-columns: 1fr; }
  .related-card      { flex-direction: row; }
  .related-thumb     { width: 110px; height: 62px; }
  .vp-body h2        { font-size: 17px; }
  .vp-body h3        { font-size: 15px; }
  .step-card         { padding: 12px; }
  .step-num          { width: 28px; height: 28px; font-size: 12px; }
}

@media (max-width: 380px) {
  .vp-action-btn { font-size: 11px; padding: 7px 12px; }
  .share-btns    { flex-direction: column; }
  .share-btn     { width: 100%; }
}


/* ============================================================
   PERFORMANCE FIXES — Core Web Vitals
============================================================ */

/* Fix CLS: aspect-ratio replaces padding-bottom hack.
   position:relative must stay so .yt-facade-btn (absolute) anchors inside. */
.vp-player-wrap {
  position: relative;
  padding-bottom: 0;
  aspect-ratio: 16 / 9;
}
/* iframe fills wrapper */
.vp-player-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
/* facade fills wrapper; position:absolute creates stacking context
   so .yt-facade-btn (inset:0) stays contained inside the video box */
.vp-player-wrap .yt-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
}

/* Fix CLS: reserve space in scroll rows — prevents layout shift when images load */
.h-scroll        { min-height: 200px; }
.feat-card       { contain: layout style; }
.v-card          { contain: layout style; }
.v-thumb-wrap    { contain: strict; }

/* Fix CLS: maker avatar fallback without DOM mutation */
.maker-avatar-fallback {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface2);
  border: 0.5px solid var(--border2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  flex-shrink: 0;
}

/* Fix INP: reduce paint cost — use specific transition properties everywhere */
.nav-search      { transition: border-color 0.2s, width 0.3s; }
.lang-btn        { transition: background 0.2s, color 0.2s; }
.nav-avatar      { transition: border-color 0.2s; }
.hamburger span  { transition: transform 0.3s, opacity 0.3s; }
.cat-pill        { transition: background 0.2s, color 0.2s, border-color 0.2s; }
.btn-primary     { transition: background 0.2s, transform 0.15s; }
.btn-ghost       { transition: background 0.2s; }
.feat-card img   { transition: transform 0.4s ease; }
.feat-play-btn   { transition: opacity 0.25s; }
.v-thumb         { transition: transform 0.35s ease; }
.v-hover-overlay { transition: opacity 0.25s; }
.v-play-icon     { transition: transform 0.25s ease; }
.see-all         { transition: gap 0.2s; }
.social-btn      { transition: background 0.2s, border-color 0.2s, color 0.2s; }
.scroll-top      { transition: opacity 0.3s, transform 0.3s; }
.share-btn       { transition: background 0.2s, color 0.2s; }
.related-card    { transition: background 0.2s; }
.related-thumb img { transition: transform 0.3s; }
.step-card       { transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.2s, background 0.2s; }
.vp-action-btn   { transition: background 0.2s, color 0.2s; }
.footer-col li a { transition: color 0.2s; }
.banner-play-btn { transition: background 0.2s, transform 0.15s; }

/* Fix: below-fold sections get content-visibility for faster initial render */
.makers-section,
footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 300px;
}

/* YouTube facade (replaces iframe until user clicks) */
.yt-facade {
  position: relative;
  cursor: pointer;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.yt-facade-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.yt-facade:hover .yt-facade-img { transform: scale(1.02); }
.yt-facade-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yt-facade-play {
  width: 72px;
  height: 72px;
  background: rgba(232,76,43,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
.yt-facade:hover .yt-facade-play {
  transform: scale(1.1);
  background: var(--red);
}
.yt-facade-label {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-b);
  letter-spacing: 0.03em;
}

/* No-JS fallback: show step cards even without IntersectionObserver */
.no-js .step-card {
  opacity: 1;
  transform: none;
}
