:root {
  color-scheme: dark;
  --bg: #090806;
  --bg-soft: #100d09;
  --panel: #17120d;
  --panel-2: #21170f;
  --gold: #e6a83d;
  --gold-bright: #ffd47a;
  --gold-deep: #9e5d18;
  --cream: #f4e8cf;
  --muted: #b8aa92;
  --line: rgba(222, 157, 54, .28);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(106, 53, 11, .17), transparent 42rem),
    radial-gradient(ellipse at 95% 56%, rgba(88, 34, 14, .11), transparent 34rem),
    var(--bg);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
.page-width { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 1rem; z-index: 100; background: var(--gold-bright); color: #160d05; padding: .7rem 1rem; }
.skip-link:focus { left: 1rem; }

.site-header {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid rgba(232, 170, 72, .19);
  background: rgba(8, 7, 5, .94);
}
.header-inner {
  width: min(1320px, calc(100% - 64px));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.wordmark, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--gold-bright);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .015em;
  text-shadow: 0 2px 12px rgba(220, 120, 20, .19);
}
.wordmark em, .footer-brand em { color: #fff0d0; font-style: italic; }
.wordmark-mark { color: var(--gold); font-size: 1.35rem; }
.main-nav { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.6rem); }
.main-nav a {
  color: #d7c8ad;
  text-decoration: none;
  font-size: .88rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: color .18s ease;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--gold-bright); }

.hero { padding: 0 0 4.2rem; }
.hero-banner-wrap {
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #050403;
  border-bottom: 1px solid rgba(222, 157, 54, .25);
  box-shadow: 0 18px 60px rgba(0,0,0,.32);
}
.hero-banner { display: block; width: 100%; height: auto; aspect-ratio: 1546 / 500; object-fit: contain; }
.hero-intro { padding-top: 3.1rem; text-align: center; }
.eyebrow {
  margin: 0 0 .55rem;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .22em;
  line-height: 1.4;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; }
h1 { margin-bottom: .65rem; color: #fff0d1; font-size: clamp(2rem, 4.3vw, 3.55rem); line-height: 1.08; font-weight: 700; letter-spacing: -.025em; }
.hero-copy { max-width: 920px; margin: 0 auto; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.14rem); text-wrap: balance; }
.hero-actions { display: flex; justify-content: center; gap: .85rem; flex-wrap: wrap; margin-top: 1.65rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 46px;
  padding: .72rem 1.18rem;
  border-radius: 3px;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #1a1007; background: linear-gradient(135deg, #ffe09a, #d89028); border: 1px solid #ffd477; box-shadow: 0 5px 22px rgba(198, 111, 23, .2); }
.button-primary:hover { background: linear-gradient(135deg, #ffe9b8, #e5a63c); }
.button-quiet { color: #e7d5b4; border: 1px solid rgba(225, 170, 83, .42); background: rgba(255,255,255,.015); }
.button-quiet:hover { border-color: var(--gold-bright); }

.section { padding-block: 5.5rem; }
.section-heading { max-width: 720px; margin-bottom: 2.25rem; }
.section-heading h2 { margin-bottom: .65rem; color: var(--cream); font-size: clamp(2rem, 3.5vw, 2.8rem); line-height: 1.1; }
.section-heading > p:last-child { max-width: 620px; margin-bottom: 0; color: var(--muted); }
.games-intro-copy { max-width: 880px !important; text-wrap: balance; }
.games-section { padding-top: 2.2rem; }
.game-card {
  display: grid;
  grid-template-columns: minmax(260px, .88fr) 1.12fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(125deg, rgba(46, 29, 15, .8), rgba(18, 14, 10, .96) 54%);
  box-shadow: 0 18px 55px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.025);
}
.game-media {
  position: relative;
  min-width: 0;
  min-height: 330px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 1rem;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(113, 36, 13, .24), transparent 66%),
    #080605;
  border-right: 1px solid var(--line);
}
.game-loop {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  aspect-ratio: 1280 / 934;
  object-fit: contain;
  border-radius: 3px;
}
.game-info { align-self: center; padding: clamp(1.8rem, 4vw, 3.2rem); }
.game-logo {
  display: block;
  width: min(100%, 430px);
  height: auto;
  margin: .15rem 0 1.15rem;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .38));
}
.game-description { max-width: 550px; margin-bottom: 1.25rem; color: #c9bca6; font-size: 1.02rem; }
.game-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.game-tags span { padding: .32rem .65rem; color: #dcb66d; border: 1px solid rgba(215, 155, 63, .27); border-radius: 2px; background: rgba(215, 155, 63, .055); font-size: .72rem; letter-spacing: .04em; }
.availability-note { margin: 1.45rem 0 0; color: #9d8a70; font-size: .84rem; font-style: italic; }

.about-section { border-block: 1px solid rgba(216, 153, 57, .18); background: linear-gradient(100deg, rgba(45, 25, 12, .54), rgba(15, 11, 8, .78)); }
.about-inner { display: grid; grid-template-columns: minmax(150px, 190px) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 5.5rem); max-width: 1040px; }
.about-logo-wrap { width: min(100%, 182px); justify-self: center; }
.about-logo { display: block; width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 9px 22px rgba(219, 133, 35, .12)); }
.about-copy { min-width: 0; }
.about-copy h2 { margin-bottom: 1rem; color: #f5e6c9; font-size: clamp(2rem, 3.7vw, 3rem); line-height: 1.08; }
.about-copy h2 span { display: block; color: var(--gold-bright); }
.about-copy p:not(.eyebrow) { max-width: 720px; color: var(--muted); }
.about-copy p:last-child { margin-bottom: 0; }

.contact-section { padding-bottom: 6rem; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; min-width: 0; padding: 1.4rem; border: 1px solid var(--line); border-radius: 5px; background: linear-gradient(145deg, rgba(37, 25, 15, .7), rgba(17, 13, 9, .75)); text-decoration: none; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.contact-card:hover { transform: translateY(-3px); border-color: rgba(255, 200, 104, .62); background: rgba(44, 28, 14, .85); }
.contact-icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: .45rem; border: 1px solid rgba(224, 162, 66, .45); border-radius: 50%; color: var(--gold-bright); font-size: 1.05rem; }
.contact-label { color: #a99576; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-card strong { color: #f0d5a0; font-size: clamp(.78rem, 1.1vw, .92rem); overflow-wrap: anywhere; }

.site-footer { border-top: 1px solid rgba(216, 153, 57, .2); background: #060504; }
.footer-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-brand { font-size: 1.05rem; }
.footer-inner p { margin: 0; color: #9b896e; font-family: Georgia, serif; font-size: .9rem; font-style: italic; }
.footer-inner small { color: #756a58; font-size: .72rem; }

:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; }

@media (max-width: 760px) {
  .page-width, .header-inner { width: min(100% - 36px, var(--max)); }
  .header-inner { min-height: 68px; gap: 1rem; }
  .wordmark { font-size: 1.04rem; }
  .wordmark-mark { display: none; }
  .main-nav { gap: 1rem; }
  .main-nav a { font-size: .7rem; letter-spacing: .04em; }
  .hero { padding-bottom: 3.2rem; }
  .hero-intro { padding-top: 2.4rem; }
  .section { padding-block: 4rem; }
  .games-section { padding-top: 1.5rem; }
  .game-card { grid-template-columns: 1fr; }
  .game-media { min-height: 0; padding: .85rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .game-loop { width: min(100%, 560px); } 
  .game-logo { width: min(100%, 390px); }
  .game-info { padding: 1.65rem; }
  .about-inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .about-logo-wrap { width: min(40vw, 132px); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 1.1rem 1.2rem; }
  .contact-icon { display: none; }
  .footer-inner { min-height: 110px; flex-wrap: wrap; justify-content: center; padding-block: 1.1rem; text-align: center; }
  .footer-inner p { width: 100%; order: 3; }
}

@media (max-width: 420px) {
  .header-inner, .page-width { width: calc(100% - 28px); }
  .wordmark { font-size: .92rem; }
  .main-nav { gap: .72rem; }
  .main-nav a { font-size: .64rem; }
  .hero-intro { padding-top: 1.9rem; }
  .hero-actions { gap: .6rem; }
  .button { width: 100%; }
}

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