* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --background: #020817;
  --background-deep: #01040d;
  --surface: #061329;
  --surface-strong: #081a35;
  --blue: #8bbef2;
  --neon-blue: #1688ff;
  --bright-blue: #43b9ff;
  --soft-blue: #e8f3ff;
  --muted-blue: #6e91bd;
  --line-blue: rgb(45 139 255 / 36%);
  --content-width: 1180px;
  --header-height: 72px;
  --font-body: "Segoe UI", Inter, Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--blue);
  background: var(--background);
  font-family: var(--font-body);
  line-height: 1.6;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

h1,
h2,
h3 {
  color: var(--soft-blue);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0;
}

::selection {
  color: #fff;
  background: rgb(22 136 255 / 55%);
}

:focus-visible {
  outline: 2px solid #70c8ff;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--bright-blue);
  border-radius: 4px;
  color: #fff;
  background: #031127;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--neon-blue);
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  color: var(--soft-blue);
  background: #071c39;
  box-shadow: 0 0 14px rgb(22 136 255 / 18%);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: #67c7ff;
  background: #0b2c55;
  box-shadow: 0 0 20px rgb(22 136 255 / 42%);
  transform: translateY(-2px);
}

.eyebrow {
  margin: 0;
  color: var(--muted-blue);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* Shared fallback layout for the existing game and admin pages. */
.subpage main {
  padding-top: 4rem;
}

.subpage .card {
  max-width: 700px;
  margin: 0 auto;
}

body:not(.home-page, .outpost-scope) {
  background:
    linear-gradient(145deg, rgb(7 33 72 / 44%), transparent 38%),
    linear-gradient(180deg, #020817, #01050f 70%, #020817);
}

body:not(.home-page, .outpost-scope) h1,
body:not(.home-page, .outpost-scope) h2,
body:not(.home-page, .outpost-scope) h3 {
  text-shadow: 0 0 14px rgb(22 136 255 / 38%);
}

/* Navigation */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgb(30 130 255 / 25%);
  background: linear-gradient(180deg, rgb(1 8 23 / 88%), rgb(1 8 23 / 58%));
  transition: background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgb(39 148 255 / 42%);
  background: rgb(1 8 23 / 94%);
  box-shadow: 0 10px 30px rgb(0 0 0 / 28%);
}

@supports (backdrop-filter: blur(14px)) {
  .site-header {
    backdrop-filter: blur(14px) saturate(125%);
  }
}

.site-nav {
  display: flex;
  width: min(90%, var(--content-width));
  height: 100%;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
  color: #f0f7ff;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 40px;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 8px rgb(22 136 255 / 58%));
  transition: filter 220ms ease, transform 220ms ease;
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  filter: drop-shadow(0 0 13px rgb(52 167 255 / 82%));
  transform: translateY(-2px) rotate(2deg);
}

.brand-name {
  overflow: hidden;
  color: #edf5ff;
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-name span {
  color: #55adff;
}

.nav-panel,
.nav-links {
  display: flex;
  align-items: center;
}

.nav-panel {
  min-width: 0;
  gap: 2rem;
}

.nav-links {
  gap: 1.8rem;
}

.nav-link {
  position: relative;
  padding: 0.45rem 0;
  color: #bfd0e7;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, #2aa6ff, transparent);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

a.nav-link:hover,
a.nav-link:focus-visible {
  color: #fff;
}

a.nav-link:hover::after,
a.nav-link:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-link--inactive {
  color: #778ba8;
  cursor: default;
}

.nav-account {
  min-width: 108px;
  min-height: 44px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgb(43 148 255 / 42%);
  border-radius: 5px;
  background: rgb(4 19 42 / 76%);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: #cfe8ff;
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  height: calc(100svh - 58px);
  min-height: 620px;
  max-height: 860px;
  overflow: hidden;
  align-items: center;
  isolation: isolate;
  background: #010615;
}

.hero-media,
.hero-media img,
.hero-shade,
.hero-stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -4;
  overflow: hidden;
  animation: hero-media-arrive 1300ms ease both;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
  transform: translate3d(var(--hero-shift-x, 0), var(--hero-shift-y, 0), 0) scale(1.04);
  transition: transform 180ms ease-out;
}

.hero-shade {
  z-index: -3;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgb(1 5 16 / 92%) 0%, rgb(1 6 18 / 72%) 31%, rgb(1 8 23 / 18%) 61%, rgb(1 8 23 / 5%) 100%),
    linear-gradient(180deg, rgb(1 7 20 / 15%) 54%, rgb(1 7 20 / 72%) 100%);
}

.hero-shade::after {
  position: absolute;
  top: -40%;
  left: 36%;
  width: 11%;
  height: 180%;
  content: "";
  background: linear-gradient(90deg, transparent, rgb(105 204 255 / 14%), transparent);
  filter: blur(2px);
  opacity: 0;
  transform: rotate(21deg) translateX(-320%);
  animation: sapphire-glint 1500ms ease 650ms both;
}

.hero-stars {
  z-index: -2;
  opacity: 0.38;
  background-image:
    radial-gradient(circle, rgb(125 208 255 / 90%) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgb(50 126 255 / 70%) 0 1px, transparent 1.5px);
  background-position: 18px 12px, 82px 54px;
  background-size: 137px 113px, 181px 151px;
  mask-image: linear-gradient(90deg, transparent 5%, #000 43%, #000 100%);
}

.hero-inner {
  width: min(90%, var(--content-width));
  margin: 0 auto;
  padding-top: var(--header-height);
}

.hero-copy {
  width: min(100%, 555px);
  padding: 2rem 0 4rem;
  animation: hero-copy-arrive 900ms cubic-bezier(0.2, 0.75, 0.25, 1) 180ms both;
}

.hero-kicker {
  margin: 0 0 0.15rem;
  color: #e9f4ff;
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1.2;
  text-shadow: 0 2px 18px rgb(0 0 0 / 48%);
}

.hero h1 {
  margin: 0;
  color: #f3f8ff;
  font-size: 5.4rem;
  line-height: 0.98;
  text-shadow: 0 3px 22px rgb(0 0 0 / 55%);
}

.hero h1 span {
  color: #167cff;
  text-shadow: 0 0 25px rgb(13 106 255 / 35%);
}

.hero-lead {
  max-width: 450px;
  margin: 1.35rem 0 1.8rem;
  color: #b8cae0;
  font-size: 1.02rem;
  line-height: 1.75;
  text-wrap: balance;
  text-shadow: 0 2px 12px rgb(0 0 0 / 62%);
}

.primary-button {
  position: relative;
  display: inline-flex;
  min-width: 155px;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border: 1px solid #439fff;
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #176ee6, #0a4eb8);
  box-shadow: 0 0 22px rgb(22 120 255 / 38%), inset 0 1px 0 rgb(255 255 255 / 18%);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.primary-button::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(105deg, transparent 25%, rgb(255 255 255 / 22%) 48%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 500ms ease;
}

.primary-button span,
.primary-button svg {
  position: relative;
  z-index: 1;
}

.primary-button svg {
  width: 18px;
  fill: rgb(255 255 255 / 10%);
  stroke: #d9efff;
  stroke-linejoin: round;
  stroke-width: 1.3;
}

.primary-button:hover,
.primary-button:focus-visible {
  border-color: #88d4ff;
  box-shadow: 0 0 30px rgb(22 136 255 / 64%), inset 0 1px 0 rgb(255 255 255 / 24%);
  transform: translateY(-3px);
}

.primary-button:hover::before,
.primary-button:focus-visible::before {
  transform: translateX(130%);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 23px;
  left: 50%;
  display: grid;
  width: 52px;
  height: 58px;
  place-items: center;
  color: #bfe3ff;
  background: linear-gradient(145deg, rgb(10 43 88 / 84%), rgb(3 15 35 / 94%));
  clip-path: polygon(50% 0, 94% 24%, 88% 77%, 50% 100%, 12% 77%, 6% 24%);
  filter: drop-shadow(0 0 8px rgb(40 147 255 / 45%));
  transform: translateX(-50%);
  transition: color 180ms ease, filter 180ms ease, transform 180ms ease;
  animation: scroll-cue-float 2.6s ease-in-out 1.6s infinite;
}

.scroll-cue::before {
  position: absolute;
  inset: 1px;
  content: "";
  background: #04122a;
  clip-path: inherit;
}

.scroll-cue svg {
  position: relative;
  width: 24px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.scroll-cue:hover,
.scroll-cue:focus-visible {
  color: #fff;
  filter: drop-shadow(0 0 15px rgb(50 164 255 / 78%));
}

.hero::after {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 39px;
  content: "";
  background: #020817;
  clip-path: polygon(0 66%, 7% 30%, 25% 58%, 51% 92%, 73% 48%, 91% 68%, 100% 24%, 100% 100%, 0 100%);
  filter: drop-shadow(0 -1px 0 rgb(45 145 255 / 68%));
}

/* Flow and sections */
.content-flow {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 2.7rem 0 0;
  background:
    linear-gradient(115deg, transparent 0 21%, rgb(9 47 94 / 17%) 21.2%, transparent 21.5% 74%, rgb(11 65 119 / 13%) 74.2%, transparent 74.5%),
    linear-gradient(180deg, #020817 0%, #031027 26%, #010714 54%, #031229 79%, #01050f 100%);
}

.content-flow::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(126deg, transparent 0 49.8%, rgb(44 124 222 / 8%) 50%, transparent 50.2%),
    linear-gradient(54deg, transparent 0 49.8%, rgb(45 145 255 / 6%) 50%, transparent 50.2%);
  background-size: 210px 150px, 260px 190px;
  mask-image: linear-gradient(180deg, #000, transparent 42%, #000 70%, transparent 100%);
}

.home-section {
  position: relative;
  z-index: 1;
  width: min(90%, var(--content-width));
  margin: 0 auto;
  padding: 2.5rem 0 3.5rem;
}

.section-heading {
  display: grid;
  grid-template-columns: 23px auto minmax(42px, 1fr);
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.section-heading h2 {
  margin: 0;
  color: #d9eaff;
  font-family: var(--font-body);
  font-size: 1.26rem;
  font-weight: 650;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-gem {
  width: 22px;
  height: 26px;
  overflow: visible;
  fill: rgb(8 89 205 / 72%);
  stroke: #48b7ff;
  stroke-linejoin: round;
  stroke-width: 1;
  filter: drop-shadow(0 0 6px rgb(32 142 255 / 65%));
}

.section-gem path:last-child {
  fill: rgb(71 181 255 / 16%);
}

.heading-line {
  width: min(100%, 180px);
  height: 1px;
  background: linear-gradient(90deg, rgb(45 143 255 / 55%), transparent);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.game-card {
  --card-accent: #1787ff;
  --card-accent-rgb: 23 135 255;
  --card-shape: polygon(0 7%, 7% 0, 93% 0, 100% 7%, 100% 89%, 89% 100%, 11% 100%, 0 89%);
  position: relative;
  min-width: 0;
  min-height: 400px;
  overflow: hidden;
  background: linear-gradient(145deg, rgb(var(--card-accent-rgb) / 95%), rgb(var(--card-accent-rgb) / 26%) 38%, rgb(var(--card-accent-rgb) / 82%));
  clip-path: var(--card-shape);
  filter: drop-shadow(0 12px 22px rgb(0 0 0 / 42%)) drop-shadow(0 0 6px rgb(var(--card-accent-rgb) / 32%));
  isolation: isolate;
  transition: filter 240ms ease, transform 240ms ease;
}

.game-card::before {
  position: absolute;
  z-index: 0;
  inset: 1px;
  content: "";
  background: #031026;
  clip-path: var(--card-shape);
}

.game-card::after {
  position: absolute;
  z-index: 2;
  inset: 1px;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(145deg, rgb(var(--card-accent-rgb) / 13%), transparent 30%),
    linear-gradient(180deg, transparent 52%, rgb(1 5 16 / 74%) 100%);
  clip-path: var(--card-shape);
}

.game-card--violet {
  --card-accent: #934dff;
  --card-accent-rgb: 147 77 255;
}

.game-card--cyan {
  --card-accent: #12c9df;
  --card-accent-rgb: 18 201 223;
}

.game-card__image,
.game-card__glow {
  position: absolute;
  inset: 1px;
  clip-path: var(--card-shape);
}

.game-card__image {
  z-index: 1;
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
  transition: filter 280ms ease, transform 420ms cubic-bezier(0.2, 0.7, 0.25, 1);
}

.game-card--blue .game-card__image {
  background-image: url("assets/home/game-stadt-land-fluss.webp");
}

.game-card--violet .game-card__image {
  background-image: url("assets/home/game-scribble.webp");
}

.game-card--cyan .game-card__image {
  background-image: url("assets/home/game-schafkopf.webp");
}

.game-card__glow {
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 30%), rgb(var(--card-accent-rgb) / 24%), transparent 34%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.game-card__content {
  position: relative;
  z-index: 4;
  display: flex;
  min-height: 400px;
  padding: 2.3rem 1.6rem 1.7rem;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.game-icon {
  position: relative;
  display: grid;
  width: 92px;
  height: 104px;
  margin-bottom: 0.75rem;
  place-items: center;
  color: #dcedff;
  background: linear-gradient(145deg, rgb(var(--card-accent-rgb) / 40%), rgb(2 10 27 / 92%) 55%);
  clip-path: polygon(50% 0, 94% 24%, 94% 76%, 50% 100%, 6% 76%, 6% 24%);
  filter: drop-shadow(0 0 10px rgb(var(--card-accent-rgb) / 62%));
}

.game-icon::before {
  position: absolute;
  inset: 1px;
  content: "";
  background: linear-gradient(145deg, #071a38, #020817);
  clip-path: inherit;
}

.game-icon svg {
  position: relative;
  width: 49px;
  height: 49px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  filter: drop-shadow(0 0 6px rgb(var(--card-accent-rgb) / 65%));
}

.game-card h3 {
  margin: 0.35rem 0 0.45rem;
  color: #eef6ff;
  font-size: 1.6rem;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgb(0 0 0 / 72%);
}

.game-card p {
  max-width: 270px;
  margin: 0;
  color: #aebfd4;
  font-size: 0.86rem;
  line-height: 1.6;
  text-wrap: balance;
}

.game-button {
  display: inline-flex;
  width: min(100%, 190px);
  min-height: 44px;
  margin-top: auto;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgb(var(--card-accent-rgb) / 72%);
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #e7f3ff;
  background: rgb(3 18 43 / 74%);
  box-shadow: inset 0 0 15px rgb(var(--card-accent-rgb) / 8%);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(7px);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.game-button svg {
  width: 18px;
  fill: none;
  stroke: var(--card-accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.game-button:hover,
.game-button:focus-visible {
  border-color: rgb(var(--card-accent-rgb) / 100%);
  background: rgb(var(--card-accent-rgb) / 17%);
  box-shadow: 0 0 18px rgb(var(--card-accent-rgb) / 28%), inset 0 0 18px rgb(var(--card-accent-rgb) / 10%);
  transform: translateY(-2px);
}

.game-button:hover svg,
.game-button:focus-visible svg {
  transform: translateX(4px);
}

@media (hover: hover) and (pointer: fine) {
  .game-card:hover {
    filter: drop-shadow(0 18px 26px rgb(0 0 0 / 50%)) drop-shadow(0 0 12px rgb(var(--card-accent-rgb) / 55%));
    transform: translateY(-7px);
  }

  .game-card:hover .game-card__image {
    filter: brightness(1.08) saturate(1.08);
    transform: scale(1.05);
  }

  .game-card:hover .game-card__glow {
    opacity: 1;
  }
}

.visual-section {
  padding-top: 2.25rem;
}

.visual-panel {
  --panel-shape: polygon(0 9%, 3.5% 0, 84% 0, 86% 4%, 97% 4%, 100% 15%, 100% 88%, 97% 100%, 16% 100%, 14% 96%, 3% 96%, 0 86%);
  display: block;
  width: 100%;
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid transparent;
  background-origin: padding-box, padding-box, border-box;
  background-clip: padding-box, padding-box, border-box;
  background-position: center;
  background-size: auto, cover, auto;
  clip-path: var(--panel-shape);
  filter: drop-shadow(0 14px 24px rgb(0 0 0 / 43%)) drop-shadow(0 0 7px rgb(22 136 255 / 28%));
  isolation: isolate;
  transition: filter 280ms ease, transform 280ms ease;
  color: inherit;
  text-decoration: none;
}

.visual-panel:focus-visible {
  outline: 2px solid #70d9ff;
  outline-offset: 4px;
}

.visual-panel::before,
.visual-panel::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.visual-panel::before {
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(115deg, rgb(4 26 60 / 28%), transparent 30% 72%, rgb(23 139 255 / 16%)),
    linear-gradient(180deg, rgb(2 7 20 / 6%), rgb(2 7 20 / 36%));
}

.visual-panel::after {
  z-index: 2;
  top: 0;
  left: 9%;
  width: 26%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #8bd6ff, transparent);
  box-shadow: 0 0 10px rgb(82 190 255 / 72%);
}

.visual-panel--pokemon {
  background-image:
    linear-gradient(180deg, rgb(2 10 28 / 4%), rgb(1 7 19 / 22%)),
    url("assets/home/pokemon-world.webp"),
    linear-gradient(115deg, #1d7ce7, #0d3f92 45%, #29a8ff);
}

.visual-panel--nas {
  background-image:
    linear-gradient(90deg, rgb(1 8 22 / 88%) 0%, rgb(1 8 22 / 55%) 28%, rgb(1 7 19 / 5%) 58%, rgb(1 7 19 / 24%) 100%),
    url("assets/home/nas-vault.webp"),
    linear-gradient(115deg, #1c7fe8, #0a408e 45%, #29bdf0);
}

.nas-showcase {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 2.6rem;
  display: grid;
  width: min(43%, 430px);
  gap: 0.75rem;
  transform: translateY(-54%);
  text-shadow: 0 2px 18px rgb(0 0 0 / 72%);
}

.nas-showcase__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 0.45rem;
  color: #69dff2;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nas-showcase__eyebrow svg,
.nas-showcase__modes svg {
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.nas-showcase__eyebrow svg {
  width: 18px;
  height: 18px;
}

.nas-showcase__title {
  color: #f3f8ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  line-height: 1.08;
}

.nas-showcase__title strong {
  display: block;
  color: #78cfff;
  font-weight: 500;
  transition: color 220ms ease, text-shadow 220ms ease;
}

.nas-showcase__modes {
  display: flex;
  align-items: center;
  width: fit-content;
  padding-top: 0.75rem;
  border-top: 1px solid rgb(104 203 255 / 28%);
  gap: 1rem;
}

.nas-showcase__modes > span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #c5d7e9;
  font-size: 0.72rem;
}

.nas-showcase__modes svg {
  width: 16px;
  height: 16px;
  color: #5ed5ec;
}

.nas-showcase__rail {
  position: absolute;
  z-index: 3;
  right: 12rem;
  bottom: 1.45rem;
  left: 2.6rem;
  display: grid;
  grid-template-columns: 1.5fr 0.45fr 0.8fr 0.3fr 1fr;
  align-items: center;
  gap: 0.5rem;
}

.nas-showcase__rail i {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(70 211 240 / 78%), transparent);
  opacity: 0.25;
  animation: nas-data-pulse 5.2s ease-in-out infinite;
}

.nas-showcase__rail i:nth-child(2) { animation-delay: 0.45s; }
.nas-showcase__rail i:nth-child(3) { animation-delay: 0.9s; }
.nas-showcase__rail i:nth-child(4) { animation-delay: 1.35s; }
.nas-showcase__rail i:nth-child(5) { animation-delay: 1.8s; }

.visual-panel__shine {
  position: absolute;
  z-index: 3;
  top: -55%;
  left: -20%;
  width: 14%;
  height: 210%;
  background: linear-gradient(90deg, transparent, rgb(141 218 255 / 16%), transparent);
  opacity: 0;
  pointer-events: none;
  transform: rotate(18deg);
}

.visual-panel__action {
  position: absolute;
  right: 2.25rem;
  bottom: 1.75rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgb(105 217 241 / 55%);
  border-radius: 5px;
  color: #e8f8fc;
  background: rgb(3 18 31 / 82%);
  box-shadow: 0 8px 24px rgb(0 0 0 / 30%);
  font-size: 0.82rem;
  font-weight: 650;
}

.visual-panel--nas .visual-panel__action {
  min-height: 46px;
  padding: 0.72rem 1.15rem;
  font-size: 0.92rem;
}

@media (hover: hover) and (pointer: fine) {
  .visual-panel:hover {
    filter: drop-shadow(0 18px 30px rgb(0 0 0 / 50%)) drop-shadow(0 0 12px rgb(22 136 255 / 45%));
    transform: translateY(-4px);
  }

  .visual-panel:hover .visual-panel__shine {
    opacity: 1;
    animation: panel-shine 1100ms ease both;
  }

  .visual-panel--nas:hover .nas-showcase__title strong {
    color: #a9e8ff;
    text-shadow: 0 0 18px rgb(57 187 255 / 45%);
  }
}

.page-finale {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 180px;
  margin-top: 1.5rem;
  overflow: hidden;
  border-top: 1px solid rgb(30 122 235 / 17%);
  background:
    linear-gradient(180deg, rgb(3 19 44 / 48%), rgb(1 5 15 / 96%)),
    linear-gradient(118deg, transparent 0 44%, rgb(21 99 194 / 12%) 44.2% 44.5%, transparent 44.7%);
}

.page-finale::before,
.page-finale::after,
.page-finale span {
  position: absolute;
  bottom: -14px;
  content: "";
  background: linear-gradient(145deg, rgb(44 155 255 / 32%), rgb(4 35 96 / 78%) 48%, rgb(1 11 31 / 92%));
  clip-path: polygon(48% 0, 100% 100%, 0 100%);
  filter: drop-shadow(0 0 6px rgb(24 131 255 / 40%));
}

.page-finale::before {
  left: -3%;
  width: 170px;
  height: 140px;
}

.page-finale::after {
  right: -2%;
  width: 210px;
  height: 170px;
}

.page-finale span:nth-child(1) {
  left: 7%;
  width: 90px;
  height: 86px;
  opacity: 0.72;
}

.page-finale span:nth-child(2) {
  right: 12%;
  width: 125px;
  height: 110px;
  opacity: 0.66;
}

.page-finale span:nth-child(3) {
  right: 2%;
  width: 75px;
  height: 92px;
  opacity: 0.84;
}

/* Scroll reveals */
.home-page.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.25, 1);
}

.home-page.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-page.reveal-ready .game-card:nth-child(2) {
  transition-delay: 90ms;
}

.home-page.reveal-ready .game-card:nth-child(3) {
  transition-delay: 180ms;
}

@keyframes hero-media-arrive {
  from {
    opacity: 0;
    transform: scale(1.025);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes hero-copy-arrive {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sapphire-glint {
  0% {
    opacity: 0;
    transform: rotate(21deg) translateX(-320%);
  }

  35% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: rotate(21deg) translateX(580%);
  }
}

@keyframes scroll-cue-float {
  0%,
  100% {
    margin-bottom: 0;
  }

  50% {
    margin-bottom: 7px;
  }
}

@keyframes panel-shine {
  from {
    left: -20%;
  }

  to {
    left: 118%;
  }
}

@keyframes nas-data-pulse {
  0%,
  100% {
    opacity: 0.18;
    transform: scaleX(0.82);
  }

  45% {
    opacity: 0.9;
    transform: scaleX(1);
  }
}

@media (max-width: 980px) {
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-card:nth-child(3) {
    grid-column: 1 / -1;
    width: min(100%, 440px);
    justify-self: center;
  }

  .hero h1 {
    font-size: 4.6rem;
  }

  .hero-kicker {
    font-size: 2.35rem;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 66px;
  }

  .site-nav {
    width: min(92%, var(--content-width));
  }

  .brand-name {
    font-size: 1.13rem;
  }

  .brand-mark {
    width: 30px;
    height: 36px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-panel {
    position: fixed;
    z-index: 95;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    padding: 0.8rem 4% 1.2rem;
    border-bottom: 1px solid rgb(39 148 255 / 36%);
    gap: 0.8rem;
    visibility: hidden;
    background: rgb(1 8 23 / 97%);
    box-shadow: 0 18px 35px rgb(0 0 0 / 38%);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .nav-panel.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links {
    display: grid;
    gap: 0;
  }

  .nav-link {
    padding: 0.72rem 0.35rem;
    border-bottom: 1px solid rgb(49 133 231 / 13%);
  }

  .nav-link::after {
    display: none;
  }

  .nav-account {
    width: 100%;
  }

  .hero {
    height: calc(100svh - 44px);
  }

  .visual-panel {
    min-height: 270px;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 690px;
    align-items: end;
  }

  .hero-media img {
    object-position: 66% center;
    transform: translate3d(var(--hero-shift-x, 0), var(--hero-shift-y, 0), 0) scale(1.025);
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgb(1 5 16 / 4%) 0%, rgb(1 6 18 / 15%) 37%, rgb(1 6 18 / 84%) 64%, rgb(1 6 18 / 98%) 100%),
      linear-gradient(90deg, rgb(1 5 16 / 62%), transparent 72%);
  }

  .hero-stars {
    opacity: 0.22;
  }

  .hero-inner {
    width: min(90%, 540px);
    padding-top: var(--header-height);
  }

  .hero-copy {
    padding: 0 0 6.2rem;
  }

  .hero-kicker {
    font-size: 1.85rem;
  }

  .hero h1 {
    font-size: 3.55rem;
  }

  .hero-lead {
    max-width: 390px;
    margin: 1rem 0 1.45rem;
    font-size: 0.93rem;
    line-height: 1.65;
  }

  .scroll-cue {
    right: 5%;
    left: auto;
    width: 46px;
    height: 52px;
    transform: none;
  }

  .home-section {
    width: min(91%, var(--content-width));
    padding-bottom: 2.5rem;
  }

  .section-heading {
    margin-bottom: 1rem;
  }

  .section-heading h2 {
    font-size: 1.12rem;
  }

  .game-grid {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .game-card:nth-child(3) {
    grid-column: auto;
    width: 100%;
  }

  .game-card,
  .game-card__content {
    min-height: 390px;
  }

  .visual-panel {
    --panel-shape: polygon(0 6%, 6% 0, 87% 0, 91% 4%, 100% 4%, 100% 92%, 94% 100%, 14% 100%, 9% 96%, 0 96%);
    min-height: 280px;
    background-size: auto, cover, auto;
  }

  .visual-panel--pokemon {
    background-position: center, 57% center, center;
  }

  .visual-panel--nas {
    background-position: center, center, center;
  }

  .nas-showcase {
    left: 1.35rem;
    width: 70%;
    gap: 0.6rem;
  }

  .nas-showcase__title {
    font-size: 1.45rem;
  }

  .nas-showcase__modes {
    gap: 0.65rem;
  }

  .nas-showcase__modes > span {
    font-size: 0.66rem;
  }

  .nas-showcase__rail {
    right: 8.5rem;
    left: 1.35rem;
  }

  .visual-panel__action {
    right: 1.25rem;
    bottom: 1.15rem;
  }

  .page-finale {
    height: 135px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero-kicker {
    font-size: 1.65rem;
  }

  .primary-button {
    width: 100%;
    max-width: 230px;
  }

  .game-card__content {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .game-card h3 {
    font-size: 1.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-media img {
    transform: none;
  }

  .home-page.reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
