@font-face { font-family: Cinzel; src: url("media/cinzel.ttf") format("truetype"); font-style: normal; font-weight: 400 900; font-display: swap; }
:root { color-scheme: dark; --background: #090d14; --cream: #f3ead7; --gold: #e9bc6c; --muted: #bdc1c7; --line: #806335; font-family: Arial, Helvetica, sans-serif; color: var(--cream); background: var(--background); scroll-behavior: smooth; scroll-padding-top: 24px; }
* { box-sizing: border-box; }
body { margin: 0; font-size: 18px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
::selection { background: var(--gold); color: var(--background); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; }
.wrap { width: min(1400px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 20; top: -100px; left: 24px; background: var(--gold); color: var(--background); padding: 10px 20px; }
.skip-link:focus { top: 12px; }
h1, h2, h3 { font-family: Cinzel, Georgia, serif; font-weight: 600; line-height: 1.15; margin: 0; }
p { margin: 0; }
.site-header { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.brand { display: block; flex-shrink: 0; }
.site-header .brand { width: 360px; }
.site-header nav { display: flex; align-items: center; gap: 36px; font-family: Cinzel, Georgia, serif; font-size: 17px; font-weight: 600; }
nav a { transition: color 160ms ease; }
nav a:hover { color: var(--gold); }
.gold-button { background: linear-gradient(180deg, #ffe59a, #d69b36); color: #15100a; padding: 10px 22px; border: 1px solid #f0cf7a; border-radius: 6px; white-space: nowrap; box-shadow: inset 0 1px #fff4bc; }
nav a.gold-button:hover { color: #15100a; filter: brightness(1.08); }
.hero { min-height: 680px; position: relative; display: flex; align-items: center; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-art { position: absolute; z-index: -1; width: 1170px; max-width: none; right: -160px; bottom: 0; mask-image: linear-gradient(to right, transparent 0, #000 30%, #000 72%, transparent 88%), linear-gradient(to bottom, transparent, #000 10%, #000 85%, transparent); mask-composite: intersect; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 130px; background: linear-gradient(transparent, var(--background)); pointer-events: none; }
.hero-copy { position: relative; padding-block: 72px; width: 610px; }
h1 { font-size: clamp(44px, 5.25vw, 80px); letter-spacing: -.045em; white-space: nowrap; }
h1 span { color: var(--gold); }
.hero-copy > p { max-width: 555px; margin-top: 32px; color: #edf0f3; font-size: 21px; line-height: 1.6; text-wrap: pretty; }
.store-links { display: flex; align-items: center; gap: 20px; }
.hero .store-links { margin-top: 36px; }
.store-link { display: block; flex-shrink: 0; transition: transform 180ms ease, filter 180ms ease; }
.store-link:hover { transform: translateY(-3px); filter: brightness(1.16); }
.store-link.apple { width: 180px; }
.store-link.google { width: 202px; margin: -10px -12px -10px -12px; }
.trailer-link { display: inline-flex; align-items: center; gap: 16px; margin-top: 34px; font-size: 19px; font-weight: 600; }
.trailer-link:hover { color: var(--gold); }
.play-icon { width: 42px; height: 42px; border: 2px solid var(--gold); border-radius: 50%; display: grid; place-items: center; }
.play-icon svg { width: 21px; height: 21px; fill: var(--gold); }
.game { padding-block: 56px 70px; }
.section-intro { text-align: center; }
h2 { font-size: clamp(30px, 3.3vw, 48px); letter-spacing: -.035em; }
.section-intro > p { max-width: 1040px; margin: 18px auto 0; color: var(--muted); font-size: 19px; }
.game-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; max-width: 1130px; margin: 42px auto 0; }
figure { margin: 0; min-width: 0; text-align: center; }
figure > img { width: 100%; max-width: 310px; border: 1px solid var(--gold); border-radius: 13px; margin-inline: auto; aspect-ratio: 600 / 1304; background: #151b23; box-shadow: 0 18px 35px #0005; }
figcaption { margin-top: 24px; }
h3 { font-size: clamp(19px, 1.65vw, 25px); letter-spacing: -.04em; }
figcaption p { font-size: 17px; color: var(--muted); margin: 12px auto 0; max-width: 300px; line-height: 1.6; text-wrap: pretty; }
.download { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 34px; border-block: 1px solid var(--line); }
.download h2 { font-size: clamp(27px, 3vw, 42px); }
.site-footer { display: flex; align-items: center; gap: 32px; min-height: 115px; padding-block: 28px; font-size: 14px; }
.site-footer .brand { width: 225px; margin-right: auto; }
.site-footer nav { display: flex; gap: 28px; }
.site-footer > p { color: var(--muted); padding-left: 28px; border-left: 1px solid var(--line); white-space: nowrap; }
dialog { width: min(1000px, calc(100% - 40px)); max-height: calc(100% - 40px); padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--background); color: var(--cream); box-shadow: 0 25px 100px #000a; }
dialog::backdrop { background: #000d; backdrop-filter: blur(6px); }
.trailer-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.trailer-heading h2 { font-size: 21px; }
.trailer-heading button { background: transparent; border: 1px solid var(--line); border-radius: 5px; padding: 7px 12px; color: var(--cream); cursor: pointer; font-size: 16px; }
.trailer-heading button:hover { border-color: var(--gold); }
.trailer-heading button span { margin-left: 10px; font-size: 22px; line-height: 1; }
.trailer-player { aspect-ratio: 16 / 9; background: #000; }
.trailer-player iframe { width: 100%; height: 100%; display: block; border: 0; }
.trailer-fallback { font-size: 15px; color: var(--muted); margin-top: 16px; }
.trailer-fallback a { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 1700px) { .hero-art { width: 1170px; right: -100px; } }
@media (max-width: 1150px) {
  .wrap { width: calc(100% - 64px); }
  .site-header .brand { width: 270px; }
  .site-header nav { gap: 22px; font-size: 15px; }
  .hero { min-height: 640px; }
  .hero-copy { width: 53%; }
  .hero-copy > p { font-size: 18px; max-width: 450px; }
  .hero-art { width: 950px; right: -230px; }
  .game-gallery { gap: 32px; }
  .site-footer { flex-wrap: wrap; gap: 22px; }
  .site-footer > p { padding-left: 0; border: 0; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 48px); }
  .site-header { min-height: 82px; gap: 20px; }
  .site-header .brand { width: 225px; }
  .site-header nav { gap: 16px; }
  .site-header nav > a:first-child, .site-header nav > a:nth-child(3) { display: none; }
  .gold-button { padding: 8px 14px; }
  .hero { min-height: 0; display: block; padding-bottom: 440px; }
  .hero-copy { width: 100%; padding-block: 52px 10px; }
  h1 { font-size: clamp(36px, 7.9vw, 62px); }
  .hero-copy > p { max-width: 560px; margin-top: 24px; font-size: 19px; }
  .hero-art { width: 100%; right: 0; bottom: 0; mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 85%, transparent), linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
  .hero::after { height: 60px; }
  .hero .store-links { margin-top: 28px; }
  .trailer-link { margin-top: 26px; }
  .game { padding-block: 42px 48px; }
  .game-gallery { gap: 24px; }
  h3 { font-size: 18px; }
  figcaption p { font-size: 16px; }
  .download { flex-direction: column; align-items: flex-start; gap: 24px; }
  .site-footer nav { gap: 22px; }
  .site-footer > p { width: 100%; }
}
@media (max-width: 540px) {
  body { font-size: 17px; }
  .site-header { min-height: 74px; }
  .site-header .brand { width: clamp(150px, 45vw, 192px); }
  .site-header nav > a:nth-child(2) { display: none; }
  .site-header nav { font-size: 14px; }
  .gold-button { padding: 8px 12px; }
  .hero { padding-bottom: 270px; }
  .hero-copy { padding-top: 42px; }
  h1 { font-size: clamp(28px, 8.45vw, 45px); }
  .hero-copy > p { font-size: 17px; line-height: 1.65; }
  .store-links { gap: 17px; }
  .store-link.apple { width: 147px; }
  .store-link.google { width: 166px; margin-inline: -10px; }
  .trailer-link { font-size: 16px; gap: 12px; }
  .play-icon { width: 35px; height: 35px; }
  .hero-art { width: 430px; right: calc(50% - 215px); max-width: none; }
  .section-intro h2 { font-size: 29px; }
  .section-intro > p { font-size: 17px; }
  .game-gallery { grid-template-columns: 1fr; gap: 42px; margin-top: 32px; }
  figure > img { max-width: 280px; }
  figcaption { margin-top: 20px; }
  h3 { font-size: 22px; }
  figcaption p { font-size: 17px; }
  .download h2 { font-size: 28px; }
  .site-footer { gap: 24px; padding-block: 30px; }
  .site-footer .brand { width: 200px; }
  .site-footer nav { width: 100%; font-size: 15px; justify-content: space-between; gap: 14px; }
  .site-footer > p { font-size: 13px; }
  dialog { padding: 16px; }
  .trailer-heading h2 { font-size: 16px; }
  .trailer-heading button { font-size: 14px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { gap: 12px; }
  .site-header .brand { width: 150px; }
  .store-links { gap: 12px; }
  .store-link.apple { width: 134px; }
  .store-link.google { width: 151px; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
