@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Inter:wght@500;600;700;800;900&display=swap");

:root {
  --ink: #0d1418;
  --muted: #5d675f;
  --paper: #f3f5ea;
  --cream: #fff8e9;
  --line: rgba(13, 20, 24, 0.14);
  --green: #17634f;
  --yellow: #ffc65f;
  --blue: #89c7e7;
  --orange: #ff9156;
  --pink: #ff86ad;
  --lime: #c9ef6c;
  --shadow: 0 20px 60px rgba(13, 20, 24, 0.14);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 360px),
    var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  background: var(--ink);
  color: white;
  left: 1rem;
  padding: 0.65rem 0.9rem;
  position: fixed;
  top: -5rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto auto;
  margin: 0 auto;
  max-width: 1480px;
  padding: 1.4rem clamp(1rem, 3vw, 2.5rem);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

.brand,
.site-nav,
.hero-actions,
.site-footer nav {
  align-items: center;
  display: flex;
}

.brand {
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  height: clamp(5.2rem, 7vw, 6.8rem);
  object-fit: contain;
  width: auto;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.site-nav {
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
  border-radius: 999px;
  gap: 0.25rem;
  padding: 0.28rem;
}

.site-nav a,
.nav-action,
.button {
  min-height: 2.75rem;
}

.site-nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 0.72rem 1rem;
  text-decoration: none;
}

.site-nav a:hover {
  background: white;
  color: var(--ink);
}

.nav-action,
.button {
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  padding: 0.74rem 1.08rem;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.nav-action {
  background: var(--ink);
  color: white;
}

.button-primary {
  background: var(--ink);
  box-shadow: 6px 6px 0 var(--green);
  color: white;
}

.button-light {
  background: white;
  box-shadow: 6px 6px 0 var(--yellow);
}

.nav-action:hover,
.button:hover,
.game-card a:hover,
.support-copy a:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
  margin: 0 auto;
  max-width: 1480px;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 3vw, 2.5rem) 2rem;
}

.hero-copy {
  align-self: center;
  padding: clamp(1rem, 4vw, 3rem) 0;
}

.eyebrow {
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Baloo 2", Inter, sans-serif;
  letter-spacing: 0;
  line-height: 0.92;
  margin: 0;
}

h1 {
  font-size: clamp(5rem, 13vw, 12rem);
  max-width: 7ch;
  text-transform: uppercase;
}

.hero-lede {
  color: #334039;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
  max-width: 42rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.hero-showcase {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.45fr 0.78fr;
  grid-template-rows: 1fr 1fr auto;
  min-height: 680px;
}

.feature-panel,
.mini-panel,
.ticker-panel,
.section-strip,
.game-card,
.studio-steps div,
.support-band,
.legal-shell,
.support-page-panel {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 10px 10px 0 rgba(13, 20, 24, 0.11);
}

.feature-panel {
  grid-row: 1 / 3;
  min-height: 560px;
  overflow: hidden;
  padding: clamp(1rem, 3vw, 2rem);
  position: relative;
}

.panel-yellow {
  background: var(--yellow);
}

.panel-blue {
  background: var(--blue);
}

.panel-orange {
  background: var(--orange);
}

.panel-kicker,
.mini-panel span,
.ticker-panel span,
.game-tag,
.rating-pill {
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.poster-word {
  color: rgba(255, 255, 255, 0.72);
  font-family: "Baloo 2", Inter, sans-serif;
  font-size: clamp(5.4rem, 11vw, 10rem);
  font-weight: 800;
  left: 1rem;
  line-height: 0.78;
  pointer-events: none;
  position: absolute;
  top: 4.8rem;
  z-index: 0;
}

.hero-screenshot {
  border: 2px solid rgba(13, 20, 24, 0.3);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: min(44vw, 360px);
  left: 50%;
  object-fit: cover;
  position: absolute;
  top: 48%;
  transform: translate(-50%, -50%) rotate(-3deg);
  width: min(86%, 560px);
  z-index: 1;
}

.feature-badge {
  background: var(--green);
  border: 2px solid var(--ink);
  border-radius: 999px;
  bottom: 7.2rem;
  color: var(--yellow);
  font-family: "Baloo 2", Inter, sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 800;
  padding: 0.65rem 1.1rem;
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  z-index: 2;
}

.feature-panel p {
  bottom: 1.8rem;
  font-size: 1.12rem;
  font-weight: 800;
  left: clamp(1rem, 3vw, 2rem);
  margin: 0;
  max-width: 22rem;
  position: absolute;
  z-index: 2;
}

.mini-panel {
  align-content: space-between;
  display: grid;
  min-height: 250px;
  overflow: hidden;
  padding: 1.2rem;
  position: relative;
}

.mini-panel img {
  border: 2px solid rgba(13, 20, 24, 0.28);
  border-radius: 22%;
  box-shadow: 8px 8px 0 rgba(13, 20, 24, 0.12);
  justify-self: end;
  width: min(52%, 148px);
}

.mini-panel strong {
  font-family: "Baloo 2", Inter, sans-serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 0.9;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.mini-panel .compact-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.ticker-panel {
  align-items: center;
  background: white;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  grid-column: 1 / -1;
  padding: 0.8rem;
}

.ticker-panel span {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
}

.section-strip {
  background: white;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, 1fr);
  margin: 1rem auto 0;
  max-width: 1480px;
  overflow: hidden;
}

.section-strip div {
  display: grid;
  gap: 0.2rem;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.section-strip div + div {
  border-left: 1px solid var(--line);
}

.section-strip strong {
  font-family: "Baloo 2", Inter, sans-serif;
  font-size: clamp(1.7rem, 3vw, 3.2rem);
  line-height: 0.9;
}

.section-strip span,
.section-heading p,
.studio-copy p,
.support-copy p,
.legal-shell p,
.legal-shell li,
.support-intro p {
  color: var(--muted);
  font-weight: 650;
}

.games-section,
.studio-section,
.support-band,
.legal-main,
.support-main {
  margin: 0 auto;
  max-width: 1480px;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 3vw, 2.5rem);
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr);
  margin-bottom: 1.5rem;
}

.section-heading h2,
.studio-copy h2,
.support-copy h2,
.legal-title h1,
.support-intro h1 {
  font-size: clamp(3rem, 7vw, 6.6rem);
  text-transform: uppercase;
}

.section-heading p {
  font-size: 1.05rem;
  margin: 0;
}

.games-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.game-card {
  background: white;
  min-height: 360px;
  padding: 1rem;
  position: relative;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.game-card:hover {
  box-shadow: 14px 14px 0 rgba(13, 20, 24, 0.12);
  transform: translateY(-3px);
}

.game-card-featured {
  background: var(--ink);
  color: white;
  grid-column: span 2;
}

.game-card img {
  border: 2px solid var(--line);
  border-radius: 24%;
  margin-bottom: 1rem;
  width: 96px;
}

.game-card-featured img {
  width: 132px;
}

.game-card h3 {
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  line-height: 0.95;
  margin: 0.35rem 0 0.6rem;
  overflow-wrap: anywhere;
}

.game-card p {
  color: #536058;
  font-weight: 650;
  margin: 0 0 1.1rem;
}

.game-card-featured p {
  color: rgba(255, 255, 255, 0.76);
}

.game-tag {
  color: var(--green);
}

.game-card-featured .game-tag {
  color: var(--lime);
}

.game-card a,
.support-copy a {
  color: var(--ink);
  display: inline-block;
  font-weight: 900;
  text-decoration-thickness: 0.16em;
  text-underline-offset: 0.2em;
}

.game-card-featured a {
  color: white;
}

.rating-pill {
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  padding: 0.5rem 0.65rem;
  position: absolute;
  right: 0.9rem;
  top: 0.9rem;
}

.studio-section {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(320px, 0.55fr) minmax(0, 1fr);
  padding-top: 0;
}

.studio-copy {
  align-self: center;
}

.studio-copy p {
  font-size: 1.05rem;
}

.studio-steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.studio-steps div {
  background: var(--cream);
  min-height: 220px;
  padding: 1.2rem;
}

.studio-steps div:nth-child(2) {
  background: var(--blue);
}

.studio-steps div:nth-child(3) {
  background: var(--orange);
}

.studio-steps div:nth-child(4) {
  background: var(--lime);
}

.studio-steps span {
  color: rgba(13, 20, 24, 0.55);
  font-weight: 900;
}

.studio-steps strong {
  display: block;
  font-family: "Baloo 2", Inter, sans-serif;
  font-size: 2.55rem;
  line-height: 0.9;
  margin: 2.7rem 0 0.7rem;
}

.studio-steps p {
  color: #303a35;
  font-weight: 750;
  margin: 0;
}

.support-band {
  background: var(--green);
  color: white;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(300px, 0.65fr) minmax(320px, 1fr);
  margin-bottom: clamp(4rem, 7vw, 6rem);
  padding-top: clamp(2rem, 5vw, 4rem);
}

.support-band .eyebrow,
.support-band .support-copy p,
.support-band .support-copy a {
  color: #ffecbd;
}

.support-form {
  background: white;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.6rem);
}

.support-form label {
  color: #303a35;
  display: grid;
  font-size: 0.88rem;
  font-weight: 900;
  gap: 0.45rem;
}

.support-form input,
.support-form select,
.support-form textarea {
  background: #f8f8f2;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  min-height: 3rem;
  outline: none;
  padding: 0.85rem 0.95rem;
  width: 100%;
}

.support-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(23, 99, 79, 0.16);
}

.form-status {
  color: var(--green);
  font-weight: 850;
  margin: 0;
  min-height: 1.4rem;
}

.site-footer {
  align-items: start;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1480px;
  padding: 2rem clamp(1rem, 3vw, 2.5rem);
}

.footer-brand .brand-logo {
  height: 5.6rem;
}

.site-footer p {
  color: var(--muted);
  font-weight: 700;
  margin: 0.7rem 0 0;
}

.site-footer nav {
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

.site-footer a {
  font-weight: 850;
  text-decoration: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-main,
.support-main {
  padding-top: clamp(2rem, 5vw, 4rem);
}

.legal-title,
.support-intro {
  margin-bottom: 1.5rem;
  max-width: 920px;
}

.legal-shell,
.support-page-panel {
  background: white;
  padding: clamp(1.2rem, 4vw, 3rem);
}

.legal-shell {
  display: grid;
  gap: 2rem;
}

.legal-shell section {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}

.legal-shell section:first-child {
  border-top: 0;
  padding-top: 0;
}

.legal-shell h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 0.7rem;
}

.legal-shell p,
.legal-shell ul {
  margin: 0;
}

.legal-shell ul {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.2rem;
}

.support-page-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(300px, 0.65fr) minmax(320px, 1fr);
}

.support-page-panel {
  background: var(--blue);
}

.support-page-panel h2 {
  font-size: clamp(2.4rem, 4.5vw, 4.6rem);
  margin-bottom: 1rem;
}

.support-page-panel ul {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding-left: 1.1rem;
}

.support-page-panel li {
  font-weight: 800;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: center;
    order: 3;
  }

  .hero,
  .studio-section,
  .support-band,
  .support-page-grid {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
  }

  .feature-panel {
    grid-column: 1 / -1;
    min-height: 500px;
  }

  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding-top: 0.85rem;
  }

  .brand {
    font-size: 0.92rem;
  }

  .brand-logo {
    height: 5.25rem;
  }

  .nav-action {
    padding-inline: 0.8rem;
  }

  .site-nav {
    border-radius: var(--radius);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
  }

  .site-nav a {
    font-size: 0.78rem;
    padding-inline: 0.35rem;
    text-align: center;
  }

  h1 {
    font-size: clamp(4.5rem, 22vw, 7rem);
  }

  .hero {
    padding-top: 0.5rem;
  }

  .hero-showcase,
  .games-grid,
  .studio-steps,
  .section-strip {
    grid-template-columns: 1fr;
  }

  .mini-panel {
    min-height: 210px;
  }

  .section-strip div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .section-heading {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .game-card-featured {
    grid-column: span 1;
  }

  .game-card {
    min-height: 310px;
  }

  .support-band {
    margin-inline: 1rem;
  }

  .site-footer {
    display: grid;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
