/* ==========================================================================
   ELEVATE LEGACY - OFFICIAL PREMIUM STYLESHEET
   Luxury Black & Gold Theme with Mobile-First Responsive Architecture
   ========================================================================== */

:root {
  --bg: #0b0b0d;
  --bg2: #0f0f12;
  --bg3: #18181f;
  --card: #141418;
  --card-hover: #1b1b22;
  --line: #26262d;
  --line-focus: #444452;
  --text: #f2f0ea;
  --mute: #a09d94;
  --mute-light: #706e68;
  --gold: #d4a73c;
  --gold2: #f0cf7a;
  --gold-dark: #9a741c;
  --gold-subtle: rgba(212, 167, 60, 0.12);
  --gold-glow: rgba(212, 167, 60, 0.25);
  --hdr: rgba(11, 11, 13, 0.94);
  --glow: rgba(212, 167, 60, 0.35);
  --yt-red: #ff0000;
  --yt-red-hover: #dd0000;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="light"] {
  --bg: #fbfaf6;
  --bg2: #f3f1ea;
  --bg3: #ebe8df;
  --card: #ffffff;
  --card-hover: #f9f8f4;
  --line: #e3e0d6;
  --line-focus: #c8c4b7;
  --text: #17171a;
  --mute: #625f57;
  --mute-light: #8e8b82;
  --gold: #b8861b;
  --gold2: #d4a73c;
  --gold-dark: #8c6412;
  --gold-subtle: rgba(184, 134, 27, 0.12);
  --gold-glow: rgba(184, 134, 27, 0.2);
  --hdr: rgba(251, 250, 246, 0.95);
  --glow: rgba(184, 134, 27, 0.25);
  --yt-red: #cc0000;
  --yt-red-hover: #aa0000;
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  transition: background-color 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

input, textarea, select {
  font-family: inherit;
  color: inherit;
}

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

/* Official Demo Badge / Top Strip */
.top-notice {
  background: linear-gradient(90deg, #1f1708, #2e230c, #1f1708);
  color: var(--gold2);
  border-bottom: 1px solid rgba(212, 167, 60, 0.2);
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 16px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  letter-spacing: 0.3px;
}

.top-notice span.badge-pill {
  background: var(--gold);
  color: #0b0b0d;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--hdr);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 66px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--text);
  border: 1px solid transparent;
  transition: var(--transition);
}

.icon-btn:hover {
  background: var(--card);
  border-color: var(--line);
  color: var(--gold);
}

.icon-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.brand-logo span {
  color: var(--gold);
}

.brand-logo img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  object-fit: cover;
}

/* Global Search Bar */
.search-box {
  flex: 1;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  overflow: hidden;
  transition: var(--transition);
}

.search-box:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-subtle);
}

.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 10px 16px;
  font-size: 14px;
  outline: 0;
}

.search-box input::placeholder {
  color: var(--mute);
}

.search-shortcut {
  font-size: 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 7px;
  color: var(--mute);
  margin-right: 8px;
  user-select: none;
}

.search-btn {
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--bg2);
  padding: 0 16px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--mute);
  transition: var(--transition);
}

.search-btn:hover {
  color: var(--gold);
  background: var(--bg3);
}

.search-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #0b0b0d;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  border: 1px solid transparent;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(212, 167, 60, 0.2);
  transition: var(--transition);
}

.btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(212, 167, 60, 0.35);
}

.btn:active {
  transform: translateY(0);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}

.btn.ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-subtle);
}

.btn.sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn.yt-sub {
  background: var(--yt-red);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.25);
}

.btn.yt-sub:hover {
  background: var(--yt-red-hover);
  box-shadow: 0 6px 18px rgba(255, 0, 0, 0.4);
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}

/* ==========================================================================
   DRAWER (YOUTUBE-STYLE GUIDE)
   ========================================================================== */

.scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 55;
  backdrop-filter: blur(2px);
}

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

.guide {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 285px;
  background: var(--bg);
  border-right: 1px solid var(--line);
  z-index: 60;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 16px 14px;
  overflow-y: auto;
  box-shadow: 6px 0 24px rgba(0, 0, 0, 0.35);
}

.guide.active {
  transform: translateX(0);
}

.guide-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}

.guide a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.guide a:hover {
  background: var(--card);
  color: var(--gold);
}

.guide a svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  flex: none;
}

.guide hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 12px 0;
}

.guide h4 {
  font-size: 11.5px;
  color: var(--mute);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 14px 4px;
  font-weight: 600;
}

.guide-seg {
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin: 8px 12px 16px;
  background: var(--card);
}

.guide-seg button {
  flex: 1;
  padding: 8px 0;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--mute);
  transition: var(--transition);
}

.guide-seg button.active {
  background: var(--gold);
  color: #0b0b0d;
  font-weight: 700;
}

/* ==========================================================================
   CHANNEL HERO & BRANDING SECTION
   ========================================================================== */

.hero-banner-wrap {
  width: 100%;
  position: relative;
  background: #111;
  overflow: hidden;
}

.channel-banner {
  width: 100%;
  height: 240px;
  background-color: #17130a;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.channel-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 13, 0.1) 0%, rgba(11, 11, 13, 0.75) 100%);
}

.channel-info-row {
  display: flex;
  gap: 28px;
  align-items: flex-end;
  margin-top: -65px;
  padding-bottom: 24px;
  position: relative;
  z-index: 5;
  flex-wrap: wrap;
}

.channel-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border: 4px solid var(--bg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  flex: none;
  display: grid;
  place-items: center;
}

.channel-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.channel-meta {
  flex: 1;
  min-width: 260px;
}

.channel-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.channel-subhead {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mute);
  font-size: 14px;
  margin: 4px 0 10px;
  flex-wrap: wrap;
}

.channel-handle {
  color: var(--text);
  font-weight: 600;
}

.channel-tagline {
  color: var(--gold);
  font-weight: 600;
}

.channel-stats-pills {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 13px;
  color: var(--mute);
}

.stat-pill strong {
  color: var(--text);
  font-weight: 600;
}

.channel-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
}

/* Notifications dropdown menu */
.menu-dropdown {
  position: absolute;
  top: 100%;
  left: 120px;
  margin-top: 8px;
  min-width: 280px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 8px;
  display: none;
  z-index: 30;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.menu-dropdown.active {
  display: block;
}

.menu-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
}

.menu-dropdown a:hover {
  background: var(--bg2);
  color: var(--gold);
}

.menu-dropdown small {
  display: block;
  color: var(--mute);
  font-size: 12px;
  margin-top: 2px;
}

/* ==========================================================================
   STICKY CHANNEL TABS
   ========================================================================== */

.sticky-tabs {
  position: sticky;
  top: 66px;
  z-index: 35;
  background: var(--hdr);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

.tabs-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 4px;
}

.tabs-scroll::-webkit-scrollbar {
  display: none;
}

.tab-link {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mute);
  border-bottom: 2.5px solid transparent;
  white-space: nowrap;
  transition: var(--transition);
}

.tab-link:hover {
  color: var(--text);
}

.tab-link.active {
  color: var(--text);
  border-color: var(--gold);
}

/* Category Filter Chips */
.chips-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 18px 0 4px;
  scrollbar-width: none;
}

.chips-bar::-webkit-scrollbar {
  display: none;
}

.chip-btn {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  color: var(--text);
  transition: var(--transition);
}

.chip-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.chip-btn.active {
  background: var(--gold);
  color: #0b0b0d;
  border-color: var(--gold);
  font-weight: 700;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */

section {
  padding: 56px 0;
  position: relative;
}

section.alt {
  background-color: var(--bg2);
}

.section-head {
  margin-bottom: 28px;
}

.eyebrow {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--gold);
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.8vw, 36px);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.sub {
  color: var(--mute);
  font-size: 15px;
  max-width: 680px;
}

/* Two Column Layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
}

.card.hoverable:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   DAILY MOTIVATION & DISCIPLINE CHECK-IN
   ========================================================================== */

.quote-box {
  min-height: 120px;
  display: flex;
  align-items: center;
  margin: 12px 0 18px;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.5vw, 24px);
  line-height: 1.45;
  color: var(--text);
  font-style: italic;
  position: relative;
}

.quote-author {
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
  display: block;
  margin-top: 10px;
}

.action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Discipline Tracker */
.streak-counter {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 10px 0 16px;
}

.streak-number {
  font-family: var(--font-serif);
  font-size: 46px;
  color: var(--gold);
  font-weight: 800;
  line-height: 1;
}

.streak-label {
  color: var(--mute);
  font-size: 14px;
}

.habit-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  font-size: 14.5px;
  user-select: none;
  transition: color 0.2s;
}

.habit-checkbox:last-of-type {
  border-bottom: none;
}

.habit-checkbox input[type="checkbox"] {
  accent-color: var(--gold);
  width: 19px;
  height: 19px;
  cursor: pointer;
}

.habit-checkbox.checked span {
  text-decoration: line-through;
  color: var(--mute);
}

.discipline-status-msg {
  margin-top: 14px;
  color: var(--gold);
  font-size: 13.5px;
  font-weight: 600;
  min-height: 22px;
}

.offline-badge {
  font-size: 11px;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  color: var(--mute);
  display: inline-block;
  margin-bottom: 8px;
}

/* ==========================================================================
   LATEST VIDEO & AMBIENT GLOW PLAYER
   ========================================================================== */

.latest-spotlight {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.spotlight-media {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
}

/* Ambient Glow */
.spotlight-media::before {
  content: "";
  position: absolute;
  inset: -12%;
  background: radial-gradient(ellipse at center, var(--glow), transparent 70%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}

.spotlight-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.spotlight-media:hover img {
  transform: scale(1.03);
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.spotlight-media:hover .play-overlay {
  background: rgba(0, 0, 0, 0.4);
}

.play-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(11, 11, 13, 0.85);
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  box-shadow: 0 0 20px rgba(212, 167, 60, 0.4);
  transition: var(--transition);
}

.spotlight-media:hover .play-circle {
  transform: scale(1.1);
  background: var(--gold);
}

.play-circle svg {
  width: 24px;
  height: 24px;
  fill: var(--gold);
  margin-left: 3px;
  transition: var(--transition);
}

.spotlight-media:hover .play-circle svg {
  fill: #0b0b0d;
}

.spotlight-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spotlight-info h3 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  line-height: 1.3;
  margin: 10px 0 12px;
}

.spotlight-desc {
  color: var(--mute);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}

.video-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.video-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

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

.thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.video-card:hover .thumb-wrap img {
  transform: scale(1.05);
}

.duration-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 5px;
  letter-spacing: 0.3px;
  z-index: 2;
}

.card-details {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.video-card h4 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text);
  transition: color 0.2s;
}

.video-card:hover h4 {
  color: var(--gold);
}

.video-meta-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--mute);
  font-size: 12.5px;
  padding-top: 8px;
}

/* ==========================================================================
   PLAYLISTS SECTION
   ========================================================================== */

.playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

.playlist-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.playlist-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}

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

.playlist-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.playlist-card:hover .playlist-thumb img {
  transform: scale(1.05);
}

.playlist-count-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 42%;
  background: rgba(11, 11, 13, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px;
  text-align: center;
  transition: background 0.25s;
}

.playlist-card:hover .playlist-count-overlay {
  background: rgba(212, 167, 60, 0.9);
  color: #0b0b0d;
}

.playlist-count-overlay svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 2;
  margin-bottom: 4px;
}

.playlist-count-number {
  font-size: 17px;
  font-weight: 700;
  font-family: var(--font-serif);
}

.playlist-count-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.playlist-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.playlist-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
  color: var(--text);
  transition: color 0.2s;
}

.playlist-card:hover h3 {
  color: var(--gold);
}

.playlist-card p {
  color: var(--mute);
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.playlist-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   ABOUT & TOPIC PILLARS
   ========================================================================== */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.pillar-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.pillar-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.pillar-number {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1;
}

.pillar-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.pillar-card p {
  color: var(--mute);
  font-size: 14px;
  line-height: 1.5;
}

.tags-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag-badge {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  color: var(--mute);
}

/* ==========================================================================
   1:1 MENTORSHIP SECTION
   ========================================================================== */

.mentorship-card {
  background: linear-gradient(135deg, rgba(20, 20, 24, 0.9), rgba(27, 23, 14, 0.6));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.mentorship-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  pointer-events: none;
}

.mentor-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.mentor-step {
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 18px;
}

.mentor-step strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--text);
}

.mentor-step span {
  color: var(--mute);
  font-size: 13.5px;
  line-height: 1.5;
}

/* ==========================================================================
   COLLABORATIONS & BRAND PARTNERSHIP
   ========================================================================== */

.collab-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
}

.stats-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.stat-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
}

.stat-item .val {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
}

.stat-item .lbl {
  font-size: 13px;
  color: var(--mute);
  margin-top: 4px;
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */

.form-group {
  margin-bottom: 16px;
}

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

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-subtle);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* Newsletter Box */
.newsletter-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 24px auto 0;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-size: 14.5px;
  outline: none;
  transition: var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--gold);
}

/* FAQ Accordion */
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--gold);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  padding: 0 20px 18px;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.6;
}

/* ==========================================================================
   MODAL WINDOWS (PLAYLIST DETAIL & VIDEO PLAYER)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-backdrop.active {
  display: grid;
}

.modal-window {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  animation: modalIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--hdr);
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

/* Playlist Detail Modal Layout */
.playlist-detail-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.playlist-detail-thumb {
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #111;
  border: 1px solid var(--line);
}

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

.playlist-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.playlist-video-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
}

.playlist-video-item:hover {
  border-color: var(--gold);
  background: var(--card-hover);
  transform: translateX(4px);
}

.p-item-num {
  font-size: 14px;
  font-weight: 600;
  color: var(--mute);
  width: 24px;
  text-align: center;
  flex: none;
}

.p-item-thumb {
  width: 120px;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  background: #111;
  position: relative;
  flex: none;
}

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

.p-item-info {
  flex: 1;
  min-width: 0;
}

.p-item-info h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-item-meta {
  font-size: 12px;
  color: var(--mute);
}

/* Video Player Modal */
.player-container {
  aspect-ratio: 16/9;
  width: 100%;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}

.player-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--card);
  border: 1px solid var(--gold);
  color: var(--text);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
  max-width: 400px;
}

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

.toast-icon {
  color: var(--gold);
  flex: none;
}

/* ==========================================================================
   SKELETON LOADERS & SPINNERS
   ========================================================================== */

.sk {
  background: linear-gradient(90deg, var(--card) 25%, var(--line) 50%, var(--card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3.5px solid var(--line);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--mute);
  font-size: 14px;
  padding: 40px 0;
  width: 100%;
  grid-column: 1 / -1;
}

.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--mute);
  grid-column: 1 / -1;
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   FOOTER & MOBILE STICKY BAR
   ========================================================================== */

footer {
  border-top: 1px solid var(--line);
  background: var(--bg2);
  padding: 50px 0 30px;
  margin-top: auto;
  color: var(--mute);
  font-size: 13.5px;
}

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

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--text);
  margin-bottom: 8px;
}

.footer-brand span {
  color: var(--gold);
}

.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--text);
}

.footer-socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--card);
}

.footer-socials svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Mobile Sticky Action Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--hdr);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 8px 12px;
  gap: 8px;
}

.mobile-sticky-bar a, .mobile-sticky-bar button {
  flex: 1;
  text-align: center;
  padding: 10px;
  font-size: 13px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .latest-spotlight {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .playlist-detail-hero {
    grid-template-columns: 1fr;
  }
  .collab-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }
  .channel-banner {
    height: 140px;
  }
  .channel-avatar {
    width: 90px;
    height: 90px;
    margin-top: -45px;
  }
  .channel-info-row {
    margin-top: -35px;
    gap: 16px;
  }
  .channel-title {
    font-size: 24px;
  }
  .search-shortcut {
    display: none;
  }
  .mobile-sticky-bar {
    display: flex;
  }
  body {
    padding-bottom: 60px;
  }
  .brand-logo span.full-title {
    display: none;
  }
  .nav-bar .btn.yt-sub {
    display: none;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .stats-callout {
    grid-template-columns: 1fr;
  }
}
