@font-face {
  font-family: 'Lilita One';
  src: url('assets/fonts/lilita-one-latin-400-normal.woff2') format('woff2');
  font-display: swap;
}

:root {
  --ink: #16131c;
  --ink-soft: #4a4555;
  --paper: #f7f5f0;
  --white: #fff;
  --yellow: #ffbb00;
  --purple: #6b2fd1;
  --band: #ece6ff;
  --radius: 20px;
  --title: 'Lilita One', system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
img { max-width: 100%; display: block; }
h1, h2, h3, .btn, .nav, .badge, .stat { font-family: var(--title); font-weight: 400; }

/* Fixed corner logo and pill nav, as on the reference. */
.logo {
  position: fixed; top: 16px; left: 16px; z-index: 20;
  background: var(--white); border-radius: 16px; padding: 4px;
  box-shadow: 0 4px 16px rgb(0 0 0 / .18);
  transition: transform .2s;
}
.logo:hover { transform: rotate(-6deg) scale(1.05); }
.logo img { width: 56px; height: 56px; }
.nav {
  position: fixed; top: 20px; right: 16px; z-index: 20;
  display: flex; gap: 4px; padding: 6px;
  background: rgb(22 19 28 / .78); backdrop-filter: blur(8px);
  border-radius: 999px;
}
.nav a {
  color: var(--white); text-decoration: none; padding: 8px 16px; border-radius: 999px; font-size: 17px;
}
.nav a:hover { background: var(--yellow); color: var(--ink); }

/* Hero */
.hero {
  min-height: 100svh; display: grid; place-items: end center; text-align: center;
  padding: 120px 16px 72px;
  background:
    linear-gradient(to bottom, rgb(22 19 28 / .15) 40%, rgb(22 19 28 / .85)),
    url('assets/img/turfwars-keyart.webp') center / cover no-repeat;
  color: var(--white);
}
.hero h1 {
  margin: 0; font-size: clamp(56px, 12vw, 128px); line-height: .95;
  text-shadow: 0 6px 0 var(--ink), 0 10px 30px rgb(0 0 0 / .4);
}
.hero h1 span { color: var(--yellow); }
.hero p { margin: 12px 0 28px; font-size: clamp(18px, 2.4vw, 24px); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-size: 20px;
  padding: 12px 28px; border-radius: 14px; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 5px 0 #b37f00; }
.btn-dark { background: var(--ink); color: var(--white); box-shadow: 0 5px 0 #000; }

/* Sections */
.section { max-width: 1100px; margin: 0 auto; padding: 88px 16px; }
h2 { font-size: clamp(40px, 6vw, 56px); text-align: center; margin: 0 0 40px; }

/* Featured game */
.featured {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center;
  background: var(--white); border-radius: var(--radius); padding: 24px;
  box-shadow: 0 10px 30px rgb(22 19 28 / .08);
}
.featured-art img { border-radius: 14px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.featured-logo { width: min(300px, 80%); margin: 0 0 8px -8px; }
.badge {
  display: inline-block; background: var(--purple); color: var(--white);
  padding: 2px 12px; border-radius: 999px; font-size: 15px;
}
.featured-body p { color: var(--ink-soft); }
.actions { margin-top: 20px; }

/* Card grid */
.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px;
}
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 30px rgb(22 19 28 / .08); transition: transform .2s;
}
.card:hover { transform: translateY(-4px) rotate(-.5deg); }
.card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.card-body { padding: 16px 20px 20px; }
.card h3 { margin: 0; font-size: 22px; }
.card h3 em { font-style: normal; color: var(--purple); }
.stat { color: #d18f00; font-size: 15px; }
.card p { margin: 6px 0 0; color: var(--ink-soft); font-size: 15px; }
.card-soon { border: 3px dashed #cfc8dc; box-shadow: none; background: transparent; }
.egg {
  aspect-ratio: 16 / 9; display: grid; place-items: center;
  font: 72px var(--title); color: #cfc8dc;
}

/* Studio band */
.band { background: var(--band); }
.lead { max-width: 680px; margin: 0 auto 40px; text-align: center; font-size: 19px; color: var(--ink-soft); }
.pillars {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.pillars li {
  background: var(--white); border-radius: var(--radius); padding: 24px; text-align: center;
}
.pillars strong { display: block; font: 24px var(--title); margin-bottom: 6px; }
.pillars span { color: var(--ink-soft); }

/* Contact */
.contact { text-align: center; }
.contact p { color: var(--ink-soft); margin: -16px 0 16px; }
.email { font: clamp(24px, 4vw, 36px) var(--title); color: var(--purple); text-decoration: none; overflow-wrap: anywhere; }
.email:hover { text-decoration: underline; }

/* Footer */
.footer {
  background: var(--ink); color: #cfc8dc; text-align: center;
  padding: 40px 16px; display: grid; justify-items: center; gap: 8px;
}
.footer img { background: var(--white); border-radius: 12px; padding: 2px; }
.footer p { margin: 0; font-size: 14px; }

@media (max-width: 800px) {
  .featured { grid-template-columns: 1fr; padding: 16px; }
  .grid, .pillars { grid-template-columns: 1fr; }
  .section { padding: 72px 16px; }
}
@media (max-width: 480px) {
  .logo img { width: 44px; height: 44px; }
  .nav { top: 18px; }
  .nav a { padding: 6px 10px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
