:root {
  --bg: #05060a;
  --bg-elev: #10121a;
  --line: rgba(255, 255, 255, 0.08);
  --text: #fff5f0;
  --muted: #a39ba5;
  --accent: #ff2d6a;
  --accent-2: #ff7a18;
  --glow: rgba(255, 45, 106, 0.45);
  --radius: 14px;
  --header-h: 64px;
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1100px 520px at 8% -12%, rgba(255, 45, 106, 0.22), transparent 55%),
    radial-gradient(900px 480px at 100% 0%, rgba(255, 122, 24, 0.14), transparent 50%),
    radial-gradient(700px 400px at 50% 110%, rgba(255, 45, 106, 0.08), transparent 45%),
    var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.age-gate {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center; padding: 24px;
  background: rgba(3, 4, 8, 0.94); backdrop-filter: blur(12px);
}
.age-gate.is-hidden { display: none; }
.age-card {
  width: min(440px, 100%);
  padding: 30px 24px;
  border-radius: 20px;
  background: linear-gradient(165deg, #1a1220, #0d0f16 60%);
  box-shadow: 0 0 0 1px rgba(255, 45, 106, 0.5), 0 30px 70px rgba(0,0,0,.6);
  text-align: center;
}
.age-brand, .logo-text, .footer-inner .logo-text {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 2.1rem;
  letter-spacing: 0.08em;
}
.age-brand span, .logo-text span { color: var(--accent); }
.age-card h1 { margin: 0 0 10px; font-size: 1.6rem; color: var(--accent); }
.age-copy { margin: 0 0 22px; color: var(--muted); line-height: 1.55; }
.age-actions { display: grid; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 18px; border-radius: 12px;
  border: 1px solid transparent; cursor: pointer; font-weight: 700;
}
.btn-enter {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 30px var(--glow);
}
.btn-exit {
  color: var(--text); background: transparent;
  border-color: rgba(255,255,255,.2);
}

.site-header {
  position: sticky; top: 0; z-index: 50; min-height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 10, 0.88); backdrop-filter: blur(16px);
}
.header-inner {
  max-width: 1240px; margin: 0 auto; padding: 10px 16px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-display); letter-spacing: 0.04em;
  background: linear-gradient(145deg, var(--accent), #9b123f);
  box-shadow: 0 8px 22px var(--glow);
}
.logo-text { font-size: 1.6rem; line-height: 1; }
.search { width: min(100%, 420px); margin-left: auto; }
.is-hidden { display: none !important; }
.search input {
  width: 100%; min-height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg-elev); color: var(--text);
  padding: 0 14px; outline: none;
}
.search input:focus {
  border-color: rgba(255, 45, 106, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 45, 106, 0.16);
}

/* Featured hero — full-bleed stage */
.featured-bleed {
  max-width: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.featured-stage {
  position: relative;
  min-height: min(62vh, 520px);
  border-radius: 0;
  overflow: hidden;
  background: #0c0e14;
  box-shadow: none;
  animation: fadeUp 0.55s ease both;
}
.featured-rail-wrap {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 12px 16px 8px;
}
.featured-stage a.feature-link {
  display: block; height: 100%; min-height: inherit; position: relative;
}
.featured-stage img {
  width: 100%; height: 100%; min-height: inherit; object-fit: cover;
  transform: scale(1.04);
  animation: ken 14s ease-in-out infinite alternate;
}
.featured-stage .shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,6,10,.88) 0%, rgba(5,6,10,.35) 55%, rgba(5,6,10,.2) 100%),
    linear-gradient(180deg, transparent 30%, rgba(5,6,10,.92) 100%);
}
.featured-stage .featured-copy {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  padding: 22px 16px 20px;
}
.featured-copy .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 8px; color: var(--accent-2);
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}
.featured-copy h1 {
  margin: 0 0 10px;
  max-width: 18ch;
  font-size: clamp(1.45rem, 5.5vw, 2.4rem);
  line-height: 1.12;
  text-shadow: 0 10px 30px rgba(0,0,0,.55);
}
.featured-copy .meta-line {
  margin: 0 0 14px; color: #d7cfda; font-size: 0.9rem;
}
.featured-copy .btn {
  min-width: 140px;
}
.featured-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(148px, 38%);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.featured-rail::-webkit-scrollbar { display: none; }
.rail-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #151821;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.rail-card.is-active, .rail-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.rail-card img { width: 100%; height: 100%; object-fit: cover; }
.rail-card .rail-title {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 8px 8px;
  font-size: 0.72rem; font-weight: 700; line-height: 1.25;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85));
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.stats-bar {
  max-width: 1240px; margin: 0 auto;
  padding: 4px 16px 8px;
  color: var(--muted); font-size: 0.85rem;
}
.stats-bar span { color: var(--accent); font-weight: 800; }

.tabs {
  position: sticky; top: var(--header-h); z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 10, 0.94); backdrop-filter: blur(12px);
}
.tabs-scroll {
  max-width: 1240px; margin: 0 auto; padding: 10px 16px;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
}
.tabs-scroll::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer;
  font-weight: 600;
}
.tab.is-active {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #d91f55);
  box-shadow: 0 8px 18px rgba(255, 45, 106, 0.28);
}

.video-grid {
  max-width: 1240px; margin: 0 auto;
  padding: 14px 16px 56px;
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
}
.video-card {
  display: grid; gap: 8px;
  animation: fadeUp 0.45s ease both;
}
.video-card:nth-child(2) { animation-delay: 0.04s; }
.video-card:nth-child(3) { animation-delay: 0.08s; }
.video-card:nth-child(4) { animation-delay: 0.12s; }
.thumb {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: var(--radius); background: #151821;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}
.thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.video-card:hover .thumb img { transform: scale(1.06); filter: brightness(1.08); }
.dur, .src-tag, .play {
  position: absolute; z-index: 1;
  border-radius: 8px; font-size: 0.72rem; font-weight: 800;
}
.dur {
  right: 8px; bottom: 8px; padding: 4px 8px;
  background: rgba(0,0,0,.78); color: #fff;
}
.src-tag {
  left: 8px; top: 8px; padding: 4px 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; text-transform: uppercase; letter-spacing: 0.04em;
}
.play {
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.28);
  background: rgba(0,0,0,.45); color: #fff; font-size: 1rem;
  backdrop-filter: blur(4px);
  transition: transform 0.2s ease, background 0.2s ease;
}
.video-card:hover .play {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(255, 45, 106, 0.85);
}
.video-card h2, .video-card h3 {
  margin: 0; font-size: 0.98rem; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta { margin: 0; color: var(--muted); font-size: 0.82rem; }
.empty { color: var(--muted); padding: 24px 0; }

.watch-page {
  max-width: 980px; margin: 0 auto; padding: 18px 16px 48px;
}
.back-link {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--muted);
}
.back-link:hover { color: var(--text); }
.watch-page h1 {
  margin: 4px 0 8px; font-size: clamp(1.2rem, 4vw, 1.75rem); line-height: 1.25;
}
.meta {
  display: flex; flex-wrap: wrap; gap: 8px 12px;
  color: var(--muted); font-size: 0.85rem; margin-bottom: 12px;
}
.player-wrap {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 16px; overflow: hidden; background: #000;
  box-shadow: 0 18px 48px rgba(0,0,0,.5);
}
.player-wrap iframe,
.player-wrap video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  background: #000;
}
.watch-note { color: var(--muted); font-size: 0.88rem; margin: 12px 0 28px; }
.more h2 {
  margin: 0 0 12px; font-family: var(--font-display);
  letter-spacing: 0.06em; font-size: 1.9rem;
}

.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  max-width: 1240px; margin: 0 auto; padding: 24px 16px 36px;
  color: var(--muted); font-size: 0.9rem;
}
.footer-inner .logo-text { color: var(--text); margin-bottom: 8px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ken {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.12) translateY(-10px); }
}

@media (min-width: 640px) {
  .video-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .featured-rail { grid-auto-columns: minmax(160px, 22%); }
}
@media (min-width: 900px) {
  .header-inner { flex-wrap: nowrap; }
  .search { width: min(360px, 36vw); margin-left: auto; }
  .featured-rail {
    grid-auto-columns: minmax(170px, 1fr);
  }
  .video-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .watch-page .video-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .featured-stage img { animation: none; }
  .video-card { animation: none; }
}
@media (min-width: 1140px) {
  .video-grid { grid-template-columns: repeat(4, 1fr); }
}
