:root {
  --bg: #08111d;
  --bg-soft: #0f1b2c;
  --surface: rgba(10, 20, 34, 0.78);
  --surface-strong: #132238;
  --text: #ecf3ff;
  --muted: #9eb0c9;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #16d6d9;
  --accent-strong: #0eb2b8;
  --accent-soft: rgba(22, 214, 217, 0.12);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(22, 214, 217, 0.12), transparent 32%),
    linear-gradient(180deg, #07111b 0%, #0d1725 48%, #08111d 100%);
}

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

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

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(22, 214, 217, 0.12), transparent 18%),
    radial-gradient(circle at 82% 10%, rgba(146, 163, 189, 0.1), transparent 16%),
    radial-gradient(circle at 70% 70%, rgba(22, 214, 217, 0.08), transparent 20%);
  pointer-events: none;
}

.page-shell {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.page-shell::before {
  top: 110px;
  right: 3%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  filter: blur(4px);
}

.page-shell::after {
  top: 58%;
  left: -30px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
}

.topbar,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 246, 250, 0.95)),
    rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.brand-surface {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand-logo {
  width: clamp(172px, 18vw, 220px);
  height: auto;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  color: #41506a;
}

.nav-links a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  color: #41506a;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #192238;
  background: rgba(25, 34, 56, 0.06);
  transform: translateY(-1px);
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 7px;
  left: 14px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(22, 214, 217, 0), rgba(22, 214, 217, 0.8), rgba(22, 214, 217, 0));
  opacity: 0;
  transition: opacity 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 1;
}

.hero-layout {
  display: block;
  padding: 62px 0 28px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Syne", "Avenir Next", sans-serif;
  line-height: 0.98;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.3rem, 5.2vw, 4.35rem);
}

h2 {
  font-size: clamp(1.95rem, 4vw, 3.1rem);
}

h3 {
  font-size: 1.5rem;
}

.lead,
.panel p,
.footer,
.social-links a {
  color: var(--muted);
  line-height: 1.75;
}

.lead {
  max-width: 58ch;
  margin: 0;
  font-size: 1.06rem;
}

.hero-copy-card {
  position: relative;
  overflow: hidden;
  width: min(100%, 900px);
  margin-top: 24px;
  padding: 24px 24px 22px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(17, 32, 52, 0.95), rgba(9, 17, 29, 0.88)),
    var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-copy-card::after,
.panel::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-copy-card > *:not(.orb) {
  position: relative;
  z-index: 2;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.social-links a:hover,
.social-links a:focus-visible,
.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #8af2ef);
  color: #07111b;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.button-ghost {
  background: transparent;
  border: 1px solid rgba(22, 214, 217, 0.28);
  color: var(--accent);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.hero-metric {
  padding: 18px 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-metric strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Syne", "Avenir Next", sans-serif;
  font-size: 1.7rem;
  color: var(--text);
}

.hero-metric span {
  color: var(--muted);
  line-height: 1.5;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: float 10s ease-in-out infinite;
}

.orb-one {
  top: 30px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 30% 30%, rgba(22, 214, 217, 0.1), rgba(22, 214, 217, 0.06));
}

.orb-two {
  left: -24px;
  bottom: 120px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 30% 30%, rgba(158, 176, 201, 0.5), rgba(158, 176, 201, 0.06));
  animation-delay: -4s;
}

.game-tag {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section {
  padding: 58px 0 16px;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.section-heading h2 {
  position: relative;
  width: fit-content;
}

.split-grid,
.game-grid {
  display: grid;
  gap: 20px;
}

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

.panel {
  position: relative;
  padding: 28px;
  border-radius: 28px;
}

.panel-accent,
.features-panel,
.social-panel {
  background:
    linear-gradient(135deg, rgba(22, 214, 217, 0.12), rgba(255, 255, 255, 0.03)),
    var(--surface);
}

.feature-list {
  margin: 16px 0 0;
  padding-left: 20px;
  line-height: 1.9;
  color: var(--text);
}

.games-slider {
  display: grid;
  gap: 20px;
}

.games-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.games-rail::-webkit-scrollbar {
  display: none;
}

.game-slide {
  scroll-snap-align: start;
}

.game-pitch {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.45;
}

.game-title {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.info-pill {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.slider-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 4px;
}

.slider-status {
  display: grid;
  gap: 10px;
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.slider-dot,
.slider-arrow {
  border: 0;
  cursor: pointer;
}

.slider-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 180ms ease, background 180ms ease;
}

.slider-dot.is-active {
  background: var(--accent);
  transform: scale(1.1);
}

.slider-controls {
  display: flex;
  gap: 12px;
}

.slider-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1.2rem;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, opacity 180ms ease;
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(22, 214, 217, 0.38);
}

.slider-arrow:disabled {
  opacity: 0.38;
  cursor: default;
  transform: none;
}

.stacked-game-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 20px;
}

.stacked-side {
  display: grid;
  gap: 20px;
}

.stacked-info-panel,
.stacked-shots-panel {
  background:
    linear-gradient(135deg, rgba(22, 214, 217, 0.12), rgba(255, 255, 255, 0.03)),
    var(--surface);
}

.stacked-shots-panel h3 {
  margin-bottom: 16px;
}

.stacked-shots-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(22, 214, 217, 0.12), rgba(255, 255, 255, 0.03)),
    var(--surface);
}

.stacked-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mini-shot {
  display: block;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  transition: transform 180ms ease, border-color 180ms ease;
}

.mini-shot:hover,
.mini-shot:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(22, 214, 217, 0.4);
}

.mini-shot img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.social-links {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.social-links a {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.03);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: rgba(22, 214, 217, 0.4);
  color: var(--text);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 52px;
  padding: 24px 2px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -12px, 0);
  }
}

@media (max-width: 980px) {
  .split-grid,
  .stacked-game-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 12px;
  }

  .topbar,
  .nav-links,
  .footer,
  .slider-footer,
  .slider-controls,
  .stacked-shots,
  .footer-links {
    display: grid;
  }

  .topbar,
  .footer,
  .slider-footer {
    justify-content: initial;
  }

  .nav-links {
    gap: 12px;
  }

  .brand-logo {
    width: min(190px, 100%);
  }

  h1 {
    max-width: none;
    font-size: clamp(2.2rem, 13.5vw, 3.6rem);
  }

  .hero-layout {
    padding-top: 34px;
  }

  .panel {
    border-radius: 24px;
  }

  .game-actions {
    display: grid;
  }

  .mini-shot img {
    height: 160px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
