:root {
  --bg: #0c0c0e;
  --panel: #16161a;
  --line: #2a2a30;
  --text: #ececf0;
  --muted: #9a9aa5;
  --accent: #d8c08a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---- Gate ---- */
.gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.gate-box {
  max-width: 420px;
  text-align: center;
}
.gate-box h1 {
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.gate-box p { color: var(--muted); line-height: 1.7; }

/* ---- Masthead ---- */
.masthead {
  border-bottom: 1px solid var(--line);
  padding: 72px 24px 48px;
}
.masthead-inner { max-width: 1100px; margin: 0 auto; }
.masthead h1 {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin: 0;
}
.subtitle {
  color: var(--accent);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 13px;
  margin: 10px 0 0;
}
.intro {
  color: var(--muted);
  max-width: 640px;
  line-height: 1.8;
  margin: 22px 0 0;
}
.access-note {
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.access-note .pill {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 12px;
  margin-right: 8px;
  color: var(--accent);
}

/* ---- Grid ---- */
.grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1d1d22, #111114);
  display: grid;
  place-items: center;
  position: relative;
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-thumb .play {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.4);
  display: grid; place-items: center;
  color: #fff; font-size: 18px;
  backdrop-filter: blur(2px);
}
.card-body { padding: 16px 18px 20px; }
.card-body h3 { margin: 0 0 6px; font-weight: 500; font-size: 17px; }
.card-byline { color: var(--muted); font-size: 13px; margin: 0; }

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* ---- Player ---- */
.player {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}
.player-close {
  position: absolute;
  top: 18px; right: 22px;
  background: none; border: none;
  color: #fff; font-size: 24px;
  cursor: pointer;
}
.player-stage {
  width: min(960px, 100%);
}
.player-stage video {
  width: 100%;
  background: #000;
  border-radius: 4px;
  max-height: 70vh;
}
.player-meta { padding: 18px 4px 0; }
.player-meta h2 { margin: 0 0 6px; font-weight: 500; }
.player-meta p { color: var(--muted); margin: 4px 0; line-height: 1.7; }
#p-byline { color: var(--accent); font-size: 13px; letter-spacing: 0.06em; }
