*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
::root {
  --bg: #050508;
  --surface: #0a0a10;
  --card: #0d0d14;
  --cyan: #00f5ff;
  --magenta: #ff00aa;
  --green: #00ff88;
  --yellow: #ffee00;
  --text: #c8d0e0;
  --muted: #4a5068;
  --border: rgba(0,245,255,0.12);
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  line-height: 1.5;
  min-height: 100vh;
  background-image:
    linear-gradient(rgba(0,245,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
a { color: inherit; text-decoration: none; }
img { display: block; }

body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 999;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(0,0,0,0.04) 2px, rgba(0,0,0,0.04) 4px
  );
}

header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5,5,8,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 30px rgba(0,245,255,0.06);
}
.header-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 24px; height: 56px;
}
.logo {
  font-family: 'Orbitron', monospace;
  font-size: 16px; font-weight: 900;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(0,245,255,0.8), 0 0 40px rgba(0,245,255,0.4);
  white-space: nowrap;
}
.logo span { color: var(--magenta); text-shadow: 0 0 20px rgba(255,0,170,0.8); }
.header-nav { margin-left: auto; display: flex; gap: 4px; }
.header-nav a {
  padding: 6px 14px;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); border: 1px solid transparent;
  transition: all 0.2s;
}
.header-nav a:hover {
  color: var(--cyan); border-color: rgba(0,245,255,0.3);
  text-shadow: 0 0 8px rgba(0,245,255,0.6);
  background: rgba(0,245,255,0.05);
}

.hero {
  max-width: 1400px; margin: 0 auto; padding: 56px 24px 40px;
  position: relative;
}
.hero-kicker {
  display: inline-block;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--magenta);
  border: 1px solid rgba(255,0,170,0.4);
  padding: 4px 14px; margin-bottom: 20px;
  background: rgba(255,0,170,0.05);
}
.hero-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 900; line-height: 1; letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 60px rgba(0,245,255,0.4);
  margin-bottom: 8px;
}
.hero-title em {
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(0,245,255,0.9), 0 0 60px rgba(0,245,255,0.4);
}
.hero-count .num {
  font-family: 'Orbitron', monospace;
  font-size: 28px; font-weight: 700;
  color: var(--cyan); line-height: 1;
  text-shadow: 0 0 20px rgba(0,245,255,0.6);
}
.hero-count .label { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }

.grid-section {
  max-width: 1400px; margin: 0 auto; padding: 0 24px 48px;
}
.section-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
}
.section-title {
  font-family: 'Orbitron', monospace;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cyan); white-space: nowrap;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.featured-card { grid-column: 1; grid-row: 1 / 3; }
.featured-card .thumb-wrap { height: 100%; }
.featured-card .thumb { height: 100%; }
@media(max-width: 1024px) {
  .featured-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .featured-card { grid-column: 1; grid-row: 1; }
  .featured-card .thumb-wrap { aspect-ratio: 16/10; }
}
.video-card {
  background: var(--card);
  position: relative; overflow: hidden;
}
.video-card::after {
  content: '';
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(0,245,255,0);
  transition: box-shadow 0.3s;
  pointer-events: none; z-index: 3;
}
.video-card:hover::after {
  box-shadow: inset 0 0 0 1px rgba(0,245,255,0.5), inset 0 0 20px rgba(0,245,255,0.05);
}
.video-card:hover .thumb { transform: scale(1.05); filter: brightness(1.1) saturate(1.2); }
.video-card:hover .card-overlay { opacity: 1; }

.thumb-wrap { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s, filter 0.4s; filter: brightness(0.9) saturate(0.9); }
.thumb-placeholder { width: 100%; aspect-ratio: 16/10; background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 36px; }

.dur-badge {
  position: absolute; bottom: 8px; right: 8px; z-index: 2;
  background: rgba(5,5,8,0.85);
  border: 1px solid rgba(0,245,255,0.3);
  color: var(--cyan); font-family: 'Share Tech Mono', monospace;
  font-size: 11px; padding: 2px 8px; letter-spacing: 0.08em;
}

.card-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(5,5,8,0.9) 0%, transparent 60%);
  display: flex; align-items: flex-end;
  padding: 16px; opacity: 0; transition: opacity 0.3s;
}
.card-title {
  font-size: 12px; line-height: 1.4; color: var(--text);
}
.card-meta { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px; font-size: 10px; color: var(--muted); }

footer {
  max-width: 1400px; margin: 0 auto; padding: 24px;
  font-size: 11px; color: var(--muted);
}

@media(max-width:768px) {
  .hero { padding-top: 32px; }
}
