:root {
  color-scheme: dark;
  --void: #000000;
  --surface: #0f0f13;
  --line: #292929;
  --edge: #1d1d1d;
  --text: #e6e6e6;
  --muted: #9e9e9e;
  --white: #ffffff;
  --violet: #b296f8;
  --glow: 0 25px 50px -12px color-mix(in srgb, var(--violet) 20%, transparent);
  --radius: 10px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: var(--void); color: var(--text); }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
h1, h2, p { margin-top: 0; }

.site-header { height: 72px; border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, .94); }
.header-inner, .page-shell, .footer-inner { width: min(100%, 1280px); margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--white); font-size: 19px; font-weight: 900; letter-spacing: -.04em; white-space: nowrap; }
.brand-mark { display: block; width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 0 9px color-mix(in srgb, var(--violet) 38%, transparent)); }
.header-search { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); }
.header-search:hover { border-color: var(--violet); color: var(--violet); }
.header-search svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.page-shell { min-height: calc(100vh - 146px); padding-top: 26px; padding-bottom: 96px; }
.page-heading { position: relative; display: flex; align-items: flex-end; min-height: 260px; margin-bottom: 32px; overflow: hidden; border: 1px solid var(--edge); border-radius: var(--radius); background-color: var(--surface); box-shadow: var(--glow); }
.hero-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.page-heading::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(5, 4, 8, .90) 0%, rgba(5, 4, 8, .48) 43%, rgba(5, 4, 8, .06) 78%); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; padding: 34px 42px; }
.hero-eyebrow, .detail-eyebrow { margin: 0 0 13px; color: var(--violet); font-size: 11px; font-weight: 850; letter-spacing: .19em; }
.page-heading h1, .game-heading h1 { margin: 0; color: var(--white); font-size: clamp(52px, 6vw, 76px); line-height: .98; font-weight: 900; letter-spacing: -.045em; }
.page-heading h1 { font-size: clamp(46px, 5.5vw, 70px); line-height: 1.03; letter-spacing: -.055em; white-space: nowrap; }
.hero-description { max-width: 500px; margin: 16px 0 0; color: #e0dce7; font-size: 15px; line-height: 1.5; }

.catalog-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: -8px 0 32px; overflow: hidden; border: 1px solid #2e253b; border-radius: var(--radius); background: linear-gradient(110deg, #17111f, #0f0e13 58%, #14101b); box-shadow: 0 18px 42px #0007, inset 0 1px #ffffff09; }
.catalog-stat { min-width: 0; padding: 22px 27px 21px; }
.catalog-stat + .catalog-stat { border-left: 1px solid #ffffff12; }
.catalog-stat strong { display: block; color: var(--white); font-size: clamp(23px, 2.5vw, 32px); font-weight: 850; line-height: 1.1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.catalog-stat:first-child strong { color: var(--violet); }
.catalog-stat span { display: block; margin-top: 10px; color: #aaa2b2; font-size: 12px; font-weight: 650; letter-spacing: .015em; }


.controls { display: grid; grid-template-columns: minmax(260px, 1fr) auto; gap: 12px; align-items: center; padding: 13px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.search-box { position: relative; display: block; }
.search-box svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.search-box input { width: 100%; height: 46px; padding: 0 16px 0 47px; border: 1px solid var(--line); border-radius: var(--radius); outline: none; background: var(--void); color: var(--white); font-size: 14px; }
.search-box input::placeholder { color: var(--muted); }
.search-box input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 13%, transparent); }
.sort-box { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 500; white-space: nowrap; }
.sort-control { position: relative; min-width: 180px; }
.sort-trigger { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; height: 46px; padding: 0 13px 0 15px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--void); color: var(--text); font-size: 13px; font-weight: 600; text-align: left; }
.sort-trigger:hover, .sort-trigger[aria-expanded="true"] { border-color: #765ca7; background: #17121f; }
.sort-trigger svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--violet); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.sort-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.sort-menu { position: absolute; z-index: 20; top: calc(100% + 7px); right: 0; min-width: 100%; padding: 6px; border: 1px solid #473754; border-radius: var(--radius); background: #16121d; box-shadow: 0 18px 42px rgba(0, 0, 0, .55), 0 0 24px color-mix(in srgb, var(--violet) 9%, transparent); }
.sort-menu button { display: block; width: 100%; min-height: 37px; padding: 8px 11px; border: 0; border-radius: 6px; background: transparent; color: var(--text); font-size: 13px; text-align: left; white-space: nowrap; }
.sort-menu button:hover, .sort-menu button:focus-visible { outline: none; background: #2b2138; color: var(--white); }
.sort-menu button[aria-checked="true"] { background: #352547; color: #e4d5ff; font-weight: 700; }
.results-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin: 36px 0 20px; }
.results-heading h2 { margin: 0; color: var(--white); font-size: 22px; font-weight: 850; letter-spacing: -.035em; }
#result-count { color: var(--muted); font-size: 13px; font-weight: 650; }

.game-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 16px; }
.game-card { display: block; min-width: 0; padding: 10px 10px 15px; border: 1px solid var(--edge); border-radius: var(--radius); background: var(--surface); box-shadow: 0 25px 50px -12px color-mix(in srgb, var(--violet) 10%, transparent); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.game-card:hover, .game-card:focus-visible { transform: translateY(-4px); border-color: #594b7c; box-shadow: var(--glow); }
.cover-frame { position: relative; aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--radius); background: #1a1422; }
.cover-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.game-card h2 { display: -webkit-box; min-height: 44px; margin: 12px 2px 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--white); font-size: 15px; font-weight: 700; line-height: 1.45; letter-spacing: -.015em; }
.card-action { display: block; margin: 10px 2px 0; padding-top: 11px; border-top: 1px solid #302b39; color: var(--violet); font-size: 12px; font-weight: 750; }
.game-card:hover .card-action, .game-card:focus-visible .card-action { color: var(--white); }
.empty-state { padding: 70px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: center; }
.empty-state h2 { margin-bottom: 8px; color: var(--white); font-size: 22px; font-weight: 900; }
.empty-state p { margin-bottom: 22px; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 12px 20px; border: 1px solid transparent; border-radius: var(--radius); font-size: 14px; font-weight: 700; }
.button-secondary { border-color: var(--line); background: transparent; color: var(--text); }
.button-secondary:hover { border-color: var(--violet); color: var(--violet); }
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; }
.page-button { display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); font-weight: 600; text-decoration: none; }
.page-button:hover, .page-button.is-active { border-color: var(--violet); color: var(--white); box-shadow: 0 0 18px color-mix(in srgb, var(--violet) 15%, transparent); }
.page-button:disabled, .page-button.is-disabled { opacity: .35; cursor: default; }

.breadcrumbs { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { color: var(--violet); font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; }
.game-header { position: relative; isolation: isolate; display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 40px; align-items: center; min-height: 360px; padding: 28px; overflow: hidden; border: 1px solid var(--edge); border-radius: var(--radius); background: var(--surface); box-shadow: var(--glow); }
.game-header::before { content: ""; position: absolute; z-index: 0; inset: -32px; background-image: var(--cover-art); background-size: cover; background-position: center; filter: blur(30px) saturate(.75); opacity: .30; }
.game-header::after { content: ""; position: absolute; z-index: 0; inset: 0; background: linear-gradient(90deg, rgba(15, 15, 19, .18), rgba(15, 15, 19, .86)); }
.game-header > * { position: relative; z-index: 1; }
.detail-cover { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: 0 20px 40px rgba(0, 0, 0, .45); }
.game-heading h1 { max-width: 820px; font-size: clamp(40px, 5vw, 66px); line-height: 1.02; }
.detail-eyebrow { margin-bottom: 14px; }
.game-heading .download-button { margin-top: 28px; }
.download-button { gap: 16px; min-width: 155px; min-height: 50px; background: var(--violet); color: #140b22; box-shadow: 0 14px 30px color-mix(in srgb, var(--violet) 16%, transparent); white-space: nowrap; }
.download-button:hover { background: color-mix(in srgb, var(--violet) 76%, white); box-shadow: 0 18px 38px color-mix(in srgb, var(--violet) 29%, transparent); }
.download-icon { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(26, 13, 41, .18); border-radius: 8px; background: rgba(26, 13, 41, .10); }
.download-icon::before { content: ""; display: block; width: 21px; height: 21px; background: currentColor; -webkit-mask: url("/assets/icons/download.svg") center / contain no-repeat; mask: url("/assets/icons/download.svg") center / contain no-repeat; }
.download-button:hover .download-icon { background: rgba(26, 13, 41, .16); }

.site-footer { border-top: 1px solid #2a2a36; }
.footer-inner { min-height: 74px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); font-size: 12px; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-size: 14px; font-weight: 900; letter-spacing: -.03em; }
.footer-brand img { width: 28px; height: 28px; object-fit: contain; }

@media (max-width: 1100px) {
  .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .controls { grid-template-columns: minmax(250px, 1fr) auto; }
  .sort-box { grid-column: 2; justify-self: end; }
}
@media (max-width: 820px) {
  .header-inner, .page-shell, .footer-inner { padding-left: 25px; padding-right: 25px; }
  .controls { grid-template-columns: 1fr; }
  .sort-box { grid-column: auto; justify-self: start; }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-stat { padding: 19px 17px; }
}
@media (max-width: 600px) {
  .site-header { height: 66px; }
  .header-inner, .page-shell, .footer-inner { padding-left: 16px; padding-right: 16px; }
  .page-shell { padding-top: 16px; padding-bottom: 65px; }
  .page-heading { min-height: 208px; margin-bottom: 22px; }
  .hero-copy { padding: 24px; }
  .page-heading h1 { font-size: clamp(33px, 7vw, 49px); }
  .hero-eyebrow { margin-bottom: 10px; font-size: 10px; }
  .hero-description { margin-top: 11px; font-size: 12px; max-width: 260px; }
  .page-heading::after { background: linear-gradient(90deg, rgba(5, 4, 8, .78), rgba(5, 4, 8, .24)); }
  .hero-backdrop { object-position: 65% center; }
  .catalog-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 22px; }
  .catalog-stat { padding: 18px 19px; }
  .catalog-stat:nth-child(3) { border-left: 0; }
  .catalog-stat:nth-child(n+3) { border-top: 1px solid #ffffff12; }
  .catalog-stat strong { font-size: 27px; }
  .controls { gap: 10px; padding: 10px; }
  .results-heading { margin-top: 28px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .game-card { padding: 7px 7px 10px; }
  .game-card h2 { margin-top: 9px; font-size: 13px; }
  .card-action { margin-top: 7px; padding-top: 8px; font-size: 11px; }
  .game-header { grid-template-columns: 110px minmax(0, 1fr); gap: 18px; min-height: 0; padding: 16px; }
  .game-heading h1 { font-size: clamp(26px, 7vw, 36px); }
  .game-heading .download-button { margin-top: 18px; }
  .footer-inner { display: block; padding-top: 22px; padding-bottom: 22px; }
  .footer-inner .footer-brand { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .game-card { transition: none; }
  .sort-trigger svg { transition: none; }
}

.game-content { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 22px; }
.content-section { border: 1px solid var(--edge); border-radius: var(--radius); background: var(--surface); padding: clamp(20px, 3vw, 30px); }
.content-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; margin-bottom: 13px; }
.content-heading h2 { margin: 0; color: var(--white); font-size: clamp(20px, 2.3vw, 27px); letter-spacing: -.035em; }
.content-heading a { flex: none; color: var(--violet); font-size: 12px; font-weight: 700; }
.content-heading a:hover { text-decoration: underline; }
.content-section p { max-width: 860px; margin: 0; color: #c4c1cd; font-size: 14px; line-height: 1.75; white-space: pre-line; }
.content-section .release-meta { margin-bottom: 14px; color: var(--violet); font-size: 12px; font-weight: 700; letter-spacing: .01em; }
.release-feature-block { margin-top: 27px; padding-top: 23px; border-top: 1px solid #342e3d; }
.release-feature-block h3 { margin: 0 0 15px; color: var(--white); font-size: 16px; letter-spacing: -.02em; }
.release-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 25px; margin: 0; padding: 0; list-style: none; }
.release-features li { position: relative; padding-left: 18px; color: #d7d2df; font-size: 13px; line-height: 1.5; }
.release-features li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.release-more { margin-top: 14px; }
.release-more summary { display: inline-block; color: var(--violet); font-size: 12px; font-weight: 750; cursor: pointer; }
.release-more summary:hover { color: var(--white); }
.release-more .release-features { margin-top: 15px; }
.game-info-section { min-width: 0; padding: 0; }
.game-info-section summary { cursor: pointer; padding: 20px 26px; color: var(--muted); font-size: 14px; font-weight: 700; list-style: none; }
.game-info-section summary::-webkit-details-marker { display: none; }
.game-info-section summary::after { content: "+"; float: right; color: var(--violet); font-size: 19px; line-height: .8; }
.game-info-section[open] summary::after { content: "−"; }
.game-info-section summary:hover { color: var(--white); }
.game-info-body { min-width: 0; padding: 0 26px 26px; }
.game-info-body p { color: #c9c1d3; line-height: 1.7; }
.game-info-body p + p { margin-top: 14px; }
.game-official-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; color: #b296f8; font-size: 13px; font-weight: 700; text-decoration: none; }
.game-official-link:hover { color: #d4bfff; text-decoration: underline; }
.game-info-body .content-heading { margin-bottom: 10px; }
.content-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; min-width: 0; max-width: 100%; margin-top: 22px; }
.content-gallery.single-image { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.content-gallery:empty { display: none; }
.content-image-link { display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid #393346; border-radius: 9px; background: #211c29; }
.content-image-link img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .22s ease; }
.content-image-link:hover img { transform: scale(1.04); }
.content-gallery.is-carousel { display: block; width: 100%; max-width: 100%; }
.gallery-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid #3c304c; border-radius: 14px; background: radial-gradient(circle at 50% 50%, #241a32, #0b0a0e 72%); }
.gallery-full, .gallery-main-image { display: block; width: 100%; height: 100%; }
.gallery-main-image { object-fit: contain; }
.gallery-nav { position: absolute; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; transform: translateY(-50%); border: 1px solid #76618f; border-radius: 50%; background: rgba(15, 11, 22, .85); color: #f4edff; cursor: pointer; backdrop-filter: blur(12px); transition: background .2s, border-color .2s, scale .2s; }
.gallery-nav:hover { scale: 1.08; border-color: #c6a8ff; background: #4d326e; }
.gallery-nav:focus-visible, .gallery-thumb:focus-visible { outline: 2px solid #d5baff; outline-offset: 3px; }
.gallery-nav-previous { left: 16px; }
.gallery-nav-next { right: 16px; }
.gallery-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gallery-nav-next svg { transform: rotate(180deg); }
.gallery-counter { position: absolute; right: 16px; bottom: 16px; padding: 8px 12px; border: 1px solid #665177; border-radius: 999px; background: rgba(15, 11, 22, .82); color: #f4edff; font-size: 12px; font-weight: 750; letter-spacing: .06em; backdrop-filter: blur(12px); }
.gallery-thumbs { display: flex; gap: 9px; max-width: 100%; overflow-x: auto; margin-top: 12px; padding: 3px 3px 12px; scrollbar-color: #6b4c8e #191320; scrollbar-width: thin; }
.gallery-thumb { flex: 0 0 112px; aspect-ratio: 16 / 9; overflow: hidden; padding: 0; border: 2px solid #362b41; border-radius: 8px; background: #17121e; opacity: .55; cursor: pointer; transition: border-color .2s, opacity .2s, transform .2s; }
.gallery-thumb:hover { opacity: .85; transform: translateY(-2px); }
.gallery-thumb.is-active { border-color: #b296f8; opacity: 1; }
.gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .content-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .content-heading { align-items: flex-start; } .release-features { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .gallery-stage { border-radius: 10px; } .gallery-nav { width: 36px; height: 36px; } .gallery-nav-previous { left: 9px; } .gallery-nav-next { right: 9px; } .gallery-thumb { flex-basis: 84px; } .gallery-counter { right: 9px; bottom: 9px; padding: 5px 9px; } }

/* Game page */
#game-view > .game-heading { margin: 12px 0 26px; }
#game-view > .game-heading h1 { font-size: clamp(38px, 5vw, 64px); }
.menu-stage { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: flex-end; min-height: 530px; padding: 36px 5%; overflow: hidden; border: 1px solid #30243e; border-radius: 14px; background: #100b17; box-shadow: 0 30px 80px -35px #4b2779; }
.menu-stage::before { content: ""; position: absolute; z-index: -2; inset: -30px; background: var(--cover-art) center 38% / cover no-repeat; filter: blur(45px) saturate(.9); opacity: .42; }
.stage-cover { position: absolute; z-index: -1; inset: 0 auto 0 0; width: 57%; height: 100%; object-fit: cover; object-position: center 35%; mask-image: linear-gradient(90deg, black 40%, transparent 100%); }
.stage-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(7, 5, 11, .18) 0%, rgba(7, 5, 11, .52) 43%, rgba(7, 5, 11, .88) 85%); }
.stage-caption { position: absolute; left: 4%; bottom: 35px; display: grid; gap: 7px; max-width: 34%; color: #e5d9fc; font-size: 11px; font-weight: 850; letter-spacing: .19em; text-shadow: 0 2px 15px #000; }
.stage-caption-line { width: 43px; height: 3px; margin-bottom: 7px; background: var(--violet); box-shadow: 0 0 15px var(--violet); }
.stage-caption strong { display: block; color: #fff; font-size: clamp(21px, 3vw, 36px); line-height: 1.05; font-weight: 850; letter-spacing: -.04em; }
.menu-window { width: min(100%, 535px); min-width: 0; overflow: hidden; border: 1px solid #8065a7; border-radius: 16px; background: #0b0a10f5; box-shadow: 0 32px 75px #000b, 0 0 0 5px #6c4a851a, 0 0 45px #9060d332, inset 0 1px #ffffff22; backdrop-filter: blur(18px); }
.menu-topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 58px; padding: 9px 20px; border-bottom: 1px solid #3b2d4d; background: linear-gradient(110deg, #251931, #17101f 58%, #100e15); }
.menu-topbar-brand { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 13px; font-weight: 900; letter-spacing: .07em; white-space: nowrap; }
.menu-topbar-brand img { width: 30px; height: 30px; margin-right: 4px; object-fit: contain; }
.menu-topbar-brand b { color: var(--violet); }
.menu-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 9px; border: 1px solid #71578a; border-radius: 6px; background: #ae7be71a; color: #cbb4e6; font-size: 9px; font-weight: 800; letter-spacing: .1em; white-space: nowrap; }
.menu-status i { width: 6px; height: 6px; border-radius: 50%; background: #c9a3ff; box-shadow: 0 0 10px #bf84ff; }
.menu-window-body { padding: 19px 20px 20px; }
.menu-game-heading { display: flex; align-items: center; gap: 13px; min-width: 0; padding-bottom: 17px; border-bottom: 1px solid #33283f; }
.menu-game-cover { flex: none; width: 45px; height: 53px; border: 1px solid #5a486c; border-radius: 6px; object-fit: cover; box-shadow: 0 6px 16px #0009; }
.menu-game-copy { display: grid; gap: 5px; min-width: 0; flex: 1; }
.menu-game-copy > span { color: #a98acb; font-size: 9px; font-weight: 850; letter-spacing: .16em; }
.menu-game-copy strong { display: -webkit-box; overflow: hidden; color: #fff; font-size: 17px; font-weight: 800; line-height: 1.15; letter-spacing: -.025em; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.menu-feature-total { flex: none; padding: 7px 9px; border: 1px solid #574264; border-radius: 6px; background: #33243f; color: #e1ccf8; font-size: 9px; font-weight: 800; letter-spacing: .07em; white-space: nowrap; }
.menu-window-heading { display: flex; align-items: center; gap: 12px; margin: 18px 0 11px; color: #ae91d8; font-size: 10px; font-weight: 850; letter-spacing: .14em; white-space: nowrap; }
.menu-heading-line { width: 100%; height: 1px; background: linear-gradient(90deg, #4e3a61, transparent); }
.menu-options { display: grid; gap: 6px; }
.menu-option { display: flex; align-items: center; gap: 11px; min-width: 0; min-height: 48px; padding: 8px 11px; border: 1px solid #30283a; border-radius: 8px; background: linear-gradient(100deg, #1a1622, #13111a); box-shadow: inset 0 1px #ffffff08; }
.menu-option-icon { position: relative; flex: none; display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #57406e; border-radius: 7px; background: #372347; color: #d5b2ff; }
.menu-option-icon::before { content: ""; display: block; width: 17px; height: 17px; background: currentColor; -webkit-mask: var(--menu-icon, url("/assets/icons/menu-spark.svg")) center / contain no-repeat; mask: var(--menu-icon, url("/assets/icons/menu-spark.svg")) center / contain no-repeat; }
.menu-option--defense { --menu-icon: url("/assets/icons/menu-shield.svg"); }
.menu-option--combat { --menu-icon: url("/assets/icons/menu-target.svg"); }
.menu-option--movement { --menu-icon: url("/assets/icons/menu-motion.svg"); }
.menu-option--resources { --menu-icon: url("/assets/icons/menu-resources.svg"); }
.menu-option--world { --menu-icon: url("/assets/icons/menu-world.svg"); }
.menu-option-name { flex: 1; min-width: 0; color: #eeeaf5; font-size: 12px; font-weight: 650; line-height: 1.28; overflow-wrap: anywhere; }
.menu-toggle { position: relative; flex: none; width: 34px; height: 19px; border: 1px solid #5f566d; border-radius: 30px; background: #322e3c; }
.menu-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 11px; height: 11px; border-radius: 50%; background: #a5a0ae; }
.menu-toggle.is-on { border-color: #b599ef; background: #7d56c7; box-shadow: 0 0 12px #b296f859; }
.menu-toggle.is-on::after { left: 18px; background: #fff; }
.menu-options-empty { margin: 20px 0; color: var(--muted); font-size: 13px; }
.menu-window-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 49px; padding: 10px 20px; border-top: 1px solid #372a45; background: linear-gradient(100deg, #21162c, #15101c); color: #c3a7e3; font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.menu-key-hint { display: inline-flex; align-items: center; gap: 9px; color: #a99bb8; }
.menu-key-hint kbd { min-width: 50px; border-color: #8064a0; background: #372447; color: #fff; }
kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; padding: 5px 8px; border: 1px solid #6f5a90; border-radius: 5px; background: #282033; color: #f5eaff; font: 750 11px Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .04em; box-shadow: inset 0 1px rgba(255,255,255,.12); }
.game-action-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 17px; padding: 22px 25px; border: 1px solid #30243e; border-radius: 11px; background: linear-gradient(100deg, #17121f, #100e15); }
.action-kicker { color: var(--violet); font-size: 10px; font-weight: 850; letter-spacing: .18em; }
.game-action-bar p { display: flex; align-items: center; gap: 7px; margin: 6px 0 0; color: #f1edf6; font-size: 15px; font-weight: 650; }
.game-action-bar .download-button { min-width: 240px; min-height: 58px; justify-content: space-between; padding: 10px 12px 10px 23px; border-radius: 8px; background: #bda0ff; color: #1a0d29; font-size: 16px; font-weight: 850; }
.feature-accordion { padding: 0; overflow: hidden; }
.feature-accordion summary { display: flex; align-items: center; gap: 16px; padding: 24px 28px; cursor: pointer; list-style: none; background: linear-gradient(110deg, #17111e, #111015 62%); }
.feature-accordion summary::-webkit-details-marker { display: none; }
.feature-accordion summary > span:first-child { display: grid; gap: 4px; }
.feature-accordion summary small { color: var(--violet); font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.feature-accordion summary strong { color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.feature-count { margin-left: auto; padding: 7px 11px; border: 1px solid #433351; border-radius: 999px; background: #231b2c; color: #d3bafa; font-size: 12px; font-weight: 750; white-space: nowrap; }
.accordion-arrow { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border: 1px solid #4a3b5f; border-radius: 8px; background: #21192c; color: #c9adff; transition: border-color .2s, background .2s; }
.accordion-arrow::before { content: ""; width: 19px; height: 19px; background: currentColor; -webkit-mask: url("/assets/icons/chevron-down.svg") center / contain no-repeat; mask: url("/assets/icons/chevron-down.svg") center / contain no-repeat; transition: transform .2s; }
.feature-accordion summary:hover .accordion-arrow { border-color: #9473c2; background: #30233e; }
.feature-accordion[open] .accordion-arrow::before { transform: rotate(180deg); }
.feature-accordion-body { padding: 24px 28px 28px; border-top: 1px solid #34283f; background: radial-gradient(circle at 0 0, rgba(112, 70, 164, .10), transparent 40%), #100e15; }
.feature-accordion .feature-intro { max-width: 790px; margin: 0 0 22px; color: #c9c0d1; font-size: 14px; line-height: 1.7; }
.feature-accordion .release-features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.feature-accordion .release-features li { display: flex; align-items: center; min-height: 62px; padding: 12px 14px 12px 52px; border: 1px solid #342b3f; border-radius: 9px; background: linear-gradient(125deg, #1b1723, #15131b); color: #ece6f3; font-size: 13px; font-weight: 600; line-height: 1.42; transition: border-color .18s, background .18s; }
.feature-accordion .release-features li:hover { border-color: #6c4e8e; background: #241b2e; }
.feature-accordion .release-features li::before { left: 14px; top: 50%; width: 25px; height: 25px; transform: translateY(-50%); border: 1px solid #624a7a; border-radius: 7px; background: #30223e; }
.feature-accordion .release-features li::after { content: ""; position: absolute; left: 19px; top: 50%; width: 15px; height: 15px; transform: translateY(-50%); background: #d3b8ff; -webkit-mask: url("/assets/icons/feature-check.svg") center / contain no-repeat; mask: url("/assets/icons/feature-check.svg") center / contain no-repeat; }
@media (max-width: 820px) { .menu-stage { min-height: 500px; padding: 24px; } .stage-caption { display: none; } .stage-cover { width: 100%; opacity: .55; mask-image: none; } .stage-shade { background: rgba(7,5,11,.55); } .menu-window { margin: auto; } .feature-accordion .release-features { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) { #game-view > .game-heading { margin: 5px 0 19px; } #game-view > .game-heading h1 { font-size: clamp(30px, 8vw, 43px); } .menu-stage { min-height: 440px; padding: 15px; } .menu-topbar { min-height: 54px; padding: 9px 14px; } .menu-topbar-brand { font-size: 11px; } .menu-topbar-brand img { width: 25px; height: 25px; } .menu-status { font-size: 8px; } .menu-window-body { padding: 16px; } .menu-option { min-height: 48px; } .menu-option-name { font-size: 12px; } .menu-window-footer { padding: 12px 16px; } .game-action-bar { display: grid; padding: 19px; } .game-action-bar p { font-size: 13px; } .game-action-bar .download-button { width: 100%; min-width: 0; } .feature-accordion summary { padding: 20px; } .feature-accordion-body { padding: 0 20px 22px; } .feature-accordion .release-features { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .menu-game-heading { display: grid; grid-template-columns: 45px minmax(0, 1fr); gap: 7px 11px; } .menu-game-cover { grid-row: 1 / 3; } .menu-game-copy strong { font-size: 15px; } .menu-feature-total { grid-column: 2; justify-self: start; } .menu-option { padding: 7px 8px; } .menu-option-icon { width: 27px; height: 27px; } .menu-window-heading { margin-top: 15px; } }
@media (max-width: 600px) {
  .feature-accordion summary { gap: 9px; padding: 18px; }
  .feature-accordion summary strong { font-size: 21px; }
  .feature-count { padding: 6px 8px; font-size: 11px; }
  .feature-accordion-body { padding: 18px; }
  .feature-accordion .release-features li { min-height: 56px; }
}
@media (max-width: 390px) {
  .feature-count { display: none; }
  .feature-accordion summary .accordion-arrow { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-accordion .release-features li { transition: none; }
}
