@font-face { font-family: "Oswald"; src: url("/assets/fonts/oswald-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("/assets/fonts/oswald-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Oswald"; src: url("/assets/fonts/oswald-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --ink: #050608;
  --ink-2: #0e0f12;
  --ink-3: #17191d;
  --line-dark: rgba(242, 236, 226, 0.12);
  --gold: #c89b45;
  --gold-light: #e1c17d;
  --red: #ef424d;
  --sand: #f2ece2;
  --sand-2: #e8e0d2;
  --muted-dark: #a9a59d;
  --muted-light: #5d626b;
  --text-light: #1b1d21;
  --radius: 4px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--sand);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: 0.005em; }
p { margin: 0; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-light);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  font: 700 0.8rem/1 "Montserrat", sans-serif; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius); border: 1px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); }
.btn-ghost { border-color: rgba(242,236,226,.35); color: var(--sand); }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-dark { background: var(--ink); color: var(--sand); }
.btn-dark:hover { background: var(--ink-3); }
.btn[aria-disabled="true"] { background: transparent; border-color: #c9c3ba; color: #8a8d93; cursor: default; }
.btn[aria-disabled="true"]:hover svg { transform: none; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(5, 6, 8, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; min-width: 0; }
.brand img { height: 38px; width: auto; }
.brand .divider { width: 1px; height: 26px; background: var(--line-dark); }
.brand span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-link { font-size: 0.78rem; font-weight: 600; color: var(--muted-dark); text-decoration: none; transition: color .2s; }
.header-link:hover { color: var(--gold-light); }
.site-header .btn { min-height: 40px; padding: 0 16px; font-size: 0.72rem; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 10vw, 128px) 0 clamp(56px, 8vw, 104px); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(200,155,69,.18), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(239,66,77,.08), transparent 60%),
    linear-gradient(180deg, #08090c 0%, var(--ink) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(242,236,226,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(242,236,226,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-logo { width: min(100%, 420px); height: auto; margin: 26px 0 30px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); color: var(--sand); }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero .lead { margin-top: 22px; max-width: 34em; font-size: clamp(1rem, 1.4vw, 1.12rem); color: #cfcac1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.signal { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: clamp(8px, 1.4vw, 14px); height: clamp(220px, 30vw, 340px); padding: 24px; border: 1px solid var(--line-dark); background: linear-gradient(180deg, rgba(23,25,29,.6), rgba(14,15,18,.2)); }
.signal i { display: block; width: clamp(10px, 1.6vw, 18px); border-radius: 99px; background: var(--gold); transform-origin: bottom; animation: bar 2.8s var(--ease) infinite alternate; }
.signal i:nth-child(odd) { background: var(--gold-light); }
.signal figcaption { position: absolute; left: 20px; right: 20px; top: 18px; display: flex; justify-content: space-between; font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); }
.signal figcaption b { color: var(--red); font-weight: 700; }
@keyframes bar { from { transform: scaleY(.55); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .signal i { animation: none; } }

/* Games */
.games { background: var(--sand); color: var(--text-light); padding: clamp(64px, 9vw, 112px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-top: 14px; }
.section-head p { max-width: 30em; color: var(--muted-light); font-size: .96rem; }
.games .eyebrow { color: #8a6a2c; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  display: flex; flex-direction: column; min-width: 0;
  background: #fbf8f3; border: 1px solid #ddd5c7; border-radius: var(--radius); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:not(.is-soon):hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(5,6,8,.45); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); }
.card-media img, .card-media svg { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:not(.is-soon):hover .card-media img { transform: scale(1.045); }
.badge { position: absolute; top: 14px; left: 14px; padding: 6px 10px; border-radius: 2px; font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: var(--gold-light); }
.badge.badge-soon { background: var(--sand); color: var(--ink); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.card-kicker { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8a6a2c; }
.card h3 { font-size: 1.7rem; margin: 10px 0 12px; color: var(--ink); }
.card p { font-size: .92rem; color: #4f545c; }
.skill { margin: 18px 0 22px; padding: 14px 16px; background: var(--sand); border-left: 3px solid var(--gold); font-size: .82rem; line-height: 1.55; color: #3c4047; }
.skill strong { display: block; margin-bottom: 2px; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 22px; font-size: .74rem; font-weight: 600; color: #6a6e75; }
.card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.card-meta svg { width: 14px; height: 14px; color: #8a6a2c; }
.card .btn { margin-top: auto; align-self: flex-start; }
.is-soon .card-media { filter: saturate(.85); }

/* About */
.about { padding: clamp(64px, 9vw, 112px) 0; background: var(--ink-2); border-top: 1px solid var(--line-dark); }
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); }
.about h2 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 14px; }
.about .intro { margin-top: 20px; color: #cfcac1; max-width: 30em; }
.about .text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-light); text-decoration: none; border-bottom: 1px solid rgba(225,193,125,.4); padding-bottom: 4px; }
.about .text-link:hover { border-color: var(--gold-light); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line-dark); }
.steps li:last-child { border-bottom: 1px solid var(--line-dark); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: "Oswald", sans-serif; font-weight: 500; font-size: 1.5rem; color: var(--gold); line-height: 1.2; }
.steps h3 { font-size: 1.3rem; margin-bottom: 6px; }
.steps p { color: var(--muted-dark); font-size: .92rem; }

/* CTA */
.cta { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 104px) 0; background: var(--gold); color: var(--ink); }
.cta::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 420px; height: 280px; opacity: .14; background: repeating-linear-gradient(90deg, var(--ink) 0 14px, transparent 14px 34px); mask-image: linear-gradient(0deg, #000, transparent); -webkit-mask-image: linear-gradient(0deg, #000, transparent); }
.cta .wrap { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.cta p { margin-top: 12px; max-width: 32em; font-weight: 500; }
.cta .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn-outline { border-color: rgba(5,6,8,.5); color: var(--ink); }
.cta .btn-outline:hover { border-color: var(--ink); background: rgba(5,6,8,.06); }

/* Footer */
.site-footer { padding: 40px 0 48px; border-top: 1px solid var(--line-dark); font-size: .8rem; color: var(--muted-dark); }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-footer img { height: 34px; width: auto; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer .fine { flex-basis: 100%; font-size: .74rem; color: #77746e; line-height: 1.6; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .signal { display: none; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .card-grid { grid-template-columns: 1fr; }
  .header-link { display: none; }
  .brand .divider, .brand span { display: none; }
  .brand img { height: 32px; }
  .hero-logo { width: min(100%, 320px); }
  .hero-actions .btn { flex: 1 1 auto; }
  .steps li { grid-template-columns: 44px 1fr; }
}
