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

:root {
  color-scheme: dark;
  --bg: #0d1016;
  --fg: #f5f0e8;
  --muted: #b8b0a5;
  --accent: #ffcc4d;
  --accent-hover: #ffe08a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 204, 77, 0.12), transparent 28rem),
    linear-gradient(135deg, #111722 0%, var(--bg) 55%, #05070a 100%);
  color: var(--fg);
  font-family: "Daniel Bold", Verdana, sans-serif;
}

.site-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.hero {
  width: min(100%, 52rem);
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.95;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  margin-top: 2rem;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--accent);
  border-radius: 8px;
  color: var(--fg);
  text-decoration: none;
  font-size: 1.15rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.nav-links .nav-link {
  margin-top: 0;
}

.nav-link-primary {
  background: var(--accent);
  color: #14100a;
}

.nav-link:hover,
.nav-link:focus-visible {
  border-color: var(--accent-hover);
  background: rgba(255, 204, 77, 0.14);
  outline: none;
}

.nav-link-primary:hover,
.nav-link-primary:focus-visible {
  background: var(--accent-hover);
  color: #14100a;
}

.game-page {
  overflow: hidden;
}

.game-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  background: #05070a;
}

.game-toolbar {
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(5, 7, 10, 0.92);
  border-bottom: 1px solid rgba(255, 204, 77, 0.35);
}

.game-home-link,
.fullscreen-button {
  color: var(--fg);
  font: inherit;
  font-size: 1rem;
}

.game-home-link {
  text-decoration: none;
}

.game-home-link:hover,
.game-home-link:focus-visible {
  color: var(--accent-hover);
  outline: none;
}

.fullscreen-button {
  padding: 0.45rem 0.8rem;
  border: 2px solid var(--accent);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
}

.fullscreen-button:hover,
.fullscreen-button:focus-visible {
  border-color: var(--accent-hover);
  background: rgba(255, 204, 77, 0.14);
  outline: none;
}

.game-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  background: #000;
}
