:root {
  --navy: #071a33;
  --navy-soft: #12325d;
  --sky: #39bdf2;
  --sky-soft: #e9f8ff;
  --sky-mid: #bfefff;
  --yellow: #ffd84d;
  --orange: #ff8a1f;
  --pipe: #22b66f;
  --pipe-dark: #12814c;
  --white: #ffffff;
  --paper: #fffaf1;
  --muted: #4c5f78;
  --line: #bfd8ea;
  --shadow: 0 18px 44px rgba(7, 26, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--sky-soft);
  font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--navy);
  color: var(--white);
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(7, 26, 51, 0.1);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1120px, calc(100% - 2rem));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-link img {
  height: 45px;
  width: 190px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  flex-wrap: wrap;
  font-weight: 800;
  font-size: 0.95rem;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--sky-soft);
}

.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 5.25rem 1rem 5rem;
  background:
    linear-gradient(180deg, #7edbff 0%, #dff7ff 64%, #fff4cc 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22px;
  background:
    linear-gradient(90deg, rgba(7, 26, 51, 0.1) 0 12px, transparent 12px 24px),
    var(--yellow);
  background-size: 24px 22px;
}

.hero-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(740px, 100%);
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--navy-soft);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.04;
}

h1 {
  font-size: 5rem;
  font-weight: 950;
}

h2 {
  font-size: 2.6rem;
  font-weight: 950;
}

.hero-subtitle {
  max-width: 42rem;
  margin: 1rem auto 1.65rem;
  color: #183a68;
  font-size: 1.35rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.1rem;
  border: 3px solid var(--navy);
  border-radius: 8px;
  box-shadow: 6px 6px 0 var(--navy);
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 var(--navy);
}

.button-primary {
  color: var(--navy);
  background: var(--yellow);
}

.cloud,
.preview-cloud {
  position: absolute;
  width: 84px;
  height: 28px;
  background: var(--white);
  border: 3px solid rgba(7, 26, 51, 0.12);
  box-shadow: 26px -16px 0 var(--white), 52px 0 0 var(--white);
}

.cloud span {
  display: block;
}

.cloud-one {
  top: 18%;
  left: 9%;
}

.cloud-two {
  top: 28%;
  right: 13%;
  transform: scale(0.82);
}

.pipe {
  position: absolute;
  right: 10%;
  width: 74px;
  background: var(--pipe);
  border: 5px solid var(--navy);
  box-shadow: inset -12px 0 0 var(--pipe-dark), 8px 8px 0 rgba(7, 26, 51, 0.16);
}

.pipe::before {
  content: "";
  position: absolute;
  left: -14px;
  width: 102px;
  height: 34px;
  background: var(--pipe);
  border: 5px solid var(--navy);
  box-shadow: inset -14px 0 0 var(--pipe-dark);
}

.pipe-top {
  top: -18px;
  height: 180px;
}

.pipe-top::before {
  bottom: -5px;
}

.pipe-bottom {
  bottom: 0;
  height: 132px;
  right: 18%;
}

.pipe-bottom::before {
  top: -5px;
}

.hero-bird {
  position: absolute;
  right: 12%;
  top: 48%;
  width: 126px;
  filter: drop-shadow(10px 10px 0 rgba(7, 26, 51, 0.16));
}

.ground-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 42px;
  background:
    linear-gradient(90deg, rgba(7, 26, 51, 0.16) 0 10px, transparent 10px 20px),
    var(--orange);
  background-size: 20px 42px;
  border-top: 5px solid var(--navy);
}

.section {
  padding: 5rem 1rem;
  background: var(--white);
}

.section:nth-of-type(3) {
  background: var(--paper);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.game-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 3rem;
}

.section-lede {
  max-width: 42rem;
  margin: 1rem 0 1.65rem;
  color: var(--muted);
  font-size: 1.15rem;
  font-weight: 700;
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.feature-grid li {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem;
  background: #f7fcff;
  border: 2px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  font-weight: 800;
}

.feature-mark {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background: var(--yellow);
  border: 3px solid var(--navy);
  box-shadow: 3px 3px 0 var(--orange);
}

.game-preview {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 5px solid var(--navy);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #8ee1ff 0%, #dcf7ff 72%, #ffdf72 72%, #ffdf72 100%);
  box-shadow: var(--shadow);
}

.preview-score {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--white);
  font-size: 3rem;
  font-weight: 950;
  text-shadow: 4px 4px 0 var(--navy);
}

.preview-cloud {
  border-color: rgba(7, 26, 51, 0.1);
  transform: scale(0.75);
}

.preview-cloud-one {
  left: 9%;
  top: 18%;
}

.preview-cloud-two {
  right: 22%;
  top: 30%;
}

.preview-pipe {
  position: absolute;
  bottom: 68px;
  width: 70px;
  background: var(--pipe);
  border: 5px solid var(--navy);
  box-shadow: inset -12px 0 0 var(--pipe-dark);
}

.preview-pipe::before {
  content: "";
  position: absolute;
  left: -13px;
  width: 96px;
  height: 32px;
  background: var(--pipe);
  border: 5px solid var(--navy);
  box-shadow: inset -12px 0 0 var(--pipe-dark);
}

.preview-pipe-left {
  left: 13%;
  height: 158px;
}

.preview-pipe-left::before {
  top: -5px;
}

.preview-pipe-right {
  right: 11%;
  height: 228px;
}

.preview-pipe-right::before {
  bottom: -5px;
}

.preview-bird {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 112px;
  transform: translate(-50%, -50%);
  z-index: 2;
  filter: drop-shadow(8px 8px 0 rgba(7, 26, 51, 0.18));
}

.preview-ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 68px;
  border-top: 5px solid var(--navy);
  background:
    linear-gradient(90deg, rgba(7, 26, 51, 0.18) 0 12px, transparent 12px 24px),
    var(--orange);
  background-size: 24px 68px;
}

.coming-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem;
  border: 3px solid var(--navy);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 8px 8px 0 var(--sky-mid);
}

.coming-slots {
  display: grid;
  grid-template-columns: repeat(3, 74px);
  gap: 0.75rem;
}

.coming-slots span {
  aspect-ratio: 1;
  border: 4px solid var(--navy);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.65), transparent),
    var(--yellow);
  box-shadow: inset -8px -8px 0 rgba(255, 138, 31, 0.45);
}

.coming-slots span:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.65), transparent),
    var(--sky);
  box-shadow: inset -8px -8px 0 rgba(18, 50, 93, 0.2);
}

.coming-slots span:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.65), transparent),
    var(--orange);
  box-shadow: inset -8px -8px 0 rgba(7, 26, 51, 0.2);
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 2rem 1rem;
}

.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner a {
  color: var(--white);
  font-weight: 800;
}

.footer-inner p {
  margin: 0;
}

.footer-brand {
  font-weight: 950;
}

.policy-main {
  padding: 4rem 1rem 5rem;
  background:
    linear-gradient(180deg, var(--sky-soft) 0%, var(--white) 240px);
}

.policy-article {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 2.5rem;
  border: 3px solid var(--navy);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.policy-article h1 {
  font-size: 3rem;
}

.policy-article h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.policy-article p {
  color: var(--muted);
  font-size: 1.05rem;
}

.policy-article a {
  color: var(--navy);
  font-weight: 800;
}

.last-updated {
  margin: 1rem 0 2rem;
  font-weight: 800;
}

@media (max-width: 900px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .game-layout {
    grid-template-columns: 1fr;
  }

  .game-preview {
    min-height: 360px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coming-panel {
    grid-template-columns: 1fr;
  }

  .coming-slots {
    grid-template-columns: repeat(3, minmax(54px, 74px));
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 94px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.65rem 0;
  }

  .brand-link img {
    height: 39px;
    width: 165px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 0.15rem;
    font-size: 0.86rem;
  }

  .nav-links a {
    padding: 0.35rem 0.4rem;
  }

  .hero {
    min-height: 500px;
    padding: 4.25rem 1rem 4rem;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2,
  .policy-article h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-bird {
    right: -5%;
    top: 61%;
    width: 86px;
  }

  .pipe {
    width: 56px;
  }

  .pipe::before {
    width: 78px;
  }

  .pipe-top {
    right: -10px;
  }

  .pipe-bottom {
    right: 12%;
  }

  .section {
    padding: 3.5rem 1rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .game-preview {
    min-height: 320px;
  }

  .preview-score {
    font-size: 2.35rem;
  }

  .preview-bird {
    width: 90px;
  }

  .preview-pipe {
    width: 56px;
  }

  .preview-pipe::before {
    width: 78px;
  }

  .coming-panel,
  .policy-article {
    padding: 1.35rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
