:root {
  --game-theme-color: #c8b7d8;
  --game-theme-hover: #d9c6ed;
  --game-bg-dark: #0a090c;
  --game-surface: #111014;
  --game-text-primary: #f4f3f1;
  --game-text-muted: #9c969d;
  --game-border: rgba(255, 255, 255, 0.08);
  --game-border-strong: rgba(255, 255, 255, 0.18);
}

body.game-page {
  min-width: 320px;
  overflow-x: clip;
  background: var(--game-bg-dark);
  color: var(--game-text-primary);
  font-family: 'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.game-page .masthead.homepage {
  z-index: 100;
}

.hero-banner-container {
  position: relative;
  width: 100%;
  height: clamp(420px, 52vh, 580px);
  margin-top: 0;
  overflow: hidden;
  background: #080709;
  border-bottom: 1px solid var(--game-border);
}

.hero-slides {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  pointer-events: none;
}

.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0;
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.05);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 8s ease-out;
  will-change: transform, opacity;
}

.hero-slide-img.is-active {
  opacity: 0.72;
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.1);
}

.hero-banner-mask {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(10, 9, 12, 0.6) 0%, rgba(10, 9, 12, 0.2) 40%, rgba(10, 9, 12, 0.9) 100%),
    radial-gradient(circle at center, transparent 30%, rgba(10, 9, 12, 0.75) 100%);
  pointer-events: none;
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: calc(var(--header-height, 72px) + 24px);
  padding-bottom: 24px;
}

.hero-top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.game-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.game-back-link:hover {
  color: #fff;
}

.hero-tag {
  color: var(--game-theme-color);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.hero-center-meta {
  max-width: 800px;
  transform: translateY(clamp(24px, 6vh, 64px));
}

.hero-game-title {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-game-tagline {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.hero-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--game-border);
}

.meta-badge {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-down-btn {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.scroll-down-btn:hover {
  color: var(--game-theme-color);
}

.game-surface {
  position: relative;
  z-index: 2;
}

.game-core-section {
  position: relative;
  z-index: 3;
  padding: clamp(42px, 5.5vw, 76px) 0;
  background: var(--game-bg-dark);
  border-bottom: 1px solid var(--game-border);
}

.core-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.game-title-group h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
}

.game-subtitle {
  margin: 8px 0 0;
  color: var(--game-theme-color);
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 800;
  letter-spacing: 0.25em;
}

.game-meta-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 32px 0 36px;
  padding-left: 20px;
  border-left: 2px solid var(--game-border-strong);
}

.meta-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-label {
  color: var(--game-text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.status-value {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-list span {
  padding: 4px 10px;
  border: 1px solid var(--game-border);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.03);
  color: #d8d4d8;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.game-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 520px;
}

.action-main {
  width: 100%;
  height: 54px;
  justify-content: space-between;
  padding-inline: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.action-grid .button {
  min-width: 0;
  height: 46px;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  font-size: 10px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.support-accent {
  color: var(--game-theme-color);
  border-color: rgba(200, 183, 216, 0.58);
}

.support-accent:hover {
  background: var(--game-theme-hover);
  border-color: var(--game-theme-hover);
  color: #0a090c;
}

.pv-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--game-border-strong);
  border-radius: 16px;
  background: #000;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.pv-container > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pv-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.pv-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  background: rgba(10, 9, 12, .72);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.pv-play-button:hover,
.pv-play-button:focus-visible {
  border-color: var(--game-theme-hover);
  background: var(--game-theme-hover);
  color: #0a090c;
  transform: translate(-50%, -50%) scale(1.03);
}

.pv-play-button[hidden] { display: none; }

.pv-play-icon {
  font-size: 14px;
  line-height: 1;
}

.game-details-parallax {
  position: relative;
  z-index: 3;
  isolation: isolate;
  overflow: clip;
  background: var(--game-surface);
}

.details-backdrop {
  position: sticky;
  z-index: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  margin-bottom: -100vh;
  overflow: hidden;
  background: #0a090c;
}

.detail-slide {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  object-fit: cover;
  object-position: center 45%;
  opacity: 0;
  transform: translate3d(0, var(--details-shift, 0px), 0) scale(1.03);
  transition: opacity 1s ease, transform 6s ease;
  filter: blur(16px) brightness(.48) saturate(.72);
  will-change: transform, opacity;
}

.detail-slide.is-active {
  opacity: 1;
  transform: translate3d(0, var(--details-shift, 0px), 0) scale(1.08);
}

.details-shade {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(10,9,12,.9) 0%, rgba(10,9,12,.62) 23%, rgba(10,9,12,.54) 54%, rgba(10,9,12,.9) 100%),
    linear-gradient(90deg, rgba(10,9,12,.72) 0%, rgba(10,9,12,.12) 52%, rgba(10,9,12,.72) 100%),
    radial-gradient(circle at center, transparent 16%, rgba(10,9,12,.66) 100%);
}

.details-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(58px, 8vw, 105px);
  padding-top: clamp(48px, 6vw, 82px);
  padding-bottom: clamp(58px, 7vw, 94px);
}

.details-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--game-border);
  color: var(--game-text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.scene-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.scene-index {
  min-width: 60px;
  text-align: right;
  color: rgba(255,255,255,0.7);
}

.scene-controls button,
.dialog-arrow {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--game-border-strong);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.scene-controls button:hover,
.dialog-arrow:hover {
  background: #fff;
  color: #000;
}

.overview-block {
  max-width: 980px;
}

.section-overline {
  margin: 0 0 16px;
  color: var(--game-theme-color);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.overview-block h2 {
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.1;
}

.overview-copy {
  display: block;
}

.overview-copy p {
  margin: 0;
  color: #d1cbd2;
  font-size: 14px;
  max-width: 920px;
  line-height: 1.9;
  font-weight: 400;
}

.overview-copy-long strong { color: #fff; font-weight: 800; }
.overview-copy-long p { margin: 0 0 22px; }
.overview-copy-long p:last-child { margin-bottom: 0; }
.overview-conclusion { padding-top: 6px; color: #e6dfe5 !important; }

.gallery-block {
  scroll-margin-top: calc(var(--header-height, 72px) + 20px);
}

.gallery-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.gallery-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
}

.gallery-heading > span {
  color: var(--game-text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--game-border);
  border-radius: 12px;
  background: #000;
  cursor: zoom-in;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item > span {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  padding: 28px 14px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.game-page .game-footer {
  position: relative;
  z-index: 4;
  padding: clamp(56px, 6vw, 82px) 0 18px;
  border-top: 1px solid var(--game-border);
  background: #060507;
}

.game-footer-main {
  display: block;
  margin-bottom: clamp(20px, 3vw, 32px);
  padding: 0 0 clamp(20px, 2.5vw, 30px);
  border-bottom: 1px solid var(--game-border);
}

.game-footer-intro h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 800;
  line-height: 1.05;
}

.game-footer-intro > p:not(.section-overline) {
  max-width: 420px;
  margin: 0;
  color: var(--game-text-muted);
  font-size: 13px;
  line-height: 1.55;
}

.game-footer-email {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 24px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--game-border-strong);
  color: #fff;
  font-size: 12px;
  letter-spacing: .04em;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.game-footer-email:hover {
  border-color: var(--game-theme-color);
  color: var(--game-theme-color);
}

.game-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 3px;
}

.game-footer-links-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 6vw, 96px);
}

.game-footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.game-footer-links h3 {
  margin: 0 0 3px;
  color: var(--game-text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.game-footer-links a {
  color: #dcd6dd;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.game-footer-links a:hover {
  color: var(--game-theme-color);
}

.game-footer-wordmark {
  overflow: hidden;
  margin: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
  font-size: clamp(46px, 7.5vw, 108px);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.045em;
  white-space: nowrap;
  user-select: none;
}

.game-footer-outro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  min-height: clamp(100px, 9vw, 128px);
  align-items: center;
  gap: clamp(24px, 4vw, 68px);
  margin-inline: 0;
  padding: clamp(14px, 1.5vw, 22px) 0 clamp(18px, 2vw, 24px);
}

.game-footer-find-copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 150px;
}

.game-footer-find-copy .section-overline { margin: 0; }
.game-footer-find-copy small { color: var(--game-text-muted); font-size: 11px; }

.game-footer-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 172px;
  padding: 15px 17px;
  border: 1px solid var(--game-border-strong);
  border-radius: 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.game-footer-contact-button:hover,
.game-footer-contact-button:focus-visible {
  border-color: var(--game-theme-color);
  background: rgba(200, 183, 216, .12);
  color: var(--game-theme-color);
}

.game-footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: clamp(12px, 1.5vw, 20px);
  padding-top: 18px;
  border-top: 1px solid var(--game-border);
  color: var(--game-text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.game-footer-bottom a {
  color: #fff;
  text-align: right;
  text-decoration: none;
}

.game-footer-bottom a:hover {
  color: var(--game-theme-color);
}

.gallery-dialog {
  position: fixed;
  inset: 0;
  z-index: 200;
  width: min(100% - 32px, 1440px);
  height: 100%;
  margin: auto;
  padding: clamp(40px, 6vh, 72px) clamp(16px, 4vw, 60px);
  border: 0;
  background: rgba(6, 5, 7, 0.96);
  color: #fff;
}

.gallery-dialog::backdrop {
  background: rgba(0, 0, 0, 0.85);
}

.gallery-dialog[open] {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: clamp(12px, 3vw, 36px);
}

.gallery-dialog figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.gallery-dialog figure img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 160px);
  object-fit: contain;
}

.gallery-dialog figcaption {
  color: #ccc;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--game-border-strong);
  background: transparent;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .hero-banner-container {
    height: clamp(380px, 50vh, 460px);
  }
  .core-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .overview-copy {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item:last-child {
    grid-column: 1 / -1;
  }
  .game-footer-main {
    padding-bottom: 22px;
  }

  .game-footer-intro h2 { font-size: clamp(30px, 9vw, 42px); }
  .game-footer-links { padding-top: 0; }
  .game-footer-links-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .game-footer-outro {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px 28px;
  }
  .game-footer-wordmark { grid-column: 1 / -1; }
  .game-footer-find-copy { grid-column: 1; }
  .game-footer-contact-button { grid-column: 2; grid-row: 2; }
}

@media (max-width: 480px) {
  .hero-bottom-bar {
    font-size: 9px;
  }
  .action-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item:last-child {
    grid-column: auto;
  }
  .game-footer-bottom {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 14px;
    font-size: 9px;
  }
  .game-footer-bottom span:last-of-type {
    grid-column: 1;
  }
  .game-footer-bottom a {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    text-align: right;
  }

  .game-page .game-footer {
    padding-top: 48px;
    padding-bottom: 18px;
  }
  .game-footer-main {
    padding-bottom: 20px;
  }
  .game-footer-links-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
  .game-footer-outro {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-inline: 0;
    min-height: 0;
    padding: 16px 0 20px;
    justify-items: center;
    text-align: center;
  }
  .game-footer-wordmark,
  .game-footer-find-copy,
  .game-footer-contact-button {
    grid-column: 1;
    grid-row: auto;
  }
  .game-footer-wordmark { font-size: clamp(48px, 17vw, 74px); }
  .game-footer-find-copy { min-width: 0; }
  .game-footer-contact-button { width: min(100%, 280px); }
}
