/* =============================================
   ANCHOR SITE — MAIN STYLES
   Dark gaming theme | Inter + Bebas Neue
   ============================================= */

:root {
  --bg:         #0D0F14;
  --bg-2:       #141720;
  --bg-3:       #1C2030;
  --border:     #252A38;
  --accent:     #3B82F6;
  --accent-h:   #2563EB;
  --text:       #F1F5F9;
  --text-muted: #64748B;
  --text-dim:   #94A3B8;

  --tag-lol:    #C89B3C;
  --tag-pubg:   #E86535;
  --tag-wow:    #8B5CF6;
  --tag-stream: #22C55E;
  --tag-general:#3B82F6;

  --radius:     8px;
  --radius-lg:  16px;

  --font-head:  'Bebas Neue', sans-serif;
  --font-body:  'Inter', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-h); }

/* =============================================
   LAYOUT
   ============================================= */

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

.container--narrow { max-width: 820px; }

.section { padding: 80px 0; }
.section--dark { background: var(--bg-2); }
.section--stats { padding: 48px 0; background: var(--bg-2); border-top: 1px solid var(--border); }

.text-center { text-align: center; }

/* =============================================
   SCROLL REVEAL
   ============================================= */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: none;
}

[data-reveal-delay="0"] { transition-delay: 0s; }
[data-reveal-delay="1"] { transition-delay: .12s; }
[data-reveal-delay="2"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* =============================================
   HEADER
   ============================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: .05em;
  color: var(--text);
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-dim);
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .2s;
}

.nav-link:hover { color: var(--text); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link--active {
  color: var(--text) !important;
}

.nav-link--active::after {
  transform: scaleX(1);
}

.nav-link--live {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  background: rgba(145, 70, 255, .15);
  border: 1px solid rgba(145, 70, 255, .3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: .85rem;
}

.nav-link--live::after { display: none; }

.nav-link--live:hover {
  background: rgba(145, 70, 255, .25);
  color: var(--text);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.85); }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* =============================================
   HERO
   ============================================= */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(59,130,246,.14) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(139,92,246,.09) 0%, transparent 60%);
}

.hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 80px 24px;
}

.hero__photo-wrap {
  position: relative;
  flex-shrink: 0;
}

.hero__photo {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  filter: drop-shadow(0 0 24px rgba(59,130,246,.3));
}

.hero__photo-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed rgba(59,130,246,.3);
  animation: spin 20s linear infinite;
}

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

.hero__label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

/* Glitch effect on ANCHOR name */
.hero__name {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: .04em;
  margin-bottom: 12px;
  position: relative;
}

.hero__name::before,
.hero__name::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  font-family: var(--font-head);
  font-size: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  opacity: 0;
}

.hero__name::before {
  color: #3B82F6;
  animation: glitch-1 7s infinite;
}

.hero__name::after {
  color: #8B5CF6;
  animation: glitch-2 7s infinite;
  animation-delay: .05s;
}

@keyframes glitch-1 {
  0%, 88%, 100% { opacity: 0; transform: none; clip-path: none; }
  89% { opacity: 1; transform: translateX(3px); clip-path: inset(10% 0 80% 0); }
  91% { opacity: 1; transform: translateX(-3px); clip-path: inset(50% 0 30% 0); }
  93% { opacity: 1; transform: translateX(2px); clip-path: inset(75% 0 10% 0); }
  95% { opacity: 0; }
}

@keyframes glitch-2 {
  0%, 88%, 100% { opacity: 0; transform: none; clip-path: none; }
  89% { opacity: 1; transform: translateX(-3px); clip-path: inset(70% 0 15% 0); }
  91% { opacity: 1; transform: translateX(3px); clip-path: inset(30% 0 55% 0); }
  93% { opacity: 1; transform: translateX(-2px); clip-path: inset(5% 0 85% 0); }
  95% { opacity: 0; }
}

.hero__games {
  font-size: .95rem;
  color: var(--text-dim);
  margin-bottom: 16px;
  letter-spacing: .05em;
  min-height: 1.5em;
}

.hero__bio {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-h);
  border-color: var(--accent-h);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Glow pulse on hero Twitch button */
.btn--glow {
  animation: btn-glow 3s ease-in-out infinite;
}

@keyframes btn-glow {
  0%, 100% { box-shadow: 0 0 12px rgba(59,130,246,.35); }
  50%       { box-shadow: 0 0 28px rgba(59,130,246,.65), 0 0 50px rgba(59,130,246,.18); }
}

/* =============================================
   SECTION HEADERS
   ============================================= */

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section-title {
  font-family: var(--font-head);
  font-size: 2.2rem;
  letter-spacing: .05em;
}

.section-more {
  font-size: .9rem;
  color: var(--accent);
  font-weight: 500;
}

/* =============================================
   STATS
   ============================================= */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px;
  text-align: center;
  background: var(--bg-3);
  position: relative;
  transition: background .2s;
}

.stat-card:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.stat-card:last-child  { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,.06), transparent);
  opacity: 0;
  transition: opacity .3s;
  border-radius: inherit;
}

.stat-card:hover::before { opacity: 1; }

.stat-card__number {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1;
  color: var(--accent);
  letter-spacing: .03em;
  margin-bottom: 8px;
  display: block;
}

.stat-card__label {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
}

/* =============================================
   YOUTUBE SLIDER
   ============================================= */

.yt-slider { overflow: hidden; position: relative; transition: height .4s cubic-bezier(.4,0,.2,1); }

.yt-slider__track {
  display: flex;
  align-items: flex-start;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.yt-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.yt-slide__embed--wide {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-3);
}

.yt-shorts-row { display: flex; gap: 16px; }
.yt-shorts-row .yt-short-wrap { flex: 1; display: flex; flex-direction: column; }

.yt-slide__embed--short {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-3);
}

.yt-slide__embed--wide iframe,
.yt-slide__embed--short iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* YouTube facade (lazy-load pattern) */
.yt-facade {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter .25s;
}

.yt-facade:hover img { filter: brightness(.75); }

.yt-facade__play {
  position: relative;
  z-index: 1;
  background: none;
  border: none;
  cursor: pointer;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.6));
  transition: transform .2s;
  pointer-events: none;
}

.yt-facade:hover .yt-facade__play { transform: scale(1.12); }

.yt-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.yt-slider__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-3);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-slider__btn:hover { border-color: var(--accent); color: var(--accent); }
.yt-slider__btn:disabled { opacity: .3; cursor: default; }

.yt-slider__dots { display: flex; gap: 8px; }

.yt-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all .25s;
  border: none;
  padding: 0;
}

.yt-slider__dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* =============================================
   POST CARDS
   ============================================= */

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

.post-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.post-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 12px 40px rgba(59,130,246,.12);
}

.post-card__img-wrap {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.post-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}

.post-card:hover .post-card__img-wrap img { transform: scale(1.06); }

.post-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-card__body .tag { align-self: flex-start; }

.post-card__title a {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

.post-card__title a:hover { color: var(--accent); }

.post-card__excerpt {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__date {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* =============================================
   TAGS
   ============================================= */

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tag--lol     { background: rgba(200,155,60,.15);  color: var(--tag-lol); }
.tag--pubg    { background: rgba(232,101,53,.15);  color: var(--tag-pubg); }
.tag--wow     { background: rgba(139,92,246,.15);  color: var(--tag-wow); }
.tag--stream  { background: rgba(34,197,94,.15);   color: var(--tag-stream); }
.tag--general { background: rgba(59,130,246,.15);  color: var(--tag-general); }

/* =============================================
   TAG FILTER
   ============================================= */

.tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.tag-filter__item {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-dim);
  border: 1px solid var(--border);
  transition: all .2s;
}

.tag-filter__item:hover,
.tag-filter__item.active {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(59,130,246,.1);
}

/* =============================================
   PLATFORMS
   ============================================= */

.platforms-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 48px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-dim);
  font-weight: 600;
  font-size: .9rem;
  transition: all .25s;
  min-width: 160px;
}

.platform-card--twitch:hover { border-color: #9146FF; color: #9146FF; background: rgba(145,70,255,.08); box-shadow: 0 8px 32px rgba(145,70,255,.15); }
.platform-card--youtube:hover { border-color: #FF0000; color: #FF0000; background: rgba(255,0,0,.06); box-shadow: 0 8px 32px rgba(255,0,0,.1); }
.platform-card--tiktok:hover { border-color: #69C9D0; color: #69C9D0; background: rgba(105,201,208,.06); box-shadow: 0 8px 32px rgba(105,201,208,.1); }

/* =============================================
   PAGE HERO
   ============================================= */

.page-hero {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
}

.page-title {
  font-family: var(--font-head);
  font-size: 3.5rem;
  letter-spacing: .05em;
  margin-bottom: 8px;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

/* =============================================
   PAGINATION
   ============================================= */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 56px;
}

.pagination__btn {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-dim);
  font-size: .9rem;
  transition: all .2s;
}

.pagination__btn:hover { border-color: var(--accent); color: var(--accent); }
.pagination__info { color: var(--text-muted); font-size: .9rem; }

/* =============================================
   ARTICLE
   ============================================= */

.article__cover { max-height: 480px; overflow: hidden; }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }

.article .container--narrow { padding-top: 48px; padding-bottom: 80px; }

.article__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: .875rem;
}

.article__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: .02em;
  margin-bottom: 20px;
}

.article__excerpt {
  font-size: 1.15rem;
  color: var(--text-dim);
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin-bottom: 40px;
}

.article__content { font-size: 1.05rem; line-height: 1.8; color: var(--text-dim); }
.article__content h2 { font-family: var(--font-head); font-size: 1.8rem; letter-spacing: .03em; color: var(--text); margin: 40px 0 16px; }
.article__content h3 { font-size: 1.2rem; font-weight: 600; color: var(--text); margin: 32px 0 12px; }
.article__content p { margin-bottom: 20px; }
.article__content ul, .article__content ol { margin: 16px 0 20px 24px; }
.article__content li { margin-bottom: 8px; }
.article__content strong { color: var(--text); }
.article__content a { color: var(--accent); }
.article__content img { border-radius: var(--radius); margin: 24px 0; }
.article__content code { background: var(--bg-3); padding: 2px 8px; border-radius: 4px; font-size: .9em; color: #93C5FD; }
.article__content pre { background: var(--bg-3); padding: 20px; border-radius: var(--radius); overflow-x: auto; margin: 24px 0; }
.article__content blockquote { border-left: 3px solid var(--accent); padding-left: 20px; color: var(--text-dim); font-style: italic; margin: 24px 0; }
.article__back { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border); }

/* =============================================
   ABOUT
   ============================================= */

.about { display: flex; gap: 64px; align-items: flex-start; padding: 40px 0; }
.about__photo-wrap { flex-shrink: 0; }

.about__photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  filter: drop-shadow(0 0 20px rgba(59,130,246,.25));
}

.about__name { font-family: var(--font-head); font-size: 3.5rem; letter-spacing: .05em; margin-bottom: 8px; }
.about__games { color: var(--text-muted); font-size: .9rem; letter-spacing: .05em; margin-bottom: 24px; }
.about__bio { color: var(--text-dim); font-size: 1.05rem; margin-bottom: 16px; max-width: 500px; }
.about__links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* =============================================
   EMPTY STATE
   ============================================= */

.empty-state { text-align: center; padding: 80px 0; color: var(--text-muted); }

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.footer-brand p { color: var(--text-muted); font-size: .85rem; margin-top: 4px; letter-spacing: .05em; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); font-size: .875rem; font-weight: 500; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--text-muted); font-size: .8rem; border-top: 1px solid var(--border); padding-top: 24px; }

/* =============================================
   SCROLL TO TOP
   ============================================= */

.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(59,130,246,.4);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
  z-index: 200;
}

.scroll-top.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--accent-h);
  box-shadow: 0 6px 28px rgba(59,130,246,.55);
}

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

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .stat-card:first-child { border-radius: var(--radius-lg) 0 0 0; }
  .stat-card:last-child  { border-radius: 0 0 var(--radius-lg) 0; }
  .stat-card:nth-child(2) { border-radius: 0 var(--radius-lg) 0 0; }
  .stat-card:nth-child(3) { border-radius: 0 0 0 var(--radius-lg); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav--open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(13,15,20,.97);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
    backdrop-filter: blur(12px);
  }
  .nav-toggle { display: block; }

  .hero__inner { flex-direction: column; text-align: center; gap: 32px; }
  .hero__bio { max-width: 100%; }
  .hero__actions { justify-content: center; }

  .posts-grid { grid-template-columns: 1fr; }

  .yt-shorts-row { gap: 8px; }

  .about { flex-direction: column; align-items: center; text-align: center; }
  .about__bio { max-width: 100%; }
  .about__links { justify-content: center; }

  .footer-grid { flex-direction: column; gap: 24px; text-align: center; }
  .footer-links { justify-content: center; }

  .scroll-top { bottom: 20px; right: 20px; }
}

/* =============================================
   LEVEL 2 — NEW STYLES
   ============================================= */

/* ── Live banner ──────────────────────────────── */
.live-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 24px;
  background: linear-gradient(90deg, rgba(239,68,68,.18) 0%, rgba(239,68,68,.06) 100%);
  border-bottom: 1px solid rgba(239,68,68,.3);
  font-size: .88rem;
  text-decoration: none;
  color: var(--text);
  transition: background .2s;
  overflow: hidden;
}

.live-banner:hover {
  background: linear-gradient(90deg, rgba(239,68,68,.28) 0%, rgba(239,68,68,.1) 100%);
  color: var(--text);
}

.live-banner__thumb {
  width: 64px;
  height: 36px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  border: 1px solid rgba(239,68,68,.4);
}

.live-banner__pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #EF4444;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(239,68,68,.6);
  animation: live-pulse 1.4s ease-out infinite;
}

@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(239,68,68,.7); }
  70%  { box-shadow: 0 0 0 10px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

.live-banner__label {
  color: #EF4444;
  font-weight: 800;
  letter-spacing: .08em;
  font-size: .8rem;
  flex-shrink: 0;
}

.live-banner__info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.live-banner__title {
  color: var(--text);
  font-weight: 600;
  font-size: .88rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-banner__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-banner__game {
  color: #A78BFA;
  font-size: .78rem;
  font-weight: 500;
}

.live-banner__viewers {
  color: var(--text-muted);
  font-size: .78rem;
}

.live-banner__btn {
  margin-left: auto;
  flex-shrink: 0;
  padding: 5px 14px;
  border-radius: 20px;
  background: #EF4444;
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .live-banner__thumb { display: none; }
  .live-banner__title { font-size: .82rem; }
}

/* ── Hero parallax ────────────────────────────── */
.hero__photo-wrap {
  transition: transform .15s ease-out;
  transform-style: preserve-3d;
}

/* ── News search ──────────────────────────────── */
.news-search {
  position: relative;
  margin-bottom: 16px;
  max-width: 440px;
}

.news-search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.news-search__input {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  padding: 10px 40px 10px 42px;
  outline: none;
  transition: border-color .2s;
}

.news-search__input::placeholder { color: var(--text-muted); }
.news-search__input:focus { border-color: var(--accent); }

.news-search__clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: .8rem;
  padding: 4px;
  display: none;
}

.news-search__clear.visible { display: block; }
.news-search__clear:hover { color: var(--text); }

/* Tag filter — button version */
.tag-filter__item {
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.news-empty-filter {
  text-align: center;
  padding: 48px 0;
  color: var(--text-muted);
}

/* Post card wrapper for filter */
.post-card-wrap {
  transition: opacity .25s, transform .25s;
}

.post-card-wrap.hidden {
  display: none;
}

/* ── Reading progress bar ─────────────────────── */
.read-progress {
  position: fixed;
  top: 64px;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #8B5CF6);
  z-index: 99;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* Read time badge */
.article__read-time {
  font-size: .8rem;
  color: var(--text-muted);
  background: var(--bg-3);
  padding: 2px 10px;
  border-radius: 20px;
}

/* ── Share buttons ────────────────────────────── */
.article__share {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 40px 0 24px;
  padding: 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.article__share-label {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-right: 4px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  border: 1px solid var(--border);
  background: var(--bg-3);
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-body);
}

.share-btn:hover { color: var(--text); border-color: currentColor; }
.share-btn--twitter:hover  { color: #1DA1F2; }
.share-btn--telegram:hover { color: #0088CC; }
.share-btn--copy.copied    { color: #22C55E; border-color: #22C55E; }

/* ── Admin live styles ────────────────────────── */
.admin-btn--live {
  background: rgba(239,68,68,.15);
  color: #EF4444;
  border: 1px solid rgba(239,68,68,.3);
}

.admin-btn--live:hover {
  background: rgba(239,68,68,.25);
}

.admin-notice {
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: .9rem;
}

.admin-notice--success {
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.3);
  color: #22C55E;
}

.admin-card {
  background: var(--bg-2, #141720);
  border: 1px solid var(--border, #252A38);
  border-radius: 12px;
  padding: 28px;
}

.live-toggle-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.live-toggle input[type="radio"] { display: none; }

.live-toggle__label {
  display: block;
  padding: 10px 20px;
  border-radius: 8px;
  border: 2px solid #252A38;
  cursor: pointer;
  font-weight: 600;
  transition: all .2s;
}

.live-toggle input:checked + .live-toggle__label--off {
  border-color: #64748B;
  background: rgba(100,116,139,.15);
  color: #94A3B8;
}

.live-toggle input:checked + .live-toggle__label--on {
  border-color: #EF4444;
  background: rgba(239,68,68,.12);
  color: #EF4444;
}

.live-toggle__label:hover { border-color: #3B82F6; }

/* ── Hero canvas particles ─────────────────── */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: .55;
}

/* ── Glassmorphism cards ────────────────────── */
.post-card {
  background: rgba(20, 23, 32, 0.55) !important;
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.06);
}

.post-card:hover {
  border-color: rgba(59, 130, 246, 0.45) !important;
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.14), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* ── YouTube facade — channel info overlay ─── */

/* Long video: info bar снизу */
.yt-facade__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 12px;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 70%, transparent 100%);
  pointer-events: none;
}

.yt-facade__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,.25);
}

.yt-facade__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.yt-facade__title-text {
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yt-facade__channel {
  font-size: .75rem;
  color: rgba(255,255,255,.65);
}

/* Shorts: compact pill сверху */
.yt-facade__channel-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 600;
  color: #fff;
  pointer-events: none;
}

.yt-facade__channel-pill img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

/* ══ ABOUT PAGE ════════════════════════════════════════════════════ */

/* Intro */
.about-intro {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}

.about-intro__inner {
  display: flex;
  align-items: center;
  gap: 56px;
}

.about-intro__photo-wrap {
  position: relative;
  flex-shrink: 0;
}

.about-intro__photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  filter: drop-shadow(0 0 20px rgba(59,130,246,.3));
}

.about-intro__ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px dashed rgba(59,130,246,.3);
  animation: spin 20s linear infinite;
}

.about-intro__greeting {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: .04em;
}

.about-intro__headline {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 28px;
}

.about-intro__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Story */
.about-story__body {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text-dim);
}

.about-story__body p { margin-bottom: 1.4em; }

.about-story__callout {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin: 2em 0 !important;
  line-height: 1.5;
}

.about-story__sign {
  font-weight: 600;
  color: var(--text);
  font-size: 1.05rem;
  margin-top: 2.5em !important;
}

/* Mission */
.about-mission__text {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 1.2em;
}

.about-mission__text em {
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
}

/* What you'll find grid */
.about-find__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.about-find__card {
  background: rgba(20,23,32,.55);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color .2s, transform .2s;
}

.about-find__card:hover {
  border-color: rgba(59,130,246,.4);
  transform: translateY(-3px);
}

.about-find__icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 14px;
}

.about-find__card h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.about-find__card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* What I Believe */
.about-beliefs__list {
  list-style: none;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-beliefs__item {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  color: var(--text);
  letter-spacing: .04em;
  display: flex;
  align-items: baseline;
  gap: 16px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .5s ease, transform .5s ease;
}

.about-beliefs__item.visible {
  opacity: 1;
  transform: none;
}

.about-beliefs__bullet {
  color: var(--accent);
  font-size: 1.6rem;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .about-find__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .about-intro__inner { flex-direction: column; text-align: center; }
  .about-intro__links { justify-content: center; }
  .about-intro__ring { display: none; }
  .about-find__grid { grid-template-columns: 1fr; }
  .about-beliefs__item { font-size: 1.2rem; }
}

/* ── TikTok Slider ───────────────────────────────── */
.tiktok-section .section-header { margin-bottom: 32px; }

.tiktok-slider { position: relative; }

.tiktok-slide {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  justify-items: center;
}
.tiktok-slide--active { display: grid; }

.tiktok-embed-wrap {
  width: 100%;
  max-width: 340px;
}
.tiktok-embed-wrap .tiktok-embed {
  margin: 0 auto !important;
}

.tiktok-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.tiktok-nav__btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tiktok-nav__btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.tiktok-nav__btn:disabled { opacity: .3; cursor: default; }

.tiktok-dots { display: flex; gap: 8px; }

.tiktok-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.tiktok-dot--active {
  background: var(--accent);
  transform: scale(1.3);
}

@media (max-width: 900px) {
  .tiktok-slide { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .tiktok-slide { grid-template-columns: 1fr; }
  .tiktok-embed-wrap { max-width: 100%; }
}

/* ── TikTok Facade ───────────────────────────────── */
.tiktok-facade {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  background: var(--bg-3);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}
.tiktok-facade__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.tiktok-facade:hover .tiktok-facade__thumb { transform: scale(1.04); }
.tiktok-facade__placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-3);
}
.tiktok-facade__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.35);
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.tiktok-facade:hover .tiktok-facade__play { background: rgba(0,0,0,.15); }
.tiktok-facade__play svg { filter: drop-shadow(0 2px 8px rgba(0,0,0,.6)); }
.tiktok-facade__title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 12px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
  font-size: .75rem;
  color: #fff;
  line-height: 1.35;
  pointer-events: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── TikTok Modal ────────────────────────────────── */
.tt-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.tt-modal[hidden] { display: none; }

.tt-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .88);
  cursor: pointer;
}

.tt-modal__box {
  position: relative;
  width: min(360px, 90vw);
  aspect-ratio: 9 / 16;
  max-height: 82vh;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  clip-path: inset(0 0 58px 0 round 16px);
}

.tt-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 9010;
  background: rgba(0,0,0,.6);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .15s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  line-height: 1;
}
.tt-modal__close:hover { background: rgba(0,0,0,.85); transform: scale(1.1); }


.tt-modal__iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.tt-modal__hint {
  color: rgba(255,255,255,.45);
  font-size: 0.78rem;
  text-align: center;
  margin-top: 10px;
  letter-spacing: .02em;
}

/* ── YouTube Shorts titles ───────────────────────── */
.yt-short__title {
  font-size: .78rem;
  color: var(--text-dim);
  line-height: 1.4;
  margin-top: 8px;
  padding: 0 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
