@font-face {
  font-family: "Lilita One";
  src: url("assets/LilitaOne-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #082d3a;
  --deep: #062431;
  --teal: #087f8b;
  --aqua: #80dfd2;
  --cream: #fff4d6;
  --paper: #fbf5e7;
  --amber: #ffbd3b;
  --muted: #c0d8d9;
  --body: #2c5057;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--navy); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid var(--amber); outline-offset: 6px; border-radius: 4px; }
img { display: block; max-width: 100%; }
p, h1, h2, figure { margin: 0; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 10; padding: 12px 18px; background: var(--amber); color: var(--navy); font-weight: 700; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { max-width: 1440px; min-height: 94px; margin-inline: auto; padding: 20px max(32px, env(safe-area-inset-right)) 20px max(32px, env(safe-area-inset-left)); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: "Lilita One", sans-serif; font-size: 24px; line-height: 1; }
.wordmark img { border-radius: 12px; box-shadow: 0 2px 0 #082d3a1a; }
.maker-link { font-size: 14px; font-weight: 650; text-decoration: none; }
.maker-link span { color: var(--teal); margin-left: 4px; }
.maker-link:hover, .site-footer a:hover { text-decoration: underline; }

.hero { position: relative; overflow: hidden; padding: 74px 48px 34px; background: var(--navy); color: var(--cream); border-radius: 40px 40px 0 0; }
.hero-top { position: relative; max-width: 1104px; margin: 0 auto 66px; display: grid; grid-template-columns: 1.18fr .82fr; align-items: center; gap: 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px; color: var(--amber); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.sun-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px #ffbd3b16; }
h1 { font-family: "Lilita One", sans-serif; font-weight: 400; font-size: clamp(70px, 8.2vw, 112px); line-height: .91; letter-spacing: -.025em; }
h1 span { color: var(--aqua); }
.tagline { margin-top: 28px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 750; line-height: 1.27; letter-spacing: -.035em; }
.intro { max-width: 440px; margin-top: 18px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.platforms { margin-top: 26px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.platforms strong { display: block; color: var(--cream); font-weight: 650; font-size: 15px; letter-spacing: .02em; }
.pool-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 24px; min-height: 48px; padding: 0 21px; border-radius: 999px; background: var(--amber); color: var(--deep); text-decoration: none; font-size: 14px; font-weight: 800; box-shadow: 0 4px 0 #041c28; transition: background-color .2s ease; }
.pool-link:hover { background: #ffcf70; }
.pool-link span { font-size: 22px; font-weight: 400; }

.brand-art { position: relative; min-width: 0; min-height: 420px; display: grid; place-items: center; isolation: isolate; }
.app-art { position: relative; z-index: 1; width: 290px; max-width: 88%; padding: 8px; background: var(--cream); border-radius: 58px; transform: rotate(-8deg); box-shadow: 13px 16px 0 #041e2a, 0 24px 42px #041e2a55; }
.app-art img { width: 100%; height: auto; border-radius: 49px; }
.ripple { position: absolute; z-index: -1; width: 360px; height: 360px; border: 1px solid #80dfd235; border-radius: 50%; transform: rotate(-18deg) scaleY(.74); }
.ripple-two { width: 460px; height: 460px; opacity: .55; }
.pool-tag { position: absolute; z-index: 2; bottom: 41px; right: -10px; padding: 13px 21px 12px; background: var(--amber); color: var(--deep); border-radius: 6px; transform: rotate(6deg); box-shadow: 0 4px 0 #041e2a; font-family: "Lilita One", sans-serif; font-size: 23px; white-space: nowrap; }
.spark { position: absolute; color: var(--amber); font-size: 43px; line-height: 1; }
.spark-one { top: 18px; right: 2px; transform: rotate(14deg); }
.spark-two { bottom: 65px; left: -5px; color: var(--aqua); font-size: 25px; }

.game-preview { position: relative; max-width: 1104px; margin: 0 auto; scroll-margin-top: 24px; }
.preview-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0 4px 14px; }
.preview-heading > :first-child { font-family: "Lilita One", sans-serif; font-size: 25px; }
.preview-status { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .06em; }
.pool-tiles { padding: 10px; border-radius: 24px; background: repeating-linear-gradient(90deg, var(--cream) 0, var(--cream) 27px, #99d7d6 27px, #99d7d6 40px, var(--cream) 40px, var(--cream) 55px, var(--amber) 55px, var(--amber) 69px, var(--cream) 69px, var(--cream) 84px); box-shadow: 0 16px 32px #031b2566; }
.pool-tiles picture { display: block; overflow: hidden; border: 2px solid var(--deep); border-radius: 15px; background: var(--teal); }
.pool-tiles img { width: 100%; height: auto; aspect-ratio: 2778 / 1284; }
figcaption { margin-top: 17px; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }

.welcome-note { max-width: 1200px; margin-inline: auto; padding: 76px 48px 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.small-label { margin-bottom: 14px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h2 { font-family: "Lilita One", sans-serif; font-size: clamp(35px, 3.8vw, 48px); font-weight: 400; letter-spacing: -.02em; line-height: 1.07; }
.welcome-copy { max-width: 475px; color: var(--body); font-size: 16px; line-height: 1.75; }
.welcome-copy p + p { margin-top: 14px; }
.welcome-copy strong { color: var(--navy); font-weight: 700; }
.site-footer { max-width: 1344px; margin: 0 auto; border-top: 1px solid #082d3a24; padding: 24px 0 max(30px, env(safe-area-inset-bottom)); display: flex; justify-content: space-between; align-items: center; gap: 18px; color: #4b686b; font-size: 12px; line-height: 1.6; }
.site-footer a { color: var(--navy); font-weight: 700; text-decoration: none; }

@media (min-width: 1441px) {
  .hero { max-width: 1440px; margin-inline: auto; border-radius: 40px; }
}
@media (max-width: 1400px) {
  .site-footer { margin-inline: 32px; }
}
@media (max-width: 960px) {
  .hero { padding: 56px 40px 30px; }
  .hero-top { grid-template-columns: 1.2fr .8fr; gap: 24px; margin-bottom: 50px; }
  h1 { font-size: clamp(64px, 9.3vw, 90px); }
  .brand-art { min-height: 340px; }
  .app-art { width: 230px; padding: 6px; border-radius: 46px; }
  .app-art img { border-radius: 40px; }
  .ripple { width: 260px; height: 260px; }
  .ripple-two { width: 330px; height: 330px; }
  .pool-tag { right: -8px; bottom: 40px; padding-inline: 14px; font-size: 19px; }
  .spark-one { font-size: 32px; right: 0; top: 10px; }
  .spark-two { left: 0; bottom: 30px; }
  .welcome-note { padding: 60px 40px; gap: 36px; }
}
@media (max-width: 650px) {
  .site-header { min-height: 78px; padding: 16px 24px; gap: 12px; }
  .wordmark { gap: 9px; font-size: 20px; }
  .wordmark img { width: 36px; height: 36px; border-radius: 10px; }
  .maker-link { max-width: 118px; font-size: 11px; line-height: 1.4; text-align: right; }
  .hero { border-radius: 28px 28px 0 0; padding: 42px 24px 28px; }
  .hero-top { display: block; margin-bottom: 32px; }
  .eyebrow { margin-bottom: 21px; font-size: 11px; }
  h1 { position: relative; z-index: 2; font-size: clamp(62px, 16.4vw, 92px); }
  .tagline { margin-top: 24px; font-size: 25px; }
  .intro { margin-top: 16px; font-size: 15px; line-height: 1.7; max-width: 390px; }
  .platforms { margin-top: 22px; }
  .pool-link { margin-top: 20px; }
  .brand-art { margin: 32px auto 10px; width: 100%; max-width: 360px; min-height: 260px; }
  .app-art { width: 210px; border-radius: 43px; box-shadow: 9px 12px 0 #041e2a; }
  .app-art img { border-radius: 37px; }
  .ripple { width: 260px; height: 260px; }
  .ripple-two { width: 330px; height: 330px; }
  .pool-tag { right: 3px; bottom: 4px; font-size: 20px; }
  .spark-one { top: 8px; right: 23px; }
  .spark-two { bottom: 32px; left: 13px; }
  .preview-heading { align-items: flex-end; gap: 14px; margin-bottom: 12px; }
  .preview-heading > :first-child { font-size: 20px; }
  .preview-status { max-width: 107px; text-align: right; font-size: 9px; line-height: 1.5; letter-spacing: .025em; }
  .pool-tiles { padding: 6px; border-radius: 15px; }
  .pool-tiles picture { border-width: 1px; border-radius: 9px; }
  figcaption { margin-top: 14px; font-size: 11px; }
  .welcome-note { display: block; padding: 48px 24px 46px; }
  .small-label { font-size: 10px; }
  h2 { font-size: clamp(34px, 9vw, 43px); }
  .welcome-copy { margin-top: 24px; font-size: 15px; line-height: 1.75; }
  .site-footer { display: block; margin-inline: 24px; padding-top: 22px; font-size: 11px; }
  .site-footer p + p { margin-top: 8px; }
}
@media (max-width: 370px) {
  .site-header { padding-inline: 18px; }
  .wordmark { font-size: 18px; }
  .maker-link { font-size: 10px; max-width: 108px; }
  .hero { padding-inline: 18px; }
  h1 { font-size: 60px; }
  .tagline { font-size: 23px; }
  .welcome-note { padding-inline: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
