/* ==========================================================
   Quaziko Games — site stylesheet
   Palette: dark base, Quaziko navy/gray brand, neon accents
   ========================================================== */

:root {
  --bg: #0b0e1a;
  --bg-raise: #121729;
  --bg-card: #171d33;
  --line: #262e4d;
  --text: #e8eaf2;
  --text-dim: #a6adc4;
  --navy: #2b309b;          /* Quaziko Q blue, brightened for dark bg */
  --navy-bright: #6b74ff;
  --neon: #aaff2e;          /* SBD UI green */
  --pink: #ff4fa3;
  --cyan: #4fd8ff;
  --radius: 14px;
  --maxw: 1100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- pixel eyebrow labels ---------- */
.eyebrow {
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--neon);
  text-transform: uppercase;
  margin-bottom: 14px;
}

h1, h2, h3 { font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
h3 { font-size: 22px; margin-bottom: 8px; }

.lead { color: var(--text-dim); font-size: 19px; max-width: 640px; }

section { padding: 84px 0; scroll-margin-top: 64px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 14, 26, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 28px;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 18px; color: var(--text);
}
.nav-brand:hover { text-decoration: none; }
.nav-brand img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--text-dim); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.btn { color: #0b0e1a; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: 10px;
  font-weight: 700; font-size: 16px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-steam {
  background: var(--neon); color: #0b0e1a;
  box-shadow: 0 0 24px rgba(170, 255, 46, 0.25);
}
.btn-steam:hover { box-shadow: 0 0 34px rgba(170, 255, 46, 0.45); }
.btn-ks {
  background: transparent; color: var(--text);
  border: 2px solid var(--navy-bright);
}
.btn-ks:hover { background: rgba(107, 116, 255, 0.12); }
.btn-ghost {
  background: var(--bg-card); color: var(--text);
  border: 1px solid var(--line);
}
.btn small { font-weight: 500; opacity: 0.75; font-size: 12px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 110px 0 90px;
  text-align: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  filter: blur(6px) brightness(0.32) saturate(1.2);
  transform: scale(1.06);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,14,26,0.25) 0%, rgba(11,14,26,0.55) 60%, var(--bg) 100%);
}
.hero-logo { max-width: 520px; width: 82%; margin: 0 auto 26px; }
.hero .tagline {
  font-size: clamp(19px, 2.6vw, 24px);
  color: var(--text); max-width: 720px; margin: 0 auto 12px;
  font-weight: 500;
}
.hero .sub { color: var(--text-dim); max-width: 620px; margin: 0 auto 34px; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-dates {
  margin-top: 34px;
  font-family: "Press Start 2P", monospace;
  font-size: 10px; letter-spacing: 1px; line-height: 2.4;
  color: var(--cyan);
}
.hero-dates span { color: var(--pink); }

/* ---------- screenshot strip ---------- */
.shots-strip { padding: 0 0 84px; }
.shots-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.shots-grid a {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.shots-grid a:hover { transform: translateY(-4px); border-color: var(--navy-bright); }
.shots-grid img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

/* ---------- video embed ---------- */
.video-frame {
  position: relative; width: 100%; max-width: 920px; margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  background: #000;
}
.video-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

/* ---------- feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.card .ico { font-size: 30px; margin-bottom: 12px; }
.card p { color: var(--text-dim); font-size: 15.5px; }

/* ---------- split sections ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.split .media {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
}
.split p { color: var(--text-dim); margin-bottom: 14px; }

/* ---------- live / streaming ---------- */
.live-banner {
  background: linear-gradient(135deg, rgba(43,48,155,0.35), rgba(23,29,51,0.9)),
              var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center;
}
.live-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: #ff4b4b; margin-right: 8px;
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.live-banner .schedule {
  font-family: "Press Start 2P", monospace;
  font-size: 11px; line-height: 2.2; color: var(--neon);
}
.live-ctas { display: flex; flex-direction: column; gap: 12px; }
.live-ctas .btn { justify-content: center; }
.btn-twitch { background: #9146ff; color: #fff; }
.btn-yt { background: #ff0033; color: #fff; }

/* ---------- socials footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 56px;
  color: var(--text-dim); font-size: 14.5px;
}
.foot-inner {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.foot-inner img { height: 26px; opacity: 0.85; }
.foot-links { display: flex; gap: 18px; margin-left: auto; }
.foot-links a { color: var(--text-dim); }
.foot-links a:hover { color: var(--text); }

/* ---------- game page ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery a {
  border-radius: 10px; overflow: hidden; border: 1px solid var(--line);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.gallery a:hover { transform: scale(1.02); border-color: var(--neon); }
.gallery img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

.timeline {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 36px;
}
.timeline .card strong { color: var(--cyan); display: block; margin-bottom: 6px; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.timeline .card .date { font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 8px; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5, 7, 14, 0.92);
  display: none; align-items: center; justify-content: center;
  padding: 4vh 4vw; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%; max-height: 100%;
  border-radius: 8px; box-shadow: 0 20px 80px rgba(0,0,0,0.6);
}

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  section { padding: 60px 0; }
  .cards, .shots-grid, .gallery { grid-template-columns: repeat(2, 1fr); }
  .split, .live-banner, .timeline { grid-template-columns: 1fr; }
  .split .media { order: -1; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 540px) {
  .shots-grid, .gallery { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 60px; }
}
