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

:root {
  --black: #0e0e0e;
  --dark: #1a1a1a;
  --mid: #2a2a2a;
  --pink: #ffb4c2;
  --accent: #ff3c00;
  --text-muted: rgba(255,180,194,0.75);
  --border: rgba(255,180,194,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', sans-serif;
  background: var(--black);
  color: var(--pink);
  line-height: 1.6;
}

/* ── HEADER ─────────────────────────────────────── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: transparent;
  transition: background 0.3s;
}
#header.scrolled {
  background: rgba(14,14,14,0.95);
  backdrop-filter: blur(8px);
}
.header-logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--pink);
  text-transform: uppercase;
}
.header-nav {
  display: flex;
  gap: 32px;
  list-style: none;
}
.header-nav a {
  color: var(--pink);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.header-nav a:hover { opacity: 1; }

/* ── HERO ────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: #1c1c1e;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.hero-content {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  padding: 0 12px;
  color: var(--pink);
}
.hero-logo {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100vw - 64px));
  margin-bottom: 80px;
}
.hero-logo img { display: block; width: 100%; height: auto; }

/* ── LEGAL DOCUMENT PAGES ────────────────────────── */
.center-hero {
  min-height: 70vh;
  display: flex;
  align-items: left;
  justify-content: left;
  text-align: left;
  padding: 120px 40px;
  background: var(--black);
}

.center-hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.center-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 24px;
}

.center-hero h2 {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 24px;
}

.center-hero p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.center-hero ul {
  padding-left: 1.2em;
  margin-left: 1.2em;
}

/* ── MARQUEE BANNER ──────────────────────────────── */
.marquee-section {
  background: var(--dark);
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}
.marquee-item {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  padding: 0 48px;
  white-space: nowrap;
  opacity: 0.9;
}
.marquee-item::after {
  content: '';
  margin-left: 96px;
  color: var(--pink);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SECTION BASE ────────────────────────────────── */
section.game-section {
  padding: 100px 40px;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── GAME CARD ───────────────────────────────────── */
.game-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.game-card.reverse { direction: rtl; }
.game-card.reverse > * { direction: ltr; }

.game-card-media {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--mid);
}
.game-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #222 0%, #2e2e2e 100%);
  border: 1px dashed rgba(255,180,194,0.15);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(255,180,194,0.25);
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
}

.game-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid var(--pink);
  color: var(--pink);
  border-radius: 2px;
  margin-bottom: 20px;
}
.game-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 16px;
}
.game-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.trailer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.trailer-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  padding: 14px 20px;
  border: 1px solid rgba(255,180,194,0.2);
  border-radius: 4px;
  color: var(--pink);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s;
}
.trailer-link:hover {
  background: rgba(255,180,194,0.05);
  border-color: rgba(255,180,194,0.5);
}
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border: 1px solid rgba(255,180,194,0.4);
  color: var(--pink);
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline:hover { background: rgba(255,180,194,0.07); border-color: rgba(255,180,194,0.8); }

/* ── GAME CARD 2: KNOW GREATER EVIL ─────────────── */
.game-section-dark {
  background: #111;
  padding: 100px 40px;
}

/* ── REACH OUT / SOCIAL ──────────────────────────── */
.social-section {
  background: var(--dark);
  color: var(--pink);
  padding: 100px 40px;
  text-align: center;
}
.social-section h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.social-section p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--black);
  color: var(--pink);
  border: 1px solid var(--pink);
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s;
}
.social-btn:hover { background: rgba(255,180,194,0.1); }
.social-btn svg { width: 18px; height: 18px; fill: var(--pink); }

/* ── FOOTER ──────────────────────────────────────── */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 30px;
}
footer .footer-logo {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  text-decoration: none;
}
footer .footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.footer-links {
  display: flex;
  gap: 24px;
  align-items: left;
}

.footer-links a {
  color: var(--pink);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 0.5;
}

/* ── MEDIA GALLERY ───────────────────────────────── */
.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.media-item {
  aspect-ratio: 1;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  font: inherit;
  color: inherit;
  cursor: zoom-in;
  transition: transform 0.2s, box-shadow 0.2s;
}
.media-item:hover, .media-item:focus-visible {
  transform: scale(1.02);
  box-shadow: 0 0 0 2px var(--pink);
  outline: none;
}
.media-item img, .media-item video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.media-item .play-badge {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(14,14,14,0.75);
  border: 2px solid var(--pink);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.media-item .play-badge svg { width: 18px; height: 18px; fill: var(--pink); margin-left: 3px; }

/* ── LIGHTBOX ────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lightbox-stage {
  width: min(1200px, calc(100vw - 160px));
  height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-stage img, .lightbox-stage video {
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
  display: block;
}
.lightbox-stage iframe {
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 100%;
  border: 0;
  border-radius: 6px;
}
.lightbox-stage .img-placeholder {
  width: min(600px, 100%);
  aspect-ratio: 1;
  height: auto;
  border-radius: 6px;
  font-size: 0.9rem;
}
.lightbox-btn {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,180,194,0.4);
  background: rgba(14,14,14,0.6);
  color: var(--pink);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.lightbox-btn:hover, .lightbox-btn:focus-visible {
  background: rgba(255,180,194,0.12);
  border-color: var(--pink);
  outline: none;
}
.lightbox-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-caption {
  position: absolute;
  bottom: 24px; left: 0; right: 0;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 16px;
}
body.lightbox-open { overflow: hidden; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
  #header { padding: 0 20px; }
  .header-nav { display: none; }
  section.game-section, .game-section-dark, .social-section { padding: 70px 20px; }
  .game-card, .game-card.reverse { grid-template-columns: 1fr; direction: ltr; gap: 36px; }
  footer { flex-direction: column; align-items: flex-start; }
  .lightbox-stage { width: calc(100vw - 32px); height: calc(100vh - 200px); }
  .lightbox-btn { width: 44px; height: 44px; }
  .lightbox-close { top: 14px; right: 14px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 60px; transform: none; }
  .lightbox-prev { left: calc(50% - 56px); }
  .lightbox-next { right: calc(50% - 56px); }
  .lightbox-caption { bottom: 20px; }
}

/* ── LOGO IMAGE ──────────────────────────────────── */
.header-logo, footer .footer-logo { display: inline-flex; align-items: center; line-height: 0; }
.header-logo img { display: block; height: 22px; width: auto; }
footer .footer-logo img { display: block; height: 18px; width: auto; }
@media (max-width: 768px) { .header-logo img { height: 18px; } }
