@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/assets/fonts/roboto-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/assets/fonts/roboto-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --background: #111214;
  --surface: #18191b;
  --text: #e7e3da;
  --muted: #a8a7a2;
  --gold: #bda36d;
  --line: #343436;
  --heading: "Montserrat", Arial, sans-serif;
  --body: "Roboto", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; }
.landing {
  min-height: 100svh;
  background: var(--background);
  color: var(--text);
  font: 15px/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 600; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
::selection { color: #fff; background: #715e3c; }

.container { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 16px;
  padding: 10px 20px;
  transform: translateY(-180%);
  color: #111;
  background: var(--gold);
}
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; z-index: 5; inset: 0 0 auto; background: #111214ed; }
.header-inner { height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 40px; border-bottom: 1px solid #ffffff0c; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { display: block; width: 252px; height: 84px; object-fit: contain; }
.header-actions { display: flex; align-items: center; gap: 25px; }
.language { font-size: 11px; color: #97938a; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 54px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 3px;
  font: 700 15px/1.4 var(--body);
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.button-primary { min-width: 180px; color: #f0e8d7; background: #76251f; border-color: #87342c; }
.button-primary:hover { background: #8b2b23; border-color: #a64437; }
.button-outline { color: #c9b68f; border-color: #645b49; background: transparent; }
.button-outline:hover { border-color: #b29a69; background: #ffffff04; }
.button-small { min-height: 42px; padding: 10px 18px; font-size: 12px; gap: 20px; }
.button-small .icon { width: 17px; height: 17px; }
.button[aria-disabled="true"] { opacity: .55; cursor: wait; }

.hero { position: relative; isolation: isolate; min-height: 100svh; overflow: hidden; background: #101214; }
.hero-art { position: absolute; z-index: -3; inset: 96px 0 0; width: 100%; height: calc(100% - 96px); object-fit: cover; object-position: center top; filter: saturate(.55) brightness(.84) contrast(1.08); }
.hero-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg,#111214f5 0%,#111214b8 28%,#1112142b 56%,transparent 78%),linear-gradient(0deg,#111214 0%,transparent 28%,transparent 78%,#11121440); }
.hero-inner { min-height: 100svh; padding-top: 187px; padding-bottom: 90px; }
.hero-copy { width: min(620px, 56%); }
.hero-edition { display: flex; align-items: center; gap: 14px; color: #c3b18c; font: 600 14px/1.5 var(--heading); }
.hero h1 { font-size: clamp(40px, 3.4vw, 54px); line-height: 1.16; letter-spacing: -.8px; color: #e2dccd; text-wrap: balance; }
.hero-description { margin-top: 28px; color: #bebbb2; font-size: 15px; line-height: 1.9; }
.hero-description p + p { margin-top: 12px; }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 31px; }
.client-state { min-height: 40px; padding-top: 15px; }
.status-line { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 19px; }
.status-dot { width: 5px; height: 5px; flex: none; border-radius: 50%; background: #aa976e; }
.client-state[data-state="ready"] .status-dot { background: #7a916d; }
.client-state[data-state="offline"] .status-dot { background: #b38162; }
#status { color: #92958f; font-size: 11px; line-height: 1.6; }
.retry { border: 0; border-bottom: 1px solid #8c7954; padding: 0; background: none; color: var(--gold); font-size: 11px; cursor: pointer; }
.hero-platforms { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 21px; color: #93958f; font-size: 11px; }
.hero-platforms .icon { width: 15px; height: 15px; color: #a0a199; }
.platform-divider { width: 1px; height: 13px; margin-inline: 7px; background: #5b5a55; }

.noscript-message { position: fixed; z-index: 10; bottom: 0; width: 100%; padding: 14px; background: #6d2520; color: white; text-align: center; }

.game-shell{position:fixed;inset:0;width:100vw;height:100dvh;z-index:100;background:#08131d;overflow:hidden}
.game-shell iframe{display:block;border:0;width:100%;height:100%;background:#08131d}
.game-shell.is-warming{z-index:-1;opacity:0;pointer-events:none}
body.game-open{overflow:hidden}

@media (min-width: 1800px) {
  .hero, .hero-inner { min-height: 100svh; }
  .hero-inner { padding-top: 203px; padding-bottom: 110px; }
  .hero h1 { font-size: 54px; }
}

@media (max-width: 1100px) {
  .container { width: calc(100% - 72px); }
  .header-inner { gap: 25px; }
  .header-actions { gap: 18px; }
  .hero, .hero-inner { min-height: 100svh; }
  .hero-inner { padding-top: 165px; }
  .hero h1 { font-size: clamp(40px, 4.4vw, 48px); }
  .hero-copy { width: 60%; }
  .hero-description { font-size: 14px; }
}

@media (max-width: 850px) {
  .container { width: calc(100% - 56px); }
  .header-inner { height: 86px; }
  .brand-logo { width: 228px; height: 76px; }
  .language { display: none; }
  .button-small { padding-inline: 14px; font-size: 11px; gap: 12px; }
  .hero, .hero-inner { min-height: 100svh; }
  .hero-inner { padding-top: 164px; padding-bottom: 80px; }
  .hero-copy { width: 68%; }
  .hero-art { top: 85px; height: calc(100% - 85px); object-position: 61% top; }
  .hero h1 { font-size: clamp(36px, 5.2vw, 44px); }
  .hero-edition { font-size: 13px; }
  .hero-description { font-size: 13px; }
  .hero-platforms { font-size: 10px; }
}

@media (max-width: 620px) {
  .container { width: calc(100% - 40px); }
  .header-inner { height: 80px; gap: 15px; }
  .brand-logo { width: 216px; height: 72px; }
  .button-small { min-height: 38px; padding: 9px 12px; font-size: 10px; gap: 13px; }
  .button-small .icon { width: 14px; height: 14px; }
  .hero, .hero-inner { min-height: 100svh; }
  .hero-art { top: 80px; height: 440px; object-position: 74% top; filter: saturate(.5) brightness(.78) contrast(1.08); }
  .hero-shade { background: linear-gradient(0deg,#111214 0%,#111214 23%,#111214e8 42%,#11121444 65%,transparent 85%); }
  .hero-inner { padding-top: 339px; padding-bottom: 63px; }
  .hero-copy { width: 100%; max-width: 470px; }
  .hero-edition { font-size: 12px; gap: 11px; }
  .hero h1 { font-size: clamp(28px, 7.8vw, 36px); line-height: 1.2; letter-spacing: -.4px; }
  .hero-description { margin-top: 22px; font-size: 13px; line-height: 1.85; }
  .desktop-break { display: none; }
  .hero-actions { margin-top: 25px; gap: 11px; }
  .button { min-height: 50px; padding: 14px 20px; font-size: 13px; gap: 24px; }
  .button-primary { min-width: 150px; }
  .button-small { min-height: 38px; padding: 9px 12px; font-size: 10px; gap: 13px; }
  .client-state { min-height: 36px; padding-top: 12px; }
  #status, .retry { font-size: 10px; }
  .hero-platforms { margin-top: 15px; font-size: 10px; }
}

@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .brand-logo { width: 198px; height: 66px; }
  .hero h1 { font-size: 28px; }
  .hero-edition { font-size: 11px; }
  .hero-description { font-size: 12px; }
  .button { padding-inline: 16px; font-size: 12px; gap: 18px; }
  .button-small { padding-inline: 10px; font-size: 9px; gap: 10px; }
  .button-primary { min-width: 135px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
