:root {
  color-scheme: light;
  --night: #0d263f;
  --night-soft: #173a5c;
  --copper: #b97845;
  --gold: #d0a53a;
  --cream: #f6f0e2;
  --paper: #fffaf0;
  --ink: #243747;
  --muted: #66717a;
  --line: #d9bd79;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.62;
}
a { color: inherit; text-underline-offset: .2em; }

.site-header {
  width: 100%;
  min-height: 92px;
  padding: 10px max(32px, calc((100vw - 1080px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #fff;
  background: var(--night);
  border-bottom: 5px solid var(--gold);
}
.brand { display: inline-flex; text-decoration: none; }
.brand img { width: 195px; height: 68px; object-fit: contain; object-position: left center; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { color: #f7f0e3; text-decoration: none; font-size: 1rem; }
nav a:hover, nav a:focus-visible { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); }

main { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.hero {
  min-height: 445px;
  padding: 64px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  align-items: center;
  gap: 7vw;
  border-bottom: 1px solid var(--line);
}
.hero-copy { max-width: 660px; }
h1, h2, h3 { color: var(--night); font-weight: 400; line-height: 1.14; margin: 0; }
h1 { font-size: clamp(2.7rem, 5.6vw, 4.7rem); letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.65rem; color: #a94f43; }
.hero-copy p { max-width: 650px; margin: 22px 0 0; font-size: 1.08rem; color: #50606c; }
.hero-mark { display: grid; place-items: center; }
.hero-mark img { width: min(100%, 315px); filter: drop-shadow(0 18px 26px rgba(13, 38, 63, .13)); }

.games { padding: 48px 0 58px; border-bottom: 1px solid var(--line); }
.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.game-card {
  min-height: 300px;
  padding: 28px;
  background: rgba(255, 250, 240, .78);
  border: 1px solid rgba(185, 120, 69, .18);
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(13, 38, 63, .06);
}
.game-card.featured { border-top: 4px solid var(--copper); padding-top: 25px; }
.game-card p:not(.badge) { color: #59646c; }
.badge {
  display: inline-block;
  margin: 12px 0 5px;
  padding: 4px 10px;
  color: #5a5548;
  background: #eee7d3;
  border-radius: 999px;
  font: 600 .78rem/1.3 ui-sans-serif, system-ui, sans-serif;
}
.card-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.card-links a { color: #a34c42; }

.contact { padding: 52px 0 60px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.contact p { color: #59646c; }
.contact-card {
  display: grid;
  gap: 3px;
  padding: 22px 24px;
  text-decoration: none;
  background: rgba(255, 250, 240, .84);
  border-left: 4px solid #6f9875;
  box-shadow: 0 5px 18px rgba(13, 38, 63, .05);
}
.contact-card span { font: .8rem ui-sans-serif, system-ui, sans-serif; color: var(--muted); }
.contact-card strong { color: var(--night); font-size: clamp(1rem, 2.2vw, 1.35rem); overflow-wrap: anywhere; }

footer {
  width: 100%;
  min-height: 90px;
  padding: 24px max(32px, calc((100vw - 1080px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #e7e7e3;
  background: var(--night);
  border-top: 5px solid var(--gold);
  font: .82rem/1.5 ui-sans-serif, system-ui, sans-serif;
}
footer div { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: #f4eee4; }

.eyebrow { color: var(--copper); text-transform: uppercase; letter-spacing: .13em; font: 700 .76rem/1.5 ui-sans-serif, system-ui, sans-serif; }
.legal { max-width: 820px; min-height: 65vh; margin: 0 auto; padding: 75px 0 100px; }
.legal h1 { font-size: clamp(2.8rem, 7vw, 5.1rem); margin-bottom: 28px; }
.legal h2 { font-family: inherit; font-size: 1.35rem; font-weight: 600; margin: 42px 0 10px; }
.legal p, .legal li { color: #53616b; }
.legal .intro { font-size: 1.22rem; color: var(--night); }
.legal ol { padding-left: 1.3rem; }
.button { display: inline-block; padding: 11px 16px; border: 1px solid var(--copper); color: var(--night); text-decoration: none; font: 700 .78rem/1.4 ui-sans-serif, system-ui, sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.button:hover, .button:focus-visible { color: white; background: var(--copper); }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 42px; }
.support-grid section { padding: 26px; border: 1px solid rgba(185, 120, 69, .25); background: rgba(255, 250, 240, .78); }
.support-grid h2 { margin-top: 0; }

@media (max-width: 760px) {
  .site-header { min-height: 78px; padding: 8px 20px; }
  .brand img { width: 150px; height: 58px; }
  nav { gap: 17px; }
  nav a { font-size: .92rem; }
  main { width: min(100% - 32px, 1080px); }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 52px 0 44px; }
  .hero-mark { display: none; }
  h1 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .game-grid { grid-template-columns: 1fr; }
  .game-card { min-height: auto; }
  .contact { grid-template-columns: 1fr; gap: 18px; }
  .support-grid { grid-template-columns: 1fr; }
  .legal { padding: 55px 0 80px; }
  footer { align-items: flex-start; flex-direction: column; padding: 28px 20px; }
}
