/* Cafe Business Manager – caosinteractive.com
   Fonts: Poppins & Inter (SIL Open Font License 1.1), self-hosted. */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/poppins-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/poppins-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/poppins-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/poppins-latin-ext-800-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --espresso: #1b1411;
  --espresso-2: #251b16;
  --roast: #3a2a22;
  --cream: #fbf7f1;
  --foam: #f4ece1;
  --line: #e6d9c8;
  --ink: #241a15;
  --muted: #6a5a4f;
  --on-dark: #f6efe6;
  --on-dark-muted: #c9b9aa;
  --blue: #2a6fc0;
  --blue-700: #1f5aa0;
  --blue-50: #e7f0fa;
  --caramel: #e3a33b;
  --caramel-700: #9c6510;
  --caramel-50: #fbefd9;
  --green: #3f7f35;
  --green-50: #e6f2e2;
  --discord: #5865f2;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(43, 26, 15, .45);
  --shadow-sm: 0 6px 18px -10px rgba(43, 26, 15, .35);
  --header-h: 72px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --font-display: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
:lang(ja) {
  --font-display: "Poppins", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif;
  --font-body: "Inter", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif;
}
:lang(zh) {
  --font-display: "Poppins", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --font-body: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
:lang(ja) body, :lang(zh) body { line-height: 1.85; }
:lang(de) p, :lang(fr) p { hyphens: auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.18; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; overflow-wrap: break-word; }
:lang(ja) :is(h1, h2, h3), :lang(zh) :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.35; }
:lang(ja) :is(h1, h2, h3, .hero-tagline, .lead) { word-break: auto-phrase; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--caramel); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--caramel); color: var(--espresso); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .78em 1.25em; border-radius: 14px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-lg { padding: .95em 1.5em; font-size: 1.05rem; border-radius: 16px; }
.btn-sm { padding: .55em .95em; font-size: .9rem; border-radius: 12px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(42, 111, 192, .9); }
.btn-primary:hover { background: var(--blue-700); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-discord { background: var(--discord); color: #fff; }
.btn-discord:hover { background: #4752c4; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
@media (max-width: 560px) { .btn { white-space: normal; text-align: center; max-width: 100%; } }
.btn-row.center { justify-content: center; }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-family: var(--font-display); font-size: .95rem; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link .icon { width: 1em; height: 1em; }

/* ---------- pills ---------- */
.pill { display: inline-flex; align-items: center; gap: .4em; padding: .25em .75em; border-radius: 999px; font-family: var(--font-display); font-size: .78rem; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.pill-lg { font-size: .9rem; padding: .4em 1em; }
.pill-update { background: var(--blue-50); color: var(--blue-700); }
.pill-hotfix { background: var(--caramel-50); color: var(--caramel-700); }
.pill-launch { background: var(--green-50); color: var(--green); }
.pill-current { background: var(--caramel); color: var(--espresso); }
.pill-planned { background: var(--blue-50); color: var(--blue-700); }
.pill-release { background: var(--espresso); color: var(--on-dark); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(27, 20, 17, .92); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background-color .3s, border-color .3s;
}
.has-hero .site-header:not(.is-scrolled):not(.nav-open) { background: linear-gradient(rgba(20, 13, 10, .55), rgba(20, 13, 10, 0)); border-color: transparent; backdrop-filter: none; }
body:not(.has-hero) main { padding-top: var(--header-h); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: block; width: 148px; flex: none; }
.game-logo { display: block; width: 100%; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; }
.main-nav a { display: block; padding: 8px 14px; border-radius: 10px; color: var(--on-dark); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: rgba(255, 255, 255, .1); color: #fff; }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--caramel); }
.main-nav .nav-buy { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; color: var(--on-dark); cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: .85rem; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { background: rgba(255, 255, 255, .1); }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; list-style: none; background: #fff; border-radius: 14px; padding: 6px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.lang-menu li a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; font-weight: 500; }
.lang-menu li a:hover { background: var(--foam); }
.lang-menu li a[aria-current="true"] { background: var(--blue-50); color: var(--blue-700); font-weight: 600; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .brand { width: 128px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: var(--espresso); border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 16px var(--gutter) 24px; box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .6);
    display: none;
  }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 14px 12px; font-size: 1.05rem; }
  .main-nav .nav-buy { display: flex; margin-top: 14px; width: 100%; padding: .9em 1.2em; color: #fff; background: var(--blue); }
  .header-actions { margin-left: auto; }
}
@media (max-width: 560px) { .header-buy { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 900px); display: flex; align-items: flex-end; color: #fff; background: var(--espresso); isolation: isolate; }
.hero-bg, .page-hero-bg, .cta-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg img, .page-hero-bg img, .cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg img { object-position: 70% 100%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(20, 13, 10, .92) 0%, rgba(20, 13, 10, .72) 38%, rgba(20, 13, 10, .15) 75%),
  linear-gradient(0deg, rgba(20, 13, 10, .95) 0%, rgba(20, 13, 10, 0) 35%),
  linear-gradient(180deg, rgba(20, 13, 10, .85) 0%, rgba(20, 13, 10, .35) 14%, rgba(20, 13, 10, 0) 26%); }
.hero-inner { padding-top: calc(var(--header-h) + 48px); padding-bottom: 120px; }
.hero-inner > * { max-width: 620px; }
.eyebrow { font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--caramel-700); margin: 0 0 14px; }
:lang(ja) .eyebrow, :lang(zh) .eyebrow { letter-spacing: .06em; }
.eyebrow-chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; letter-spacing: .08em; backdrop-filter: blur(6px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #6ad36a; box-shadow: 0 0 0 0 rgba(106, 211, 106, .7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(106, 211, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(106, 211, 106, 0); } }
.hero-title { margin: 22px 0 22px; width: min(520px, 100%); }
.hero-tagline { max-width: 700px !important; text-wrap: pretty; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.45rem, 2.3vw, 1.9rem); line-height: 1.25; margin-bottom: 14px; }
.hero-lead { font-size: clamp(1rem, 1.3vw, 1.15rem); color: rgba(255, 255, 255, .86); margin-bottom: 28px; }
.rating { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; color: #fff; text-decoration: none; font-size: .95rem; padding: 10px 16px 10px 12px; border-radius: 14px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .14); }
.rating:hover { color: #fff; background: rgba(0, 0, 0, .4); }
.rating-stars { display: inline-flex; color: var(--caramel); }
.rating-stars .icon { width: 1.05em; height: 1.05em; }
.rating strong { color: #8fc8ff; font-family: var(--font-display); }
.rating-detail { color: rgba(255, 255, 255, .8); }
@media (max-width: 760px) {
  .hero { min-height: auto; }
  .hero-bg img { object-position: 62% center; }
  .hero-bg::after { background: linear-gradient(0deg, rgba(20, 13, 10, .97) 0%, rgba(20, 13, 10, .82) 55%, rgba(20, 13, 10, .45) 100%); }
  .hero-inner { padding-top: calc(var(--header-h) + 40px); padding-bottom: 96px; }
  .rating { align-items: flex-start; }
  .btn-row .btn-lg { flex: 1 1 auto; }
}

/* ---------- stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -64px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 8px; }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 10px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 3.5vw, 2.6rem); line-height: 1; color: var(--blue); }
.stat-label { margin-top: 8px; color: var(--muted); font-size: .92rem; font-weight: 500; line-height: 1.35; }
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-head { max-width: 740px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head.split > div { max-width: 700px; }
.section-head h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
.lead { font-size: clamp(1.02rem, 1.25vw, 1.15rem); color: var(--muted); margin: 0; text-wrap: pretty; }

/* journey */
.journey { padding-top: clamp(96px, 11vw, 140px); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 26px; box-shadow: var(--shadow-sm); }
.step-icon { display: inline-flex; width: 52px; height: 52px; border-radius: 16px; align-items: center; justify-content: center; background: var(--caramel-50); color: var(--caramel-700); margin-bottom: 18px; }
.step-icon .icon { width: 26px; height: 26px; }
.step-num { position: absolute; top: 22px; right: 26px; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--foam); }
.step h3 { font-size: 1.3rem; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* features */
.features { background: var(--foam); }
.feature-list { display: grid; gap: clamp(56px, 8vw, 96px); }
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature:nth-child(even) { grid-template-columns: 1fr 1.15fr; }
.feature:nth-child(even) .feature-media { order: 2; }
.feature-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; background: var(--roast); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.feature:hover .feature-media img { transform: scale(1.03); }
.feature-num { display: inline-block; font-family: var(--font-display); font-weight: 700; color: var(--caramel-700); font-size: .9rem; letter-spacing: .1em; margin-bottom: 10px; }
.feature h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.feature p { color: var(--muted); font-size: 1.05rem; }
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--blue-50); color: var(--blue); margin-top: .12em; }
@media (max-width: 860px) {
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-media { order: 0; }
}

/* trailer */
.trailer { background: radial-gradient(1200px 500px at 50% 0%, rgba(227, 163, 59, .16), transparent 70%), var(--espresso); color: var(--on-dark); }
.trailer .lead { color: var(--on-dark-muted); }
.trailer .eyebrow { color: var(--caramel); }
.video { position: relative; max-width: 1040px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); border: 1px solid rgba(255, 255, 255, .08); }
.video-poster { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); transition: filter .3s, transform .6s; }
.video:hover .video-poster { filter: brightness(.6); transform: scale(1.02); }
.video-play { position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 12px rgba(42, 111, 192, .25), 0 20px 40px -10px rgba(0, 0, 0, .6); transition: transform .2s, box-shadow .2s; }
.video-play:hover { transform: scale(1.06); box-shadow: 0 0 0 18px rgba(42, 111, 192, .28), 0 20px 40px -10px rgba(0, 0, 0, .6); }
.video-play .icon { width: 38px; height: 38px; margin-left: 5px; }
.video-note { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 14px 18px; font-size: .8rem; color: rgba(255, 255, 255, .75); text-align: center; background: linear-gradient(0deg, rgba(0, 0, 0, .7), transparent); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 560px) { .video-play { width: 72px; height: 72px; } .video-play .icon { width: 30px; height: 30px; } .video-note { font-size: .72rem; padding: 10px; } }

/* gallery */
.gallery-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.g-item:first-child { grid-column: span 2; grid-row: span 2; }
.g-item a { position: relative; display: block; height: 100%; border-radius: 16px; overflow: hidden; background: var(--roast); }
.g-item img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s ease, filter .3s; }
.g-item a:hover img { transform: scale(1.05); filter: brightness(1.05); }
.g-item a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .g-item:first-child { grid-column: span 2; grid-row: auto; }
  .g-item:last-child:nth-child(even) { grid-column: span 2; }
}

/* update cards */
.updates-preview { background: var(--foam); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-3 > div { display: flex; }
@media (max-width: 960px) { .cards-3 { grid-template-columns: 1fr; } }
.update-card { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.update-card h3 { font-size: 1.2rem; margin: 0; }
.update-card .checklist { font-size: .95rem; gap: 8px; }
.update-card .checklist .icon { width: 20px; height: 20px; }
.update-card .text-link { margin-top: auto; }
.update-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.version { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--blue); }
.update-head time { margin-left: auto; color: var(--muted); font-size: .88rem; }
.type-hotfix h3 { font-size: 1.05rem; }

/* roadmap preview track */
.track { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; padding-top: 6px; }
.track::before { content: ""; position: absolute; left: 10px; right: 10px; top: 16px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--caramel) 0 12%, var(--line) 12% 100%); }
.track-stop { position: relative; display: flex; flex-direction: column; gap: 6px; padding-top: 34px; }
.track-dot { position: absolute; top: 0; left: 0; width: 23px; height: 23px; border-radius: 50%; background: var(--cream); border: 3px solid var(--line); }
.status-current .track-dot { background: var(--caramel); border-color: var(--caramel); box-shadow: 0 0 0 6px var(--caramel-50); }
.status-release .track-dot { background: var(--espresso); border-color: var(--espresso); }
.track-label { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.track-sub { color: var(--caramel-700); font-weight: 600; font-size: .9rem; }
.track-items { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.track .pill { align-self: flex-start; }
@media (max-width: 960px) {
  .track { grid-template-columns: 1fr; gap: 26px; padding: 0 0 0 40px; }
  .track::before { left: 10px; right: auto; top: 6px; bottom: 6px; width: 3px; height: auto; background: linear-gradient(180deg, var(--caramel) 0 14%, var(--line) 14% 100%); }
  .track-stop { padding-top: 0; }
  .track-dot { left: -40px; top: 2px; }
}

/* community */
.community-card { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: radial-gradient(600px 300px at 0% 0%, rgba(88, 101, 242, .35), transparent 70%), var(--espresso); color: var(--on-dark); border-radius: 28px; padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); }
.community-card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.community-card p { color: var(--on-dark-muted); margin: 0; }
.community-icon { width: 76px; height: 76px; border-radius: 22px; background: var(--discord); display: flex; align-items: center; justify-content: center; color: #fff; }
.community-icon .icon { width: 40px; height: 40px; }
.community-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.community-follow { font-size: .85rem; margin-top: 6px !important; }
@media (max-width: 900px) { .community-card { grid-template-columns: 1fr; } }

/* socials */
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.social { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: var(--on-dark); transition: background-color .2s, transform .2s; }
.social:hover { background: rgba(255, 255, 255, .18); color: #fff; transform: translateY(-2px); }
.social .icon { width: 20px; height: 20px; }

/* CTA band */
.cta-band { position: relative; isolation: isolate; color: #fff; text-align: center; padding: clamp(80px, 11vw, 140px) 0; background: var(--espresso); }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 13, 10, .9), rgba(20, 13, 10, .7)); }
.cta-inner h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.cta-inner p { color: rgba(255, 255, 255, .85); font-size: 1.15rem; margin-bottom: 30px; }

/* sub-page hero */
.page-hero { position: relative; isolation: isolate; color: #fff; background: var(--espresso); padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) 0 clamp(56px, 8vw, 88px); }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 13, 10, .95), rgba(20, 13, 10, .75)); }
.page-hero .eyebrow { color: var(--caramel); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 820px; }
.page-hero .lead { color: rgba(255, 255, 255, .85); max-width: 720px; margin-bottom: 24px; }

/* roadmap page */
.roadmap { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
.stage { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--blue); border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.stage.status-current { border-top-color: var(--caramel); box-shadow: 0 0 0 3px var(--caramel-50), var(--shadow-sm); }
.stage.status-release { border-top-color: var(--espresso); }
.stage-head h2 { font-size: 1.3rem; margin: 12px 0 2px; }
.stage-sub { color: var(--caramel-700); font-weight: 600; font-size: .92rem; margin: 0; }
.stage-items { list-style: none; display: grid; gap: 9px; font-size: .95rem; }
.stage-items li { position: relative; padding-left: 18px; line-height: 1.45; }
.stage-items li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.stage-items li.hl { font-weight: 600; }
.stage-items li.hl::before { background: var(--caramel); }
.stage-feature { background: linear-gradient(160deg, #f0bf5d, #c98a22); border-color: #c98a22; color: var(--espresso); }
.stage-feature .stage-sub { color: rgba(27, 20, 17, .75); }
.stage-feature .pill { background: rgba(255, 255, 255, .6); color: var(--espresso); }
.stage-big { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 18px 0; }
.stage-big .icon { width: 64px; height: 64px; }
.stage-big strong { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.2; }
@media (max-width: 1100px) { .roadmap { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .roadmap { grid-template-columns: 1fr; } }
.shipped { background: var(--foam); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 10px; font-weight: 500; }
.chips .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--green-50); color: var(--green); }

/* updates timeline */
.timeline { list-style: none; position: relative; display: grid; gap: 22px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--line); }
.timeline-item { position: relative; }
.timeline-item::before { content: ""; position: absolute; left: -34px; top: 30px; width: 21px; height: 21px; border-radius: 50%; background: var(--cream); border: 4px solid var(--blue); }
.timeline-item:has(.type-hotfix)::before { border-color: var(--caramel); }
.timeline-item:has(.type-launch)::before { border-color: var(--green); background: var(--green); }

/* press */
.press-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.factsheet { position: sticky; top: calc(var(--header-h) + 20px); background: var(--espresso); color: var(--on-dark); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.factsheet h2 { font-size: 1.3rem; }
.factsheet dl { margin: 0; display: grid; gap: 14px; }
.fact dt { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--caramel); font-weight: 600; font-family: var(--font-display); }
.fact dd { margin: 2px 0 0; }
.factsheet a { color: #9cc9ff; }
.press-body { display: grid; gap: 44px; min-width: 0; }
.press-grid > * { min-width: 0; }
.fact dd, .prose p { overflow-wrap: anywhere; }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.prose p { color: #3d3029; }
.legal .prose h2, .legal h2 { margin-top: 1.6em; font-size: 1.3rem; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.logo-tiles { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin: 20px 0 22px; }
.logo-tile { margin: 0; border-radius: var(--radius-sm); padding: 28px 24px 16px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid var(--line); }
.logo-tile.dark { background: var(--espresso); color: var(--on-dark-muted); }
.logo-tile.light { background: #fff; color: var(--muted); }
.logo-tile .game-logo { max-width: 280px; margin-top: 18px; }
.logo-tile a { color: inherit; font-weight: 600; }
.studio-tile { width: 96px; }
.logo-tile figcaption { font-size: .85rem; font-weight: 500; }
.coverage { list-style: none; display: grid; gap: 10px; }
.coverage a { display: grid; grid-template-columns: auto 1fr auto auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.coverage a:hover { border-color: var(--blue); }
.coverage span, .coverage time { color: var(--muted); font-size: .92rem; }
.coverage .icon { color: var(--blue); width: 18px; height: 18px; }
.callout { background: var(--caramel-50); border-left: 5px solid var(--caramel); border-radius: var(--radius-sm); padding: 26px 28px; }
.callout p { margin: 0; }
@media (max-width: 960px) {
  .press-grid { grid-template-columns: 1fr; }
  .factsheet { position: static; }
}
@media (max-width: 560px) {
  .logo-tiles { grid-template-columns: 1fr; }
  .coverage a { grid-template-columns: 1fr auto; }
  .coverage span { grid-column: 1; }
  .coverage time { grid-column: 1; }
  .coverage .icon { grid-row: 1; grid-column: 2; }
}

/* 404 */
.notfound { padding-top: calc(var(--header-h) + 80px); }
.notfound h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.notfound .btn-row { margin-top: 28px; }
.notfound-langs { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 36px; }

/* footer */
.site-footer { background: var(--espresso); color: var(--on-dark-muted); padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand p { max-width: 360px; margin: 14px 0 18px; }
.studio-logo { width: 72px; }
.footer-title { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--caramel); margin-bottom: 14px; }
.footer-links { list-style: none; display: grid; gap: 8px; }
.footer-links a { color: var(--on-dark); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-links a[aria-current="true"] { color: var(--caramel); }
.footer-legal { margin-top: 48px; display: grid; gap: 6px; font-size: .8rem; color: #9d8c7e; }
.footer-legal > :first-child { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-legal p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 7, 5, .95); color: #fff; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(10, 7, 5, .8); }
.lb-figure { margin: 0; max-width: min(92vw, 1600px); }
.lb-figure img { max-height: 80vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: 12px; }
.lb-figure figcaption { text-align: center; margin-top: 14px; color: rgba(255, 255, 255, .8); font-size: .95rem; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-btn .icon { width: 24px; height: 24px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 28px; left: 0; right: 0; text-align: center; margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .7); pointer-events: none; }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; } }

/* language suggestion */
.lang-suggest { position: fixed; z-index: 60; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(560px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 12px 12px 12px 18px; box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .45); }
.lang-suggest[hidden] { display: none; }
.lang-suggest p { margin: 0; flex: 1 1 220px; font-size: .95rem; }
.lang-suggest .btn { padding: .55em 1em; font-size: .9rem; }
.lang-suggest .ls-close { background: none; border: 0; color: var(--muted); cursor: pointer; width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.lang-suggest .ls-close:hover { background: var(--foam); }

/* reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .dot { animation: none; }
  .btn, .feature-media img, .g-item img, .video-poster, .social { transition: none; }
}
