:root {
  --bg: #0a1628;
  --surface: #122038;
  --text: #eef8ff;
  --muted: #8eb4cc;
  --accent: #39c5bb;
  --accent2: #ff66aa;
  --border: rgba(57, 197, 187, 0.25);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: rgba(10, 22, 40, 0.95);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.logo img { height: 42px; width: auto; }

.main-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.main-nav a {
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}
.main-nav a.active, .main-nav a:hover { color: var(--accent); }

.hero {
  position: relative;
  min-height: 52vh;
  overflow: hidden;
  background: #000;
}
.hero-video {
  width: 100%;
  height: 52vh;
  object-fit: cover;
  opacity: 0.75;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(10,22,40,0.2), rgba(10,22,40,0.75));
  padding: 24px;
}
.hero-overlay h1 {
  margin: 0 0 8px;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  letter-spacing: 0.04em;
  text-shadow: 0 0 30px rgba(57,197,187,0.45);
}
.hero-overlay p {
  margin: 0;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.type-nav {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.type-nav-inner {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding: 14px 0;
}
.type-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
}

.section { padding: 40px 0 56px; }
.page-head h1 { margin: 0 0 8px; font-size: 2rem; }
.page-head p { color: var(--muted); margin: 0; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.video-card a { color: inherit; text-decoration: none; display: block; }

.video-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.format-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent2);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.video-card-body { padding: 16px 18px 20px; }
.video-card-body h2 {
  margin: 8px 0 10px;
  font-size: 1.05rem;
  line-height: 1.35;
}
.meta, .stats {
  color: var(--muted);
  font-size: 0.85rem;
}

.video-page .back-link { display: inline-block; margin-bottom: 16px; }
.video-header h1 {
  margin: 8px 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
}
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #000;
  margin-top: 20px;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 900px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
  .hero-video { height: 40vh; }
}
@media (max-width: 600px) {
  .video-grid { grid-template-columns: 1fr; }
}
