:root {
  --orange: #f58220;
  --orange-deep: #e46200;
  --orange-soft: #fff3e7;
  --blue: #115ca5;
  --blue-deep: #0e4f8e;
  --ink: #103867;
  --white: #ffffff;
  --shadow: 0 28px 70px rgba(21, 56, 103, 0.16);
  --line: rgba(17, 92, 165, 0.12);
  --radius: 34px;
  --display-font: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #ff982f 0%, var(--orange) 22%, #f17a11 58%, #ea6a00 100%);
  color: var(--ink);
  font-family: var(--display-font);
  font-style: italic;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(1220px, calc(100% - 44px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

h3 {
  margin-bottom: 0;
  color: var(--blue);
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  line-height: 0.92;
  text-transform: uppercase;
}

p {
  color: rgba(16, 56, 103, 0.8);
  font-size: 1.05rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 239, 0.96));
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 16px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 18px));
  opacity: 0;
}

.header-main {
  width: min(1280px, calc(100% - 34px));
  min-height: 106px;
  margin: 0 auto;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(227, 98, 0, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 42px rgba(96, 31, 0, 0.24);
}

.brand {
  display: flex;
  align-items: center;
}

.brand-mark {
  width: 94px;
  height: 94px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 34px;
  color: var(--white);
  font-size: 1.38rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.site-nav a,
.footer-nav a {
  position: relative;
}

.site-nav a::after,
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: currentColor;
  transition: transform 0.18s ease;
}

.site-nav a:hover::after,
.footer-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta,
.button-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-main {
  padding-top: 18px;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: #000;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.intro-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-content {
  position: relative;
  z-index: 1;
}

.enter-button,
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  font-family: var(--display-font);
  font-size: 1rem;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.enter-button {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 18px 36px rgba(17, 92, 165, 0.3);
}

.enter-button.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.enter-button:hover,
.cta-button:hover {
  transform: translateY(-2px);
}

.cta-button.blue {
  background: linear-gradient(180deg, #1667b7 0%, var(--blue) 100%);
  box-shadow: 0 14px 28px rgba(17, 92, 165, 0.22);
}

.cta-button.orange-text {
  color: #ff9c38;
}

.cta-button.white-text {
  color: var(--white);
}

.cta-button.large {
  min-height: 64px;
  padding: 0 38px;
  font-size: 1.12rem;
}

.cta-button.small {
  min-height: 50px;
}

.hero-shell {
  display: grid;
  gap: 28px;
  justify-items: center;
}

.hero-media {
  width: min(100%, 1060px);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 42px;
  background: linear-gradient(180deg, rgba(255, 200, 150, 0.22), rgba(255, 255, 255, 0.09));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 28px 70px rgba(96, 31, 0, 0.18);
}

.hero-media img {
  width: 100%;
  border-radius: 28px;
}

.hero-video {
  width: 100%;
  border-radius: 28px;
  object-fit: cover;
}

.hero-actions.centered {
  justify-content: center;
}

.marquee-divider {
  overflow: hidden;
  border-top: 3px solid rgba(255, 255, 255, 0.22);
  border-bottom: 3px solid rgba(255, 255, 255, 0.22);
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(17, 92, 165, 0.22);
}

.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 14px 0;
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  animation: marquee 7.5s linear infinite;
}

.marquee-track span::after {
  content: "✦";
  margin-left: 28px;
  color: #ffd6b0;
}

.section-heading {
  margin-bottom: 34px;
  text-align: center;
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.incident-stack {
  display: grid;
  gap: 24px;
}

.incident-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.incident-pair.reverse .incident-card:first-child {
  order: 2;
}

.incident-pair.reverse .incident-card:last-child {
  order: 1;
}

.incident-card,
.glow-card {
  margin: 0;
  min-height: 340px;
  padding: 12px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 240, 0.96));
  box-shadow: var(--shadow);
}

.incident-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.blend-white {
  mix-blend-mode: multiply;
}

.born-banner {
  margin-top: 36px;
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.born-banner h3 {
  color: var(--white);
}

.born-logo {
  width: min(320px, 48vw);
}

.glow-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: stretch;
}

.glow-copy {
  padding: 34px;
}

.glow-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.glow-card.tall img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: calc(var(--radius) - 8px);
  object-fit: cover;
}

.game-shell,
.footer-shell {
  padding: 28px;
}

.game-ui {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.game-stat-label {
  margin-bottom: 4px;
  color: rgba(16, 56, 103, 0.72);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.game-stat {
  margin-bottom: 0;
  color: var(--blue);
  font-size: 2.7rem;
  line-height: 1;
}

.game-board {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(17, 92, 165, 0.12);
  background:
    radial-gradient(circle at top, rgba(255, 167, 73, 0.26), transparent 36%),
    linear-gradient(180deg, #fff8f1 0%, #ffffff 68%, #fff0e0 100%);
}

.game-instructions {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: min(92%, 520px);
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(17, 92, 165, 0.1);
  text-align: center;
}

.bucket {
  position: absolute;
  width: 220px;
  height: 270px;
  transform: translate(-50%, -50%);
}

.bucket-body {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 16px;
  top: 60px;
  border-radius: 24px 24px 46px 46px;
  border: 6px solid #51677e;
  background: linear-gradient(180deg, #d9e2ec 0%, #b5c3d2 100%);
  box-shadow: inset 0 16px 26px rgba(255, 255, 255, 0.38);
}

.bucket-rim {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 44px;
  height: 36px;
  border-radius: 999px;
  border: 6px solid #51677e;
  background: #eff4f9;
}

.glue-surface {
  position: absolute;
  left: 38px;
  right: 38px;
  top: 56px;
  height: 22px;
  border-radius: 999px;
  border: 3px solid rgba(228, 98, 0, 0.46);
  background: linear-gradient(180deg, #fff9ef 0%, #ffd6ae 100%);
}

.bucket-label {
  position: absolute;
  left: 50%;
  bottom: 54px;
  transform: translateX(-50%);
  color: var(--ink);
  font-size: 2.25rem;
  line-height: 1;
}

.cat {
  position: absolute;
  left: 50%;
  top: 14px;
  width: 128px;
  height: 128px;
  overflow: hidden;
  border: 6px solid var(--white);
  border-radius: 26px;
  transform: translate(-50%, 62px);
  box-shadow: 0 16px 30px rgba(16, 56, 103, 0.18);
  cursor: grab;
  touch-action: none;
  background: #fff;
}

.cat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.footer-shell {
  display: grid;
  gap: 22px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--blue);
  font-size: 1rem;
  text-transform: uppercase;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1100px) {
  .header-main {
    grid-template-columns: 1fr;
    justify-items: center;
    border-radius: 38px;
  }

  .header-cta {
    justify-content: center;
  }

  .glow-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .incident-pair,
  .glow-gallery {
    grid-template-columns: 1fr;
  }

  .incident-pair.reverse .incident-card:first-child,
  .incident-pair.reverse .incident-card:last-child {
    order: initial;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 22px, 1220px);
  }

  .site-nav {
    gap: 14px;
    text-align: center;
    font-size: 0.96rem;
  }

  .hero-actions,
  .header-cta,
  .button-row {
    width: 100%;
    justify-content: center;
  }

  .cta-button,
  .cta-button.large,
  .cta-button.small {
    width: 100%;
  }

  .glow-copy,
  .game-shell,
  .footer-shell {
    padding: 22px;
  }

  .bucket {
    width: 180px;
    height: 232px;
  }

  .cat {
    width: 110px;
    height: 110px;
  }
}
