@import url('https://fonts.googleapis.com/css2?family=Lilita+One&family=Noto+Serif:wght@400;500&display=swap');

:root {
  --mint: #87bba2;
  --teal: #3b6064;
  --slate: #364958;
  --ink: #16242e;
  --paper: #efffff;
  --coral: #ff7062;
  --orange: #ffb03a;
  --soft: #dceee8;
  --shadow: 0 24px 70px rgba(22, 36, 46, .2);
  --shadow-soft: 0 14px 36px rgba(22, 36, 46, .12);
  --radius: 26px;
  --radius-sm: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  background: var(--mint);
  font-family: "Noto Serif", Georgia, serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::selection { background: var(--orange); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 14px;
  top: -60px;
  z-index: 999;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 14px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(239,255,255,.09);
  background: rgba(54, 73, 88, .91);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav-shell {
  width: min(calc(100% - 36px), var(--max));
  height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 148px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(239,255,255,.78);
  font-family: "Lilita One", Impact, sans-serif;
  font-size: 18px;
  letter-spacing: .01em;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--paper);
  background: rgba(135, 187, 162, .17);
}
.nav-links a:hover { transform: translateY(-1px); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(239,255,255,.16);
  border-radius: 14px;
  color: var(--paper);
  background: rgba(255,255,255,.04);
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle.open span { opacity: 0; }
.menu-toggle.open::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open::after { transform: translateY(-6px) rotate(-45deg); }

main { overflow: clip; }
.shell { width: min(calc(100% - 36px), var(--max)); margin: 0 auto; }
.section { position: relative; padding: 110px 0; }
.section.compact { padding: 78px 0; }
.section.dark { background: var(--slate); }
.section.ink { background: var(--ink); }
.section.light { background: var(--paper); color: var(--ink); }
.section.teal { background: var(--teal); }

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 82px));
  display: grid;
  place-items: center;
  padding: 80px 0 92px;
  background:
    radial-gradient(circle at 12% 22%, rgba(255,176,58,.20), transparent 23%),
    radial-gradient(circle at 86% 76%, rgba(255,112,98,.19), transparent 23%),
    linear-gradient(140deg, var(--slate) 0 63%, #2c414f 100%);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(239,255,255,.08);
  border-radius: 50%;
  pointer-events: none;
}
.hero::before { width: 460px; height: 460px; right: -180px; top: 40px; }
.hero::after { width: 250px; height: 250px; left: -100px; bottom: 38px; }
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 70px;
}
.hero-copy { max-width: 650px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--orange);
  font-family: "Lilita One", Impact, sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 3px; background: currentColor; }
h1, h2, h3, h4 { font-family: "Lilita One", Impact, sans-serif; font-weight: 400; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(50px, 7.1vw, 92px); letter-spacing: -.02em; }
h2 { font-size: clamp(38px, 5vw, 58px); }
h3 { font-size: clamp(25px, 3vw, 34px); }
.hero p { max-width: 620px; margin: 24px 0 0; color: rgba(239,255,255,.77); font-size: clamp(17px, 1.8vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border: 0;
  border-radius: 14px;
  font-family: "Lilita One", Impact, sans-serif;
  font-size: 18px;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--coral); color: var(--paper); box-shadow: 0 12px 30px rgba(255,112,98,.24); }
.btn.secondary { background: rgba(239,255,255,.08); color: var(--paper); border: 1px solid rgba(239,255,255,.14); }
.btn.dark { background: var(--slate); color: var(--paper); }
.btn.ghost { background: transparent; color: var(--slate); border: 1px solid rgba(54,73,88,.18); }
.hero-art { position: relative; min-height: 460px; display: grid; place-items: center; }
.hero-card {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1 / 1;
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(135,187,162,.20), rgba(239,255,255,.04));
  border: 1px solid rgba(239,255,255,.11);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(2deg);
}
.hero-card img.cover { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
  border-radius: inherit;
}
.hero-cat {
  position: absolute;
  width: 150px;
  right: -28px;
  bottom: -10px;
  filter: drop-shadow(0 22px 20px rgba(22,36,46,.26));
  transform: rotate(-5deg);
}
.float-chip {
  position: absolute;
  left: -22px;
  bottom: 58px;
  display: grid;
  gap: 2px;
  min-width: 190px;
  padding: 15px 17px;
  border: 1px solid rgba(239,255,255,.13);
  border-radius: 18px;
  background: rgba(22,36,46,.78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}
.float-chip strong { font-family: "Lilita One", Impact, sans-serif; font-size: 20px; font-weight: 400; }
.float-chip span { color: rgba(239,255,255,.64); font-size: 13px; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 46px; }
.section-head .copy { max-width: 720px; }
.section-head p { margin: 15px 0 0; color: rgba(22,36,46,.72); }
.section.dark .section-head p, .section.teal .section-head p, .section.ink .section-head p { color: rgba(239,255,255,.73); }
.kicker { color: var(--coral); font-family: "Lilita One", Impact, sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: 16px; }

.story-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.story-copy p { color: rgba(22,36,46,.73); font-size: 18px; }
.story-copy p:last-child { margin-bottom: 0; }
.logo-panel {
  min-height: 390px;
  padding: 54px;
  display: grid;
  place-items: center;
  border-radius: 36px;
  background:
    linear-gradient(160deg, rgba(255,176,58,.17), transparent 42%),
    var(--slate);
  box-shadow: var(--shadow);
}
.logo-panel img { width: min(100%, 520px); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--teal);
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.team-meta { padding: 22px; }
.team-role { color: var(--orange); font-family: "Lilita One", Impact, sans-serif; text-transform: uppercase; letter-spacing: .055em; font-size: 13px; }
.team-meta h3 { margin-top: 3px; font-size: 28px; }
.team-meta p { margin: 12px 0 0; color: rgba(239,255,255,.72); font-size: 14px; line-height: 1.55; }

.games-intro { max-width: 790px; }
.games-intro p { color: rgba(239,255,255,.76); font-size: 18px; }
.games-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; margin-top: 40px; }
.game-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-radius: 30px;
  background: #23343f;
  border: 1px solid rgba(239,255,255,.08);
}
.game-card > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.game-card:hover > img.bg { transform: scale(1.035); }
.game-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22,36,46,.95), rgba(22,36,46,.1) 65%); }
.game-card-content { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 26px; }
.game-card-content h3 { font-size: 34px; }
.game-card-content p { max-width: 540px; margin: 8px 0 0; color: rgba(239,255,255,.76); }
.game-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-family: "Lilita One", Impact, sans-serif; }
.game-links a { color: var(--orange); }
.game-links a:hover { color: var(--paper); }
.game-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 22px; }
.game-stack .game-card { min-height: 179px; }

.news-card {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) 1.2fr;
  min-height: 440px;
  overflow: hidden;
  border-radius: 32px;
  background: var(--teal);
  box-shadow: var(--shadow);
}
.news-card-media { overflow: hidden; }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-card-media img { transform: scale(1.03); }
.news-card-content { padding: clamp(34px, 5vw, 68px); display: flex; flex-direction: column; justify-content: center; }
.news-card-content p { color: rgba(239,255,255,.75); }
.news-card-content .btn { align-self: flex-start; margin-top: 10px; }

.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.social-card {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 150px;
  padding: 26px;
  border-radius: 24px;
  color: var(--ink);
  background: rgba(239,255,255,.9);
  border: 1px solid rgba(54,73,88,.08);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}
a.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.social-card img { width: 74px; height: 74px; object-fit: contain; }
.social-card strong { display: block; font-family: "Lilita One", Impact, sans-serif; font-size: 25px; font-weight: 400; }
.social-card span { color: rgba(22,36,46,.61); font-size: 14px; }

.cat-divider { height: 90px; position: relative; background: var(--paper); overflow: hidden; }
.cat-divider::before { content: ""; position: absolute; left: 0; right: 0; top: 36px; height: 54px; background: var(--slate); }
.cat-divider img { position: absolute; right: max(3vw, 28px); bottom: 0; width: 122px; z-index: 2; }

.page-hero { padding: 110px 0 86px; background: linear-gradient(145deg, var(--slate), #2b414f); }
.page-hero .crumb { color: var(--orange); font-family: "Lilita One", Impact, sans-serif; font-size: 16px; text-transform: uppercase; letter-spacing: .06em; }
.page-hero h1 { max-width: 950px; margin-top: 12px; font-size: clamp(48px, 6.5vw, 78px); }
.page-hero p { max-width: 760px; margin: 20px 0 0; color: rgba(239,255,255,.73); font-size: 18px; }

.article-wrap { width: min(calc(100% - 36px), 880px); margin: 0 auto; }
.article-card {
  margin: -36px auto 0;
  position: relative;
  z-index: 2;
  padding: clamp(32px, 6vw, 68px);
  border-radius: 30px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.article-card h2 { margin-top: 44px; font-size: 38px; color: var(--slate); }
.article-card h3 { margin-top: 38px; font-size: 29px; color: var(--teal); line-height: 1.12; }
.article-card p, .article-card li { color: rgba(22,36,46,.79); }
.article-card a { color: #963e36; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-card a:hover { color: var(--teal); }
.article-card ul { padding-left: 22px; }
.article-card .updated { display: inline-flex; padding: 6px 11px; border-radius: 999px; background: rgba(135,187,162,.22); color: var(--slate); font-size: 13px; }
.policy-note { margin-top: 34px; padding: 20px 22px; border-left: 4px solid var(--orange); border-radius: 0 14px 14px 0; background: rgba(255,176,58,.12); }
.policy-note p { margin: 0; }

.contact-box { margin-top: 32px; padding: 24px; border-radius: 18px; background: rgba(54,73,88,.07); }
.contact-box strong { font-family: "Lilita One", Impact, sans-serif; font-size: 22px; color: var(--slate); font-weight: 400; }

.delete-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: center; }
.delete-icon { aspect-ratio: 1; display: grid; place-items: center; padding: 34px; border-radius: 28px; background: var(--slate); }
.delete-icon img { width: 100%; border-radius: 20px; }
.delete-steps { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: step; }
.delete-steps li { counter-increment: step; position: relative; margin: 0 0 16px; padding-left: 48px; }
.delete-steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: white; font-family: "Lilita One", Impact, sans-serif; }

.site-footer { padding: 52px 0 30px; background: #111; color: #aeb8bd; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .8fr .8fr; gap: 42px; }
.footer-brand img { width: 170px; opacity: .9; }
.footer-brand p { max-width: 420px; margin: 18px 0 0; font-size: 14px; line-height: 1.65; }
.site-footer h3 { color: var(--paper); font-size: 21px; }
.footer-links { margin-top: 15px; display: grid; gap: 8px; }
.footer-links a { font-size: 14px; color: #aeb8bd; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { margin-top: 38px; padding-top: 22px; border-top: 1px solid #292929; display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 13px; }
.footer-bottom a { color: var(--coral); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero-grid, .story-grid, .delete-card { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-copy { max-width: 760px; }
  .hero-art { min-height: 420px; }
  .hero-card { width: min(74vw, 430px); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .games-grid { grid-template-columns: 1fr; }
  .game-stack { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .game-stack .game-card { min-height: 240px; }
  .social-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-shell { height: 70px; }
  .brand img { width: 126px; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 62px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(239,255,255,.11);
    border-radius: 18px;
    background: rgba(22,36,46,.97);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { justify-content: center; }
  .section { padding: 82px 0; }
  .hero { padding: 68px 0 80px; }
  .hero-grid { gap: 40px; }
  .hero-art { min-height: 350px; }
  .float-chip { left: 2px; bottom: 18px; min-width: 160px; }
  .hero-cat { width: 118px; right: 0; }
  .section-head { align-items: start; flex-direction: column; margin-bottom: 34px; }
  .team-grid { gap: 14px; }
  .news-card { grid-template-columns: 1fr; }
  .news-card-media { min-height: 300px; }
  .social-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 80px 0 68px; }
  .article-card { margin-top: -24px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 540px) {
  body { font-size: 15px; }
  .shell, .nav-shell, .article-wrap { width: min(calc(100% - 26px), var(--max)); }
  .hero-art { min-height: 315px; }
  .hero-card { width: min(82vw, 360px); border-radius: 28px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .game-stack { grid-template-columns: 1fr; }
  .game-card, .game-stack .game-card { min-height: 315px; }
  .logo-panel { min-height: 280px; padding: 34px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
