@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Oswald:wght@500;600;700&display=swap');

:root {
  color-scheme: dark;
  --ink: #101211;
  --panel: #181b19;
  --paper: #f3f1ea;
  --quiet: #a6aaa3;
  --line: rgba(243, 241, 234, 0.16);
  --acid: #d9ef55;
  --orange: #ffb43d;
  --peak: #dfddc3;
}

* { box-sizing: border-box; }

html { min-width: 320px; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
}

a { color: inherit; text-decoration: none; }

a:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 5px;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 4%, rgba(217, 239, 85, 0.1), transparent 20rem),
    linear-gradient(180deg, #101211, #111411 52%, #0c0e0d);
}

.site-header {
  display: flex;
  align-items: center;
  width: min(100% - 48px, 1200px);
  height: 84px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wordmark-mark {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 3px solid var(--acid);
  border-radius: 2px;
  transform: rotate(45deg);
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(60vw, 660px);
  padding: 100px 32px 118px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: radial-gradient(ellipse 58% 74% at 50% 48%, #242c22 0%, transparent 73%);
  content: '';
}

.hero-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.24;
  background-image: linear-gradient(rgba(243, 241, 234, 0.18) 1px, transparent 1px), linear-gradient(90deg, rgba(243, 241, 234, 0.18) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 64% 69% at 50% 43%, black 0%, transparent 72%);
}

.hero-content { max-width: 730px; text-align: center; }

.eyebrow,
.section-heading h2,
.game-copy p {
  margin: 0;
  font-family: 'DM Mono', monospace;
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow { color: var(--acid); }

h1,
h2,
h3 { font-family: Oswald, Impact, sans-serif; }

h1 {
  max-width: 720px;
  margin: 17px auto 18px;
  font-size: clamp(4.15rem, 11vw, 8.75rem);
  font-weight: 600;
  letter-spacing: -0.052em;
  line-height: 0.88;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 390px;
  margin: 0 auto 30px;
  color: #c5c8c1;
  font-size: clamp(0.98rem, 1.65vw, 1.12rem);
  line-height: 1.55;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  color: #14170e;
  background: var(--acid);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease;
}

.cta:hover { background: #edff82; transform: translateY(-2px); }

.cta span { font-size: 1.1rem; line-height: 0; }

.hero-accent {
  position: absolute;
  right: max(5vw, 40px);
  bottom: 37px;
  display: grid;
  width: 61px;
  height: 61px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #73796f;
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  transform: rotate(-13deg);
}

.featured {
  width: min(100% - 48px, 1200px);
  margin: 0 auto;
  padding: 35px 0 104px;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(30px, 1fr) auto minmax(30px, 1fr);
  align-items: center;
  gap: 16px;
  max-width: 520px;
  margin: 0 auto 27px;
}

.section-heading span { height: 1px; background: var(--line); }
.section-heading h2 { color: #c5c9c0; }

.featured-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

.game-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid rgba(243, 241, 234, 0.18);
  border-radius: 10px;
  isolation: isolate;
  background: #17211d;
}

.game-art {
  position: absolute;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.game-card:hover .game-art { transform: scale(1.035); }

.game-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 13, 17, 0.76) 0%, rgba(3, 13, 17, 0.38) 53%, rgba(3, 13, 17, 0.05) 100%);
}

.game-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  width: min(68%, 365px);
  min-height: 300px;
  padding: 30px;
}

.game-copy p { margin-bottom: 8px; color: var(--orange); }
.game-card-peak .game-copy p { color: var(--peak); }

.game-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1;
  text-transform: uppercase;
}

.game-copy > span {
  margin-bottom: 22px;
  color: #e1e5df;
  font-size: 0.82rem;
  line-height: 1.55;
}

.game-copy a {
  display: inline-flex;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background: rgba(5, 18, 22, 0.54);
  font-family: 'DM Mono', monospace;
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  transition: background 180ms ease, border-color 180ms ease;
}

.game-copy a:hover { border-color: rgba(255, 255, 255, 0.7); background: rgba(5, 18, 22, 0.78); }

footer {
  width: min(100% - 48px, 1200px);
  margin: 0 auto;
  padding: 26px 0 36px;
  border-top: 1px solid var(--line);
  color: #757a73;
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .site-header, .featured, footer { width: min(100% - 32px, 1200px); }
  .site-header { height: 70px; }
  .hero { min-height: 595px; padding: 80px 23px 103px; }
  .hero-accent { right: 18px; bottom: 25px; width: 44px; height: 44px; font-size: 0.55rem; }
  .featured { padding-top: 29px; padding-bottom: 70px; }
  .featured-grid { grid-template-columns: 1fr; gap: 16px; }
  .game-card, .game-copy { min-height: 285px; }
  .game-copy { width: min(72%, 365px); padding: 24px; }
}

@media (max-width: 420px) {
  .wordmark { font-size: 0.72rem; }
  .wordmark-mark { width: 12px; height: 12px; }
  .game-copy { width: 81%; }
}
