/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0d1b2a;
  --bg-2: #111f30;
  --bg-3: #162840;
  --bg-4: #1a2f4a;
  --border: rgba(245,230,200,0.08);
  --border-light: rgba(245,230,200,0.18);
  --text: #f5e6c8;
  --text-muted: #a89878;
  --text-dim: #5a6a7a;
  --accent: #e8a020;
  --accent-dim: rgba(232, 160, 32, 0.15);
  --red: #e8a020;
  --red-dim: rgba(232, 160, 32, 0.15);
  --steam-blue: #1b9dda;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-ui: 'Rajdhani', sans-serif;
  --header-h: 95px;
  --max-w: 1240px;
  --radius: 4px;
}

html { scroll-behavior: smooth; scrollbar-gutter: stable; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > * {
  width: 100%;
}

.site-footer {
  margin-top: auto;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ===== UTILITY ===== */
.accent { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 11px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--red);
  color: #f5e6c8;
}
.btn-primary:hover { background: #d44030; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 8px 16px;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-outline-sm:hover { border-color: var(--accent); color: var(--accent); }

.btn-steam {
  background: rgba(245,230,200,0.08);
  color: var(--text);
  border: 1px solid rgba(245,230,200,0.25);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 13px 26px;
  border-radius: var(--radius);
}
.btn-steam:hover { background: rgba(245,230,200,0.14); border-color: rgba(245,230,200,0.4); }
.btn-steam.full-width { width: 100%; justify-content: center; }

.btn-steam-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 8px 16px;
  border-radius: var(--radius);
  background: rgba(245,230,200,0.08);
  color: var(--text);
  border: 1px solid rgba(245,230,200,0.25);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-steam-sm:hover { background: rgba(245,230,200,0.14); border-color: rgba(245,230,200,0.4); }

.btn-lg { padding: 14px 28px; font-size: 14px; }

.section-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #fff;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.section-label.light { color: #fff; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: #fff;
}
.section-title.light { color: #fff; }


/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(13, 27, 42, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: background 0.3s ease, border-bottom 0.3s ease;
}
.site-header.transparent {
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
}
.site-header.transparent .nav-link { color: #fff; }
.site-header.transparent .nav-link:hover { color: #fff; }
.site-header.transparent .nav-link.active { color: #fff; }
.site-header.transparent .social-icon { color: #fff; }

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.logo-mark {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
}
.logo-mark img { width: 50px; height: 50px; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-top {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #fff;
}
.logo-bottom {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: #fff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #fff;
  padding: 8px 20px;
  border-radius: var(--radius);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }
.nav-link.active {
  color: #fff;
  font-weight: 700;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.social-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.social-icon svg { width: 25px; height: 25px; }
.social-icon:hover { color: var(--text); background: var(--bg-3); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 31px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(8,8,10,0.98);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
}
.mobile-nav a {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #fff;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--text); }
.mobile-nav.open { display: flex; }


/* ===== HERO ===== */
.hero { padding-top: var(--header-h); }

/* ===== VIDEO HERO ===== */
.video-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.video-hero-slider {
  position: absolute;
  inset: 0;
}

.video-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.video-hero-slide.active {
  opacity: 1;
}

.video-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 27, 42, 0.3) 0%,
    rgba(13, 27, 42, 0.1) 40%,
    rgba(13, 27, 42, 0.5) 75%,
    rgba(13, 27, 42, 0.85) 100%
  );
}

.video-hero-content {
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  z-index: 2;
}

.video-hero-tag {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(232, 160, 32, 0.25);
  padding: 4px 12px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 20px;
}

.video-hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.video-hero-desc {
  font-size: 17px;
  font-weight: 300;
  color: rgba(240, 237, 232, 0.85);
  max-width: 460px;
  margin-bottom: 28px;
  line-height: 1.65;
}

.video-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.video-hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.video-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.video-dot.active {
  background: var(--red);
  width: 24px;
  border-radius: 4px;
}

.video-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border-light);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  font-size: 22px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 3;
}

.video-hero-arrow:hover {
  background: var(--red-dim);
  border-color: var(--red);
  color: var(--red);
}

.video-hero-prev { left: 24px; }
.video-hero-next { right: 24px; }

/* Show arrows and dots only when multiple slides */
.video-hero.has-multiple .video-hero-arrow {
  display: flex;
}

.video-hero:not(.has-multiple) .video-hero-dots {
  display: none;
}


/* ===== GAMES SECTION — FULL SCREEN PANELS ===== */
.games-section {
  display: flex;
  flex-direction: column;
}

.game-panel {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 56px 0;
}
.game-panel:not(.game-panel-video)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,0.55);
  z-index: 0;
}
.game-panel-breadcrumb,
.game-panel-content {
  position: relative;
  z-index: 1;
}

.game-panel-breadcrumb {
  position: absolute;
  top: calc(var(--header-h) + 24px);
  left: 56px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(245,230,200,0.5);
}
.game-panel-breadcrumb a {
  color: rgba(245,230,200,0.5);
  transition: color 0.2s;
}
.game-panel-breadcrumb a:hover { color: var(--text); }
.game-panel-breadcrumb span { color: rgba(245,230,200,0.35); }

.game-panel-content {
  max-width: var(--max-w);
  padding: 0 56px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game-panel-genre {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}

.game-panel-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 112px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: #fff;
  margin-bottom: 20px;
}

.game-panel-desc {
  font-size: 16px;
  font-weight: 300;
  color: rgba(245,230,200,0.72);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 28px;
  text-align: center;
}

.game-panel-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.btn-panel-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 13px 26px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #0d1b2a;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-panel-primary:hover { background: #f0b030; transform: translateY(-1px); }

.btn-panel-steam {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 13px 26px;
  border-radius: var(--radius);
  background: rgba(245,230,200,0.08);
  color: var(--text);
  border: 1px solid rgba(245,230,200,0.25);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-panel-steam:hover { background: rgba(245,230,200,0.14); border-color: rgba(245,230,200,0.4); }

.game-panel-platforms {
  display: flex;
  gap: 8px;
}
.game-panel-platforms span {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(245,230,200,0.4);
  background: rgba(245,230,200,0.06);
  border: 1px solid rgba(245,230,200,0.12);
  padding: 4px 12px;
  border-radius: 2px;
}


/* ===== GAME PANEL VIDEO ===== */
.game-panel-video {
  background: #0d1b2a;
}
.game-panel-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.game-panel-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.97) 0%, rgba(13,27,42,0.55) 45%, rgba(13,27,42,0.1) 100%);
  z-index: 1;
}
.game-panel-video .game-panel-breadcrumb,
.game-panel-video .game-panel-content {
  z-index: 2;
}

/* ===== COMMUNITY ===== */
.community-section { margin: 0; }
.community-bg {
  background: #111f30;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.community-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}
.community-text {
  display: flex;
  flex-direction: column;
}
.community-socials { margin-top: auto; }
.community-desc {
  font-size: 15px;
  font-weight: 300;
  color: #fff;
  margin: 20px 0 32px;
  max-width: 400px;
  line-height: 1.7;
}
.community-socials { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 0; }
.community-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 16px 28px;
  background: var(--bg-4);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: #fff;
  transition: all 0.2s;
}
.community-social-btn:hover { color: var(--text); border-color: var(--accent); background: var(--accent-dim); }

.community-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
}
.community-big-logo {
  width: 100%;
  max-width: 320px;
  opacity: 0.08;
}

.community-contact-box {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
}
.community-contact-box .community-big-logo {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  max-width: 280px;
  opacity: 0.06;
  pointer-events: none;
}
.community-contact-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}
.community-contact-btn {
  margin-top: auto;
}
.community-contact-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 12px;
}
.community-contact-desc {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0;
  max-width: 400px;
  line-height: 1.7;
}

/* ===== CONTACT CTA (unused, kept for reference) ===== */

.newsletter-box {
  background: var(--bg-4);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 36px;
}
.newsletter-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.newsletter-sub {
  font-size: 14px;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.6;
}
.newsletter-form {
  display: flex;
  gap: 0;
}
.newsletter-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 0 16px;
  height: 44px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-input::placeholder { color: var(--text-dim); }
.newsletter-input:focus { border-color: var(--accent); }
.newsletter-btn {
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-btn:hover { background: #d44030; }


/* ===== FAQ ===== */
.faq-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

/* ===== CAREERS ===== */
.careers-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 96px;
}
.careers-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
.careers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.career-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.career-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.career-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 10px;
}
.career-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
}
.career-type {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(232,160,32,0.3);
  padding: 4px 12px;
  border-radius: 2px;
  white-space: nowrap;
}
.career-btn {
  align-self: flex-start;
}
.faq-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 96px 48px;
}
.faq-header {
  margin-bottom: 56px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--accent); }
.faq-question[aria-expanded="true"] { color: var(--accent); }
.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: #fff;
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  color: var(--accent);
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer.open {
  max-height: 300px;
}
.faq-answer p {
  padding-bottom: 24px;
  font-size: 15px;
  font-weight: 300;
  color: #fff;
  line-height: 1.75;
}
.faq-answer p a {
  color: var(--accent);
  text-decoration: underline;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 48px;
}
.footer-brand { max-width: 280px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.footer-logo img {
  width: 38px;
  height: 38px;
}
.footer-logo-top {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #fff;
  line-height: 1;
}
.footer-logo-bottom {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: #fff;
  line-height: 1;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
}
.footer-socials-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
}
.footer-social {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}
.footer-social:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.footer-links { display: flex; gap: 48px; }
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 100px;
}
.footer-col-title {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 13px;
  font-weight: 300;
  color: #fff;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }


/* ===== PAGE HERO ===== */
.page-hero {
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 64px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  color: #fff;
}
.page-hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: #fff;
  max-width: 480px;
}


/* ===== GAMES CATALOG ===== */
.games-catalog {
  padding: 64px 0 96px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 48px;
  padding-right: 48px;
}
.catalog-list { display: flex; flex-direction: column; gap: 24px; }

.catalog-item { border-radius: 8px; overflow: hidden; position: relative; }
.catalog-item.featured .catalog-img { aspect-ratio: 21/9; }
.catalog-img {
  width: 100%;
  aspect-ratio: 16/7;
  background-size: cover;
  background-position: center;
  position: relative;
}
.catalog-img.dark-bg { background: var(--bg-3); }
.catalog-badge {
  position: absolute;
  top: 20px; left: 20px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  background: var(--red);
  color: var(--text);
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 2;
}
.catalog-badge.soon {
  background: var(--bg-4);
  color: #fff;
  border: 1px solid var(--border-light);
}
.catalog-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 28px;
}
.catalog-meta-top { display: flex; align-items: center; gap: 12px; justify-content: flex-end; }
.catalog-genre {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
  background: rgba(0, 0, 0, 0.75);
  padding: 3px 10px;
  border-radius: 2px;
  border: 1px solid rgba(232, 160, 32, 0.5);
}
.catalog-year {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: rgba(0,0,0,0.75);
  padding: 3px 10px;
  border-radius: 2px;
  border: 1px solid rgba(232, 160, 32, 0.5);
}
.catalog-platform {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: rgba(0,0,0,0.75);
  padding: 3px 10px;
  border-radius: 2px;
  border: 1px solid rgba(232, 160, 32, 0.5);
}
.catalog-meta-bottom { }
.catalog-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 10px;
}
.catalog-excerpt {
  font-size: 14px;
  font-weight: 300;
  color: rgba(240,237,232,0.7);
  max-width: 420px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.catalog-actions { display: flex; gap: 12px; }


/* ===== GAME DETAIL ===== */
.game-detail-hero {
  position: relative;
  height: 54vh;
  min-height: 360px;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: flex-end;
  padding-bottom: 64px;
  padding-top: var(--header-h);
}
.game-detail-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}
.game-detail-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.game-detail-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 11vw, 130px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0.01em;
  color: #fff;
  margin-bottom: 20px;
}
.game-detail-tagline {
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  color: rgba(240,237,232,0.7);
  margin-bottom: 28px;
}
.game-detail-cta { display: flex; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.game-detail-platforms { display: flex; gap: 8px; }
.platform-tag {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #fff;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--border-light);
  padding: 4px 12px;
  border-radius: 2px;
}

.game-detail-body {
  padding: 64px 0 96px;
}
.game-detail-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}
.game-trailer { margin-bottom: 48px; }
.video-embed {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-placeholder {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.big-play-btn {
  width: 72px; height: 72px;
  background: var(--red);
  color: var(--text);
  border-radius: 50%;
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 2;
  position: relative;
  transition: transform 0.2s;
}
.big-play-btn:hover { transform: scale(1.08); }
.video-label {
  position: absolute;
  bottom: 16px; left: 20px;
  z-index: 2;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.6);
}

.game-description { margin-bottom: 56px; }
.detail-section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  color: var(--text);
}
.game-description p {
  font-size: 15px;
  font-weight: 300;
  color: #fff;
  line-height: 1.75;
  margin-bottom: 16px;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.screenshot {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s;
  overflow: hidden;
  background-clip: padding-box;
  isolation: isolate;
}
.screenshot:hover { border-color: var(--border-light); transform: scale(1.01); }

/* ===== LIGHTBOX ===== */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
}
#lightbox.active { display: flex; }

#lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  display: block;
  user-select: none;
}

#lightbox-close,
#lightbox-prev,
#lightbox-next {
  position: fixed;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text);
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.15s;
  line-height: 1;
}
#lightbox-close:hover,
#lightbox-prev:hover,
#lightbox-next:hover { background: rgba(232,160,32,0.25); border-color: var(--accent); color: var(--accent); }

#lightbox-close {
  top: 20px;
  right: 24px;
  font-size: 20px;
  padding: 8px 12px;
}
#lightbox-prev,
#lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  padding: 10px 16px;
}
#lightbox-prev { left: 20px; }
#lightbox-next { right: 20px; }

.sidebar-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.sidebar-cover {
  aspect-ratio: 460/215;
  background-size: 100% 100%;
  background-position: center top;
  background-repeat: no-repeat;
}
.sidebar-info { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.sidebar-row { display: flex; justify-content: space-between; align-items: center; }
.sidebar-label {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-dim);
}
.sidebar-val {
  font-size: 13px;
  font-weight: 400;
  color: #fff;
}


/* ===== ABOUT ===== */
.about-section {
  padding: 64px 0 96px;
}
.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.about-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.about-intro-text p {
  font-size: 15px;
  font-weight: 300;
  color: #fff;
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-intro-img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.about-intro-logo {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-intro-logo img {
  width: 65%;
  height: auto;
  opacity: 0.9;
}
.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 80px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pillar {}
.pillar-number {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  color: var(--border-light);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}
.pillar-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.pillar-text {
  font-size: 14px;
  font-weight: 300;
  color: #fff;
  line-height: 1.7;
}
.about-image-row { margin-bottom: 80px; }
.about-img-wide {
  width: 100%;
  aspect-ratio: 21/8;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-split-img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.about-split-text p {
  font-size: 15px;
  font-weight: 300;
  color: #fff;
  line-height: 1.75;
  margin-bottom: 16px;
}

/* ===== TEAM GRID ===== */
.team-section {
  padding-top: 0;
  border-top: none;
}
.team-section .about-heading {
  margin-bottom: 40px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.team-grid-centered {
  grid-template-columns: repeat(2, 1fr);
  max-width: 66.67%;
  margin-left: auto;
  margin-right: auto;
}
.team-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.team-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-4);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.team-name {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 6px;
}
.team-role {
  font-size: 12px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* ===== CONTACT ===== */
.contact-section {
  padding: 64px 0 96px;
}
.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
a.contact-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.contact-card:hover { border-color: var(--border-light); }
.contact-card-icon {
  width: 52px; height: 52px;
  background: var(--accent-dim);
  border: 1px solid rgba(232,160,32,0.2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 8px;
}
.contact-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.contact-card-desc {
  font-size: 14px;
  font-weight: 300;
  color: #fff;
  line-height: 1.65;
  flex: 1;
}
.contact-card-email {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}
.contact-card-email:hover { opacity: 0.8; }
.contact-card-note {
  font-size: 12px;
  color: var(--text-dim);
}
.contact-community {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.contact-community-text {
  font-size: 15px;
  font-weight: 300;
  color: #fff;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-socials { display: none; }
  .hamburger { display: flex; }

  .video-hero-content { padding: 0 24px; }

  .games-section,
  .community-inner,
  .games-catalog,
  .about-inner,
  .contact-inner,
  .game-detail-layout { padding-left: 24px; padding-right: 24px; }

  .game-panel-breadcrumb { left: 24px; }
  .game-panel-content { padding: 0 24px; }
  .game-panel-title { font-size: 52px; }
  .community-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-intro, .about-split { grid-template-columns: 1fr; gap: 32px; }
  .about-pillars { grid-template-columns: 1fr; gap: 24px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .game-detail-layout { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }

  .contact-community { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .video-hero-title { font-size: 42px; }
  .page-hero-title { font-size: 42px; }
  .video-hero-arrow { display: none !important; }
  .team-grid { grid-template-columns: 1fr; }
}
