:root {
  color-scheme: dark;
  --ink: #eaf4ff;
  --muted: #a5b6ce;
  --night: #07101f;
  --night-deep: #040914;
  --line: rgba(180, 216, 255, 0.18);
  --aqua: #6cdded;
  --gold: #f4c978;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -16%, #244270 0, rgba(20, 47, 84, 0.66) 21%, transparent 46%),
    linear-gradient(150deg, #0c1d34 0%, var(--night) 48%, var(--night-deep) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.24;
  background-image: radial-gradient(rgba(229, 244, 255, 0.45) 0.6px, transparent 0.75px);
  background-size: 13px 13px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

a { color: inherit; }
main { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }

.ambient {
  position: fixed;
  z-index: -2;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(8px);
}
.ambient-one {
  top: 20vh;
  left: -24vw;
  width: 54vw;
  height: 54vw;
  background: rgba(23, 161, 190, 0.12);
}
.ambient-two {
  right: -20vw;
  bottom: 3vh;
  width: 48vw;
  height: 48vw;
  background: rgba(226, 159, 69, 0.08);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 6px 14px rgba(30, 126, 207, 0.32));
}
.brand-copy { display: grid; gap: 2px; }
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-tagline {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
nav { display: flex; gap: 26px; }
nav a, .footer-links a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}
nav a:hover, .footer-links a:hover { color: var(--ink); }

.hero {
  display: grid;
  justify-items: center;
  padding: clamp(98px, 16vw, 178px) 0 clamp(90px, 12vw, 138px);
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin: 0;
  color: var(--aqua);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow span {
  width: 26px;
  height: 1px;
  background: currentColor;
}
h1, h2, .game-title, .promise p {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
h1 {
  max-width: 900px;
  margin: 18px 0 22px;
  font-size: clamp(3.45rem, 7vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}
h1 em {
  color: #94e7f3;
  font-style: italic;
}
.hero-copy {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  line-height: 1.68;
}
.scroll-cue {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-top: 37px;
  color: #d4e6ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.scroll-cue svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  animation: bob 2.4s ease-in-out infinite;
}

.games { padding: 34px 0 clamp(110px, 14vw, 172px); }
.section-heading { margin-bottom: 30px; }
h2 {
  margin: 13px 0 0;
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  letter-spacing: -0.05em;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.game-card {
  position: relative;
  display: flex;
  min-height: min(47vw, 548px);
  overflow: hidden;
  align-items: flex-end;
  isolation: isolate;
  border: 1px solid rgba(204, 230, 255, 0.28);
  border-radius: 20px;
  background: #142a45;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transform: translateZ(0);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.game-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(3, 10, 20, 0.94) 0%, rgba(5, 13, 25, 0.42) 47%, rgba(5, 13, 25, 0.05) 76%);
}
.game-card img {
  position: absolute;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 850ms cubic-bezier(.2,.75,.2,1);
}
.opal-card img { object-position: 45% center; }
.go-card img { object-position: 52% center; }
.card-sheen {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0;
  background: linear-gradient(116deg, transparent 38%, rgba(203, 253, 255, 0.2) 50%, transparent 62%);
  transform: translateX(-90%);
  transition: opacity 220ms ease, transform 650ms ease;
}
.card-content {
  display: grid;
  gap: 11px;
  width: 100%;
  padding: clamp(27px, 4vw, 43px);
}
.game-kicker {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.go-card .game-kicker { color: #f6d49a; }
.game-title {
  max-width: 430px;
  font-size: clamp(2.15rem, 4vw, 4.25rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}
.game-title i {
  display: inline-block;
  font-size: 0.43em;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: 0.2em;
}
.game-description {
  max-width: 410px;
  color: rgba(235, 245, 255, 0.84);
  font-size: 0.94rem;
  line-height: 1.55;
}
.play-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  width: fit-content;
  margin-top: 7px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(231, 248, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.play-link b {
  color: var(--aqua);
  font-size: 1.15rem;
  line-height: 0.7;
  transition: transform 180ms ease;
}
.game-card:hover, .game-card:focus-visible {
  border-color: rgba(178, 236, 250, 0.8);
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.4), 0 0 44px rgba(75, 196, 224, 0.11);
  outline: none;
  transform: translateY(-5px);
}
.game-card:hover img, .game-card:focus-visible img { transform: scale(1.055); }
.game-card:hover .card-sheen, .game-card:focus-visible .card-sheen { opacity: 1; transform: translateX(100%); }
.game-card:hover .play-link b, .game-card:focus-visible .play-link b { transform: translateX(5px); }

.promise {
  display: grid;
  place-items: center;
  gap: 18px;
  padding: clamp(76px, 12vw, 144px) 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.promise-mark {
  color: var(--gold);
  font-size: 1.25rem;
  text-shadow: 0 0 24px rgba(244, 201, 120, 0.55);
}
.promise p {
  margin: 0;
  color: #dbeaff;
  font-size: clamp(1.65rem, 3.4vw, 2.7rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
  color: #778aa6;
  font-size: 0.75rem;
}
.footer-legal { display: grid; gap: 5px; max-width: 560px; }
.rights-notice { color: #657995; font-size: 0.64rem; line-height: 1.45; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.67rem; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@media (max-width: 720px) {
  main { width: min(100% - 32px, 560px); }
  .site-header { min-height: 78px; }
  .brand-mark { width: 35px; height: 35px; }
  .brand-name { font-size: 1.05rem; }
  .brand-tagline { font-size: 0.58rem; }
  nav { gap: 15px; }
  nav a { font-size: 0.66rem; }
  .hero { padding-top: 86px; }
  .game-grid { grid-template-columns: 1fr; }
  .game-card { min-height: 480px; }
  .game-title { font-size: clamp(2.65rem, 11vw, 4rem); }
  .game-description { font-size: 0.9rem; }
  footer { flex-direction: column; }
}

@media (max-width: 420px) {
  nav a[href="#games"] { display: none; }
  .game-card { min-height: 440px; }
  .card-content { padding: 27px; }
  .footer-links { gap: 14px; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
