/* ===== Archive 2026 — modern static cover ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0b0b0f;
  --bg-elevated: #121218;
  --bg-card: #16161e;
  --bg-hover: #1e1e28;
  --text: #f2f2f7;
  --text-muted: #8b8b9e;
  --text-dim: #5c5c6e;
  --accent: #8b5cf6;
  --accent-2: #a78bfa;
  --accent-soft: rgba(139, 92, 246, 0.15);
  --border: #262633;
  --border-hover: #3a3a4a;
  --success: #34d399;
  --youtube: #ff0033;
  --twitch: #9146ff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(0,0,0,0.45);
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --header-h: 68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 11, 15, 0.78);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7c3aed, #c084fc);
  display: grid;
  place-items: center;
  font-size: 13px;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.35);
}

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

.nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}

.nav a:hover { color: var(--text); background: var(--bg-hover); }
.nav a.active { color: var(--text); background: var(--accent-soft); }

.header-actions { display: flex; align-items: center; gap: 10px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.12s, background 0.15s, border-color 0.15s, opacity 0.15s;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  color: #fff;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}
.btn-primary:hover { filter: brightness(1.08); }

.btn-outline {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}
.btn-outline:hover { border-color: var(--border-hover); background: var(--bg-hover); }

.btn-ghost {
  color: var(--text-muted);
  padding: 8px 12px;
}
.btn-ghost:hover { color: var(--text); }

.btn-sm { padding: 7px 14px; font-size: 0.82rem; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 64px 0 48px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% 20% auto;
  height: 420px;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.18), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.hero h1 span {
  background: linear-gradient(135deg, #c4b5fd, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
}

.stat-pill strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.stat-pill span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== Sections ===== */
.section { padding: 40px 0 56px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.section-link {
  color: var(--accent-2);
  font-size: 0.9rem;
  font-weight: 600;
}
.section-link:hover { text-decoration: underline; }

/* ===== Toolbar / search / filters ===== */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  align-items: center;
}

.search-box {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  transition: border-color 0.15s;
}

.search-box:focus-within { border-color: var(--accent); }

.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.92rem;
  font-family: inherit;
}

.search-box input::placeholder { color: var(--text-dim); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.15s;
}

.chip:hover { border-color: var(--border-hover); color: var(--text); }
.chip.active {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent-2);
}

/* ===== Video grid ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a0a0e;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.video-card:hover .video-thumb img { transform: scale(1.04); }

.video-duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.platform-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
}

.platform-badge.yt { color: #ff6b81; }
.platform-badge.tw { color: #c4b5fd; }
.platform-badge.other { color: #94a3b8; }

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.25);
  opacity: 0;
  transition: opacity 0.2s;
}

.video-card:hover .video-play { opacity: 1; }

.play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.9);
  display: grid;
  place-items: center;
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.video-info { padding: 14px 14px 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }

.video-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-top: auto;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-dim);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 999px;
}

/* ===== External / links strip ===== */
.links-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s, background 0.15s;
}

.link-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-hover);
}

.link-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.link-icon.yt { background: rgba(255, 0, 51, 0.15); color: #ff4d6d; }
.link-icon.tw { background: rgba(145, 70, 255, 0.15); color: #c4b5fd; }
.link-icon.tg { background: rgba(34, 158, 217, 0.15); color: #38bdf8; }
.link-icon.web { background: var(--accent-soft); color: var(--accent-2); }

.link-card h3 { font-size: 0.92rem; font-weight: 600; margin-bottom: 2px; }
.link-card p { font-size: 0.78rem; color: var(--text-muted); }

/* ===== Watch page ===== */
.watch-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  padding: 28px 0 56px;
  align-items: start;
}

.player-shell {
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  position: relative;
}

.player-shell iframe,
.player-shell video {
  width: 100%;
  height: 100%;
  border: 0;
}

.player-placeholder {
  text-align: center;
  padding: 32px;
  color: var(--text-muted);
}

.player-placeholder .big-play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: #fff;
}

.watch-main h1 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 18px 0 10px;
}

.watch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.watch-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.watch-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.side-list { display: flex; flex-direction: column; gap: 12px; }

.side-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.15s;
}

.side-card:hover { border-color: var(--border-hover); }

.side-card .thumb {
  aspect-ratio: 16 / 9;
  background: #0a0a0e;
}

.side-card .thumb img { width: 100%; height: 100%; object-fit: cover; }

.side-card .info { padding: 10px 10px 10px 0; display: flex; flex-direction: column; gap: 4px; }
.side-card .info h3 {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.side-card .info span { font-size: 0.72rem; color: var(--text-muted); }

/* ===== About ===== */
.about-wrap {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  padding: 40px 0 56px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.about-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.about-card p {
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.about-stats .stat-pill { padding: 14px 10px; }

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal {
  width: 100%;
  max-width: 400px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.modal h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.modal p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.modal input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  margin-bottom: 12px;
}

.modal input:focus { border-color: var(--accent); }

.modal-error {
  display: none;
  color: #f87171;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.modal-actions .btn { flex: 1; justify-content: center; }

/* ===== Locked ===== */
.locked-box {
  text-align: center;
  padding: 80px 20px;
}

.locked-box h1 { font-size: 1.6rem; margin-bottom: 10px; }
.locked-box p { color: var(--text-muted); margin-bottom: 24px; max-width: 420px; margin-inline: auto; }

/* ===== Empty ===== */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 36px;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.footer a:hover { color: var(--text-muted); }

/* ===== Mobile nav ===== */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid,
  .about-wrap,
  .watch-layout {
    grid-template-columns: 1fr;
  }

  .side-list { display: grid; grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 12px;
    gap: 4px;
  }
  .menu-toggle { display: inline-flex; }
  .header-inner { position: relative; }
}

@media (max-width: 560px) {
  .hero { padding: 40px 0 32px; }
  .hero-stats { grid-template-columns: 1fr; }
  .side-list { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .header .btn-primary span { display: none; }
}

/* ===== Glassmorphism (iOS-like) ===== */
.glass-card {
  background: rgba(22, 22, 30, 0.55) !important;
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.28s ease,
              border-color 0.28s ease,
              background 0.28s ease;
}

.glass-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(167, 139, 250, 0.25) !important;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(139, 92, 246, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  background: rgba(28, 28, 40, 0.65) !important;
}

.header {
  background: rgba(11, 11, 15, 0.55) !important;
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.modal {
  background: rgba(22, 22, 32, 0.72) !important;
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  animation: modalIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chip, .search-box, .stat-pill, .link-card, .about-card {
  background: rgba(22, 22, 30, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.link-card:hover {
  background: rgba(30, 30, 42, 0.65);
  transform: translateY(-2px);
  transition: transform 0.25s ease, background 0.25s ease;
}

.btn-primary {
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.45);
}

.easter-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  z-index: 2;
}

.legal {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 920px;
}

.legal strong { color: var(--text-muted); font-weight: 600; }

.modal input[type="text"],
.modal input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  margin-bottom: 10px;
  backdrop-filter: blur(8px);
}

.modal input:focus { border-color: var(--accent); }

body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 58, 237, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(59, 130, 246, 0.06), transparent),
    var(--bg);
}
