/* ============================================
   WARRIORSGATE ENTERTAINMENT — BASE STYLES
   ============================================ */

/* ---- Fonts ---- */
@font-face {
  font-family: 'PP Monument Extended';
  src: url('../fonts/PPMonumentExtended-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PP Monument Extended';
  src: url('../fonts/PPMonumentExtended-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PP Monument Extended';
  src: url('../fonts/PPMonumentExtended-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PP Monument Condensed';
  src: url('../fonts/PPMonumentCondensed-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PP Monument Condensed';
  src: url('../fonts/PPMonumentCondensed-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Omnes';
  src: url('../fonts/omnes_extralight-webfont.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Omnes';
  src: url('../fonts/omnes_light-webfont.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Omnes';
  src: url('../fonts/omnes-regular-webfont.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Omnes';
  src: url('../fonts/omnes_medium-webfont.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Omnes';
  src: url('../fonts/omnes-semibold-webfont.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ---- Design tokens ---- */
:root {
  --black: #0a0a0a;
  --off-black: #111111;
  --dark: #1a1a1a;
  --mid: #242424;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.16);
  --white: #ffffff;
  --off-white: #e8e4dc;
  --gold: #B0B0B0;
  --gold-light: #FFFFFF;
  --gold-dim: rgba(255,255,255,0.1);
  --text-muted: rgba(255,255,255,0.45);
  --text-secondary: rgba(255,255,255,0.65);

  --font-display: 'PP Monument Extended', 'Barlow Condensed', sans-serif;
  --font-condensed: 'PP Monument Condensed', 'Barlow Condensed', sans-serif;
  --font-body: 'Omnes', 'Barlow', sans-serif;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { overflow-wrap: normal; word-break: normal; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 48px;
  height: 76px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 0.5px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 1;
}

.nav-logo-icon { width: 38px; height: 38px; flex-shrink: 0; }
.nav-logo-icon-img { width: 38px; height: 38px; flex-shrink: 0; border-radius: 6px; }

.nav-logo-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }

.nav-logo-text .brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--white);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-logo-text .sub {
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 4px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-links .highlight a {
  color: var(--gold);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 9px 18px;
  border-radius: 2px;
}

.nav-links .highlight a:hover {
  background: var(--gold-dim);
  color: var(--gold-light);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Hamburger toggle button — hidden on desktop */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle-bars {
  position: relative;
  width: 18px;
  height: 12px;
}
.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }

nav.nav-open .nav-toggle-bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
nav.nav-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
nav.nav-open .nav-toggle-bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

.streaming-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--dark);
  border: 1px solid var(--border);
  padding: 10px 20px;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}
.streaming-badge:hover { border-color: rgba(255,255,255,0.4); color: var(--gold); }

.streaming-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

/* ---- Mobile nav (hamburger menu) ---- */
@media (max-width: 1024px) {
  nav { padding: 0 20px; gap: 10px; }

  .nav-logo-text .sub { display: none; }
  .nav-logo-text .brand { font-size: 13px; max-width: 50vw; letter-spacing: 0.04em; }

  .streaming-badge {
    padding: 8px 12px;
    font-size: 10px;
    gap: 6px;
  }
  .streaming-badge .badge-text { display: none; }

  .nav-toggle { display: inline-flex; }

  .nav-links {
    display: flex;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(16px);
    border-bottom: 0.5px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
  }
  nav.nav-open .nav-links {
    max-height: 400px;
    padding: 12px 20px 24px;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 0.5px solid var(--border);
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-links .highlight a { border: none; padding: 14px 0; }
}

@media (max-width: 420px) {
  .nav-logo-text .brand { font-size: 11px; max-width: 42vw; letter-spacing: 0.02em; }
}

/* ============================================
   TYPOGRAPHY HELPERS
   ============================================ */
.section-label {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::after {
  content: '';
  flex: 1;
  max-width: 48px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}
.section-label.center { justify-content: center; }
.section-label.center::after { display: none; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 7.5vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
  overflow-wrap: normal;
  word-break: normal;
}

.section-body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.85;
  color: var(--text-secondary);
  max-width: 580px;
}

section { padding: 100px 0; }

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-block;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--black);
  border: none;
  padding: 15px 38px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: transparent;
  color: var(--off-white);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 14px 36px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }

.btn-dark {
  display: inline-block;
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  padding: 14px 34px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-dark:hover { background: #1a1a1a; }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: #060606;
  border-top: 0.5px solid var(--border);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 0.5px solid var(--border);
}

.footer-brand p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
  margin: 20px 0 24px;
  max-width: 300px;
}

.footer-social { display: flex; gap: 12px; flex-wrap: wrap; }

.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  background: var(--white);
  transition: opacity 0.2s, transform 0.2s;
}
.footer-social a svg { width: 17px; height: 17px; display: block; }
.footer-social a:hover { opacity: 0.8; transform: translateY(-2px); }

.footer-col h5 {
  font-family: var(--font-condensed);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-family: var(--font-condensed);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a {
  font-family: var(--font-condensed);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--white); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}

/* ============================================
   SHARED PAGE HEADER (interior pages)
   ============================================ */
.page-header {
  padding: 200px 0 80px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255,255,255,0.08) 0%, transparent 60%),
    var(--black);
  border-bottom: 0.5px solid var(--border);
  text-align: center;
}

.page-eyebrow {
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 8vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--white);
  overflow-wrap: normal;
  word-break: normal;
}

.page-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 24px auto 0;
}

/* ============================================
   UTILS
   ============================================ */
.gold { color: var(--gold); }
.center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ============================================
   REAL WGE LOGO IMAGE TREATMENTS
   ============================================ */
.nav-logo-icon-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-logo-mark-img {
  width: 160px;
  height: 160px;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 32px;
  filter: drop-shadow(0 0 40px rgba(255,255,255,0.25));
  animation: logoGlowImg 4s ease-in-out infinite alternate;
}

@keyframes logoGlowImg {
  from { filter: drop-shadow(0 0 20px rgba(255,255,255,0.12)); }
  to   { filter: drop-shadow(0 0 50px rgba(255,255,255,0.35)); }
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

/* ============================================
   ACCESSIBILITY: focus states + skip link
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-condensed);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

/* Visually-hidden utility for screen-reader-only text */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
