/* LuboTube — Design System CSS (pop-art dark video platform)
   Fonts: Anton (display), Bangers (comic), Inter (body) */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Bangers&family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ─── Design Tokens ──────────────────────────────────────────────────────── */
:root {
  /* Palette */
  --yellow:          #FFDE59;
  --yellow-deep:     #F5C518;
  --halftone-gold:   #E3C13F;
  --ink:             #1B1B1B;
  --ink-soft:        #333333;
  --paper:           #FFFBEB;
  --white:           #FFFFFF;
  --red:             #E63327;
  --red-dark:        #C01E13;
  --green:           #3A8B3D;

  /* LuboTube dark theme */
  --lt-bg:          #0f0f0f;
  --lt-surface:     #141414;
  --lt-card:        #1a1a1a;
  --lt-border:      #222222;
  --lt-border-soft: #333333;
  --lt-border-mid:  #444444;
  --lt-text:        #ffffff;
  --lt-text-dim:    #e0e0e0;
  --lt-text-mid:    #cccccc;
  --lt-text-muted:  #888888;
  --lt-text-faint:  #666666;

  /* Typography */
  --font-comic:   'Bangers', 'Anton', system-ui, sans-serif;
  --font-display: 'Anton', 'Arial Narrow', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Effects */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 999px;
  --dur-fast:    120ms;
  --dur:         200ms;

  /* Halftone */
  --halftone-dot:    #E3C13F;
  --halftone-size:   18px;
  --halftone-image:  radial-gradient(circle, var(--halftone-dot) 28%, transparent 29%);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--lt-bg);
  color: var(--lt-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; background: var(--lt-bg); }
::-webkit-scrollbar-thumb { background: var(--lt-border-soft); border-radius: 3px; }

a { color: inherit; text-decoration: none; }

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.25rem; width: 100%; }
main { flex: 1; }

/* ─── Network Bar ────────────────────────────────────────────────────────── */
.network-bar {
  background: #0a0a0a;
  border-bottom: 1px solid #1e1e1e;
  font-family: var(--font-body);
}
.network-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: .32rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.network-bar-label {
  color: #444;
  font-weight: 700;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-right: .3rem;
}
.network-bar-link {
  text-decoration: none;
  font-weight: 800;
  font-size: .72rem;
  padding: .2rem .65rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid #2a2a2a;
  color: #666;
  transition: all var(--dur-fast);
}
.network-bar-link:hover { color: #aaa; border-color: #444; }
.network-bar-link.active {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--ink);
}
.network-bar-tagline {
  margin-left: auto;
  color: #333;
  font-size: .65rem;
  font-weight: 700;
  font-style: italic;
}

/* ─── Site Header ────────────────────────────────────────────────────────── */
.site-header {
  background: var(--ink);
  border-bottom: 3px solid var(--yellow);
  font-family: var(--font-body);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-sticky { position: sticky; top: 0; z-index: 100; }
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: .55rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img { height: 40px; }
.logo-svg {
  width: 44px;
  height: 40px;
  flex-shrink: 0;
}
.logo-text { line-height: 1; text-align: left; }
.logo-name {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--yellow);
  font-size: 1.3rem;
  letter-spacing: .02em;
}
.logo-domain {
  display: block;
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 800;
  color: #666;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Search */
.header-search {
  flex: 1;
  max-width: 480px;
  display: flex;
  background: #1f1f1f;
  border: 2px solid #333;
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.header-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: .9rem;
  padding: .5rem .9rem;
}
.header-search input::placeholder { color: #666; }
.search-btn {
  background: var(--yellow);
  border: none;
  padding: .5rem .9rem;
  cursor: pointer;
  font-weight: 800;
  color: var(--ink);
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-btn:hover { background: var(--yellow-deep); }

/* Main Nav */
.main-nav {
  display: flex;
  gap: .25rem;
  margin-left: auto;
}
.nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
  background: transparent;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: .4rem .65rem;
  cursor: pointer;
  color: #aaa;
  font-family: var(--font-body);
  font-weight: 800;
  text-decoration: none;
  transition: all var(--dur-fast);
}
.nav-btn:hover { color: var(--lt-text); border-color: #444; }
.nav-btn.active {
  background: var(--yellow);
  border-color: var(--ink);
  color: var(--ink);
}
.nav-btn-icon { font-size: 1rem; line-height: 1; }
.nav-btn-label { font-size: .62rem; letter-spacing: .03em; line-height: 1; }

/* User auth */
.user-nav {
  display: flex;
  gap: .6rem;
  align-items: center;
  padding-left: .5rem;
  border-left: 1px solid #2a2a2a;
  flex-shrink: 0;
}
.btn-login {
  background: none;
  border: 2px solid #444;
  border-radius: var(--radius-pill);
  padding: .35rem .8rem;
  color: #aaa;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .82rem;
  text-decoration: none;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.btn-login:hover { border-color: #666; color: #ccc; }
.btn-membership {
  background: var(--red);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  padding: .35rem .9rem;
  color: #fff;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .82rem;
  text-decoration: none;
}
.btn-membership:hover { background: var(--red-dark); }
.user-greeting {
  color: #aaa;
  font-size: .85rem;
  font-weight: 600;
}

/* ─── Pop-art Hero Strip ─────────────────────────────────────────────────── */
.hero-strip {
  background: var(--yellow);
  background-image: var(--halftone-image);
  background-size: var(--halftone-size) var(--halftone-size);
  border-bottom: 4px solid var(--ink);
  padding: 2.2rem 1.25rem;
}
.hero-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  align-items: center;
}

/* Featured video */
.featured-video {
  flex: 0 0 480px;
  border-radius: var(--radius-lg);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  display: block;
}
.featured-video img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
}
.featured-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.25rem;
  line-height: 1.05;
  color: #fff;
  margin-top: .5rem;
}
.featured-meta { font-size: .8rem; color: #ccc; margin-top: .35rem; }
.featured-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,.85);
  color: #fff;
  font-weight: 800;
  font-size: .75rem;
  padding: .15rem .45rem;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,.3);
}

/* Hero text */
.hero-text {}
.hero-tagline {
  font-family: var(--font-comic);
  font-size: 1.6rem;
  color: var(--ink);
  transform: rotate(-2deg);
  display: inline-block;
  margin-bottom: .5rem;
}
.hero-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--ink);
  line-height: .9;
  margin: 0 0 .9rem;
}
.hero-title-red { color: var(--red); }
.hero-desc {
  font-weight: 700;
  font-size: 1rem;
  max-width: 380px;
  margin: 0 0 1.2rem;
  color: #222;
}
.hero-stats { display: flex; gap: .8rem; }
.stat-chip {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: 3px 3px 0 var(--ink);
  padding: .5rem .8rem;
}
.stat-value {
  font-family: var(--font-display);
  color: var(--red);
  font-size: 1.3rem;
  line-height: 1;
}
.stat-label {
  font-size: .62rem;
  font-weight: 800;
  color: #666;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ─── Badge ──────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  box-shadow: 2px 2px 0 var(--ink);
}
.badge-live { background: var(--red); color: #fff; }
.badge-ink { background: var(--ink); color: #fff; }
.badge-yellow { background: var(--yellow); color: var(--ink); }
.badge-red { background: var(--red); color: #fff; }
.badge-sm { font-size: .68rem; padding: .12rem .5rem; }

@keyframes ll-pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: ll-pulse 1.3s ease-in-out infinite;
}

/* ─── Category Filter ────────────────────────────────────────────────────── */
.cat-filter {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.2rem 1.25rem .6rem;
  display: flex;
  gap: .5rem;
  overflow-x: auto;
}
.cat-btn {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .82rem;
  white-space: nowrap;
  padding: .4rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--lt-card);
  color: var(--lt-text-mid);
  border: 2px solid var(--lt-border-soft);
  cursor: pointer;
  transition: all var(--dur-fast);
}
.cat-btn:hover, .cat-btn.active {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--ink);
}

/* ─── Video Grid ─────────────────────────────────────────────────────────── */
.video-grid-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: .8rem 1.25rem 3rem;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

/* ─── Video Card ─────────────────────────────────────────────────────────── */
.video-card {
  display: flex;
  flex-direction: column;
  background: var(--lt-card);
  border: 2px solid var(--lt-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur-fast);
}
.video-card:hover { border-color: var(--red); }
.video-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--ink);
  overflow: hidden;
}
.video-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur);
}
.video-card:hover .video-card-thumb img { transform: scale(1.04); }
.thumb-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-comic);
  font-size: 2rem;
}
.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,.85);
  color: #fff;
  font-weight: 800;
  font-size: .72rem;
  padding: .12rem .42rem;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,.2);
}
.video-card-body { padding: .75rem .85rem; }
.video-card-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .95rem;
  line-height: 1.3;
  color: var(--lt-text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-card-meta {
  margin-top: .3rem;
  font-size: .78rem;
  color: var(--lt-text-muted);
  font-weight: 500;
}

/* Member wall */
.member-wall {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  background: var(--lt-surface);
  border: 2px solid var(--lt-border);
  border-radius: var(--radius-xl);
  margin-top: 1rem;
}
.member-wall h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.5rem;
  color: var(--lt-text);
  margin-bottom: .5rem;
}
.member-wall p { color: var(--lt-text-mid); margin-bottom: 1.2rem; }
.member-wall-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ─── Watch Page ─────────────────────────────────────────────────────────── */
.watch-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 1.8rem;
  align-items: start;
}
.player-wrap {
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--lt-border);
  position: relative;
  aspect-ratio: 16/9;
}
.player-wrap video, .player-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
}
.video-info { margin-top: 1rem; }
.video-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--lt-text);
  margin: 0 0 .5rem;
}
.video-meta-row {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap;
}
.video-views { font-size: .88rem; color: var(--lt-text-muted); }
.video-actions { margin-left: auto; display: flex; gap: .6rem; }
.btn-like, .btn-share {
  display: flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .88rem;
  background: var(--lt-card);
  color: var(--lt-text-mid);
  border: 2px solid var(--lt-border-soft);
  border-radius: var(--radius-pill);
  padding: .4rem .9rem;
  transition: all var(--dur-fast);
}
.btn-like:hover, .btn-share:hover { border-color: var(--yellow); color: var(--lt-text); }
.btn-like.liked { background: var(--yellow); color: var(--ink); border-color: var(--ink); }

.author-row {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: 1.1rem 0;
  padding: 1rem;
  background: var(--lt-surface);
  border: 2px solid var(--lt-border);
  border-radius: var(--radius-lg);
}
.author-avatar {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  object-fit: cover;
  flex-shrink: 0;
}
.author-name { font-weight: 800; color: var(--lt-text); }
.author-subs { font-size: .8rem; color: var(--lt-text-muted); }
.btn-subscribe {
  margin-left: auto;
  background: var(--red);
  border: 2px solid var(--ink);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: .4rem 1.1rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: .88rem;
}

/* Comments */
.comments-section { margin-top: 1.4rem; }
.comments-heading {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.2rem;
  color: var(--lt-text);
  margin: 0 0 1rem;
}
.comment-form {
  display: flex;
  gap: .7rem;
  margin-bottom: 1.4rem;
}
.comment-input {
  flex: 1;
  background: var(--lt-card);
  border: 2px solid var(--lt-border-soft);
  border-radius: var(--radius-md);
  color: var(--lt-text);
  font-family: var(--font-body);
  font-size: .92rem;
  padding: .65rem .9rem;
  resize: vertical;
  outline: none;
}
.comment-submit {
  align-self: flex-end;
  background: var(--yellow);
  border: 2px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 800;
  border-radius: var(--radius-md);
  padding: .6rem 1.1rem;
  cursor: pointer;
}
.comment-list { display: flex; flex-direction: column; gap: .85rem; }
.comment-item { display: flex; gap: .8rem; }
.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  display: grid;
  place-items: center;
  font-family: var(--font-comic);
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 2px solid var(--lt-border-soft);
}
.comment-meta { display: flex; gap: .5rem; align-items: baseline; margin-bottom: .25rem; }
.comment-user { font-weight: 800; font-size: .9rem; color: var(--lt-text-dim); }
.comment-time { font-size: .75rem; color: var(--lt-text-faint); }
.comment-text { font-size: .9rem; color: var(--lt-text-mid); line-height: 1.5; }
.comment-actions { margin-top: .35rem; font-size: .78rem; color: var(--lt-text-faint); display: flex; gap: .8rem; }

/* Sidebar */
.watch-sidebar {}
.sidebar-heading {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--lt-text);
  margin-bottom: .8rem;
  letter-spacing: .04em;
}
.sidebar-video {
  display: flex;
  gap: .7rem;
  margin-bottom: .8rem;
  cursor: pointer;
  padding: .5rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: border-color .15s;
  text-decoration: none;
  color: inherit;
}
.sidebar-video:hover { border-color: var(--lt-border-soft); }
.sidebar-thumb {
  flex: 0 0 140px;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--lt-border);
}
.sidebar-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.sidebar-duration {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: rgba(0,0,0,.85);
  color: #fff;
  font-weight: 800;
  font-size: .68rem;
  padding: .1rem .35rem;
  border-radius: 3px;
}
.sidebar-info { flex: 1; overflow: hidden; }
.sidebar-title {
  font-weight: 700;
  font-size: .88rem;
  color: var(--lt-text-dim);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-meta { font-size: .75rem; color: var(--lt-text-muted); margin-top: .25rem; }

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .9rem;
  padding: .5rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--lt-border-soft);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--dur-fast);
  background: var(--lt-card);
  color: var(--lt-text-mid);
}
.btn:hover { border-color: var(--yellow); color: var(--lt-text); }
.btn-primary {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--ink);
  font-weight: 800;
}
.btn-primary:hover { background: var(--yellow-deep); }
.btn-danger {
  background: var(--red);
  color: #fff;
  border-color: var(--ink);
  font-weight: 800;
}
.btn-cta {
  background: var(--yellow);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.05rem;
  padding: .75rem 2rem;
  cursor: pointer;
  text-align: center;
  display: block;
  width: 100%;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
}
.btn-cta:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--ink); }
.btn-sm { font-size: .8rem; padding: .35rem .9rem; }
.btn-lg { font-size: 1rem; padding: .65rem 1.6rem; }

/* ─── Live Page ──────────────────────────────────────────────────────────── */
.live-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.8rem 1.25rem 3rem;
}
.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.section-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 2.4rem;
  color: var(--lt-text);
  line-height: .95;
}
.live-main {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 1.4rem;
  margin-bottom: 2.5rem;
}
.live-player {
  position: relative;
  border-radius: var(--radius-lg);
  border: 3px solid var(--red);
  box-shadow: 0 0 0 4px rgba(230,51,39,.2);
  overflow: hidden;
  aspect-ratio: 16/9;
}
.live-player img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
  display: block;
}
.live-badge-wrap {
  position: absolute;
  top: 12px;
  left: 12px;
}

/* Live chat */
.live-chat {
  background: var(--lt-surface);
  border: 3px solid var(--lt-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  min-height: 340px;
}
.live-chat-header {
  padding: .8rem 1rem;
  border-bottom: 2px solid var(--lt-border);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.live-chat-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--lt-text);
}
.live-chat-body {
  flex: 1;
  padding: .8rem 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.chat-message { font-size: .82rem; line-height: 1.4; }
.chat-user { font-weight: 800; color: var(--yellow); }
.chat-text { color: var(--lt-text-mid); margin-left: .4rem; }
.live-chat-input {
  padding: .7rem .8rem;
  border-top: 2px solid var(--lt-border);
  display: flex;
  gap: .5rem;
}
.chat-input-field {
  flex: 1;
  background: var(--lt-card);
  border: 2px solid var(--lt-border-soft);
  border-radius: var(--radius-md);
  color: var(--lt-text);
  font-family: var(--font-body);
  font-size: .85rem;
  padding: .45rem .75rem;
  outline: none;
}
.chat-send-btn {
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  color: var(--ink);
  font-weight: 800;
  font-size: .85rem;
  padding: .45rem .85rem;
  cursor: pointer;
}

.live-info {
  margin-bottom: 2.5rem;
  padding: 1rem 1.2rem;
  background: var(--lt-surface);
  border: 2px solid var(--lt-border);
  border-radius: var(--radius-lg);
}
.live-info-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.5rem;
  color: var(--lt-text);
  margin: 0 0 .3rem;
}
.live-info-meta { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.live-info-author { font-size: .88rem; color: var(--lt-text-muted); }

/* ─── Shorts Page ────────────────────────────────────────────────────────── */
.shorts-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.8rem 1.25rem 3rem;
}
.shorts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.short-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--lt-card);
  border: 2px solid var(--lt-border);
  cursor: pointer;
  transition: border-color .15s, transform .15s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.short-card:hover {
  border-color: var(--yellow);
  transform: translateY(-3px);
}
.short-thumb {
  position: relative;
  aspect-ratio: 9/16;
  overflow: hidden;
}
.short-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.short-duration {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(0,0,0,.9);
  color: #fff;
  font-weight: 800;
  font-size: .7rem;
  padding: .1rem .4rem;
  border-radius: 3px;
}
.short-info { padding: .6rem .75rem; }
.short-title {
  font-weight: 700;
  font-size: .85rem;
  color: var(--lt-text-dim);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.short-views { font-size: .73rem; color: var(--lt-text-muted); margin-top: .25rem; }

/* ─── Hlášky Soundboard ──────────────────────────────────────────────────── */
.hlasky-hero {
  background: var(--yellow);
  background-image: var(--halftone-image);
  background-size: var(--halftone-size) var(--halftone-size);
  border-bottom: 4px solid var(--ink);
  padding: 1.8rem 1.25rem;
}
.hlasky-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.hlasky-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 2.8rem;
  color: var(--ink);
  line-height: .95;
  margin: 0;
}
.hlasky-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.8rem 1.25rem 3rem;
}
.hlasky-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.hlaska-card {
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: var(--lt-card);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  min-height: 130px;
  outline: 2px solid var(--lt-border);
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
  transition: all var(--dur-fast);
  width: 100%;
}
.hlaska-card:hover { outline-color: var(--yellow); }
.hlaska-card.playing {
  background: var(--yellow);
  outline: 3px solid var(--ink);
  transform: translate(2px,2px);
  box-shadow: none;
}
.hlaska-header { display: flex; justify-content: space-between; align-items: center; }
.hlaska-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #333;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .95rem;
  border: 2px solid var(--lt-border-mid);
}
.hlaska-card.playing .hlaska-play-btn {
  background: var(--red);
  border-color: var(--ink);
}
.hlaska-wave { display: flex; align-items: center; gap: 2px; height: 20px; }
.hlaska-wave span {
  width: 3px;
  border-radius: 2px;
  background: #444;
  height: 4px;
}
.hlaska-card.playing .hlaska-wave span { background: var(--red); }
@keyframes lt-wave { from{height:4px} to{height:20px} }
.hlaska-text {
  font-family: var(--font-comic);
  font-size: 1.5rem;
  color: var(--lt-text-dim);
  line-height: 1;
  letter-spacing: .02em;
}
.hlaska-card.playing .hlaska-text { color: var(--ink); }
.hlaska-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.hlaska-plays { font-size: .68rem; font-weight: 800; color: #666; text-transform: uppercase; letter-spacing: .05em; }
.hlaska-cat { font-size: .68rem; font-weight: 800; background: #222; color: #555; padding: .15rem .5rem; border-radius: 4px; text-transform: uppercase; letter-spacing: .04em; }
.hlaska-card.playing .hlaska-plays, .hlaska-card.playing .hlaska-cat { color: var(--ink); }
.hlaska-card.playing .hlaska-cat { background: rgba(0,0,0,.1); }

/* ─── Membership Page ────────────────────────────────────────────────────── */
.membership-hero {
  background: var(--yellow);
  background-image: var(--halftone-image);
  background-size: var(--halftone-size) var(--halftone-size);
  border-bottom: 4px solid var(--ink);
  padding: 2rem 1.25rem;
  text-align: center;
}
.membership-hero-inner { max-width: 700px; margin: 0 auto; }
.membership-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 3rem;
  color: var(--ink);
  line-height: .9;
  margin: 0 0 .6rem;
}
.membership-subtitle { font-weight: 700; font-size: 1.1rem; color: #333; margin: 0; }
.membership-layout { max-width: 700px; margin: 2.5rem auto; padding: 0 1.25rem 4rem; }

.pricing-card {
  background: var(--lt-surface);
  border: 3px solid var(--yellow);
  border-radius: var(--radius-xl);
  box-shadow: 8px 8px 0 var(--yellow);
  padding: 2.2rem;
  margin-bottom: 1.6rem;
}
.pricing-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.4rem; }
.pricing-tier-label {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.2rem;
  color: var(--yellow);
  letter-spacing: .05em;
  margin-bottom: .2rem;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: .3rem;
}
.pricing-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--red);
  line-height: 1;
}
.pricing-period { font-weight: 800; color: var(--lt-text-muted); font-size: 1rem; }
.pricing-approx { font-size: .82rem; color: var(--lt-text-faint); margin-top: .25rem; }
.pricing-logo { height: 72px; }
.pricing-benefits { list-style: none; margin: 0 0 1.6rem; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.pricing-benefit {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .95rem;
  color: var(--lt-text-dim);
  padding: .4rem 0;
  border-bottom: 1px solid var(--lt-border);
}
.pricing-benefit-check { color: var(--yellow); font-weight: 800; }

.payment-card {
  background: var(--lt-surface);
  border: 2px solid var(--lt-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
}
.payment-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.3rem;
  color: var(--yellow);
  margin-bottom: 1.2rem;
}
.payment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.qr-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px;
  display: inline-block;
  border: 3px solid var(--yellow);
  box-shadow: 4px 4px 0 var(--yellow);
}
.payment-table { border-collapse: collapse; width: 100%; text-align: left; }
.payment-table td { padding: .35rem 0; vertical-align: top; }
.payment-table td:first-child { padding-right: .6rem; color: var(--lt-text-muted); font-size: .82rem; font-weight: 700; white-space: nowrap; }
.payment-table td:last-child { color: var(--lt-text-dim); font-size: .85rem; font-weight: 600; }
.payment-status {
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem;
  background: rgba(245,197,24,.07);
  border: 1px solid rgba(245,197,24,.2);
  border-radius: var(--radius-md);
}
@keyframes lt-spin { to{transform:rotate(360deg)} }

/* ─── Auth Pages ─────────────────────────────────────────────────────────── */
.auth-container {
  max-width: 440px;
  margin: 3rem auto;
  padding: 0 1.25rem;
}
.auth-card {
  background: var(--lt-surface);
  border: 2px solid var(--lt-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}
.auth-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 2rem;
  color: var(--lt-text);
  margin-bottom: 1.5rem;
  text-align: center;
}
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: .85rem; font-weight: 700; color: var(--lt-text-muted); margin-bottom: .4rem; }
.form-input {
  width: 100%;
  background: var(--lt-card);
  border: 2px solid var(--lt-border-soft);
  border-radius: var(--radius-md);
  color: var(--lt-text);
  font-family: var(--font-body);
  font-size: .95rem;
  padding: .6rem .9rem;
  outline: none;
  transition: border-color var(--dur-fast);
}
.form-input:focus { border-color: var(--yellow); }
.form-error { color: var(--red); font-size: .82rem; margin-top: .35rem; }
.auth-links { text-align: center; margin-top: 1.2rem; font-size: .88rem; color: var(--lt-text-muted); }
.auth-links a { color: var(--yellow); font-weight: 700; }

/* ─── Admin ──────────────────────────────────────────────────────────────── */
.admin-layout { max-width: 1280px; margin: 2rem auto; padding: 0 1.25rem; }
.admin-header {
  background: var(--lt-surface);
  border: 2px solid var(--lt-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin-table th { background: var(--lt-card); color: var(--lt-text-muted); font-weight: 700; text-transform: uppercase; font-size: .75rem; letter-spacing: .04em; padding: .75rem 1rem; text-align: left; }
.admin-table td { padding: .75rem 1rem; border-bottom: 1px solid var(--lt-border); color: var(--lt-text-dim); }
.admin-table tr:hover td { background: var(--lt-card); }

/* ─── Empty / Error States ───────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 4rem 1.25rem;
  max-width: 1280px;
  margin: 0 auto;
}
.empty-state h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 2rem; color: var(--lt-text); margin-bottom: .5rem; }
.empty-state p { color: var(--lt-text-muted); }
.alert { padding: .85rem 1.2rem; border-radius: var(--radius-md); margin-bottom: 1rem; font-weight: 600; font-size: .9rem; }
.alert-error { background: rgba(230,51,39,.12); border: 1px solid rgba(230,51,39,.3); color: var(--red); }
.alert-success { background: rgba(58,139,61,.12); border: 1px solid rgba(58,139,61,.3); color: var(--green); }

/* ─── Upload ─────────────────────────────────────────────────────────────── */
.upload-layout { max-width: 700px; margin: 2rem auto; padding: 0 1.25rem; }
.upload-card {
  background: var(--lt-surface);
  border: 2px solid var(--lt-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  background: #0a0a0a;
  border-top: 1px solid var(--lt-border);
  padding: 2rem 1.25rem;
  margin-top: auto;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-social { display: flex; gap: 1.2rem; align-items: center; }
.footer-social a { color: var(--lt-text-muted); font-size: .85rem; display: flex; align-items: center; gap: .4rem; transition: color var(--dur-fast); }
.footer-social a:hover { color: var(--yellow); }
.footer-copy { color: var(--lt-text-faint); font-size: .8rem; }
.footer-credit a { color: var(--yellow); }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .shorts-grid { grid-template-columns: repeat(4, 1fr); }
  .watch-layout { grid-template-columns: 1fr; }
  .live-main { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .shorts-grid { grid-template-columns: repeat(2, 1fr); }
  .hlasky-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-strip-inner { flex-direction: column; }
  .featured-video { flex: none; width: 100%; }
  .main-nav .nav-btn-label { display: none; }
  .payment-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .shorts-grid { grid-template-columns: repeat(2, 1fr); }
  .hlasky-grid { grid-template-columns: repeat(2, 1fr); }
  .header-search { display: none; }
}
