/* Apex Interactive - dark, gritty military look to match the Watchtower logo. */
:root {
  --bg: #0b0d0c;
  --panel: #131715;
  --line: #2a312c;
  --text: #d9ddd6;
  --muted: #8f978d;
  --accent: #b9a46b;      /* worn brass */
  --accent2: #6f7d5b;     /* olive drab */
  --danger: #a33a2a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 Inter, system-ui, sans-serif;
  /* subtle film grain */
  background-image: radial-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 3px 3px;
}
h1, h2, h3, .wordmark, .eyebrow, .btn, .badges span, nav a { font-family: Oswald, Impact, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
h2 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 18px; font-weight: 700; }
h3 { font-size: 22px; margin: 4px 0 8px; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  background: linear-gradient(rgba(8,10,9,.92), rgba(8,10,9,.55));
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.wordmark { color: var(--text); text-decoration: none; font-weight: 700; font-size: 22px; }
.wordmark span { color: var(--accent); }
nav a { color: var(--muted); text-decoration: none; margin-left: 22px; font-size: 15px; }
nav a:hover { color: var(--text); }

/* hero */
.hero { position: relative; min-height: min(100vh, 860px); display: grid; place-items: center; text-align: center; overflow: hidden; max-width: none; padding: 0; }
.hero-bg {
  position: absolute; inset: 0;
  background: url(img/tower_night.jpg) center 30% / cover no-repeat;
  filter: saturate(.75) contrast(1.1) brightness(.55);
  transform: scale(1.05);
}
.hero::after { /* vignette + fog */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(5,7,6,.85) 85%),
              linear-gradient(transparent 60%, var(--bg));
}
.hero-inner { position: relative; z-index: 1; padding: 110px 20px 60px; max-width: 980px; }
.logo { width: min(860px, 92vw); height: auto; margin: 0 auto 10px; filter: drop-shadow(0 6px 24px rgba(0,0,0,.7)); }
.tagline { font-family: Oswald, sans-serif; font-size: clamp(20px, 3vw, 30px); letter-spacing: .12em; text-transform: uppercase; margin: 6px 0 18px; }
.eyebrow { color: var(--accent); font-size: 14px; margin: 0 0 8px; }

.badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 14px 0 22px; }
.badges span { border: 1px solid var(--line); background: rgba(19,23,21,.8); padding: 6px 12px; font-size: 14px; color: var(--text); }
.game .badges { justify-content: flex-start; }

.btn {
  display: inline-block; padding: 12px 26px; background: var(--accent); color: #111; text-decoration: none;
  font-weight: 600; font-size: 16px; border: 1px solid var(--accent); transition: filter .2s, background .2s;
}
.btn:hover { filter: brightness(1.15); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: rgba(185,164,107,.12); }

/* sections */
section { padding: 80px 24px; max-width: 1180px; margin: 0 auto; }
.studio { text-align: center; max-width: 760px; padding-top: 40px; }
.studio p { color: var(--muted); font-size: 19px; }

.game { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; border-top: 1px solid var(--line); }
.game .lead { font-size: 20px; color: var(--text); }
.game p { color: #b9bfb6; }
.features { list-style: none; padding: 0; margin: 22px 0; }
.features li { padding: 8px 0 8px 22px; border-bottom: 1px dashed var(--line); position: relative; color: #c6cbc3; }
.features li::before { content: ""; position: absolute; left: 0; top: 17px; width: 9px; height: 9px; background: var(--accent2); transform: rotate(45deg); }
.game-art img { border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0,0,0,.6); }

.trailer { text-align: center; border-top: 1px solid var(--line); }
.video { position: relative; aspect-ratio: 16 / 9; max-width: 1000px; margin: 0 auto; border: 1px solid var(--line); background: #000; }
.video img, .video iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.video .soon {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: Oswald, sans-serif; letter-spacing: .14em; text-transform: uppercase; font-size: clamp(18px, 3vw, 28px);
  background: rgba(8,10,9,.75); border: 1px solid var(--line); padding: 10px 22px;
}

.gallery { border-top: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.grid a { display: block; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, filter .4s; filter: saturate(.85); }
.grid a:hover img { transform: scale(1.06); filter: saturate(1.05); }

.news { border-top: 1px solid var(--line); max-width: 860px; }
.news article { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent); padding: 22px 26px; }
.news time { color: var(--muted); font-size: 14px; }
.news p { color: #bfc5bc; margin: 0; }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-buttons .btn.ghost { background: rgba(8,10,9,.55); }
nav a.nav-discord { color: var(--accent); border: 1px solid var(--accent); padding: 4px 10px; }
nav a.nav-discord:hover { background: rgba(185,164,107,.12); }
footer .btn.discord { margin-bottom: 18px; }
footer { text-align: center; color: var(--muted); font-size: 14px; padding: 40px 20px 50px; border-top: 1px solid var(--line); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 20px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; border: 1px solid var(--line); }

/* phones / tablets */
@media (max-width: 860px) {
  .game { grid-template-columns: 1fr; gap: 28px; }
  .game-art { order: -1; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 60px 18px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav { padding: 12px 16px; }
  .wordmark { font-size: 18px; }
  nav a { margin-left: 12px; font-size: 13px; }
  .grid { grid-template-columns: 1fr; }
}
