/* ===================================================
   TALADLANG.COM - NEON CYBERPUNK NEWS THEME
   =================================================== */

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Sarabun', 'Noto Sans Thai', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }
input { font-family: inherit; }

/* ========== DESIGN TOKENS ========== */
:root {
  --bg-primary: #0a0612;
  --bg-secondary: #15101f;
  --bg-card: #1a1330;
  --bg-card-hover: #221a3d;
  --bg-tertiary: #1f1530;

  --neon-pink: #ff2d92;
  --neon-pink-light: #ff5fb0;
  --neon-pink-glow: #ff006e;
  --neon-purple: #a855f7;
  --neon-purple-deep: #7c3aed;
  --neon-cyan: #00e5ff;

  --text-primary: #ffffff;
  --text-secondary: #c4bdd6;
  --text-muted: #7a7494;

  --border: rgba(168, 85, 247, 0.18);
  --border-strong: rgba(255, 45, 146, 0.4);

  --gradient-cta: linear-gradient(135deg, #ff2d92 0%, #a855f7 100%);
  --gradient-pink: linear-gradient(135deg, #ff006e 0%, #ff2d92 50%, #a855f7 100%);
  --gradient-hero: radial-gradient(ellipse at top left, rgba(168, 85, 247, 0.25) 0%, transparent 50%),
                   radial-gradient(ellipse at top right, rgba(255, 45, 146, 0.25) 0%, transparent 50%),
                   linear-gradient(135deg, #1a0a2e 0%, #0f0820 100%);

  --glow-pink: 0 0 20px rgba(255, 45, 146, 0.45);
  --glow-pink-strong: 0 0 30px rgba(255, 45, 146, 0.7), 0 0 60px rgba(255, 45, 146, 0.3);
  --glow-purple: 0 0 25px rgba(168, 85, 247, 0.4);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--border);

  --header-h: 72px;
}

/* ========== BACKGROUND DECORATION ========== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(168, 85, 247, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 5%, rgba(255, 45, 146, 0.10) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 3, 12, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(130, 70, 200, 0.22);
  height: var(--header-h);
}
.header-inner {
  max-width: 1460px;
  margin: 0 auto;
  height: 100%;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo { flex-shrink: 0; }
.logo img {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(255, 45, 146, 0.5));
}

.main-nav { display: flex; gap: 4px; flex-shrink: 0; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.nav-link i { font-size: 13px; color: var(--neon-pink); }
.nav-link:hover { color: #fff; background: rgba(168, 85, 247, 0.1); }
.nav-link.active { color: #fff; background: rgba(255, 45, 146, 0.12); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.search-box {
  position: relative;
  display: flex;
  align-items: center;
}
.search-box i {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 13px;
  pointer-events: none;
}
.search-box input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 9px 16px 9px 38px;
  color: var(--text-primary);
  font-size: 13px;
  width: 220px;
  transition: all 0.25s ease;
}
.search-box input::placeholder { color: var(--text-muted); }
.search-box input:focus {
  outline: none;
  border-color: var(--neon-pink);
  box-shadow: 0 0 0 3px rgba(255, 45, 146, 0.15);
  width: 250px;
}

.btn-tip {
  background: var(--gradient-cta);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 15px rgba(255, 45, 146, 0.4), 0 0 25px rgba(255, 45, 146, 0.2);
  transition: all 0.3s ease;
}
.btn-tip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 45, 146, 0.6), 0 0 40px rgba(255, 45, 146, 0.4);
}

.icon-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.icon-btn:hover { color: #fff; border-color: var(--neon-pink); box-shadow: var(--glow-pink); }

.mobile-menu-btn {
  display: none;
  width: 40px; height: 40px;
  font-size: 20px;
  color: #fff;
}

/* ========== LEFT SIDE NAV ========== */
.side-nav {
  position: fixed;
  left: 12px;
  top: calc(var(--header-h) + 100px);
  z-index: 50;
  display: none;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-card);
  padding: 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.side-nav-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s ease;
}
.side-nav-btn:hover { color: var(--neon-pink); background: rgba(255, 45, 146, 0.1); }
.side-nav-btn.active {
  color: #fff;
  background: var(--gradient-cta);
  box-shadow: var(--glow-pink);
}

/* ========== LAYOUT ========== */
.container { max-width: 1460px; margin: 0 auto; padding: 0 12px; position: relative; z-index: 1; }
.layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 18px;
  padding: 14px 0 50px;
}
.content { min-width: 0; }

/* ========== HERO (image-based banner) ========== */
.hero {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 18px;
  background: #050508;
  border: 1px solid rgba(108, 60, 170, 0.35);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 20px 50px rgba(0, 0, 0, 0.55);
}
.hero-img {
  width: 100%;
  aspect-ratio: 1000 / 300;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  filter: contrast(1.08) saturate(1.13) brightness(0.96);
}
.hero .live-badge { top: 14px; left: 14px; }
.hero .hero-tags {
  position: relative;
  inset: auto;
  z-index: 2;
  margin: 0;
  padding: 10px 14px 12px;
  background: linear-gradient(180deg, rgba(10, 6, 20, 0.65), rgba(10, 6, 20, 0.95));
  border-top: 1px solid rgba(120, 70, 180, 0.30);
  justify-content: flex-start;
}
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 28%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0));
  pointer-events: none;
  z-index: 1;
}
.hero .live-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  margin: 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 14px;
  border-radius: calc(var(--radius-xl) - 6px);
  border: 1px solid rgba(168, 85, 247, 0.18);
  pointer-events: none;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Side energy / lightning vibes */
.hero-bolt {
  position: absolute;
  top: -15%;
  width: clamp(220px, 32vw, 420px);
  height: 130%;
  opacity: 0.85;
}
.hero-bolt--left {
  left: -8%;
  background:
    radial-gradient(ellipse 110% 80% at 0% 45%, rgba(255, 50, 180, 0.45), transparent 58%),
    radial-gradient(ellipse 90% 70% at 25% 30%, rgba(140, 60, 220, 0.35), transparent 55%),
    conic-gradient(from 165deg at 10% 50%, transparent 55%, rgba(200, 100, 255, 0.25) 60%, transparent 72%);
  filter: blur(1px);
  -webkit-mask-image: linear-gradient(to right, black 0%, black 65%, transparent 100%);
  mask-image: linear-gradient(to right, black 0%, black 65%, transparent 100%);
}
.hero-bolt--right {
  right: -8%;
  background:
    radial-gradient(ellipse 110% 80% at 100% 45%, rgba(80, 120, 255, 0.42), transparent 58%),
    radial-gradient(ellipse 90% 70% at 75% 30%, rgba(180, 60, 210, 0.35), transparent 55%),
    conic-gradient(from -15deg at 90% 50%, transparent 58%, rgba(120, 100, 255, 0.28) 64%, transparent 74%);
  filter: blur(1px);
  -webkit-mask-image: linear-gradient(to left, black 0%, black 65%, transparent 100%);
  mask-image: linear-gradient(to left, black 0%, black 65%, transparent 100%);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(0, 0, 0, 0.55) 100%);
}

.hero-glow-core {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(780px, 95%);
  height: 55%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse closest-side, rgba(130, 50, 200, 0.22), transparent 72%);
}

/* Grain / smoke overlay */
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.5px),
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1.8px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 12px 7px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 100%;
  margin: 0;
  padding: 30px 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.live-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 4, 16, 0.55);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #fff;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.live-dot {
  width: 9px;
  height: 9px;
  background: #ff0033;
  border-radius: 50%;
  box-shadow:
    0 0 0 2px rgba(255, 0, 50, 0.35),
    0 0 14px #ff1744;
  animation: pulse 1.8s infinite;
}
.live-word {
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 12px;
}
.live-text {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  margin-left: 4px;
  font-size: 12.5px;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.82; transform: scale(1.06); }
}

/* Glitch-ish gradient title — horizontal pink → purple → electric blue */
.hero-title-wrap {
  position: relative;
  margin-bottom: 10px;
  width: 100%;
}
.hero-title-wrap::after {
  content: '';
  position: absolute;
  left: -4%;
  right: -4%;
  top: 10%;
  bottom: 22%;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0) 0px,
    rgba(255, 255, 255, 0) 8px,
    rgba(255, 255, 255, 0.04) 9px,
    rgba(255, 255, 255, 0) 10px,
    rgba(255, 255, 255, 0) 18px
  );
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-title {
  font-family: 'Kanit', 'Mitr', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
  font-size: clamp(48px, 6.6vw, 98px);
  margin: 0;
  padding: 0;
  position: relative;
  display: block;
}

.hero-title-text {
  display: inline-block;
  background: linear-gradient(
    92deg,
    #ff48a8 0%,
    #ff6b6b 22%,
    #c964ff 50%,
    #6bb5ff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 0 18px rgba(255, 60, 180, 0.55))
    drop-shadow(0 0 38px rgba(80, 150, 255, 0.35));
}

.hero-title::before,
.hero-title::after {
  content: 'ข่าวดราม่าวันนี้';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  text-align: center;
  white-space: nowrap;
  font: inherit;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero-title::before {
  transform: translate(-2px, 0);
  color: rgba(255, 60, 200, 0.45);
  clip-path: polygon(0 8%, 100% 6%, 100% 16%, 0 18%);
  animation: glitch-title 4s infinite linear;
}
.hero-title::after {
  transform: translate(2px, 0);
  color: rgba(0, 230, 255, 0.38);
  clip-path: polygon(0 52%, 100% 50%, 100% 64%, 0 66%);
  animation: glitch-title 5.2s infinite linear;
}

@keyframes glitch-title {
  0%, 93%, 100% { opacity: 0; }
  94% { opacity: 0.55; transform: translate(-2px, 1px); }
  95% { opacity: 0.4; transform: translate(3px, -1px); }
  96% { opacity: 0.58; transform: translate(-1px, 0); }
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 1.8vw, 32px);
  font-weight: 500;
  margin: 0 0 16px;
  max-width: 100%;
  line-height: 1.2;
  text-wrap: balance;
}

.hero-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  width: 100%;
}
.hero-tags-hot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(168, 85, 247, 0.45);
  background: rgba(25, 12, 45, 0.65);
  color: #ffb6e8;
  font-size: 13px;
  font-weight: 600;
}
.hero-tags-hot i {
  color: var(--neon-pink);
}

/* Reference-style pills inside hero only */
.tag.tag--hero {
  background: rgba(18, 8, 32, 0.72);
  border: 1px solid rgba(168, 85, 247, 0.42);
  color: #ebc6ff;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 0 0 1px rgba(255, 45, 146, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.tag.tag--hero:hover {
  background: rgba(40, 20, 70, 0.85);
  color: #fff;
  border-color: rgba(255, 107, 200, 0.55);
  box-shadow:
    0 0 20px rgba(255, 60, 180, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

@media (max-width: 560px) {
  .live-badge {
    align-self: center;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    row-gap: 4px;
  }
}

/* ========== TAGS ========== */
.tag {
  display: inline-block;
  background: rgba(255, 45, 146, 0.12);
  border: 1px solid rgba(255, 45, 146, 0.35);
  color: var(--neon-pink-light);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  transition: all 0.25s ease;
}
.tag:hover {
  background: var(--neon-pink);
  color: #fff;
  border-color: var(--neon-pink);
  box-shadow: var(--glow-pink);
  transform: translateY(-1px);
}
.tag-sm {
  display: inline-block;
  color: var(--neon-pink-light);
  font-size: 13px;
  font-weight: 500;
  margin-right: 4px;
  transition: color 0.2s;
}
.tag-sm:hover { color: var(--neon-pink); text-decoration: underline; }

/* ========== FILTER BAR ========== */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 0 4px;
}
.filter-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.filter-title i:first-child { color: var(--neon-pink); }
.filter-title .small { font-size: 12px; color: var(--text-muted); }
.filter-sort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.filter-sort button {
  color: #fff;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}
.filter-sort button:hover { background: var(--bg-card); }
.small { font-size: 11px; }

/* ========== NEWS CARD ========== */
.news-card {
  background: #140f28;
  border: 1px solid rgba(125, 65, 190, 0.22);
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: grid;
  grid-template-columns: minmax(300px, 42%) 1fr;
  grid-template-areas:
    "thumb head"
    "thumb body"
    "thumb stats"
    "thumb actions";
}
.news-card.is-hidden {
  display: none;
}
.news-card:hover {
  border-color: rgba(255, 45, 146, 0.38);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 45, 146, 0.08);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 8px;
  grid-area: head;
}
.card-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--neon-pink);
  box-shadow: 0 0 12px rgba(255, 45, 146, 0.3);
}
.card-meta { flex: 1; min-width: 0; }
.card-author {
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
}
.verified { color: #1da1f2; font-size: 13px; }
.card-time { font-size: 12px; color: var(--text-muted); }
.card-menu {
  width: 32px; height: 32px;
  border-radius: 50%;
  color: var(--text-muted);
  transition: all 0.2s;
}
.card-menu:hover { background: var(--bg-tertiary); color: #fff; }

.card-body {
  padding: 0 14px 10px;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.5;
  grid-area: body;
}
.card-tags { margin-top: 8px; }

.card-thumb {
  position: relative;
  background: #000;
  overflow: hidden;
  grid-area: thumb;
  border-right: 1px solid rgba(125, 65, 190, 0.26);
}
.card-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .card-thumb img { transform: scale(1.02); }

.card-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
  grid-area: stats;
}
.reactions { display: flex; align-items: center; gap: 2px; }
.reaction-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  background: var(--bg-tertiary);
  border: 2px solid var(--bg-card);
  margin-left: -6px;
}
.reaction-icon:first-child { margin-left: 0; }
.reaction-count { margin-left: 8px; color: var(--text-secondary); font-weight: 500; }
.stats-right { display: flex; gap: 14px; }

.card-actions {
  display: flex;
  padding: 4px 6px;
  grid-area: actions;
  border-top: 1px solid rgba(125, 65, 190, 0.22);
  align-items: center;
  gap: 4px;
}
.card-actions button {
  flex: 1;
  min-height: 38px;
  padding: 8px 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s;
}
.card-actions button:hover {
  background: rgba(168, 85, 247, 0.1);
  color: var(--neon-pink-light);
}
.card-actions button i { font-size: 16px; }

/* ========== LOAD MORE ========== */
.load-more {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 8px;
}
.load-more:hover {
  background: var(--gradient-cta);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--glow-pink);
}

/* ========== SIDEBAR ========== */
.sidebar { display: flex; flex-direction: column; gap: 14px; }
.widget {
  background: linear-gradient(180deg, rgba(10, 9, 22, 0.95) 0%, rgba(8, 8, 16, 0.96) 100%);
  border: 1px solid rgba(98, 132, 255, 0.25);
  border-radius: 14px;
  padding: 12px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 10px 24px rgba(0, 0, 0, 0.38);
}
.widget-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.widget-head h3 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.widget-head h3 i { color: var(--neon-pink); }
.fb-icon { color: #1877f2; font-size: 22px; }
.yt-icon { color: #ff0033; font-size: 22px; }
.see-all { font-size: 12px; color: var(--neon-pink); font-weight: 500; }
.see-all:hover { text-decoration: underline; }

.trending-people-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.trending-person-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 11px;
  border-radius: 10px;
  border: 1px solid rgba(122, 84, 214, 0.32);
  background: linear-gradient(180deg, rgba(24, 11, 40, 0.78), rgba(15, 8, 27, 0.86));
}
.people-mini-avatar-wrap {
  width: 32px;
  height: 32px;
  position: relative;
  flex-shrink: 0;
}
.people-mini-avatar {
  position: absolute;
  inset: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(227, 168, 255, 0.8);
  display: block;
}
.people-mini-avatar-fallback {
  position: absolute;
  inset: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6630c0, #f143cb);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
}
.trending-person-name {
  color: #f3edff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}
.trending-person-score {
  color: #ff8fde;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.trending-empty {
  color: var(--text-muted);
  font-size: 12px;
  padding: 8px 2px;
}
.people-shell {
  border-color: rgba(138, 84, 228, 0.35);
}
.person-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #bda6de;
  font-size: 12px;
}
.person-breadcrumb a {
  color: #d8c5f5;
  text-decoration: none;
}
.person-breadcrumb a:hover {
  color: #fff;
}
.people-intro {
  color: #cec4e7;
  font-size: 13px;
  line-height: 1.5;
  margin: -2px 0 12px;
}
.person-hero {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(120, 78, 220, 0.35);
  background: linear-gradient(180deg, rgba(30, 12, 48, 0.72), rgba(16, 8, 32, 0.82));
  margin-bottom: 12px;
}
.person-avatar-wrap {
  width: 52px;
  height: 52px;
  position: relative;
  flex-shrink: 0;
}
.person-avatar {
  position: absolute;
  inset: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ff66d3, #7329c8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 0 18px rgba(255, 87, 214, 0.45);
}
.person-avatar-img {
  position: absolute;
  inset: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 128, 225, 0.82);
  box-shadow: 0 0 20px rgba(250, 91, 213, 0.45);
  display: none;
}
.person-meta {
  min-width: 0;
  flex: 1;
}
.person-summary {
  color: #e4d9ff;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}
.person-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.person-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(140, 96, 235, 0.44);
  background: rgba(40, 20, 66, 0.68);
  color: #dccfff;
  font-size: 11px;
  font-weight: 600;
}
.person-section-title {
  margin: 10px 2px 8px;
  color: #f3e7ff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.person-keypoints {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}
.person-keypoint-item {
  border: 1px solid rgba(138, 84, 228, 0.33);
  border-radius: 10px;
  padding: 9px 10px;
  background: linear-gradient(180deg, rgba(35, 17, 57, 0.74), rgba(19, 10, 33, 0.82));
  color: #ebdeff;
  font-size: 12px;
  line-height: 1.45;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.person-keypoint-item i {
  color: #ff8dde;
  margin-top: 2px;
}

.post-shell {
  border-color: rgba(128, 82, 220, 0.35);
}
.post-body {
  color: #f0e7ff;
  font-size: 14px;
  line-height: 1.55;
  margin: 6px 0 12px;
}
.post-media-wrap {
  border: 1px solid rgba(128, 82, 220, 0.33);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(15, 8, 31, 0.75);
  margin-bottom: 12px;
}
.post-main-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}
.post-video-note {
  color: #ead6ff;
  font-size: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(122, 82, 215, 0.3);
  display: flex;
  align-items: center;
  gap: 7px;
}
.post-video-frame {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}
.post-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.post-stat-box {
  border: 1px solid rgba(132, 88, 226, 0.35);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(34, 16, 56, 0.8), rgba(20, 10, 35, 0.84));
  padding: 10px;
}
.post-stat-box span {
  display: block;
  color: #c5b6e4;
  font-size: 11px;
}
.post-stat-box strong {
  color: #fff;
  font-size: 18px;
}
.post-interact-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.post-like-btn {
  border: 1px solid rgba(136, 92, 230, 0.5);
  border-radius: 999px;
  padding: 7px 12px;
  color: #ead8ff;
  background: rgba(34, 18, 57, 0.74);
  font-size: 12px;
  font-weight: 700;
}
.post-like-btn.is-liked {
  border-color: rgba(255, 93, 205, 0.8);
  color: #fff;
}
.post-like-count {
  color: #cebce9;
  font-size: 12px;
}
.post-comment-form {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}
.post-comment-form input,
.post-comment-form textarea {
  border: 1px solid rgba(126, 84, 219, 0.38);
  border-radius: 10px;
  background: rgba(20, 11, 36, 0.78);
  color: #f4edff;
  padding: 10px;
  font-size: 13px;
}
.post-comment-form textarea {
  resize: vertical;
}
.post-comments-list {
  display: grid;
  gap: 8px;
}
.post-comment-item {
  border: 1px solid rgba(126, 84, 219, 0.3);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(35, 17, 57, 0.72), rgba(18, 9, 33, 0.84));
  padding: 9px 10px;
}
.post-comment-head {
  color: #f0e2ff;
  font-size: 12px;
  font-weight: 700;
}
.post-comment-head span {
  color: #b39cd7;
  font-weight: 500;
  margin-left: 7px;
}
.post-comment-body {
  color: #e8dcff;
  font-size: 13px;
  line-height: 1.45;
  margin-top: 4px;
}

body.modal-open {
  overflow: hidden;
}
.post-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
}
.post-modal[aria-hidden="false"] {
  display: block;
}
.post-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 2, 12, 0.78);
}
.post-modal-dialog {
  position: relative;
  width: min(920px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  margin: 12px auto;
  border-radius: 14px;
  border: 1px solid rgba(132, 90, 228, 0.35);
  background: linear-gradient(180deg, rgba(22, 11, 36, 0.97), rgba(11, 6, 20, 0.98));
  padding: 14px;
  overflow: auto;
}
.post-modal-close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(145, 99, 233, 0.45);
  background: rgba(42, 20, 67, 0.7);
}
.post-modal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.post-modal-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}
.post-modal-author {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.post-modal-time {
  color: #bea6df;
  font-size: 12px;
}
.post-modal-body {
  color: #f2e8ff;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 10px;
}
.post-modal-media {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
}
.post-modal-stats {
  display: flex;
  justify-content: space-between;
  color: #cbb9e8;
  font-size: 12px;
  margin-bottom: 8px;
}
.post-modal-actions {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
  border-top: 1px solid rgba(126, 84, 219, 0.3);
  border-bottom: 1px solid rgba(126, 84, 219, 0.3);
  padding: 4px 0;
}
.post-modal-actions button {
  flex: 1;
  border: 0;
  border-radius: 8px;
  min-height: 36px;
  padding: 8px 6px;
  color: #efe5ff;
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}
.post-modal-actions button.is-liked {
  color: #ff9bda;
}
.post-modal-actions button:hover {
  background: rgba(53, 26, 83, 0.68);
}
.post-modal-form {
  display: grid;
  gap: 7px;
  margin-bottom: 10px;
}
.post-modal-form input,
.post-modal-form textarea {
  border: 1px solid rgba(126, 84, 219, 0.35);
  border-radius: 10px;
  background: rgba(18, 10, 32, 0.85);
  color: #f6eeff;
  padding: 9px 10px;
}
.fb-composer {
  position: relative;
}
.fb-composer textarea {
  width: 100%;
  min-height: 44px;
  max-height: 140px;
  resize: vertical;
  border-radius: 22px;
  padding: 10px 46px 10px 14px;
  border: 1px solid rgba(126, 84, 219, 0.38);
  background: rgba(20, 10, 34, 0.9);
}
.fb-send-btn {
  position: absolute;
  right: 7px;
  top: 7px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4a7bff, #1f5cff);
  color: #fff;
  font-size: 12px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}
.fb-send-btn:hover {
  filter: brightness(1.08);
}
.post-modal-thread h4 {
  color: #f1e4ff;
  font-size: 13px;
  margin-bottom: 6px;
}
.post-modal-list {
  display: grid;
  gap: 7px;
}
.fb-comment-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.fb-comment-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7d50d4, #ff59c0);
  flex-shrink: 0;
  overflow: hidden;
}
.fb-comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fb-comment-bubble {
  border: 1px solid rgba(126, 84, 219, 0.28);
  border-radius: 14px;
  background: rgba(31, 14, 49, 0.72);
  color: #e7d9ff;
  font-size: 12px;
  line-height: 1.45;
  padding: 8px 10px;
  flex: 1;
}
.fb-comment-name {
  color: #f4e7ff;
  font-weight: 700;
  margin-bottom: 2px;
}
.fb-comment-meta {
  color: #b99fdd;
  font-size: 11px;
  margin-top: 3px;
}
.fb-comment-row.is-local .fb-comment-bubble {
  border-color: rgba(255, 104, 206, 0.5);
}
@media (max-width: 760px) {
  .post-modal-actions { gap: 2px; }
  .post-modal-dialog {
    padding: 12px;
  }
}
.person-timeline-row {
  padding: 10px 12px;
}
.person-timeline-main {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}
.person-timeline-title {
  color: #f6f0ff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
.person-timeline-meta {
  color: #bfa9e7;
  font-size: 11px;
  margin-top: 4px;
}

.page-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(120, 148, 220, 0.2);
  background: linear-gradient(180deg, rgba(10, 13, 30, 0.75), rgba(8, 10, 24, 0.82));
}
.page-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 2px solid #ff15c7;
  object-fit: cover;
  box-shadow: 0 0 16px rgba(255, 21, 199, 0.35);
}
.page-info { flex: 1; min-width: 0; }
.page-name {
  font-weight: 700;
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.page-handle { font-size: 12px; color: var(--text-muted); }
.page-followers { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }

.page-actions { display: flex; gap: 8px; margin-bottom: 10px; }
.btn-fb, .btn-fb-outline, .btn-yt, .btn-yt-outline {
  flex: 1;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-fb { background: #1877f2; color: #fff; }
.btn-fb:hover { background: #1565d8; transform: translateY(-1px); }
.btn-fb-outline { background: var(--bg-tertiary); color: var(--text-secondary); }
.btn-fb-outline:hover { background: var(--bg-card-hover); color: #fff; }
.btn-yt { background: #ff0033; color: #fff; flex: 2; }
.btn-yt:hover { background: #cc0029; }
.btn-yt-outline { background: var(--bg-tertiary); color: var(--text-secondary); flex: 0 0 44px; }
.btn-yt-outline:hover { background: var(--bg-card-hover); }

.friends {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #9da5bd;
}
.friend-avatars { display: flex; }
.friend-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #ff2d92);
  border: 2px solid var(--bg-card);
  margin-left: -8px;
}
.friend-avatar:first-child { margin-left: 0; }

.yt-banner {
  height: 72px;
  background: radial-gradient(circle at 24% 10%, rgba(255, 20, 190, 0.35), transparent 42%),
              linear-gradient(135deg, #1a0a2e, #2d1b5e);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yt-banner img {
  height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 45, 146, 0.5));
}

.hashtag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.widget .hashtag-cloud .tag {
  background: rgba(35, 15, 60, 0.46);
  border: 1px solid rgba(116, 78, 220, 0.5);
  color: #c8b8ff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
}
.widget .hashtag-cloud .tag:hover {
  border-color: #ff37bf;
  color: #fff;
  background: rgba(76, 26, 132, 0.58);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.28);
}

.tip-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(180deg, #240126 0%, #130018 100%);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  border: 2px solid rgba(255, 58, 194, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(255, 133, 226, 0.2),
    0 0 22px rgba(240, 21, 173, 0.55),
    0 0 40px rgba(170, 55, 255, 0.25);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.tip-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 20%, rgba(255, 85, 222, 0.18) 0%, transparent 46%);
}
.tip-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 133, 226, 0.28),
    0 0 28px rgba(255, 45, 200, 0.62),
    0 0 52px rgba(168, 85, 247, 0.35);
}
.tip-icon {
  width: 56px; height: 56px;
  background: rgba(34, 6, 40, 0.92);
  border-radius: 50%;
  border: 2px solid rgba(255, 117, 225, 0.85);
  box-shadow: 0 0 16px rgba(255, 45, 180, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffd2f3;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.tip-text { position: relative; z-index: 1; }
.tip-title {
  color: #ff9fe8;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 2px;
  text-shadow: 0 0 16px rgba(255, 59, 190, 0.65);
}
.tip-sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  line-height: 1.28;
}
.tip-arrow {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  text-shadow: 0 0 14px rgba(255, 85, 214, 0.72);
  position: relative;
  z-index: 1;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 50px 0 24px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 30px;
}
.footer-logo {
  height: 70px;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 10px rgba(255, 45, 146, 0.5));
}
.footer-desc { color: var(--text-muted); font-size: 13px; line-height: 1.7; }
.footer-grid h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.footer-grid > div > a {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-grid > div > a:hover { color: var(--neon-pink); }
.social-icons { display: flex; gap: 10px; }
.social-icons a {
  width: 38px; height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 16px;
  transition: all 0.25s;
}
.social-icons a:hover {
  background: var(--gradient-cta);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--glow-pink);
  transform: translateY(-2px);
}
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
}

/* ========== SCROLL TOP ========== */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 18px;
  z-index: 90;
  box-shadow: 0 6px 20px rgba(255, 45, 146, 0.5), var(--glow-pink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-4px) scale(1.05); }

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--neon-pink), var(--neon-purple)); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--neon-pink-light), var(--neon-purple)); }

/* ========== RESPONSIVE ========== */
@media (min-width: 1650px) {
  .side-nav { display: flex; }
}
@media (max-width: 1200px) {
  .layout { grid-template-columns: 1fr 320px; }
}
@media (max-width: 992px) {
  .layout { grid-template-columns: 1fr; }
  .site-header { height: auto; min-height: var(--header-h); }
  .header-inner { flex-wrap: wrap; row-gap: 6px; align-items: center; }
  .main-nav {
    order: 3;
    flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 6px;
    padding: 6px 0 2px;
    margin: 0 -4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav-link { padding: 6px 9px; font-size: 12px; }
  .header-actions { margin-left: 0; flex: 1; justify-content: flex-end; min-width: 0; }
  .search-box input { width: 140px; }
  .search-box input:focus { width: 170px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header-inner { gap: 8px; padding: 0 14px; }
  .logo img { height: 40px; }
  .search-box { display: none; }
  .btn-tip span { display: none; }
  .btn-tip { padding: 10px 14px; }
  .icon-btn { width: 36px; height: 36px; }
  .hero { min-height: auto; }
  .hero-title { font-size: clamp(34px, 10vw, 58px); }
  .hero-subtitle { font-size: 14px; }
  .stats-right { font-size: 12px; gap: 10px; }
  .card-actions button { font-size: 12px; padding: 8px 4px; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .container { padding: 0 14px; }
  .news-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "body"
      "thumb"
      "stats"
      "actions";
  }
  .card-thumb {
    border-right: 0;
    border-top: 1px solid rgba(125, 65, 190, 0.26);
  }
  .card-thumb img {
    height: auto;
    max-height: 360px;
  }
}
@media (max-width: 480px) {
  .header-actions .icon-btn:last-child { display: none; }
  .hero-title { font-size: 36px; }
  .stats-right { display: none; }
  .card-stats { justify-content: flex-start; }
}

/* ========== SIDEBAR — YOUTUBE WIDGET ONLY (.widget--youtube) ========== */
.widget.widget--youtube .widget-head h3 {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 14px;
}
.widget.widget--youtube .yt-banner {
  height: 88px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #12081f 0%, #2a1450 45%, #1a0a2e 100%);
}
.widget.widget--youtube .yt-banner img {
  height: 78%;
  max-width: 92%;
}
.widget.widget--youtube .page-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px;
}
.widget.widget--youtube .yt-thumb {
  width: 118px;
  height: 78px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(114, 86, 255, 0.45);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}
.widget.widget--youtube .page-name {
  font-size: 15px;
}
.widget.widget--youtube .page-handle {
  font-size: 13px;
  color: #aeb6c8;
}
.widget.widget--youtube .page-followers {
  font-size: 12px;
  line-height: 1.35;
}
.widget.widget--youtube .btn-yt {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ========== MOBILE NAV DROPDOWN (≤720px) ========== */
@media (max-width: 720px) {
  .site-header { position: sticky; }
  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
  }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 2px;
    padding: 10px 14px 16px;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(6, 3, 12, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
    max-height: min(72vh, 440px);
    overflow-y: auto;
    z-index: 1200;
    order: 4;
    flex-basis: 100%;
  }
  .site-header.nav-open .main-nav { display: flex; }
  .nav-link {
    justify-content: flex-start;
    width: 100%;
    border-radius: var(--radius-sm);
  }
}

/* ========== LIGHT MODE (optional toggle) ========== */
body.light-mode {
  --bg-primary: #f5f3fa;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #faf7ff;
  --bg-tertiary: #f0ebf7;
  --text-primary: #1a1330;
  --text-secondary: #4a4263;
  --text-muted: #807a96;
  --border: rgba(168, 85, 247, 0.2);
  --shadow-card: 0 4px 20px rgba(168, 85, 247, 0.08), 0 0 0 1px var(--border);
}
body.light-mode::before { opacity: 0.5; }
