:root {
  --paper: #f8f2e6;
  --ink: #1b2333;
  --ink-soft: #2d3748;
  --line: rgba(27, 35, 51, 0.16);
  --panel: rgba(255, 255, 255, 0.78);
  --teal: #0b6b65;
  --teal-deep: #074e4a;
  --sun: #ee8d3b;
  --shadow: 0 16px 40px rgba(20, 28, 41, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 10%, rgba(238, 141, 59, 0.32), transparent 38%),
    radial-gradient(circle at 85% 85%, rgba(11, 107, 101, 0.26), transparent 36%),
    linear-gradient(160deg, #fffaf1 0%, var(--paper) 45%, #f5efe2 100%);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  line-height: 1.45;
  position: relative;
}

.backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    -18deg,
    transparent,
    transparent 11px,
    rgba(27, 35, 51, 0.025) 11px,
    rgba(27, 35, 51, 0.025) 12px
  );
}

.site-shell {
  width: min(960px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.4rem 0 2.8rem;
  position: relative;
  z-index: 1;
}

.hero,
.panel,
.footer {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(3px);
}

.hero {
  padding: clamp(1.6rem, 2.5vw, 2.5rem);
}

.panel {
  margin-top: 1rem;
  padding: clamp(1.15rem, 2vw, 1.7rem);
}

.footer {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  text-align: center;
}

.eyebrow {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-deep);
  font-weight: 700;
}

.hero-logo-wrap {
  margin-top: 0.65rem;
}

.hero-logo {
  display: block;
  width: min(100%, 820px);
  height: auto;
  filter: drop-shadow(0 14px 24px rgba(20, 28, 41, 0.22));
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 620;
  letter-spacing: 0.01em;
  margin: 0;
}

h1 {
  margin-top: 0.9rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.06;
}

h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  margin-bottom: 0.35rem;
}

p {
  margin: 0.65rem 0 0;
  color: var(--ink-soft);
}

.lead {
  max-width: 66ch;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.62rem 1.05rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--sun), #f4a54f 62%, #f7b775);
  color: #1f1a13;
  box-shadow: 0 8px 16px rgba(238, 141, 59, 0.32);
}

.btn-secondary {
  color: var(--teal-deep);
  border: 1px solid rgba(7, 78, 74, 0.35);
  background: rgba(11, 107, 101, 0.08);
}

a {
  color: var(--teal-deep);
}

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid #114ec7;
  outline-offset: 2px;
}

.text-link {
  display: inline-block;
  margin-top: 0.55rem;
  font-weight: 700;
}

.game-card {
  padding: 0.9rem;
  border: 1px solid rgba(27, 35, 51, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise-in 780ms cubic-bezier(0.2, 0.7, 0.1, 1) forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(960px, calc(100% - 1rem));
    padding-top: 1.1rem;
  }

  .hero,
  .panel {
    border-radius: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}