:root {
  --ink: #121723;
  --ink-soft: #2b3445;
  --muted: #667085;
  --line: #dbe3ee;
  --paper: #ffffff;
  --mist: #f5f8fb;
  --mint: #2fbf71;
  --coral: #ff6b4a;
  --gold: #f7b538;
  --blue: #2d7dd2;
  --shadow: 0 18px 55px rgba(17, 24, 39, 0.16);
  --radius: 8px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

strong {
  color: var(--ink);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 28px;
  color: #ffffff;
  background: rgba(18, 23, 35, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #121723;
  background: linear-gradient(135deg, var(--gold), var(--mint));
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 900;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #ffffff;
  border-radius: 2px;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(86svh - 72px);
  padding: 92px 0 70px;
  color: #ffffff;
  background-image: linear-gradient(90deg, rgba(12, 17, 27, 0.86), rgba(12, 17, 27, 0.54) 45%, rgba(12, 17, 27, 0.24)), url("../images/creature-clash-splash.png");
  background-position: center 42%;
  background-size: cover;
  overflow: hidden;
}

.home-hero::after,
.game-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  background: linear-gradient(90deg, var(--mint), var(--gold), var(--coral), var(--blue));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
  max-width: 720px;
  justify-self: center;
}

.home-hero .hero-content,
.game-hero .hero-content {
  justify-self: start;
}

.eyebrow,
.label {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffe08a;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(3.25rem, 12vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 6vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  width: min(100%, 620px);
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.hero-actions,
.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #121723;
  background: var(--gold);
  box-shadow: 0 14px 32px rgba(247, 181, 56, 0.28);
}

.button-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
}

.button-dark {
  color: #ffffff;
  background: var(--ink);
  box-shadow: 0 14px 28px rgba(18, 23, 35, 0.18);
}

.section {
  padding: 86px 0;
}

.intro-section {
  background: var(--paper);
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.studio-logo-panel {
  display: grid;
  place-items: center;
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #050708;
  box-shadow: var(--shadow);
}

.studio-logo-panel img {
  width: min(100%, 420px);
  height: auto;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.rich-text {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.rich-text p:last-child,
.section-heading p:last-child,
.cta-row p:last-child {
  margin-bottom: 0;
}

.feature-band {
  background: var(--mist);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading.compact {
  max-width: 640px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
}

.game-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.showcase-media {
  min-height: 360px;
  background: #dbeafe;
}

.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 52px);
}

.showcase-logo {
  width: min(100%, 330px);
  margin-bottom: 22px;
  border-radius: var(--radius);
  box-shadow: 0 18px 35px rgba(18, 23, 35, 0.16);
}

.showcase-copy p {
  color: var(--ink-soft);
}

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

.value-card,
.detail-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.value-card:nth-child(1) {
  border-top: 5px solid var(--mint);
}

.value-card:nth-child(2) {
  border-top: 5px solid var(--coral);
}

.value-card:nth-child(3) {
  border-top: 5px solid var(--blue);
}

.value-number {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 900;
}

.value-card p,
.detail-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.cta-section {
  color: #ffffff;
  background: #171d2a;
}

.cta-row {
  justify-content: space-between;
  gap: 28px;
}

.cta-row > div {
  max-width: 720px;
}

.cta-row p {
  color: rgba(255, 255, 255, 0.74);
}

.cta-row .eyebrow {
  color: #ffe08a;
}

.site-footer {
  padding: 44px 0 26px;
  color: rgba(255, 255, 255, 0.72);
  background: #0f141f;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 30px;
}

.footer-brand {
  color: #ffffff;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
}

.site-footer nav a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  text-decoration: none;
}

.site-footer nav a:hover {
  color: #ffffff;
}

.copyright {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.92rem;
}

.game-details {
  background: var(--mist);
}

.detail-card {
  background: #ffffff;
}

.detail-card:nth-child(1) {
  border-left: 5px solid var(--mint);
}

.detail-card:nth-child(2) {
  border-left: 5px solid var(--gold);
}

.detail-card:nth-child(3) {
  border-left: 5px solid var(--coral);
}

.image-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}

.image-story-grid img {
  width: 100%;
  max-height: 720px;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.game-title-logo {
  width: min(100%, 260px);
  margin: 0 0 22px;
  border-radius: var(--radius);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.32);
}

.policy-hero {
  padding: 84px 0 58px;
  color: #ffffff;
  background: linear-gradient(135deg, #121723, #26354d);
}

.policy-hero h1 {
  max-width: 820px;
  margin-bottom: 14px;
  font-size: clamp(2.6rem, 8vw, 5rem);
}

.policy-hero p:last-child {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
}

.policy-section {
  background: var(--mist);
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 0.66fr);
  gap: 28px;
  align-items: start;
}

.policy-summary,
.policy-content {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.policy-summary {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.policy-summary p {
  color: var(--ink-soft);
}

.policy-content {
  padding: clamp(26px, 5vw, 54px);
}

.policy-content h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.18;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  color: var(--ink-soft);
}

.policy-content ul {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--ink-soft);
}

.policy-content li + li {
  margin-top: 8px;
}

.policy-content a {
  color: #1b66b1;
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header {
    padding: 0 18px;
  }

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

  .site-nav {
    position: absolute;
    inset: 72px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(18, 23, 35, 0.98);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  }

  .site-header[data-open="true"] .site-nav {
    display: flex;
  }

  .site-nav a {
    min-height: 44px;
  }

  .hero {
    min-height: calc(80svh - 72px);
    background-position: 58% center;
  }

  .studio-grid,
  .split-layout,
  .game-showcase,
  .image-story-grid,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .showcase-media {
    min-height: 260px;
  }

  .studio-logo-panel {
    min-height: 260px;
  }

  .value-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .value-card,
  .detail-card {
    min-height: auto;
  }

  .policy-summary {
    position: static;
  }

  .footer-grid {
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .container,
  .hero-content,
  .copyright {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero {
    min-height: calc(76svh - 72px);
    padding: 64px 0 52px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.8rem);
  }

  .hero-actions,
  .cta-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .policy-hero {
    padding: 58px 0 44px;
  }
}
