/* ============================================================
   EasyWorkBD — QuinTube Neon Theme v2 (Neon Prestige)
   Deep-space neon re-skin of the YouTube clone.
   Overrides every major component with the new design system.
   Kept in a separate file so changes can be reverted by removing
   just the <link> tag in includes/header.php.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Orbitron:wght@600;700;800;900&display=swap');

/* ---------- 1. Reset & global palette ---------- */
:root {
  --bg: #03041a;
  --bg2: #070c26;
  --surface: #0c1338;
  --surface-2: #101736;
  --panel: #101736;
  --panel2: #151d45;
  --text: #f4f7ff;
  --text2: #8b96c9;
  --text3: #5f6899;
  --border: rgba(125, 211, 252, 0.16);
  --hover: rgba(30, 41, 88, 0.6);
  --red: #ff2d55;
  --red2: #ff5b6e;
  --black: #04061a;
  --blue: #00e0ff;
  --accent: #a855f7;
  --accent2: #ff3ec8;
  --gold: #ffd54a;
  --green: #22c55e;
  --header-h: 58px;
  --sidebar-w: 240px;
  --mini-sidebar-w: 72px;
  --radius: 18px;
  --radius-sm: 13px;
  --shell-w: 480px;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--text);
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(1.6px 1.6px at 18px 26px, rgba(255,255,255,.85), transparent 55%),
    radial-gradient(1.3px 1.3px at 78px 92px, rgba(165,225,255,.75), transparent 55%),
    radial-gradient(1.8px 1.8px at 132px 40px, rgba(255,255,255,.65), transparent 55%),
    radial-gradient(1.2px 1.2px at 44px 140px, rgba(255,255,255,.55), transparent 55%),
    radial-gradient(1.5px 1.5px at 190px 128px, rgba(255,190,235,.7), transparent 55%),
    radial-gradient(1100px 560px at 12% -6%, rgba(124, 58, 237, 0.34), transparent 62%),
    radial-gradient(900px 640px at 96% 14%, rgba(255, 62, 200, 0.22), transparent 58%),
    radial-gradient(1000px 720px at 50% 118%, rgba(0, 224, 255, 0.2), transparent 62%),
    radial-gradient(720px 420px at 88% 88%, rgba(255, 45, 85, 0.16), transparent 60%),
    radial-gradient(640px 420px at 6% 62%, rgba(59, 130, 246, 0.16), transparent 60%);
  background-size: 220px 220px, 220px 220px, 220px 220px, 220px 220px, 220px 220px,
                   auto, auto, auto, auto, auto;
  overflow-x: hidden;
}

/* ambient starfield wash */
body::before {
  content: ""; position: fixed; inset: -20%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(600px 300px at 18% 32%, rgba(0, 224, 255, 0.12), transparent 55%),
    radial-gradient(520px 300px at 84% 58%, rgba(255, 62, 200, 0.1), transparent 55%),
    radial-gradient(700px 340px at 50% 8%, rgba(124, 58, 237, 0.14), transparent 60%);
  animation: ambientDrift 16s ease-in-out infinite alternate;
}
@keyframes ambientDrift {
  0% { transform: translate3d(0,0,0) scale(1); opacity: .85; }
  50% { transform: translate3d(2%, -3%, 0) scale(1.06); opacity: 1; }
  100% { transform: translate3d(-2.5%, 2%, 0) scale(1.02); opacity: .9; }
}
body::after { /* deep vignette */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(120% 120% at 50% 40%, transparent 62%, rgba(0,0,8,0.55) 100%);
}

::selection { background: rgba(0, 224, 255, 0.32); color: #fff; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #00e0ff, #a855f7); border-radius: 8px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); }

a { color: inherit; text-decoration: none; }
button { font-family: 'Poppins', inherit; cursor: pointer; border: none; background: none; }

/* ---------- 2. App shell (desktop glowing phone frame, mobile full-screen) ---------- */
.app {
  position: relative; z-index: 1;
  display: flex; margin: var(--header-h) auto 0; min-height: calc(100dvh - var(--header-h));
  max-width: 100%;
}
@media (min-width: 1024px) {
  .app { max-width: 1400px; justify-content: center; gap: 0; padding: 0 16px; align-items: flex-start; }
}
.main {
  position: relative; z-index: 1;
  flex: 1; min-width: 0;
  margin-left: var(--sidebar-w);
  background:
    radial-gradient(520px 260px at 50% -60px, rgba(0, 224, 255, 0.14), transparent 65%),
    radial-gradient(420px 300px at 105% 28%, rgba(168, 85, 247, 0.13), transparent 60%),
    radial-gradient(420px 300px at -5% 55%, rgba(255, 62, 200, 0.1), transparent 60%),
    linear-gradient(180deg, var(--bg2) 0%, var(--bg) 34%);
  border-radius: 0;
  min-height: calc(100dvh - var(--header-h));
  padding: 14px 18px 72px;
}
.main.mini-margin { margin-left: var(--mini-sidebar-w) !important; }
@media (max-width: 768px) {
  .main { margin-left: 0; }
  .main.mini-margin { margin-left: 0 !important; }
  .sidebar { display: none; }
}
@media (min-width: 1024px) {
  .main {
    margin: 18px 0 18px var(--sidebar-w);
    padding: 18px 18px 22px;
    border-radius: 28px; border: 1px solid transparent; background-clip: padding-box;
    box-shadow:
      0 0 0 1px rgba(0, 224, 255, 0.38),
      0 0 42px rgba(0, 224, 255, 0.25),
      0 0 90px rgba(168, 85, 247, 0.25),
      inset 0 0 90px rgba(10, 16, 48, 0.9),
      0 40px 80px rgba(0, 0, 0, 0.55);
    overflow: hidden;
  }
  .main.mini-margin { margin-left: var(--mini-sidebar-w) !important; }
}

/* ---------- 3. Sidebar (dark nav) ---------- */
.sidebar {
  background: linear-gradient(180deg, rgba(9,13,40,.95), rgba(6,9,32,.92));
  border-right: 1px solid rgba(125,211,252,.16);
  backdrop-filter: blur(18px);
  position: fixed; top: var(--header-h); left: 0; bottom: 0;
  width: var(--sidebar-w); overflow-y: auto; padding: 14px 10px;
  z-index: 40;
}
.sidebar .section { padding: 8px 0; border-bottom: 1px solid rgba(125,211,252,.12); }
.sidebar .section:last-child { border-bottom: 0; }
.sidebar .section-title { padding: 8px 14px 4px; font-size: 11px; font-weight: 700; color: var(--text2); text-transform: uppercase; letter-spacing: .18em; }
.nav-item {
  display: flex; align-items: center; gap: 18px;
  padding: 0 14px; height: 40px; border-radius: 13px; margin: 2px 6px;
  color: var(--text); font-size: 13.5px; font-weight: 500;
}
.nav-item .ico { font-size: 18px; width: 24px; text-align: center; color: var(--text2); }
.nav-item:hover { background: rgba(30, 41, 88, 0.55); }
.nav-item.active { background: linear-gradient(135deg, rgba(0,224,255,.18), rgba(168,85,247,.22)); border: 1px solid rgba(0,224,255,.3); box-shadow: 0 0 18px rgba(0,224,255,.25), inset 0 0 22px rgba(0,224,255,.08); }
.nav-item.active .ico { color: var(--blue); filter: drop-shadow(0 0 6px rgba(0,224,255,.6)); }

/* ---------- 4. Header (sticky neon top bar) ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header-h);
  display: flex; align-items: center; gap: 14px; padding: 0 16px; z-index: 100;
  background: linear-gradient(180deg, rgba(9, 13, 40, 0.92), rgba(6, 9, 32, 0.82));
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(0,224,255,.55) 25%, rgba(255,62,200,.55) 55%, rgba(255,213,74,.5) 80%, transparent) 1;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
}
.icon-btn {
  position: relative; width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(160deg, rgba(30, 41, 88, 0.75), rgba(12, 18, 48, 0.85));
  border: 1px solid var(--border); color: #dfe7ff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 20px; cursor: pointer;
  transition: transform .18s var(--ease-spring), box-shadow .25s, border-color .25s; text-decoration: none;
}
.icon-btn:hover { transform: translateY(-2px) scale(1.05); border-color: var(--accent); box-shadow: 0 0 16px rgba(0,224,255,0.45), inset 0 0 12px rgba(0,224,255,0.18); }
.icon-btn:active { transform: scale(.92); }

.logo { display: flex; align-items: center; gap: 9px; font-family: 'Orbitron', sans-serif; font-weight: 800; font-size: 16px; letter-spacing: .03em; color: #fff; text-decoration: none; filter: drop-shadow(0 0 14px rgba(0, 224, 255, 0.35)); }
.logo .play { color: #fff; font-size: 24px; background: linear-gradient(180deg, #ff5b6e, #e11d2e 60%, #b3101f); padding: 3px 8px 4px; border-radius: 7px; box-shadow: 0 0 14px rgba(255,45,85,.6), inset 0 1px 0 rgba(255,255,255,.4); }
.logo .country { font-size: 9px; color: var(--text2); vertical-align: super; letter-spacing: .1em; margin-left: 2px; font-family: 'Poppins'; font-weight: 700; }

.search-bar { flex: 1; max-width: 560px; display: flex; align-items: center; margin-left: auto; height: 40px; }
.search-input-wrap { flex: 1; display: flex; align-items: center; height: 100%; background: rgba(16,23,54,.8); border: 1px solid var(--border); border-right: none; border-radius: 40px 0 0 40px; padding: 0 16px; }
.search-input-wrap:focus-within { border-color: var(--accent); box-shadow: 0 0 18px rgba(0,224,255,.3), inset 0 0 14px rgba(0,224,255,.08); }
.search-input-wrap input { border: 0; outline: 0; width: 100%; background: transparent; color: var(--text); font-size: 14px; font-family: 'Poppins'; }
.search-input-wrap input::placeholder { color: var(--text3); }
.search-btn { width: 54px; height: 100%; background: linear-gradient(135deg, rgba(0,224,255,.25), rgba(168,85,247,.35)); border: 1px solid var(--border); border-radius: 0 40px 40px 0; color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.search-btn:hover { border-color: var(--accent); box-shadow: 0 0 16px rgba(0,224,255,.3); color: #fff; }
.mic-btn { display: none; } /* keep for future voice search (currently button hidden) */

.create-btn { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 18px; font-size: 12.5px; font-weight: 700; color: #04121a; background: linear-gradient(135deg, #3df2ff, #0ea5e9); box-shadow: 0 0 18px rgba(0,224,255,.5), inset 0 1px 0 rgba(255,255,255,.5); border: none; }
.create-btn:hover { filter: brightness(1.1); }
.create-menu { position: absolute; top: 46px; right: 0; z-index: 120; background: var(--surface); border: 1px solid rgba(125,211,252,.3); min-width: 272px; padding: 8px; border-radius: 18px; box-shadow: 0 0 28px rgba(0,224,255,.25), 0 18px 44px rgba(0,0,0,.6); }
.create-item { display: flex; gap: 12px; padding: 10px; border-radius: 12px; color: var(--text); }
.create-item:hover { background: rgba(30, 41, 88, 0.6); }
.create-ico { font-size: 20px; width: 28px; text-align: center; color: var(--blue); }
.signin-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 20px; font-size: 12.5px; font-weight: 700; color: #03222e; background: linear-gradient(135deg, #3df2ff, #0ea5e9); box-shadow: 0 0 18px rgba(0,224,255,.5), inset 0 1px 0 rgba(255,255,255,.55); }
.user-avatar { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--blue); box-shadow: 0 0 14px rgba(0,224,255,.5); }

/* ---------- 5. Video grid (neon cards) ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 10px; }
@media (max-width: 700px) { .video-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.video-card { display: block; color: var(--text); text-decoration: none; border-radius: 16px; overflow: hidden; background: linear-gradient(165deg, rgba(25,34,72,.9), rgba(13,18,46,.95)); border: 1px solid rgba(125,211,252,.18); box-shadow: 0 12px 28px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06); transition: transform .3s var(--ease-spring), border-color .3s, box-shadow .3s; }
.video-card:hover { transform: translateY(-5px); border-color: rgba(0,224,255,.4); box-shadow: 0 0 28px rgba(0,224,255,.3), 0 20px 46px rgba(0,0,0,.55); }
.thumb-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; background: radial-gradient(120% 120% at 20% 20%, rgba(0,224,255,.25), rgba(168,85,247,.25)); }
.thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease-out); }
.video-card:hover .thumb-wrap img { transform: scale(1.07); }
.thumb-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,6,26,.05) 40%, rgba(2,4,20,.85)); pointer-events: none; }
.duration { position: absolute; right: 8px; bottom: 8px; z-index: 2; background: rgba(2,4,18,.85); border: 1px solid rgba(255,255,255,.14); color: #fff; font-family: 'Orbitron'; font-size: 10px; padding: 3px 7px; border-radius: 6px; }
.card-meta { display: flex; gap: 10px; padding: 10px; }
.card-avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; object-fit: cover; border: 1px solid rgba(125,211,252,.25); }
.card-info { min-width: 0; flex: 1; }
.card-title { margin: 0 0 4px; font-size: 12.5px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-channel { font-size: 11px; color: var(--text2); }
.card-meta-line { font-size: 11px; color: var(--text2); margin-top: 3px; }

/* chips */
.chips-bar, .chips { display: flex; gap: 8px; overflow-x: auto; padding: 6px 2px 12px; scrollbar-width: none; }
.chips-bar::-webkit-scrollbar, .chips::-webkit-scrollbar { display: none; }
.chip { height: 32px; padding: 0 13px; border-radius: 16px; font-size: 12.5px; font-weight: 600; color: #dfe7ff; background: rgba(16,23,54,.75); border: 1px solid rgba(125,211,252,.2); white-space: nowrap; }
.chip:hover { border-color: rgba(0,224,255,.4); color: #fff; }
.chip.active, .chip.active { color: #03222e; background: linear-gradient(135deg, #3df2ff, #0ea5e9); border-color: transparent; box-shadow: 0 0 18px rgba(0,224,255,.55); font-weight: 800; }

/* ---------- 6. Page elements & buttons ---------- */
.container { max-width: 100%; }

/* Home hero */
.hero {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; margin-bottom: 14px; border-radius: var(--radius);
  border: 1px solid transparent;
  background:
    radial-gradient(120% 120% at 20% 20%, rgba(124,58,237,.55), transparent 55%) padding-box,
    linear-gradient(90deg, #03041a 0%, #0b0723 60%, #13072c 100%) padding-box,
    conic-gradient(from 180deg at 30% 50%, #00e0ff, #a855f7, #ff3ec8, #ffd54a, #00e0ff) border-box;
  box-shadow: 0 8px 26px rgba(124,58,237,.38), inset 0 0 40px rgba(10,16,48,.85);
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,62,200,.35), transparent 65%); pointer-events: none;
}
.hero-title { font-size: 19px; font-weight: 800; line-height: 1.2; font-family: 'Orbitron', sans-serif; text-shadow: 0 2px 14px rgba(0,0,0,.5); }
.hero-title .accent { background: linear-gradient(90deg, #ffe873, #ffb03f 55%, #ff7a3d); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 12px rgba(255,213,74,.45)); }
.hero-sub { font-size: 10.5px; color: #d5c4ff; margin-top: 5px; line-height: 1.4; max-width: 320px; }
.hero .btn { margin-top: 10px; }
.hero-art { flex: 0 0 110px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.hero-art img { width: 100%; height: auto; filter: drop-shadow(0 8px 20px rgba(255,62,200,.4)); animation: heroFloat 4.5s ease-in-out infinite; }
@keyframes heroFloat { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-11px) rotate(1.2deg); } }

@media (max-width: 640px) {
  .hero { gap: 12px; padding: 14px; }
  .hero-title { font-size: 16px; }
  .hero-art { flex-basis: 90px; }
}

/* Quick earn strip */
.quick-earn {
  display: flex; align-items: center; gap: 14px;
  margin-top: 16px; padding: 14px 16px; border-radius: var(--radius);
  background:
    radial-gradient(90% 140% at 10% 10%, rgba(255,213,74,.28), transparent 60%) padding-box,
    linear-gradient(135deg, rgba(40,25,5,.92), rgba(16,10,3,.96)) padding-box,
    linear-gradient(150deg, #ffe873, #ffb03f 50%, #f59e0b) border-box;
  border: 1px solid transparent;
  box-shadow: 0 8px 26px rgba(255,213,74,.22), inset 0 0 40px rgba(0,0,0,.35);
}
.quick-earn-icon { font-size: 34px; filter: drop-shadow(0 4px 10px rgba(255,213,74,.4)); }
.quick-earn-title { font-size: 12.5px; font-weight: 700; color: #fff8e1; }
.quick-earn-sub  { font-size: 11px; color: #ffd54a; margin-top: 3px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 18px; border-radius: 20px; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; position: relative; overflow: hidden; }
.btn-primary, .btn-red { background: linear-gradient(135deg, #ff6b7f 0%, #ff2d55 45%, #cf1834 100%); color: #fff; box-shadow: 0 8px 24px rgba(255,45,85,.45), inset 0 1px 0 rgba(255,255,255,.4); border: none; }
.btn-primary:hover, .btn-red:hover { filter: brightness(1.12); }
.btn-gold { background: linear-gradient(135deg, #fff08a 0%, #ffc233 42%, #f59e0b 100%); color: #241a02; box-shadow: 0 8px 26px rgba(255,213,74,.45), inset 0 1px 0 rgba(255,255,255,.75); border: none; }
.btn-blue, .btn-cyan { color: #03222e; background: linear-gradient(135deg, #3df2ff 0%, #06b6d4 45%, #2563eb 100%); box-shadow: 0 10px 28px rgba(0,224,255,.45), inset 0 1px 0 rgba(255,255,255,.55); border: none; }
.btn-purple { background: linear-gradient(135deg, #d3a5ff 0%, #a855f7 45%, #6d28d9 100%); color: #fff; box-shadow: 0 10px 28px rgba(168,85,247,.45), inset 0 1px 0 rgba(255,255,255,.4); border: none; }
.container .btn-primary { margin-right: 8px; }
.duration-live { }
.ad-slot-header, .ad-slot-wide { display: none; } /* ads muted in the neon theme */

/* ad slots hidden for a cleaner look */
.ad-slot { background: rgba(16,23,54,.5); border: 1px dashed rgba(0,224,255,.25); color: var(--text2); }

/* ---------- 7. Notifications badge & toast ---------- */
.notif-btn { position: relative; }
.badge { position: absolute; top: -4px; right: -4px; }

/* ---------- 8. Bottom nav (matches live markup: .bottom-nav-item etc.) ---------- */
@media (max-width: 768px) {
  .bottom-nav {
    height: 58px;
    background: linear-gradient(180deg, rgba(9,13,40,.94), rgba(6,9,32,.97));
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(125,211,252,.32);
    box-shadow: 0 -4px 28px rgba(0,0,0,.5), 0 0 32px rgba(0,224,255,.12);
  }
  .bottom-nav-item { color: var(--text2); }
  .bottom-nav-item.active { color: var(--blue); filter: drop-shadow(0 0 7px rgba(0,224,255,.65)); }
  .bottom-nav-item.active .bottom-nav-ico,
  .bottom-nav-item.active .bottom-nav-label { color: var(--blue); font-weight: 700; }
  .bottom-nav-ico { font-size: 20px; }
  .bottom-nav-label { font-size: 9.5px; color: inherit; }
  .bottom-nav-item:active { background: rgba(0,224,255,.12); }
  .bottom-nav-create-circle {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, #3df2ff 0%, #a855f7 120%);
    color: #04121a; font-weight: 800;
    box-shadow: 0 0 20px rgba(0,224,255,.55), 0 0 34px rgba(168,85,247,.35), inset 0 1px 0 rgba(255,255,255,.6);
  }
  .bottom-nav-create:active .bottom-nav-create-circle { background: #06b6d4; }
}

/* Library quick panel: neon sheet */
.lib-quick {
  background: linear-gradient(165deg, rgba(25,34,72,.97), rgba(13,18,46,.98));
  border: 1px solid rgba(0,224,255,.3) !important;
  box-shadow: 0 0 30px rgba(0,224,255,.22), 0 20px 50px rgba(0,0,0,.6) !important;
  border-radius: 18px !important;
  backdrop-filter: blur(14px);
  padding: 8px;
}
.lib-quick-item { border-radius: 12px; color: var(--text) !important; }
.lib-quick-item:hover, .lib-quick-item:active { background: rgba(0,224,255,.14) !important; }
.lib-quick-ico { filter: drop-shadow(0 0 6px rgba(0,224,255,.5)); }

/* Create menu neon */
.create-menu {
  background: linear-gradient(165deg, rgba(25,34,72,.97), rgba(13,18,46,.98)) !important;
  border: 1px solid rgba(0,224,255,.3) !important;
  box-shadow: 0 0 30px rgba(0,224,255,.22), 0 20px 50px rgba(0,0,0,.6) !important;
}
.create-item:hover { background: rgba(0,224,255,.14) !important; }
.create-item b { color: var(--text); }
.create-item small { color: var(--text2) !important; }
.mic-btn { background: var(--surface-2); color: var(--text2); border: 1px solid var(--border); }
.mic-btn:hover { background: rgba(0,224,255,.18); color: var(--blue); }
.side-teaser { border-top-color: rgba(125,211,252,.14); }
.side-teaser-btn { background: linear-gradient(135deg, #3df2ff, #0ea5e9); color: #03222e !important; font-weight: 800; box-shadow: 0 0 16px rgba(0,224,255,.45); }
.side-teaser-btn:hover { background: linear-gradient(135deg, #5ff0ff, #22d3ee); box-shadow: 0 0 22px rgba(0,224,255,.6); }

/* ---------- 9. Footer ---------- */
footer { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px; color: var(--text3); border-top: 1px solid rgba(125,211,252,.14); background: rgba(9,13,40,.7); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; font-family: 'Orbitron'; }
footer .play { color: #ff2d55; font-size: 18px; margin-right: 4px; }

/* ---------- 10. Shorts / full-bleed mobile ---------- */
.shorts-page { background: var(--bg); }

/* ---------- 11. Sweep buttons shimmer ---------- */
.btn { overflow: hidden; }
.btn::after { content: ""; position: absolute; top: -60%; left: -80%; width: 55%; height: 220%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent); transform: rotate(18deg); animation: sweepLight 3.4s ease-in-out infinite; pointer-events: none; }
@keyframes sweepLight { 0%,45% { left: -80%; } 82%,100% { left: 135%; } }

/* ---------- 12. Settings / admin dark panels ---------- */
.admin-sidebar, .admin-main, .stat-card, .panel, .admin-card { color: var(--text); }
.stat-card { background: linear-gradient(165deg, rgba(25,34,72,.92), rgba(13,18,46,.94)); border: 1px solid rgba(125,211,252,.2); }
.admin-card { background: linear-gradient(165deg, rgba(25,34,72,.88), rgba(13,18,46,.92)); border: 1px solid rgba(125,211,252,.18); border-radius: var(--radius-sm); }
.field, input, select, textarea { color-scheme: dark; }

/* section titles */
.section-title, h1, h2, h3, h4 { color: var(--text); font-family: 'Orbitron', 'Poppins', sans-serif; letter-spacing: .02em; }

/* ---------- 13. Menu / dropdowns ---------- */
.hidden { display: none !important; }

/* ---------- 14. Empty / loading states ---------- */
.skeleton { background: linear-gradient(90deg, rgba(125,211,252,.08) 0%, rgba(168,85,247,.14) 50%, rgba(125,211,252,.08) 100%); background-size: 200% 100%; animation: sk 1.6s ease-in-out infinite; border-radius: 12px; }
@keyframes sk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* favorites / subscribe / pills */
.pill, .badge, .duration { font-family: 'Orbitron', monospace; }

/* loading spinner for inline video lists */
.spinner { border: 2px solid rgba(125,211,252,.18); border-top: 2px solid var(--blue); border-radius: 50%; width: 22px; height: 22px; animation: spin 0.9s linear infinite; }
@keyframes spin { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }

/* watch pages theme */
.watch-side { color: var(--text); }
.rec-card { display: flex; flex-direction: column; background: rgba(16,23,54,.6); border: 1px solid rgba(125,211,252,.12); border-radius: 16px; overflow: hidden; }
.rec-thumb { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, rgba(0,224,255,.15), rgba(168,85,247,.18)); }
.rec-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rec-info { padding: 8px 10px; }
.rec-title { font-size: 12px; font-weight: 600; line-height: 1.4; margin: 0 0 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rec-meta { font-size: 11px; color: var(--text2); }

/* ---------- 16. Earn / tasks page: neon overrides ---------- */
.earn-subnav { border-bottom-color: rgba(125,211,252,.14); }
.earn-subnav-btn { background: rgba(16,23,54,.75); border-color: rgba(125,211,252,.2); color: #c7d2fe; }
.earn-subnav-btn:hover { border-color: var(--blue); color: var(--blue); text-shadow: 0 0 10px rgba(0,224,255,.5); }
.earn-subnav-btn.active { background: linear-gradient(135deg, #3df2ff 0%, #a855f7 130%); border-color: transparent; color: #04121a; box-shadow: 0 0 16px rgba(0,224,255,.5); font-weight: 800; }
.tasks-hero {
  border: 1px solid transparent;
  background:
    radial-gradient(120% 140% at 15% 10%, rgba(255,213,74,.28), transparent 55%) padding-box,
    radial-gradient(100% 120% at 90% 90%, rgba(168,85,247,.4), transparent 55%) padding-box,
    linear-gradient(135deg, #191248 0%, #120a2c 100%) padding-box,
    conic-gradient(from 140deg at 60% 40%, #ffd54a, #ff3ec8, #a855f7, #00e0ff, #ffd54a) border-box;
  border-radius: 20px; padding: 22px;
  box-shadow: 0 10px 30px rgba(168,85,247,.35), inset 0 0 44px rgba(10,16,48,.8);
}
.tasks-hero h1 { color: #fff; font-size: 20px; }
.tasks-hero p { color: #c4b5fd; }
.tasks-stat b { color: #ffd54a; font-family: 'Orbitron'; }
.tasks-stat span { color: #a5b4fc; }
.tasks-section-title { color: var(--text2); }
.task-card { background: var(--surface-2); border-color: rgba(125,211,252,.18); box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.task-ico { background: rgba(0,224,255,.12); border: 1px solid rgba(0,224,255,.25); box-shadow: inset 0 0 14px rgba(0,224,255,.1); }
.task-reward { background: linear-gradient(135deg, rgba(255,213,74,.22), rgba(255,213,74,.08)); border: 1px solid rgba(255,213,74,.4); color: #ffd54a; }
.task-prog { background: rgba(125,211,252,.12); }
.task-prog-fill { background: linear-gradient(90deg, #00e0ff, #a855f7); box-shadow: 0 0 10px rgba(0,224,255,.5); border-radius: 3px; }
.task-btn { background: rgba(30,41,88,.6); border-color: rgba(125,211,252,.3); color: var(--text); }
.task-btn:hover { border-color: var(--blue); color: var(--blue); }
.task-btn.claimed { background: rgba(34,197,94,.16); border-color: rgba(34,197,94,.45); color: #4ade80; }
.watch-line { background: var(--surface-2); border-color: rgba(125,211,252,.18); }
.watch-big { color: #e0f2fe; font-family: 'Orbitron'; }
.watch-claim { background: linear-gradient(135deg, #ff6b7f, #ff2d55 60%, #cf1834); box-shadow: 0 6px 18px rgba(255,45,85,.4); border: 1px solid transparent; color: #fff; }
.watch-claim.claimed { background: rgba(34,197,94,.16); color: #4ade80; border-color: rgba(34,197,94,.4); box-shadow: none; }
.watch-claim[disabled] { background: rgba(30,41,88,.5); color: var(--text3); }
.ledger-row { background: var(--surface-2); border-color: rgba(125,211,252,.16); }
.ledger-points { color: #4ade80; }
.ledger-points.neg { color: #fb7185; }
.howto { background: var(--surface-2); border-color: rgba(125,211,252,.18); }
.howto a { color: var(--blue); }
.flash-ok { background: rgba(34,197,94,.14); color: #4ade80; border: 1px solid rgba(34,197,94,.35); }
.flash-err { background: rgba(255,45,85,.12); color: #fda4af; border: 1px solid rgba(255,45,85,.35); }
.flash-info { background: rgba(59,130,246,.12); color: #93c5fd; border: 1px solid rgba(59,130,246,.35); }
.btn-ghost { background: rgba(125,211,252,.14); color: #c7d2fe; }
.btn-ghost:hover { background: rgba(0,224,255,.2); color: #fff; }

/* ---------- 17. Withdraw page: neon overrides ---------- */
.wd-hero {
  border: 1px solid transparent;
  background:
    radial-gradient(120% 140% at 15% 15%, rgba(0,224,255,.25), transparent 55%) padding-box,
    radial-gradient(100% 130% at 90% 90%, rgba(168,85,247,.4), transparent 55%) padding-box,
    linear-gradient(135deg, #101736 0%, #0c0a28 100%) padding-box,
    conic-gradient(from 200deg at 60% 40%, #00e0ff, #a855f7, #ff3ec8, #00e0ff) border-box;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,224,255,.25), inset 0 0 44px rgba(10,16,48,.8);
}
.wd-hero h1 { color: #fff; }
.wd-hero p { color: #a5b4fc; }
.wd-balance b { color: #ffd54a; font-family: 'Orbitron'; text-shadow: 0 0 18px rgba(255,213,74,.45); }
.wd-balance span { color: #8b96c9; }
.wd-card { background: var(--surface-2); border-color: rgba(125,211,252,.2); box-shadow: 0 8px 22px rgba(0,0,0,.4); }
.wd-card h2 { color: var(--text); }
.wd-card .muted, .wd-field label { color: var(--text2); }
.wd-method { background: rgba(16,23,54,.75); border-color: rgba(125,211,252,.2); color: var(--text); }
.wd-method:hover { border-color: var(--blue); box-shadow: 0 0 16px rgba(0,224,255,.22); }
.wd-method input { accent-color: #ff2d55; }
.wd-field input, .wd-field select, .wd-field textarea {
  background: rgba(12,18,48,.8); border-color: rgba(125,211,252,.22); color: var(--text);
}
.wd-field input:focus, .wd-field select:focus, .wd-field textarea:focus { border-color: var(--blue); box-shadow: 0 0 12px rgba(0,224,255,.28); }
.wd-amt b { color: #ffd54a; font-family: 'Orbitron'; }
.wd-table th { color: var(--text2); border-bottom-color: rgba(125,211,252,.2); }
.wd-table td { border-bottom-color: rgba(125,211,252,.12); }
.b-pending { background: rgba(255,213,74,.16); color: #ffd54a; border: 1px solid rgba(255,213,74,.35); }
.b-paid { background: rgba(34,197,94,.16); color: #4ade80; border: 1px solid rgba(34,197,94,.4); }
.b-rejected { background: rgba(255,45,85,.14); color: #fda4af; border: 1px solid rgba(255,45,85,.4); }

/* ---------- 18. Watch page: neon overrides ---------- */
.video-title { color: var(--text); font-weight: 800; }
.channel-avatar-lg { border: 2px solid rgba(0,224,255,.45); box-shadow: 0 0 12px rgba(0,224,255,.35); }
.channel-name { color: var(--text); font-weight: 700; }
.channel-name .verified { color: var(--blue); filter: drop-shadow(0 0 6px rgba(0,224,255,.6)); }
.channel-subs { color: var(--text2); }
.subscribe-btn { background: linear-gradient(135deg, #ff6b7f, #ff2d55 55%, #cf1834); color: #fff; font-weight: 800; letter-spacing: .02em; box-shadow: 0 6px 20px rgba(255,45,85,.4), inset 0 1px 0 rgba(255,255,255,.4); transition: transform .2s var(--ease-spring), filter .2s; }
.subscribe-btn:hover { background: linear-gradient(135deg, #ff8599, #ff3d63 55%, #de1f3c); filter: brightness(1.1); }
.subscribe-btn.subscribed { background: rgba(125,211,252,.14); color: var(--blue); border: 1px solid rgba(0,224,255,.4); box-shadow: none; }
.action-pill { background: rgba(16,23,54,.8); border: 1px solid rgba(125,211,252,.2); color: var(--text); transition: border-color .2s, box-shadow .25s, transform .15s; }
.action-pill:hover { background: rgba(0,224,255,.12); border-color: rgba(0,224,255,.45); box-shadow: 0 0 16px rgba(0,224,255,.25); }
.action-pill.liked { background: rgba(255,45,85,.18); border-color: rgba(255,45,85,.5); color: #ffb3c1; box-shadow: 0 0 16px rgba(255,45,85,.3); }
.description-box { background: rgba(16,23,54,.7); border: 1px solid rgba(125,211,252,.16); color: #dbe3ff; border-radius: 16px; }
.description-box .meta { color: #a5b4fc; }
.comments-header { color: var(--text); }
.comment-input { color: var(--text); border-bottom-color: rgba(125,211,252,.3); }
.comment-input::placeholder { color: var(--text3); }
.comment-input:focus { border-bottom-color: var(--blue); box-shadow: 0 2px 10px rgba(0,224,255,.15); }

/* Hide the "YouTube / Shorts from YouTube" marker at the top of the Shorts feed */
#ytShortsMarker { display: none !important; }

/* ---------- 15. Utility: subtle glow rings ---------- */
.neon-ring { box-shadow: 0 0 0 1px rgba(0,224,255,.35), 0 0 22px rgba(0,224,255,.14), 0 0 60px rgba(0,224,255,.07), 0 10px 28px rgba(0,0,0,.5), inset 0 0 34px rgba(0,224,255,.05); }
