:root {
  --bg: #06110d;
  --bg-2: #0a1e17;
  --panel: #102b22;
  --panel-2: #14372b;
  --cream: #f4ecd8;
  --muted: #a9bcae;
  --gold: #d8b45a;
  --gold-2: #efd792;
  --line: rgba(216, 180, 90, .24);
  --red: #a9352d;
  --serif: Georgia, "Songti SC", "Sitka Text", "Times New Roman", serif;
  --sans: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  color: var(--cream);
  font-family: var(--sans);
  background:
    radial-gradient(ellipse at 12% 0%, rgba(46, 131, 99, .30), transparent 48%),
    radial-gradient(ellipse at 92% 8%, rgba(216, 180, 90, .12), transparent 42%),
    linear-gradient(155deg, #081813, #06110d 60%, #040c09);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .025;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 0 24px 28px;
}

/* Header */
.site-header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #173f30, #0a231a);
  border: 1px solid rgba(216, 180, 90, .42);
  box-shadow: inset 0 1px 0 rgba(255, 244, 210, .12), 0 8px 20px rgba(0, 0, 0, .22);
}
.brand-mark b { font-family: var(--serif); font-size: 17px; color: var(--gold-2); letter-spacing: .02em; }
.brand-mark.small { width: 30px; height: 30px; flex-basis: 30px; border-radius: 8px; }
.brand-mark.small b { font-size: 12px; }
.brand-copy { display: flex; flex-direction: column; gap: 2px; }
.brand-copy strong { font-family: var(--serif); font-size: 21px; letter-spacing: .08em; color: #f5e9c9; }
.brand-copy small { font-size: 7px; letter-spacing: .24em; color: #89a293; }
.site-nav { display: flex; gap: 8px; }
.site-nav a {
  padding: 9px 14px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #c8d6ca;
  font-size: 12px;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.site-nav a:hover { color: #f6e8bf; background: rgba(255, 255, 255, .055); border-color: rgba(216, 180, 90, .18); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  gap: 46px;
  align-items: center;
  min-height: 520px;
  padding: 48px 0 38px;
}
.eyebrow {
  margin: 0 0 12px;
  font-size: 8px;
  letter-spacing: .28em;
  font-weight: 700;
  color: #c7a75e;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 6.3vw, 88px);
  line-height: 1.04;
  letter-spacing: -.035em;
  color: #f7edda;
  font-weight: 500;
}
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero-lead {
  max-width: 500px;
  margin: 22px 0 0;
  color: #a9bcae;
  font-size: 14px;
  line-height: 1.8;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #281b06;
  background: linear-gradient(180deg, #f0d58b, #caa64e);
  border-color: #e2c477;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-primary:hover { background: linear-gradient(180deg, #f8e2a2, #d5b25a); }
.btn-ghost {
  color: #e6d7af;
  background: rgba(255, 255, 255, .035);
  border-color: rgba(216, 180, 90, .28);
}
.btn-ghost:hover { background: rgba(216, 180, 90, .10); border-color: rgba(216, 180, 90, .48); }
.hero-stats {
  display: flex;
  gap: 0;
  margin: 40px 0 0;
  border-top: 1px solid rgba(216, 180, 90, .18);
  padding-top: 18px;
}
.hero-stats div { padding-right: 30px; margin-right: 30px; border-right: 1px solid rgba(255, 255, 255, .08); }
.hero-stats div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-stats dt { font-size: 8px; letter-spacing: .12em; color: #729080; }
.hero-stats dd { margin: 5px 0 0; font-family: var(--serif); font-size: 18px; color: #efddb1; }

.hero-showcase {
  position: relative;
  min-height: 450px;
  perspective: 900px;
}
.showcase-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(216, 180, 90, .36);
  background: #0b251b;
  box-shadow: 0 28px 60px rgba(0, 0, 0, .42);
}
.showcase-card img { width: 100%; height: 100%; object-fit: cover; opacity: .90; }
.showcase-card span {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-size: 7px;
  letter-spacing: .18em;
  color: #f1dfb3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .8);
}
.showcase-main {
  width: 78%;
  right: 4%;
  top: 18px;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  transform: rotate(2.5deg);
  z-index: 2;
}
.showcase-side {
  width: 47%;
  left: 0;
  bottom: 8px;
  aspect-ratio: 1 / .72;
  border-radius: 12px;
  transform: rotate(-6deg);
  z-index: 1;
}
.showcase-stamp {
  position: absolute;
  right: 0;
  bottom: 32px;
  z-index: 3;
  width: 92px;
  height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 50%;
  border: 1px solid rgba(216, 180, 90, .55);
  background: rgba(8, 27, 20, .88);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
  text-align: center;
}
.showcase-stamp strong { font-family: var(--serif); font-size: 11px; line-height: 1.15; letter-spacing: .12em; color: var(--gold-2); }
.showcase-stamp small { font-size: 7px; color: #91aa9b; }

/* Sections */
.section { padding: 56px 0; border-top: 1px solid rgba(216, 180, 90, .13); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-head h2, .online-copy h2, .about-grid h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #f4e9d0;
  font-weight: 500;
}
.section-count { color: #718a7a; font-size: 11px; }

/* Game cards */
.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.game-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(216, 180, 90, .18);
  background: linear-gradient(165deg, rgba(20, 52, 40, .96), rgba(9, 27, 20, .98));
  box-shadow: 0 18px 36px rgba(0, 0, 0, .20), inset 0 1px 0 rgba(255, 255, 255, .03);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.game-card:hover { transform: translateY(-4px); border-color: rgba(216, 180, 90, .42); box-shadow: 0 24px 48px rgba(0, 0, 0, .30); }
.game-cover { position: relative; aspect-ratio: 1.55 / 1; overflow: hidden; background: #0a2118; }
.game-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(4, 14, 10, .78)); }
.game-cover img { width: 100%; height: 100%; object-fit: cover; opacity: .84; transition: transform .35s ease; }
.game-card:hover .game-cover img { transform: scale(1.035); }
.status-badge, .prototype-badge {
  position: absolute;
  z-index: 2;
  top: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 8px;
  letter-spacing: .08em;
  backdrop-filter: blur(4px);
}
.status-badge { left: 11px; }
.status-badge.live { color: #b7ebc8; background: rgba(37, 108, 72, .86); border: 1px solid rgba(145, 226, 172, .28); }
.status-badge.soon { color: #e7d7af; background: rgba(94, 79, 48, .84); border: 1px solid rgba(216, 180, 90, .26); }
.prototype-badge { right: 11px; color: #e2d0a5; background: rgba(8, 26, 20, .62); border: 1px solid rgba(216, 180, 90, .20); }
.game-body { display: flex; flex-direction: column; flex: 1; padding: 16px 17px 18px; }
.game-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.game-title-row h3 { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.2; color: #f3e7cd; font-weight: 600; }
.arrow { color: #c9aa63; font-family: var(--serif); font-size: 18px; line-height: 1; }
.game-body p { margin: 9px 0 14px; color: #99b0a1; font-size: 11px; line-height: 1.65; }
.tag-list { display: flex; flex-wrap: wrap; gap: 5px; margin: auto 0 0; padding: 0; list-style: none; }
.tag-list li { padding: 4px 7px; border-radius: 5px; color: #a9beaf; font-size: 8px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .05); }
.game-card.coming { opacity: .58; cursor: default; }
.game-card.coming:hover { transform: none; border-color: rgba(216, 180, 90, .18); box-shadow: 0 18px 36px rgba(0, 0, 0, .20); }
.placeholder-cover { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #183b2c, #091a13 70%); }
.placeholder-glyph { font-family: var(--serif); font-size: 80px; color: rgba(216, 180, 90, .18); }

/* Online */
.online-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  padding: 34px;
  border: 1px solid rgba(216, 180, 90, .22);
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(46, 131, 99, .22), transparent 46%),
    linear-gradient(145deg, rgba(17, 45, 34, .96), rgba(7, 22, 16, .98));
}
.online-copy p:not(.eyebrow) { max-width: 420px; margin: 14px 0 22px; color: #9db3a4; font-size: 12px; line-height: 1.75; }
.online-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.online-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .055); border-radius: 10px; background: rgba(255, 255, 255, .025); }
.online-steps span { grid-row: 1 / 3; font-family: var(--serif); font-size: 18px; color: #c8a85e; }
.online-steps strong { font-size: 12px; color: #eadcba; }
.online-steps small { margin-top: 2px; font-size: 9px; color: #779282; }

/* About */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.about-copy p { margin: 0 0 12px; color: #93aa9b; font-size: 12px; line-height: 1.8; }
.about-copy p:last-child { margin-bottom: 0; color: #83998b; font-size: 11px; }

/* Footer */
.site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 28px 0 6px; border-top: 1px solid rgba(216, 180, 90, .13); color: #708778; font-size: 10px; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: #ddc996; font-family: var(--serif); }
.site-footer p { margin: 0; }
.footer-note { flex-basis: 100%; color: #5f7467; font-size: 9px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 28px; padding-top: 34px; }
  .hero-showcase { min-height: 360px; max-width: 600px; width: 100%; margin: 0 auto; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .online-panel, .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-shell { padding: 0 12px 20px; }
  .site-header { height: 64px; }
  .brand-mark { width: 38px; height: 38px; flex-basis: 38px; border-radius: 9px; }
  .brand-mark b { font-size: 14px; }
  .brand-copy strong { font-size: 18px; }
  .brand-copy small { display: none; }
  .site-nav { gap: 2px; }
  .site-nav a { padding: 8px 9px; font-size: 10px; }
  .hero { padding: 26px 0; }
  .hero h1 { font-size: clamp(46px, 14vw, 64px); }
  .hero-lead { margin-top: 16px; font-size: 12px; }
  .hero-actions { margin-top: 20px; }
  .hero-stats { margin-top: 26px; padding-top: 14px; }
  .hero-stats div { padding-right: 16px; margin-right: 16px; }
  .hero-stats dd { font-size: 15px; }
  .hero-showcase { min-height: 280px; }
  .showcase-main { width: 82%; }
  .showcase-stamp { width: 74px; height: 74px; bottom: 16px; }
  .showcase-stamp strong { font-size: 9px; }
  .section { padding: 36px 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 6px; margin-bottom: 16px; }
  .game-grid { grid-template-columns: 1fr; }
  .game-cover { aspect-ratio: 1.7 / 1; }
  .online-panel { padding: 22px 18px; gap: 22px; }
  .about-grid { gap: 16px; }
  .site-footer { padding-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
