:root {
  color-scheme: dark;
  --ink: #061222;
  --navy: #0a1b31;
  --navy-light: #112b49;
  --brass: #d2af67;
  --brass-bright: #f2d99a;
  --paper: #e8dfce;
}

* { box-sizing: border-box; }

html { background: var(--ink); }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse 80% 35% at 50% 0%, rgba(42, 79, 112, .38), transparent 68%),
    linear-gradient(135deg, #06111f 0%, #0a1d34 52%, #061321 100%);
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
}

a { color: inherit; }

.site-shell {
  width: min(100%, 1600px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 clamp(10px, 1.8vw, 30px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.site-header,
.site-footer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  min-height: 70px;
  gap: 12px;
  border-bottom: 1px solid rgba(210, 175, 103, .42);
}

.brand-logo {
  display: block;
  text-decoration: none;
}

.brand-logo img {
  display: block;
  width: 130px;
  height: 52px;
  object-fit: contain;
}

.brand-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
  line-height: 1;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.brand-copy strong {
  color: var(--brass-bright);
  font-size: clamp(.78rem, 1.2vw, .96rem);
  font-weight: 700;
  white-space: nowrap;
}

.brand-copy span {
  color: rgba(232, 223, 206, .77);
  font-family: Arial, sans-serif;
  font-size: .62rem;
  letter-spacing: .14em;
  white-space: nowrap;
}

.home-link {
  justify-self: end;
  color: var(--brass-bright);
  font-family: Arial, sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-link:hover,
.home-link:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible { color: #fff2c7; }

.game-area {
  width: 100%;
  display: grid;
  place-items: start center;
  padding: clamp(10px, 1.8vh, 20px) 0;
}

.game-frame {
  width: 100%;
  overflow: hidden;
  background: #071729;
  border: 1px solid rgba(210, 175, 103, .72);
  border-radius: 8px;
  box-shadow: 0 0 0 3px rgba(6, 18, 34, .8), 0 16px 42px rgba(0, 0, 0, .42), inset 0 0 36px rgba(210, 175, 103, .09);
}

.game-frame iframe {
  display: block;
  width: 100%;
  height: clamp(300px, calc(100dvh - 142px), 1020px);
  border: 0;
  background: #071729;
}

.site-footer {
  min-height: 42px;
  gap: 16px;
  border-top: 1px solid rgba(210, 175, 103, .26);
  color: rgba(232, 223, 206, .68);
  font-family: Arial, sans-serif;
  font-size: .65rem;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.site-footer p { margin: 0; }

.site-footer a {
  color: var(--brass);
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 620px) {
  .site-shell { padding: 0 6px; }

  .site-header {
    min-height: 58px;
    gap: 10px;
    padding: 0 5px;
  }

  .brand-logo img { width: 84px; height: 42px; }
  .brand-copy span { font-size: .53rem; }
  .home-link { font-size: .59rem; letter-spacing: .045em; }

  .game-area { padding: 7px 0; }
  .game-frame { border-radius: 5px; }

  .game-frame iframe {
    height: max(300px, calc(100dvh - 112px));
  }

  .site-footer {
    min-height: 38px;
    padding: 5px 4px;
    font-size: .54rem;
    letter-spacing: .025em;
  }
}

@media (max-width: 400px) {
  .brand-copy strong { font-size: .7rem; }
  .brand-copy span { display: none; }
  .site-footer a { display: none; }
}
