:root {
  --bg: #07111d;
  --bg-deep: #030911;
  --panel: #0e1b2a;
  --panel-2: #122337;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f7fbff;
  --muted: #a6b4c4;
  --soft: #d5e0eb;
  --accent: #73f0cf;
  --accent-2: #80a7ff;
  --accent-3: #ffca70;
  --danger: #ff7186;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --shell: min(1200px, calc(100vw - 48px));
  --header-height: 76px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 10% -10%, rgba(86, 133, 255, 0.11), transparent 32rem),
    radial-gradient(circle at 95% 18%, rgba(87, 233, 194, 0.08), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--accent);
  color: #07111d;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: #07111d;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(4, 11, 19, 0.82), rgba(4, 11, 19, 0));
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
.site-header-solid {
  border-bottom-color: var(--line);
  background: rgba(5, 13, 22, 0.88);
  backdrop-filter: blur(20px) saturate(140%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 8px 20px rgba(82, 229, 191, 0.24));
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand strong,
.footer-brand strong {
  font-size: 14px;
  letter-spacing: 0.22em;
}

.brand small,
.footer-brand span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a,
.back-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 650;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.back-link:hover,
.back-link:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  outline: none;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 999px;
  background: currentColor;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(54px, 8vw, 104px);
  font-weight: 780;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

h1 span {
  color: transparent;
  background: linear-gradient(110deg, #ffffff 8%, #a8c7ff 48%, #75e9ce 92%);
  -webkit-background-clip: text;
  background-clip: text;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

h3 {
  font-size: 24px;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: var(--accent);
  color: #06121b;
  box-shadow: 0 12px 34px rgba(72, 231, 190, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #98f7dd;
}

.button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.button-small {
  min-height: 42px;
  padding-inline: 16px;
}

.hero-section {
  position: relative;
  min-height: 820px;
  padding: 152px 0 100px;
  overflow: hidden;
}

.hero-section::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 88%);
  content: "";
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.75;
  pointer-events: none;
}

.hero-glow-one {
  top: 4%;
  right: 12%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(91, 139, 255, 0.16), rgba(91, 139, 255, 0));
}

.hero-glow-two {
  bottom: 4%;
  left: 22%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(64, 226, 184, 0.1), rgba(64, 226, 184, 0));
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  align-items: center;
  gap: 74px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  display: flex;
  gap: 34px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-proof div {
  display: flex;
  flex-direction: column;
}

.hero-proof strong {
  font-size: 17px;
  letter-spacing: -0.02em;
}

.hero-proof span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.hero-showcase {
  position: relative;
  min-height: 548px;
}

.showcase-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 26px;
  box-shadow: var(--shadow);
  background: var(--panel);
  transform: rotate(var(--tilt));
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), border-color 0.3s ease;
}

.showcase-card:hover {
  z-index: 9;
  border-color: rgba(255, 255, 255, 0.36);
  transform: rotate(0deg) translateY(-8px) scale(1.02);
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-card:nth-child(1) {
  --tilt: 2deg;
  z-index: 4;
  top: 38px;
  right: 0;
  width: 78%;
  height: 330px;
}

.showcase-card:nth-child(2) {
  --tilt: -5deg;
  z-index: 3;
  bottom: 28px;
  left: 0;
  width: 58%;
  height: 255px;
}

.showcase-card:nth-child(3) {
  --tilt: 5deg;
  z-index: 2;
  right: 12px;
  bottom: -2px;
  width: 48%;
  height: 210px;
}

.showcase-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  background: rgba(5, 13, 22, 0.76);
  backdrop-filter: blur(12px);
}

.showcase-badge strong,
.showcase-badge span {
  display: block;
}

.showcase-badge strong {
  font-size: 13px;
}

.showcase-badge span {
  margin-top: 2px;
  color: #bdd0df;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.marquee-band {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  padding: 16px 0;
  animation: marquee 34s linear infinite;
}

.marquee-track span {
  padding: 0 22px;
  color: #c5d2df;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.marquee-track i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.section {
  position: relative;
  padding: 112px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 46px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-note {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

.filter-row {
  display: flex;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.filter-button {
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}

.filter-button.is-active {
  background: var(--text);
  color: #08121c;
}

.games-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 70%);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.game-card {
  position: relative;
  display: flex;
  min-height: 535px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
  isolation: isolate;
  transition: transform 0.32s cubic-bezier(.2, .8, .2, 1), border-color 0.32s ease, box-shadow 0.32s ease;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.game-card.is-hidden {
  display: none;
}

.game-card-media,
.game-card-overlay {
  position: absolute;
  inset: 0;
}

.game-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(.2, .8, .2, 1);
}

.game-card:hover .game-card-media img {
  transform: scale(1.045);
}

.game-card-overlay {
  background:
    linear-gradient(180deg, rgba(3, 8, 14, 0.05) 12%, rgba(3, 8, 14, 0.18) 38%, rgba(3, 8, 14, 0.95) 92%),
    linear-gradient(90deg, rgba(3, 8, 14, 0.2), transparent 65%);
}

.game-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-self: end;
  width: 100%;
  padding: 34px;
}

.game-card-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.status-pill,
.event-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(4, 12, 20, 0.54);
  color: #eef8ff;
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-pill::before,
.event-status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(115, 240, 207, 0.8);
  content: "";
}

.status-pill.beta::before,
.event-status.upcoming::before {
  background: var(--accent-3);
  box-shadow: 0 0 10px rgba(255, 202, 112, 0.7);
}

.event-status.ended::before {
  background: #8391a0;
  box-shadow: none;
}

.game-card-version {
  color: #d3e0ea;
  font-size: 12px;
  font-weight: 700;
}

.game-card h3 {
  margin-bottom: 11px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.045em;
}

.game-card p {
  max-width: 560px;
  margin-bottom: 22px;
  color: #c1cfdb;
  font-size: 15px;
}

.game-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #c4d2df;
  font-size: 10px;
  font-weight: 720;
}

.card-arrow {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 20px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.game-card:hover .card-arrow {
  transform: translate(3px, -3px);
  background: var(--accent);
  color: #06121b;
}

.event-section {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 20%, rgba(77, 133, 255, 0.12), transparent 35rem),
    #081421;
}

.event-stage {
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  gap: 24px;
}

.event-feature,
.event-list-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
}

.event-feature {
  position: relative;
  min-height: 510px;
  overflow: hidden;
}

.event-feature-media,
.event-feature-media img,
.event-feature-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.event-feature-media img {
  object-fit: cover;
}

.event-feature-shade {
  background: linear-gradient(180deg, rgba(3, 8, 14, 0.1), rgba(3, 8, 14, 0.92));
}

.event-feature-content {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  padding: 40px;
}

.event-feature h3 {
  max-width: 680px;
  margin: 16px 0 12px;
  font-size: clamp(38px, 5vw, 60px);
  letter-spacing: -0.055em;
}

.event-feature p {
  max-width: 650px;
  margin-bottom: 24px;
  color: #c8d5e0;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  color: #dce7ef;
  font-size: 12px;
  font-weight: 700;
}

.event-list-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.event-list-card > h3 {
  margin-bottom: 22px;
  color: #dce8f1;
  font-size: 16px;
  letter-spacing: 0;
}

.event-mini {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.event-mini:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.event-mini-thumb {
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 15px;
  background: var(--panel);
}

.event-mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-list-spacer {
  margin-top: auto;
}

.event-mini strong,
.event-mini span,
.event-mini small {
  display: block;
}

.event-mini strong {
  margin-bottom: 3px;
  font-size: 14px;
}

.event-mini span {
  color: var(--soft);
  font-size: 13px;
}

.event-mini small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.updates-section {
  background: var(--bg-deep);
}

.updates-layout {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 80px;
}

.updates-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.updates-intro p:not(.eyebrow) {
  max-width: 430px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.update-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: start;
  gap: 22px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.update-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.update-version {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 850;
}

.update-body strong,
.update-body small {
  display: block;
}

.update-body strong {
  margin-bottom: 7px;
  font-size: 18px;
}

.update-body p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.update-body small {
  margin-top: 9px;
  color: #728296;
  font-size: 11px;
}

.update-arrow {
  padding-top: 2px;
  color: var(--muted);
  font-size: 18px;
}

.studio-section {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 10% 80%, rgba(77, 219, 177, 0.08), transparent 30rem),
    #091624;
}

.studio-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
}

.studio-statement p:not(.eyebrow) {
  max-width: 580px;
  color: var(--muted);
  font-size: 18px;
}

.studio-location {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  color: #d7e4ed;
  font-size: 13px;
}

.studio-location span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(115, 240, 207, 0.72);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.team-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.team-card:first-child {
  grid-column: 1 / -1;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.26);
}

.team-card-index {
  display: block;
  margin-bottom: 54px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.team-card h3 {
  margin-bottom: 9px;
  font-size: 22px;
}

.team-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-section {
  background: var(--bg-deep);
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 0% 0%, rgba(102, 232, 196, 0.1), transparent 30rem),
    linear-gradient(135deg, rgba(18, 35, 55, 0.94), rgba(9, 23, 37, 0.96));
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  font-size: clamp(34px, 4.5vw, 56px);
}

.contact-panel p:not(.eyebrow) {
  max-width: 480px;
  margin-bottom: 0;
  color: var(--muted);
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-card {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 98px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.contact-card:hover {
  transform: translateX(5px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
}

.contact-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 15px;
  background: var(--accent);
  color: #08121c;
  font-weight: 900;
}

.contact-card strong,
.contact-card small {
  display: block;
}

.contact-card strong {
  font-size: 15px;
}

.contact-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.contact-card b {
  font-size: 20px;
}

.site-footer {
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  background: #02070c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.footer-links a {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.footer-grid > p {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  color: #637287;
  font-size: 11px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .8, .2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Game detail */
.game-hero {
  position: relative;
  min-height: 760px;
  padding: 170px 0 92px;
  overflow: hidden;
  display: flex;
  align-items: end;
}

.game-hero-media,
.game-hero-media img,
.game-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.game-hero-media img {
  object-fit: cover;
}

.game-hero-overlay {
  background:
    linear-gradient(180deg, rgba(2, 7, 12, 0.22) 0%, rgba(2, 7, 12, 0.24) 28%, rgba(2, 7, 12, 0.9) 92%, var(--bg) 100%),
    linear-gradient(90deg, rgba(2, 7, 12, 0.62), transparent 68%);
}

.game-hero-content {
  position: relative;
  z-index: 2;
  width: var(--shell);
  margin-inline: auto;
}

.game-hero-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.game-hero h1 {
  max-width: 920px;
  margin-bottom: 20px;
  font-size: clamp(64px, 9vw, 120px);
}

.game-hero-lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: #d1dde7;
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.5;
}

.game-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.game-about-section {
  padding-top: 76px;
}

.game-about-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 90px;
}

.game-story h2 {
  font-size: clamp(38px, 5vw, 62px);
}

.game-story > p {
  color: var(--soft);
  font-size: 19px;
  line-height: 1.75;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 16px 16px 16px 42px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
  color: #d1dde7;
  font-size: 13px;
}

.feature-list li::before {
  position: absolute;
  top: 17px;
  left: 16px;
  width: 14px;
  height: 14px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px #08131e;
  background: var(--accent);
  content: "";
}

.game-facts {
  align-self: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.fact-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.fact-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.fact-row:last-child {
  padding-bottom: 0;
}

.fact-row span {
  color: var(--muted);
  font-size: 12px;
}

.fact-row strong {
  text-align: right;
  font-size: 13px;
}

.gallery-section {
  background: var(--bg-deep);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gallery-card {
  margin: 0;
}

.gallery-card:first-child {
  grid-column: 1 / -1;
}

.gallery-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.gallery-card:first-child .gallery-image {
  aspect-ratio: 16 / 8.2;
}

.gallery-card:not(:first-child) .gallery-image {
  aspect-ratio: 16 / 10;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery-card:hover img {
  transform: scale(1.025);
}

.gallery-card figcaption {
  padding: 12px 5px 0;
  color: var(--muted);
  font-size: 12px;
}

.game-info-section {
  background: #081421;
}

.game-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.info-panel {
  min-height: 410px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
}

.info-panel h2 {
  font-size: clamp(34px, 4vw, 52px);
}

.update-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(105, 148, 255, 0.17), transparent 26rem),
    rgba(255, 255, 255, 0.035);
}

.redeem-panel {
  background:
    radial-gradient(circle at 0% 100%, rgba(106, 239, 205, 0.14), transparent 28rem),
    rgba(255, 255, 255, 0.035);
}

.info-kicker {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.info-panel > p {
  color: var(--muted);
}

.release-note {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.release-note strong,
.release-note span,
.release-note small {
  display: block;
}

.release-note strong {
  font-size: 16px;
}

.release-note span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.release-note small {
  margin-top: 7px;
  color: #738398;
  font-size: 11px;
}

.redeem-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  padding: 18px;
  border: 1px dashed rgba(115, 240, 207, 0.42);
  border-radius: 18px;
  background: rgba(5, 15, 22, 0.5);
}

.redeem-code {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 850;
  letter-spacing: 0.08em;
}

.copy-button {
  flex: 0 0 auto;
  min-width: 82px;
  padding: 10px 13px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #07111d;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.community-section {
  background: var(--bg-deep);
}

.community-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 50px;
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}

.community-panel h2 {
  max-width: 700px;
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 54px);
}

.community-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.community-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 750;
  transition: background 0.2s ease, transform 0.2s ease;
}

.community-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
}

.next-game-card {
  position: relative;
  display: block;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.next-game-card img,
.next-game-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.next-game-card img {
  object-fit: cover;
}

.next-game-shade {
  background: linear-gradient(90deg, rgba(2, 7, 12, 0.88), rgba(2, 7, 12, 0.25));
}

.next-game-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 420px;
  max-width: 680px;
  padding: 54px;
}

.next-game-content h2 {
  margin-bottom: 12px;
}

.next-game-content p {
  color: #d1dde7;
}

.not-found-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.not-found {
  width: min(650px, calc(100vw - 40px));
  padding: 50px;
  text-align: center;
}

.not-found img {
  margin: 0 auto 28px;
}

.not-found h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 8vw, 72px);
  line-height: 1;
}

.not-found p:not(.eyebrow) {
  margin-bottom: 30px;
  color: var(--muted);
}

.empty-state {
  padding: 50px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1020px) {
  :root {
    --shell: min(100% - 36px, 900px);
  }

  .hero-section {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-grid,
  .studio-layout,
  .contact-panel,
  .game-about-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 50px;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-showcase {
    width: min(680px, 100%);
    margin-inline: auto;
  }

  .event-stage,
  .updates-layout {
    grid-template-columns: 1fr;
  }

  .updates-layout {
    gap: 50px;
  }

  .updates-intro {
    position: static;
  }

  .studio-layout,
  .contact-panel,
  .game-about-grid {
    gap: 44px;
  }

  .community-panel {
    grid-template-columns: 1fr;
  }

  .community-links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: calc(100vw - 28px);
    --header-height: 68px;
  }

  .site-header {
    height: var(--header-height);
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--header-height) - 1px);
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(5, 13, 22, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .hero-section {
    padding: 112px 0 72px;
  }

  h1 {
    font-size: clamp(52px, 15vw, 76px);
  }

  h2 {
    font-size: clamp(36px, 10vw, 54px);
  }

  .hero-proof {
    gap: 20px;
    overflow-x: auto;
  }

  .hero-proof div {
    min-width: 110px;
  }

  .hero-showcase {
    min-height: 410px;
  }

  .showcase-card:nth-child(1) {
    top: 20px;
    width: 82%;
    height: 250px;
  }

  .showcase-card:nth-child(2) {
    width: 58%;
    height: 190px;
  }

  .showcase-card:nth-child(3) {
    width: 49%;
    height: 160px;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 32px;
  }

  .section-heading .filter-row {
    width: fit-content;
    margin-top: 24px;
  }

  .section-note {
    margin-top: 18px;
  }

  .games-grid,
  .gallery-grid,
  .game-info-grid,
  .feature-list,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card:first-child,
  .gallery-card:first-child {
    grid-column: auto;
  }

  .game-card {
    min-height: 480px;
  }

  .game-card-content {
    padding: 25px;
  }

  .game-card-footer {
    align-items: end;
  }

  .event-feature {
    min-height: 500px;
  }

  .event-feature-content {
    padding: 28px;
  }

  .event-list-card,
  .info-panel {
    padding: 26px;
  }

  .update-item {
    grid-template-columns: 80px 1fr;
    gap: 14px;
  }

  .update-arrow {
    display: none;
  }

  .team-card:first-child {
    min-height: 220px;
  }

  .contact-panel,
  .community-panel {
    padding: 28px;
  }

  .contact-card {
    grid-template-columns: 44px 1fr;
  }

  .contact-card b {
    display: none;
  }

  .contact-icon {
    width: 44px;
    height: 44px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .game-hero {
    min-height: 700px;
    padding-top: 130px;
  }

  .game-hero h1 {
    font-size: clamp(60px, 17vw, 88px);
  }

  .game-about-section {
    padding-top: 58px;
  }

  .gallery-card:first-child .gallery-image,
  .gallery-card:not(:first-child) .gallery-image {
    aspect-ratio: 16 / 10;
  }

  .info-panel {
    min-height: 0;
  }

  .redeem-box {
    align-items: stretch;
    flex-direction: column;
  }

  .copy-button {
    width: 100%;
  }

  .next-game-content {
    min-height: 390px;
    padding: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
