@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/anton-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --ink: #09070d;
  --ink-soft: #15101e;
  --paper: #fff7e8;
  --muted: #c8bdce;
  --violet: #a337ff;
  --violet-deep: #6013c7;
  --acid: #96ff43;
  --hot: #ff3d66;
  --line: rgba(255, 255, 255, 0.18);
  --page: min(1180px, calc(100vw - 40px));
  --display: Anton, Impact,Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(163, 55, 255, 0.18), transparent 26rem),
    var(--ink);
  color: var(--paper);
  font-family: var(--body);
  line-height: 1.55;
  overflow-x: hidden;
  font-synthesis: none;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--acid);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  width: 100%;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  padding: 14px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(9, 7, 13, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  width: 156px;
  align-items: center;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a,
.menu-button {
  padding: 10px 13px;
  border: 0;
  background: transparent;
  color: var(--paper);
  font: 800 0.78rem/1 var(--body);
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--acid);
}

.nav-list .nav-cta {
  border: 1px solid var(--acid);
  color: var(--acid);
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--acid);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.display {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.2rem, 10vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 0.92;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  width: var(--page);
  min-height: calc(100vh - 82px);
  align-items: center;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(28px, 6vw, 92px);
  margin: 0 auto;
  padding: 76px 0 96px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero .lede,
.page-hero .lede {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
}

.hero-art {
  position: relative;
  min-height: 560px;
}

.hero-card {
  position: absolute;
  width: 78%;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--paper);
  background: var(--ink-soft);
}

.hero-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(9, 7, 13, 0.85) 100%);
  content: "";
}

.hero-card-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-logo {
  position: absolute;
  z-index: 1;
  right: 8%;
  bottom: 7%;
  left: 8%;
  width: 84%;
  max-height: 34%;
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(4px 6px 0 rgba(0, 0, 0, 0.45));
}

.hero-card-gor {
  top: 0;
  right: 0;
  transform: rotate(6deg);
  box-shadow: 16px 16px 0 var(--violet-deep);
}

.hero-card-gor::after {
  background: linear-gradient(200deg, rgba(9, 7, 13, 0.75) 0%, transparent 45%);
}

.hero-card-gor .hero-card-logo {
  top: 5%;
  right: 6%;
  bottom: auto;
  left: auto;
  width: 34%;
  max-height: 42%;
  object-position: right top;
}

.hero-card-gor .hero-card-art {
  object-position: 68% center;
  filter: brightness(1.7) saturate(1.1);
}

.hero-card-eyd {
  bottom: 0;
  left: 0;
  width: 62%;
  transform: rotate(-5deg);
  box-shadow: 14px 14px 0 var(--acid);
}

.hero-card-eyd .hero-card-art {
  object-position: 50% center;
}

.sticker {
  position: absolute;
  z-index: 3;
  right: 2%;
  bottom: 6%;
  max-width: 220px;
  transform: rotate(-4deg);
  padding: 12px 18px;
  background: var(--hot);
  box-shadow: 8px 8px 0 var(--paper);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 1000;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 19px;
  border: 1px solid var(--paper);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.075em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--violet);
}

.button.secondary {
  background: transparent;
  color: var(--paper);
}

.button.acid {
  border-color: var(--acid);
  background: var(--acid);
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--violet);
  color: white;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 34px;
  padding: 13px 0;
  animation: marquee 26s linear infinite;
  font: 900 1rem/1 var(--body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.section {
  width: var(--page);
  margin: 0 auto;
  padding: 112px 0;
}

.section-heading {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.46fr);
  gap: 34px;
  margin-bottom: 42px;
}

.section-heading h2,
.statement h2,
.discord-panel h2,
.page-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 7vw, 7rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.92;
  text-transform: uppercase;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

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

.game-card {
  position: relative;
  display: flex;
  min-height: 640px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--line);
  text-decoration: none;
  isolation: isolate;
}

.game-card::before,
.game-card::after {
  position: absolute;
  inset: 0;
  content: "";
}

.game-card::before {
  z-index: -2;
  background-position: center;
  background-size: cover;
  transition: transform 500ms cubic-bezier(.2,.8,.2,1);
}

.game-card::after {
  z-index: -1;
  background: linear-gradient(180deg, transparent 20%, rgba(9, 7, 13, 0.15) 50%, rgba(9, 7, 13, 0.98) 95%);
}

.game-card:hover::before {
  transform: scale(1.045);
}

.game-card.eyd::before {
  background-image: url("/assets/eyd-chef-biker.png");
}

.game-card.gor::before {
  background-image: url("/assets/gor-hero.jpg");
  filter: brightness(1.6) saturate(1.1);
}

.game-card img {
  width: min(460px, 92%);
  max-height: 180px;
  object-fit: contain;
  object-position: left bottom;
}

.game-card p {
  max-width: 500px;
  margin: 18px 0 0;
  color: #efe8f0;
}

.card-kicker {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 7px 10px;
  background: var(--ink);
  color: var(--acid);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.statement {
  position: relative;
  width: 100%;
  padding: 124px max(20px, calc((100vw - 1180px) / 2));
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

.statement::after {
  position: absolute;
  right: -6vw;
  bottom: -23vw;
  width: 30vw;
  height: 30vw;
  border: 5vw solid var(--violet);
  border-radius: 50%;
  content: "";
  opacity: 0.9;
}

.statement .eyebrow {
  color: var(--violet-deep);
}

.statement .button {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.statement-inner {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 1180px;
  align-items: start;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  margin: auto;
}

.statement-copy {
  max-width: 530px;
  margin: 12px 0 0;
  font-size: 1.16rem;
}

.discord-panel {
  display: grid;
  width: var(--page);
  align-items: center;
  grid-template-columns: 1fr auto;
  gap: 30px;
  margin: 100px auto;
  padding: clamp(32px, 6vw, 72px);
  border: 2px solid var(--violet);
  background:
    linear-gradient(135deg, rgba(163, 55, 255, 0.3), transparent 55%),
    var(--ink-soft);
  box-shadow: 14px 14px 0 var(--violet-deep);
}

.discord-panel h2 {
  font-size: clamp(3rem, 6vw, 6.2rem);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 38px max(20px, calc((100vw - 1180px) / 2));
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.footer-socials a {
  padding: 8px 10px;
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-socials a:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.footer-bottom {
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.page-hero {
  position: relative;
  min-height: min(820px, calc(100vh - 82px));
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before,
.page-hero::after {
  position: absolute;
  inset: 0;
  content: "";
}

.page-hero::before {
  z-index: -2;
  background-position: center;
  background-size: cover;
}

.page-hero::after {
  z-index: -1;
  background: linear-gradient(90deg, rgba(9,7,13,.95) 0%, rgba(9,7,13,.67) 48%, rgba(9,7,13,.24) 100%);
}

.page-hero.eyd-hero::before {
  background-image: url("/assets/eyd-chef-biker.png");
}

.page-hero.gor-hero::before {
  background-image: url("/assets/gor-hero.jpg");
}

.page-hero-inner {
  display: flex;
  width: var(--page);
  min-height: inherit;
  flex-direction: column;
  justify-content: center;
  margin: auto;
  padding: 72px 0;
}

.game-logo-large {
  width: min(630px, 84vw);
  max-height: 310px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(8px 12px 0 rgba(0,0,0,.35));
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.rating-badge {
  width: 128px;
  height: auto;
  margin-top: 28px;
}

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

.feature {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.feature-number {
  display: block;
  margin-bottom: 48px;
  color: var(--violet);
  font-family: var(--display);
  font-size: 2.5rem;
}

.feature h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 2.1rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.feature p {
  margin: 14px 0 0;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.update-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  padding: 34px;
  border-left: 8px solid var(--hot);
  background: var(--paper);
  color: var(--ink);
}

.update-version {
  font-family: var(--display);
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.8;
}

.update-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 2rem;
  text-transform: uppercase;
}

.update-card p {
  margin: 10px 0 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}

.news-list {
  display: grid;
  gap: 16px;
}

.news-entry {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(150px, 0.25fr) minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.news-entry.featured-news {
  border-color: var(--violet);
  box-shadow: 12px 12px 0 var(--violet-deep);
}

.news-meta {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.news-meta span {
  padding: 5px 8px;
  background: var(--violet);
  color: white;
}

.news-entry h2,
.news-entry h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  letter-spacing: -0.015em;
  line-height: 0.92;
  text-transform: uppercase;
}

.news-entry p {
  max-width: 700px;
  margin: 15px 0 0;
  color: var(--muted);
}

.news-policy {
  max-width: 760px;
  margin: 58px auto 0;
  padding: 28px;
  border-left: 6px solid var(--acid);
  background: rgba(150, 255, 67, 0.08);
}

.contact-card {
  min-height: 390px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  background: var(--ink-soft);
}

.contact-card.primary {
  background: var(--violet);
}

.contact-card h2 {
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.contact-card p {
  max-width: 520px;
}

.contact-email {
  display: inline-block;
  margin-top: 36px;
  font-size: clamp(1.15rem, 2.4vw, 2rem);
  font-weight: 900;
}

.lede {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
}

.labo {
  display: grid;
  width: var(--page);
  min-height: calc(100vh - 82px);
  place-items: center;
  margin: auto;
  padding: 80px 0;
  text-align: center;
}

.labo-mark {
  width: 130px;
  height: 130px;
  margin: 0 auto 30px;
  transform: rotate(14deg);
  border: 22px solid var(--acid);
  border-radius: 50%;
  box-shadow: 18px 18px 0 var(--violet);
}

.legal-wrap {
  display: grid;
  width: var(--page);
  grid-template-columns: minmax(190px, 0.3fr) minmax(0, 0.7fr);
  gap: 64px;
  padding: 86px 0 120px;
}

.legal-aside {
  position: sticky;
  top: 116px;
  align-self: start;
}

.legal-aside p {
  color: var(--muted);
}

.legal-content {
  max-width: 780px;
}

.legal-content h1 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(3.5rem, 7vw, 6.8rem);
  line-height: 0.84;
  text-transform: uppercase;
}

.legal-content h2 {
  margin: 62px 0 14px;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}

.legal-content h3 {
  margin: 30px 0 10px;
  font-size: 1.08rem;
}

.legal-content p,
.legal-content li {
  color: #d8cedc;
}

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

.legal-updated {
  color: var(--acid) !important;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 850px) {
  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 81px;
    right: 0;
    left: 0;
    padding: 15px 20px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--ink);
  }

  .site-nav[data-open] {
    display: block;
  }

  .nav-list {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-list a {
    display: block;
    padding: 14px 10px;
  }

  .hero,
  .section-heading,
  .statement-inner,
  .discord-panel,
  .contact-grid,
  .legal-wrap {
    grid-template-columns: 1fr;
  }

  .news-entry {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 64px;
  }

  .hero-art {
    width: min(100% - 18px, 520px);
    min-height: 0;
    aspect-ratio: 1 / 1.1;
    margin: 12px auto 0;
  }

  .game-grid {
    grid-template-columns: 1fr;
  }

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

  .discord-panel {
    justify-items: start;
  }

  .legal-aside {
    position: static;
  }
}

@media (max-width: 600px) {
  :root {
    --page: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 72px;
    padding: 12px 14px;
  }

  .brand {
    width: 132px;
  }

  .site-nav {
    top: 71px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 56px;
  }

  .display {
    font-size: clamp(4rem, 22vw, 7rem);
  }

  .hero-card-gor {
    box-shadow: 10px 10px 0 var(--violet-deep);
  }

  .hero-card-eyd {
    box-shadow: 9px 9px 0 var(--acid);
  }

  .sticker {
    right: 0;
    max-width: 170px;
    font-size: 0.68rem;
  }

  .section {
    padding: 80px 0;
  }

  .game-card {
    min-height: 470px;
    padding: 22px;
  }

  .feature-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: auto;
  }

  .feature-number {
    margin-bottom: 30px;
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .update-card {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 720px;
  }

  .page-hero::after {
    background: linear-gradient(180deg, rgba(9,7,13,.6) 0%, rgba(9,7,13,.88) 55%, rgba(9,7,13,.95) 100%);
  }
}

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