:root {
  --ink: #0a1722;
  --navy: #071725;
  --cream: #f6f0e5;
  --white: #ffffff;
  --sky: #91dafa;
  --aqua: #38d2c2;
  --coral: #ff755f;
  --yellow: #ffce5c;
  --muted: #60707a;
  --radius-xl: 42px;
  --radius-lg: 28px;
  --shadow: 0 35px 80px rgba(5, 22, 35, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Avenir Next", Avenir, Inter, system-ui, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Avenir Next", Avenir, Inter, system-ui, sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.11em;
}
.brand-mark { position: relative; width: 35px; height: 25px; display: inline-block; }
.orca-body { position: absolute; width: 31px; height: 19px; top: 2px; left: 2px; background: currentColor; border-radius: 60% 50% 60% 45%; transform: rotate(-4deg); }
.orca-body::after { content: ""; position: absolute; width: 12px; height: 8px; background: var(--navy); border-radius: 70% 20% 70% 20%; right: 3px; bottom: 2px; transform: rotate(-8deg); }
.fin { position: absolute; display: block; background: currentColor; }
.fin-left { width: 12px; height: 9px; left: -4px; top: 1px; clip-path: polygon(100% 30%, 0 0, 40% 100%); }
.fin-right { width: 11px; height: 13px; right: -4px; top: 4px; clip-path: polygon(0 35%, 100% 0, 80% 100%); }
.site-nav { display: flex; gap: 38px; font-weight: 600; font-size: 14px; }
.site-nav a { opacity: .78; transition: opacity .2s ease; }
.site-nav a:hover { opacity: 1; }
.nav-toggle { display: none; }

.hero {
  min-height: 780px;
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 30px;
  padding: 120px max(7vw, 40px) 70px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 12%, rgba(56, 210, 194, .22), transparent 25%),
    radial-gradient(circle at 18% 88%, rgba(255, 117, 95, .22), transparent 26%),
    linear-gradient(135deg, #071725 0%, #0b2c3d 58%, #0d4051 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .15;
  background-image: radial-gradient(circle, white 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to right, black, transparent 76%);
}
.hero-copy { position: relative; z-index: 3; max-width: 610px; }
.eyebrow { margin: 0 0 18px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero .eyebrow { color: var(--sky); }
h1, h2, h3 { font-family: "Avenir Next", Avenir, Inter, system-ui, sans-serif; margin: 0; letter-spacing: -.045em; }
h1 { font-size: clamp(62px, 7.6vw, 114px); line-height: .91; font-weight: 800; }
h1 em { color: var(--yellow); font-style: normal; }
.hero-intro { max-width: 510px; margin: 30px 0 34px; font-size: 19px; line-height: 1.65; color: rgba(255,255,255,.72); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 56px; padding: 0 24px; border-radius: 999px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--yellow); box-shadow: 0 14px 30px rgba(255, 206, 92, .16); }

.hero-stage { position: relative; z-index: 2; height: 610px; perspective: 1400px; }
.hero-stage::after { content: ""; position: absolute; left: 8%; right: -10%; bottom: 10px; height: 105px; background: rgba(6, 20, 31, .6); filter: blur(35px); border-radius: 50%; }
.phone { position: absolute; width: min(28vw, 265px); padding: 9px; border: 1px solid rgba(255,255,255,.22); border-radius: 34px; background: rgba(255,255,255,.12); backdrop-filter: blur(18px); box-shadow: 0 35px 70px rgba(0,0,0,.3); overflow: hidden; }
.phone img { width: 100%; border-radius: 27px; }
.phone-left { left: 0; top: 145px; transform: rotate(-11deg) translateZ(-50px); }
.phone-center { left: 34%; top: 35px; z-index: 4; transform: rotate(2deg) translateZ(60px); }
.phone-right { right: -4%; top: 142px; transform: rotate(12deg) translateZ(-45px); }
.hero-orb, .stage-bubble { position: absolute; border-radius: 50%; }
.orb-one { width: 240px; height: 240px; right: -80px; top: 12%; border: 50px solid rgba(145,218,250,.08); }
.orb-two { width: 130px; height: 130px; left: 42%; bottom: -65px; background: rgba(255,206,92,.14); }
.stage-bubble { z-index: 5; width: 18px; height: 18px; background: var(--coral); box-shadow: 0 0 0 10px rgba(255,117,95,.15); }
.bubble-a { right: 7%; top: 70px; }
.bubble-b { left: 26%; bottom: 35px; width: 12px; height: 12px; background: var(--yellow); box-shadow: 0 0 0 8px rgba(255,206,92,.12); }
.scroll-cue { position: absolute; left: max(7vw, 40px); bottom: 32px; z-index: 4; display: flex; gap: 18px; align-items: center; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }

.games-section { padding: 128px max(6vw, 30px); }
.section-heading { width: min(1180px, 100%); margin: 0 auto 58px; }
.section-heading .eyebrow, .about-card .eyebrow { color: #238a81; }
.section-heading h2, .about-card h2, .support-copy h2 { font-size: clamp(42px, 5vw, 72px); line-height: 1.04; }
.game-feature {
  position: relative;
  width: min(1180px, 100%);
  min-height: 620px;
  margin: 0 auto 42px;
  padding: clamp(36px, 6vw, 78px);
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  align-items: center;
  gap: 50px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.game-panthia { background: linear-gradient(135deg, #e0f9eb, #b8e7d0); }
.game-pool { color: white; background: linear-gradient(135deg, #23105a, #6d2574 70%, #b64c7b); }
.game-tennis { background: linear-gradient(135deg, #fff1b8, #f7be55); }
.game-copy { position: relative; z-index: 3; }
.game-icon { width: 94px; height: 94px; margin-bottom: 34px; object-fit: cover; border-radius: 23px; box-shadow: 0 15px 35px rgba(8, 23, 35, .2); }
.game-kicker { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .58; }
.game-copy h3 { font-size: clamp(46px, 5vw, 72px); line-height: .98; }
.game-copy > p:not(.game-kicker) { max-width: 420px; margin: 24px 0 30px; font-size: 17px; line-height: 1.65; opacity: .72; }
.store-link { width: max-content; min-width: 166px; display: flex; align-items: center; gap: 12px; padding: 10px 17px; color: white; background: #101417; border-radius: 12px; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.store-link small { display: block; font-size: 8px; letter-spacing: .08em; }
.store-link span:last-child { font-weight: 600; line-height: 1.05; }
.play-triangle { width: 0; height: 0; border-top: 12px solid transparent; border-bottom: 12px solid transparent; border-left: 20px solid white; }
.screen-gallery { position: relative; height: 520px; }
.screen { position: absolute; margin: 0; width: 270px; padding: 8px; background: rgba(255,255,255,.28); border: 1px solid rgba(255,255,255,.4); border-radius: 35px; box-shadow: 0 28px 60px rgba(8, 23, 35, .22); }
.screen img { border-radius: 27px; }
.screen-main { right: 22%; top: -8px; z-index: 2; transform: rotate(-3deg); }
.screen-side { right: -3%; top: 70px; transform: rotate(9deg) scale(.88); }
.game-pool .screen { background: rgba(255,255,255,.12); }

.about-section { padding: 50px max(6vw, 30px) 130px; }
.about-card { width: min(1180px, 100%); margin: 0 auto; padding: clamp(48px, 8vw, 100px); border-radius: var(--radius-xl); background: white; box-shadow: 0 30px 90px rgba(31, 47, 57, .1); }
.about-card > p:not(.eyebrow) { max-width: 800px; margin: 30px 0 40px; font-size: clamp(18px, 2.1vw, 25px); line-height: 1.7; color: var(--muted); }
.about-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.about-tags span { padding: 11px 16px; border-radius: 999px; background: #eff7f5; color: #23635e; font-weight: 600; font-size: 14px; }

.support-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; padding: 110px max(8vw, 40px); color: white; background: var(--navy); }
.support-copy { max-width: 510px; }
.support-copy .eyebrow { color: var(--yellow); }
.support-copy > p:not(.eyebrow) { margin: 25px 0 30px; color: rgba(255,255,255,.65); font-size: 17px; line-height: 1.65; }
.button-light { color: var(--ink); background: white; }
.support-list { display: grid; gap: 12px; align-content: center; }
.support-list a { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 18px; min-height: 86px; padding: 13px 20px 13px 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(255,255,255,.06); transition: transform .2s ease, background .2s ease; }
.support-list a:hover { transform: translateX(4px); background: rgba(255,255,255,.1); }
.support-list img { width: 60px; height: 60px; object-fit: cover; border-radius: 16px; }
.support-list strong, .support-list small { display: block; }
.support-list small { margin-top: 4px; color: rgba(255,255,255,.55); }
.support-list b { font-size: 18px; font-weight: 400; }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 34px max(6vw, 30px); color: white; background: #040e16; }
.footer-brand { font-size: 14px; }
.brand-mark.mini { transform: scale(.78); transform-origin: left center; margin-right: -5px; }
.site-footer p { margin: 0; color: rgba(255,255,255,.5); font-size: 12px; }
.footer-links { justify-self: end; display: flex; gap: 24px; font-size: 13px; }

.reveal { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 1120px; padding-top: 150px; align-content: start; }
  .hero-copy { max-width: 720px; }
  .hero-stage { height: 600px; margin-top: 30px; }
  .phone { width: 240px; }
  .phone-left { left: 8%; }
  .phone-center { left: 36%; }
  .phone-right { right: 4%; }
  .game-feature { grid-template-columns: 1fr; padding-bottom: 30px; }
  .screen-gallery { width: min(620px, 100%); margin: 0 auto; }
  .screen-main { left: 14%; right: auto; }
  .screen-side { right: 10%; }
  .support-section { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { width: calc(100% - 34px); padding-top: 22px; }
  .nav-toggle { display: flex; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
  .nav-toggle span { width: 17px; height: 2px; background: white; }
  .site-nav { display: none; position: absolute; right: 0; top: 76px; min-width: 180px; padding: 20px; flex-direction: column; gap: 18px; border-radius: 18px; background: rgba(7,23,37,.96); }
  .site-nav.is-open { display: flex; }
  .hero { min-height: 930px; padding: 130px 22px 50px; }
  h1 { font-size: clamp(52px, 17vw, 76px); }
  .hero-intro { font-size: 17px; }
  .hero-stage { height: 420px; margin: 25px -10px 0; }
  .phone { width: 165px; border-radius: 24px; padding: 6px; }
  .phone img { border-radius: 19px; }
  .phone-left { left: -2%; top: 105px; }
  .phone-center { left: 29%; top: 18px; }
  .phone-right { right: -4%; top: 110px; }
  .scroll-cue { display: none; }
  .games-section { padding: 92px 16px; }
  .game-feature { min-height: auto; border-radius: 28px; padding: 32px 24px 10px; gap: 28px; }
  .game-icon { width: 78px; height: 78px; margin-bottom: 25px; border-radius: 19px; }
  .game-copy h3 { font-size: 44px; }
  .screen-gallery { height: 390px; }
  .screen { width: 190px; border-radius: 25px; padding: 6px; }
  .screen img { border-radius: 20px; }
  .screen-main { left: 5%; }
  .screen-side { right: 2%; top: 52px; }
  .about-section { padding: 0 16px 92px; }
  .about-card { padding: 45px 25px; border-radius: 28px; }
  .support-section { padding: 80px 20px; gap: 42px; }
  .support-list a { grid-template-columns: 50px 1fr auto; gap: 13px; padding: 11px 15px 11px 11px; }
  .support-list img { width: 50px; height: 50px; border-radius: 13px; }
  .support-list small { font-size: 10px; overflow-wrap: anywhere; }
  .site-footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-links { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
