@font-face {
  font-family: "Barlow Condensed";
  src: url("barlow-condensed-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #0c0b15;
  --surface: #131122;
  --ink: #f9f5ee;
  --muted: #c4bed0;
  --gold: #f4c879;
  --line: #302943;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --header-height: 74px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--ink); font: 16px/1.6 var(--body); }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
[id] { scroll-margin-top: calc(var(--header-height) + 20px); }
#top { scroll-margin-top: 0; }

.shell { width: min(100% - 96px, 1200px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; left: 16px; top: 10px; padding: 10px 18px; background: var(--gold); color: var(--background); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 5; background: #0c0b15f5; border-bottom: 1px solid #302943b3; }
.header-inner { min-height: var(--header-height); display: flex; gap: 28px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 800 25px/.95 var(--display); letter-spacing: .055em; text-transform: uppercase; }
.brand img { flex: none; border-radius: 11px; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.site-nav a, .site-footer nav a { color: var(--muted); font-size: .88rem; font-weight: 700; }
.site-nav a:hover, .site-footer nav a:hover, .text-link:hover { color: var(--gold); }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-weight: 700; cursor: pointer; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 12px 21px; border: 1px solid transparent; border-radius: 7px; font-weight: 700; line-height: 1.3; transition: background .2s, border-color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #211324; background: var(--gold); box-shadow: 0 6px 30px #f4c87925; }
.button-primary:hover { background: #ffdc9c; }
.button-small { min-height: 42px; padding: 8px 14px; color: var(--gold); border-color: #776242; font-size: .86rem; }
.button-small:hover { background: #f4c87914; border-color: var(--gold); }
.text-link span { font-size: 1.15em; line-height: 1; }
.button svg { flex: none; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 56% 30%, #1e1340, transparent 55%), #0d0b17; border-bottom: 1px solid var(--line); }
.hero-art { position: absolute; z-index: -1; inset: 0 0 0 28%; background: url("hero-cards.webp") center 52% / cover no-repeat; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #100c1c 0%, #100c1ce0 14%, #100c1c6b 37%, transparent 64%), linear-gradient(0deg, #0d0b17 0%, transparent 26%); }
.hero-inner { min-height: clamp(550px, 44vw, 660px); display: grid; align-items: center; }
.hero-content { max-width: 540px; padding-block: 64px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--gold); font-size: .73rem; font-weight: 700; letter-spacing: .20em; line-height: 1.3; text-transform: uppercase; }
.eyebrow span { font-size: .62rem; }
h1, h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; }
.hero h1 { margin: 15px 0 24px; font-size: clamp(6rem, 10.2vw, 9.25rem); line-height: .78; letter-spacing: -.018em; }
.hero h1 em { display: block; color: var(--gold); font-style: normal; }
.hero-copy { max-width: 420px; color: #e0dbe8; font-size: clamp(1rem, 1.4vw, 1.19rem); line-height: 1.63; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 24px; margin-top: 27px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .9rem; font-weight: 700; }
.availability { display: flex; align-items: center; gap: 9px; margin-top: 15px; color: var(--muted); font-size: .82rem; }

.section { padding-block: clamp(68px, 7vw, 108px); }
.section h2, .download-section h2 { margin-top: 9px; font-size: clamp(3.25rem, 6.1vw, 5.55rem); letter-spacing: -.012em; line-height: .91; }
.format-grid, .mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; margin-top: 22px; }
.format-grid { margin-top: 32px; }
.format-card { padding: 20px 24px; border-left: 2px solid #b58d51; background: #171324; border-radius: 0 8px 8px 0; }
.format-card h3, .mode-card h4 { margin-bottom: 8px; font: 800 1.8rem/1.02 var(--display); letter-spacing: .015em; text-transform: uppercase; }
.format-card h3 { color: var(--gold); }
.format-card p, .mode-card p { color: var(--muted); font-size: .94rem; }
.table-heading { margin-top: 42px; font: 800 2.5rem/1 var(--display); text-transform: uppercase; }
.mode-card { position: relative; isolation: isolate; overflow: hidden; min-height: 225px; padding: 26px; border: 1px solid var(--line); border-radius: 13px; background: radial-gradient(ellipse at 100% 0%, var(--tint), transparent 74%), var(--surface); }
.mode-card::before { content: ""; position: absolute; inset: 0 auto auto 26px; height: 2px; width: 40px; background: var(--suit); }
.mode-online { --suit: #c2a6ff; --tint: #33214d; }
.mode-friends { --suit: #ffa4ad; --tint: #3a2037; }
.mode-offline { --suit: #f4c879; --tint: #382c34; }
.mode-suit { display: block; color: var(--suit); font: 38px/1 Georgia, serif; margin-bottom: 16px; }

.gallery-section { background: radial-gradient(ellipse at 48% 31%, #221540 0%, transparent 72%), #10101c; border-block: 1px solid var(--line); }
.gallery-heading { display: flex; gap: 16px; align-items: end; justify-content: space-between; margin-bottom: 30px; }
.gallery-arrows { display: flex; gap: 9px; padding-bottom: 2px; }
.icon-button { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; background: #171426; color: var(--ink); border: 1px solid #514368; border-radius: 8px; font: 1.5rem/1 var(--body); cursor: pointer; }
.icon-button:hover { color: var(--gold); border-color: var(--gold); }
.gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(160px, 21%); gap: 15px; }
.gallery-figure { min-width: 0; }
.gallery-image-link { position: relative; display: block; overflow: hidden; border: 1px solid #5a4775; border-radius: 13px; background: #090710; }
.gallery-image-link img { width: 100%; aspect-ratio: 1286 / 593; object-fit: contain; }
.zoom-icon { position: absolute; bottom: 10px; right: 10px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #a293ae; border-radius: 7px; background: #100d1cea; font-size: 1.35rem; }
.gallery-image-link:hover .zoom-icon { color: var(--gold); border-color: var(--gold); }
figcaption { margin-top: 9px; color: #e2dbe9; font-weight: 600; font-size: .91rem; }
.gallery-thumbs { display: grid; align-content: start; gap: 8px; }
.gallery-thumb { display: grid; grid-template-columns: 45% 1fr; align-items: center; min-height: 54px; gap: 8px; padding: 6px; background: #161223; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: .84rem; font-weight: 700; line-height: 1.22; }
.gallery-thumb img { width: 100%; aspect-ratio: 1286 / 593; object-fit: cover; border-radius: 4px; }
.gallery-thumb[aria-current], .gallery-thumb:hover { border-color: var(--gold); color: var(--gold); background: #2b2136; }

.guide-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(32px, 7vw, 104px); }
.section-intro { max-width: 36ch; margin-top: 18px; color: var(--muted); }
.card-example { display: flex; align-items: center; width: fit-content; gap: 6px; margin: 27px 0 7px; }
.card-example span { display: grid; align-content: space-between; width: 44px; height: 63px; padding: 5px 6px; border: 1px solid #d9b97e; border-radius: 5px; background: linear-gradient(135deg, #fff5d9, #e9d1a2); color: #8e2239; font: 700 15px/1 Georgia, serif; box-shadow: 0 4px 13px #0005; }
.card-example span:first-child { transform: rotate(-9deg) translateY(4px); }
.card-example span:last-child { transform: rotate(9deg) translateY(4px); }
.card-example b { justify-self: end; font-size: 20px; }
.guide-questions { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 64px; padding: 12px 8px 12px 0; cursor: pointer; font-weight: 700; line-height: 1.35; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; display: grid; flex: none; place-items: center; width: 27px; height: 27px; border: 1px solid #564862; border-radius: 50%; color: var(--gold); font: 1.25rem/1 var(--body); }
details[open] summary::after { content: "−"; }
summary:hover, details[open] summary { color: var(--gold); }
details p { max-width: 62ch; color: var(--muted); padding: 0 42px 19px 0; }

.download-section { border-block: 1px solid #3e2e52; background: radial-gradient(ellipse at 14% 100%, #35204b, transparent 70%), #171125; padding-block: 45px; }
.download-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.download-inner > img { border-radius: 19px; }
.download-section h2 { margin-top: 0; font-size: clamp(2.4rem, 4.2vw, 3.9rem); }
.store-links { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 5px; }
.store-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .9rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.store-links a:hover { color: var(--gold); }
.site-footer { padding-block: 36px; }
.footer-inner, .site-footer nav { display: flex; gap: 20px 30px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.footer-brand { font-size: 22px; }
.site-footer p { margin-top: 8px; color: var(--muted); font-size: .82rem; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; gap: 5px; }

.lightbox { position: fixed; width: min(1100px, 100% - 32px); max-width: none; max-height: calc(100% - 32px); margin: auto; padding: 0; overflow: auto; background: #110e1e; border: 1px solid #5a4775; border-radius: 12px; color: var(--ink); }
.lightbox::backdrop { background: #080511e8; }
.lightbox-inner { position: relative; padding: 14px; }
.lightbox img { width: 100%; max-height: calc(100dvh - 120px); object-fit: contain; }
.close-dialog { position: absolute; top: 8px; right: 8px; background: #131022f5; }
.lightbox-controls { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin-top: 10px; text-align: center; }
.lightbox-controls p { font-size: .92rem; }

@media (max-width: 1000px) {
  .shell { width: calc(100% - 64px); }
  .header-inner { gap: 15px; }
  .mode-card { padding: 22px; }
}
@media (max-width: 800px) {
  :root { --header-height: 65px; }
  .shell { width: calc(100% - 40px); }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; }
  .site-nav { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 10px; padding-bottom: 12px; }
  .site-nav a { display: flex; align-items: center; min-height: 44px; padding-inline: 10px; border-radius: 6px; background: #171324; }
  .header-download { display: none; }
  .hero-art { left: 20%; }
  .format-grid, .mode-grid { gap: 11px; }
  .format-card, .mode-card { padding: 17px; }
  .format-card h3, .mode-card h4 { font-size: 1.55rem; }
  .format-card p, .mode-card p { font-size: .88rem; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery-thumb { grid-template-columns: 1fr; gap: 5px; }
  .gallery-thumb span { padding: 0 2px 2px; }
  .download-inner { grid-template-columns: auto 1fr; }
  .download-inner .button { grid-column: 2; justify-self: start; }
}
@media (max-width: 620px) {
  .hero-inner { min-height: 0; display: block; }
  .hero-content { padding: 47px 0 clamp(216px, 62vw, 333px); }
  .hero-art { inset: auto 0 0; height: clamp(260px, 70vw, 380px); background-position: 70% 48%; }
  .hero-art::after { background: linear-gradient(180deg, #100c1c 0%, #100c1c90 15%, transparent 42%, transparent 75%, #0d0b17 100%); }
  .hero h1 { font-size: clamp(5.15rem, 19vw, 7rem); }
  .hero-copy { max-width: 36ch; }
  .hero-actions { margin-top: 20px; gap: 6px 15px; }
  .hero-actions .button { padding-inline: 14px; gap: 8px; }
  .format-grid, .mode-grid { grid-template-columns: 1fr; margin-top: 24px; }
  .mode-card { padding: 20px; min-height: auto; }
  .mode-suit { margin-bottom: 8px; }
  .gallery-heading { align-items: end; gap: 8px; margin-bottom: 20px; }
  .gallery-arrows { gap: 6px; padding-bottom: 0; }
  .gallery-thumb { font-size: .7rem; padding: 4px; }
  .guide-layout { grid-template-columns: 1fr; }
  .download-inner { gap: 16px; }
  .download-inner > img { width: 58px; border-radius: 13px; }
  .download-inner .button { grid-column: 1 / -1; }
}
@media (max-width: 370px) {
  .shell { width: calc(100% - 28px); }
  .brand { font-size: 20px; gap: 7px; }
  .menu-toggle { gap: 5px; padding-inline: 8px; font-size: .86rem; }
  .menu-toggle svg { width: 19px; }
  .brand img { width: 36px; }
  .gallery-heading { flex-wrap: wrap; }
  .gallery-thumbs { gap: 4px; }
  .gallery-thumb { font-size: .65rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
