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

:root {
  --ink: #172033;
  --muted: #667085;
  --paper: #f7f4ec;
  --paper-strong: #fffdf8;
  --line: rgba(23, 32, 51, 0.13);
  --navy: #10233d;
  --gold: #ffc83d;
  --display: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  font: 16px/1.6 var(--body);
  background: radial-gradient(circle at 8% 3%, rgba(255, 200, 61, 0.12), transparent 28rem), var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy);
  border-radius: 10px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-nav {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 236, 0.92);
  backdrop-filter: blur(18px);
}
.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font: 400 20px/1 var(--display);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 12px;
  color: #fff;
  background: var(--ink);
  box-shadow: 3px 3px 0 var(--gold);
  font-size: 16px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 9px 12px;
  border-radius: 999px;
  color: #455066;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(23, 32, 51, 0.08);
  outline: none;
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 116px) 0 clamp(74px, 10vw, 130px);
}
.home-hero::before,
.home-hero::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}
.home-hero::before {
  width: 420px;
  height: 420px;
  top: -230px;
  right: -120px;
  background: rgba(80, 211, 234, 0.2);
}
.home-hero::after {
  width: 280px;
  height: 280px;
  bottom: -180px;
  left: -130px;
  background: rgba(243, 180, 69, 0.2);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}
.hero-grid > *,
.app-hero-grid > *,
.game-mosaic > *,
.game-grid > *,
.feature-grid > *,
.gallery > * { min-width: 0; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #536079;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.kicker::before {
  width: 22px;
  height: 3px;
  content: "";
  border-radius: 10px;
  background: var(--gold);
}
.home-title,
.app-title,
.section-title,
.game-card h2,
.feature-card h3,
.room-card h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.005em;
}
.home-title {
  max-width: 720px;
  margin: 0;
  font-size: clamp(58px, 7vw, 96px);
  line-height: 0.93;
  text-wrap: balance;
}
.home-title em { color: #e36e35; font-style: normal; }
.hero-copy {
  max-width: 600px;
  margin: 28px 0 0;
  color: #566178;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 2px solid var(--ink);
  border-radius: 15px;
  color: #fff;
  background: var(--ink);
  box-shadow: 4px 4px 0 rgba(23, 32, 51, 0.17);
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.button:hover,
.button:focus-visible {
  box-shadow: 2px 2px 0 rgba(23, 32, 51, 0.18);
  outline: none;
  transform: translate(2px, 2px);
}
.button-light { color: var(--ink); background: #fff; }

.game-mosaic {
  display: grid;
  min-height: 510px;
  grid-template-columns: 0.86fr 1.14fr;
  grid-template-rows: 1fr 1fr;
  gap: 15px;
  transform: rotate(1.2deg);
}
.mosaic-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 3px solid var(--ink);
  border-radius: 26px;
  background: #fff;
  box-shadow: 9px 10px 0 rgba(23, 32, 51, 0.14);
}
.mosaic-item:first-child { grid-row: 1 / 3; transform: rotate(-2.5deg); }
.mosaic-item:nth-child(2) { transform: rotate(2deg); }
.mosaic-item:nth-child(3) { transform: rotate(-1deg); }
.mosaic-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mosaic-item:first-child img { object-position: 50% 63%; }
.mosaic-item:nth-child(2) img { object-position: center; }
.mosaic-item:nth-child(3) img { object-position: 50% 40%; }
.mosaic-label {
  position: absolute;
  right: 13px;
  bottom: 13px;
  left: 13px;
  padding: 9px 12px;
  border-radius: 12px;
  color: #fff;
  background: rgba(14, 25, 44, 0.9);
  font: 400 18px/1.15 var(--display);
  text-align: center;
  backdrop-filter: blur(7px);
}

.home-games {
  padding: clamp(76px, 10vw, 128px) 0;
  border-top: 1px solid var(--line);
  background: var(--paper-strong);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
}
.section-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 0.98;
  text-wrap: balance;
}
.section-intro { max-width: 500px; margin: 0; color: var(--muted); font-size: 17px; }
.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.game-card {
  --card-bg: #f5c35e;
  --card-accent: #963c2e;
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 2px solid var(--ink);
  border-radius: 25px;
  background: var(--card-bg);
  box-shadow: 6px 7px 0 rgba(23, 32, 51, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.game-card:hover { box-shadow: 9px 10px 0 rgba(23, 32, 51, 0.13); transform: translateY(-4px); }
.game-card.aquarium { --card-bg: #65d8ed; --card-accent: #12395d; }
.game-card.enterprize { --card-bg: #151d43; --card-accent: #ffca3a; color: #fff; }
.card-media {
  position: relative;
  aspect-ratio: 5 / 3.35;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: #dfe7ec;
}
.card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}
.game-card:hover .card-media img { transform: scale(1.035); }
.skyraffe .card-media img { object-position: 50% 52%; }
.enterprize .card-media img { object-position: 50% 42%; }
.card-status {
  position: absolute;
  top: 13px;
  left: 13px;
  padding: 7px 10px;
  border: 1.5px solid rgba(23, 32, 51, 0.7);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.card-body { min-height: 320px; display: flex; flex-direction: column; padding: 27px 26px 24px; }
.card-type {
  margin: 0 0 8px;
  color: var(--card-accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.game-card h2 { margin: 0; font-size: clamp(32px, 3vw, 42px); line-height: 1; }
.game-card p { margin: 18px 0 26px; font-size: 15.5px; line-height: 1.6; }
.game-card.enterprize p { color: #bec8e6; }
.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1.5px solid rgba(23, 32, 51, 0.2);
  font-weight: 850;
  text-decoration: none;
}
.enterprize .card-link { border-top-color: rgba(255, 255, 255, 0.19); }
.card-link span:last-child {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  color: var(--card-bg);
  background: var(--ink);
  font-size: 19px;
  transition: transform 180ms ease;
}
.enterprize .card-link span:last-child { color: var(--ink); background: var(--gold); }
.card-link:hover span:last-child,
.card-link:focus-visible span:last-child { transform: translateX(3px); }
.home-note { padding: 70px 0 82px; text-align: center; }
.home-note p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(19px, 3vw, 25px);
  line-height: 1.5;
}
.home-note strong { color: var(--ink); }

/* Game detail pages */
.game-page { --app-bg: #efbd55; --app-ink: #27180c; --app-accent: #963c2e; --app-soft: #fff1ce; }
.game-page.page-aquarium { --app-bg: #53d1e8; --app-ink: #092c4a; --app-accent: #ffb51b; --app-soft: #e3fbff; }
.game-page.page-enterprize { --app-bg: #11193b; --app-ink: #f7f3ff; --app-accent: #ffc83d; --app-soft: #202a58; }
.app-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 8vw, 104px) 0 clamp(70px, 9vw, 118px);
  color: var(--app-ink);
  background: var(--app-bg);
  border-bottom: 2px solid var(--ink);
}
.app-hero::before {
  position: absolute;
  width: 520px;
  height: 520px;
  top: -250px;
  right: -120px;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.08;
}
.app-hero::after {
  position: absolute;
  width: 360px;
  height: 360px;
  bottom: -270px;
  left: 10%;
  border: 70px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.05;
}
.app-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.72fr);
  align-items: center;
  gap: clamp(46px, 8vw, 110px);
}
.app-logo-row { display: flex; align-items: center; gap: 14px; margin-bottom: 23px; }
.app-logo {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  overflow: hidden;
  border: 3px solid var(--app-ink);
  border-radius: 21px;
  background: #fff;
  box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.14);
}
.app-logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.app-logo.sky-logo img { width: 78%; height: 78%; object-fit: contain; }
.app-name { margin: 0; font: 400 clamp(25px, 3vw, 34px)/1 var(--display); }
.app-type {
  margin: 5px 0 0;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.68;
}
.app-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(60px, 8vw, 104px);
  line-height: 0.91;
  text-wrap: balance;
}
.app-lead {
  max-width: 670px;
  margin: 28px 0 0;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
  opacity: 0.82;
}
.meta-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.meta-pill {
  padding: 8px 12px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.22);
}
.hero-phone {
  position: relative;
  width: min(100%, 350px);
  justify-self: center;
  padding: 9px;
  border: 4px solid var(--app-ink);
  border-radius: 43px;
  background: var(--app-ink);
  box-shadow: 18px 20px 0 rgba(0, 0, 0, 0.13);
  transform: rotate(3deg);
}
.hero-phone::before {
  position: absolute;
  z-index: 2;
  width: 38%;
  height: 21px;
  top: 8px;
  left: 31%;
  border-radius: 0 0 14px 14px;
  background: var(--app-ink);
  content: "";
}
.hero-phone img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 31px;
  object-fit: cover;
  object-position: top center;
}
.page-enterprize .hero-phone { background: #050817; }
.app-page-main { background: var(--paper-strong); }
.page-section { padding: clamp(70px, 9vw, 116px) 0; }
.page-section + .page-section { border-top: 1px solid var(--line); }
.section-head-narrow { max-width: 780px; margin-bottom: 42px; }
.section-head-narrow .section-title { margin-top: 8px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.feature-card {
  padding: 28px;
  border: 1.5px solid var(--line);
  border-radius: 21px;
  background: #fff;
}
.feature-number {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 23px;
  border-radius: 11px;
  color: var(--app-ink);
  background: var(--app-bg);
  font-size: 12px;
  font-weight: 950;
}
.feature-card h3 { margin: 0 0 10px; font-size: 27px; line-height: 1.05; }
.feature-card p { margin: 0; color: var(--muted); }
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  align-items: center;
  gap: clamp(42px, 8vw, 100px);
}
.split-copy p { color: var(--muted); font-size: 18px; }
.quote-block {
  margin: 0;
  padding: clamp(34px, 5vw, 58px);
  border: 2px solid var(--ink);
  border-radius: 27px;
  color: var(--app-ink);
  background: var(--app-bg);
  box-shadow: 8px 9px 0 rgba(23, 32, 51, 0.13);
  font: 400 clamp(32px, 5vw, 55px)/1.05 var(--display);
}
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 18px; }
.shot {
  overflow: hidden;
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: #fff;
  box-shadow: 5px 6px 0 rgba(23, 32, 51, 0.12);
}
.shot img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
}
.shot figcaption { padding: 15px 16px 17px; border-top: 1.5px solid var(--ink); font-size: 14px; font-weight: 800; }
.shot-wide img { aspect-ratio: 16 / 10; object-position: center; }
.gallery .shot:nth-child(2) { transform: translateY(26px); }
.status-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: clamp(31px, 5vw, 50px);
  border-radius: 28px;
  color: var(--app-ink);
  background: var(--app-bg);
}
.status-panel h2 { margin: 0 0 8px; font: 400 clamp(34px, 5vw, 52px)/1 var(--display); }
.status-panel p { max-width: 710px; margin: 0; opacity: 0.78; }
.status-dot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 2px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}
.status-dot::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2daa68;
  box-shadow: 0 0 0 4px rgba(45, 170, 104, 0.18);
  content: "";
}
.room-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.room-card {
  overflow: hidden;
  margin: 0;
  border: 2px solid #32427c;
  border-radius: 20px;
  color: #eef1ff;
  background: #18214d;
}
.room-card img { display: block; width: 100%; aspect-ratio: 9 / 15; object-fit: cover; object-position: top center; }
.room-card figcaption { min-height: 133px; padding: 18px; }
.room-card h3 { margin: 0 0 7px; color: #fff; font-size: 25px; }
.room-card p { margin: 0; color: #b8c2e5; font-size: 13.5px; line-height: 1.45; }
.enterprize-section { color: #eef1ff; background: #0d1433; }
.enterprize-section .kicker { color: #aeb8dc; }
.fair-play {
  max-width: 850px;
  margin: 0 auto;
  padding: clamp(35px, 6vw, 60px);
  border: 2px solid #2fb3c9;
  border-radius: 26px;
  color: #edf1ff;
  background: #121c45;
  text-align: center;
}
.fair-play strong {
  display: block;
  margin-bottom: 14px;
  color: #ffc83d;
  font: 400 clamp(35px, 5vw, 52px)/1 var(--display);
}
.site-footer { padding: 38px 0 52px; color: #687287; background: var(--paper); font-size: 14px; }
.footer-shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 17px; }
.footer-links a { font-weight: 750; text-decoration: none; }
.footer-links a:hover,
.footer-links a:focus-visible { color: var(--ink); }

@media (max-width: 980px) {
  .hero-grid,
  .app-hero-grid,
  .split-section { grid-template-columns: 1fr; }
  .home-hero { padding-top: 70px; }
  .game-mosaic { min-height: 470px; }
  .app-hero-copy { text-align: center; }
  .app-logo-row,
  .meta-row { justify-content: center; }
  .app-lead { margin-inline: auto; }
  .hero-phone { width: min(72vw, 350px); transform: rotate(2deg); }
  .game-grid,
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-card:last-child,
  .feature-card:last-child { grid-column: 1 / -1; }
  .room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav-shell {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-block: 13px 10px;
  }
  .nav-links {
    width: calc(100vw - 28px);
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { padding: 7px 10px; font-size: 13px; }
  .home-title {
    font-size: clamp(42px, 12vw, 54px);
    line-height: 0.96;
  }
  .app-title {
    font-size: clamp(46px, 13vw, 58px);
    line-height: 0.96;
  }
  .home-title em { overflow-wrap: anywhere; }
  .app-name { max-width: 330px; }
  .app-lead { font-size: 18px; }
  .game-mosaic { min-height: 400px; gap: 10px; }
  .mosaic-item { border-radius: 19px; box-shadow: 5px 6px 0 rgba(23, 32, 51, 0.14); }
  .mosaic-label { right: 8px; bottom: 8px; left: 8px; padding: 7px 8px; font-size: 14px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .game-grid,
  .feature-grid,
  .gallery,
  .room-grid { grid-template-columns: 1fr; }
  .game-card:last-child,
  .feature-card:last-child { grid-column: auto; }
  .card-body { min-height: 0; }
  .app-hero-grid { gap: 50px; }
  .app-logo-row { align-items: center; flex-direction: column; }
  .gallery { width: min(100%, 430px); margin-inline: auto; }
  .gallery .shot:nth-child(2) { transform: none; }
  .shot-wide img { aspect-ratio: 16 / 11; }
  .status-panel { grid-template-columns: 1fr; }
  .status-dot { width: fit-content; }
  .room-grid { width: min(100%, 470px); margin-inline: auto; }
  .room-card img { aspect-ratio: 9 / 13.7; }
  .footer-shell { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .home-hero { padding-top: 53px; }
  .hero-grid { gap: 48px; }
  .game-mosaic { min-height: 330px; }
  .hero-actions .button { width: 100%; }
  .app-logo { width: 66px; height: 66px; }
}

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

/* Portfolio homepage */
.home-page {
  color: #f5f7ff;
  background: #080d1b;
}
.home-page .shell { width: min(1480px, calc(100% - 64px)); }
.home-page .site-nav {
  position: sticky;
  top: 0;
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(8, 13, 27, 0.88);
}
.home-page .brand { color: #fff; }
.home-page .brand-mark {
  border-color: #ffc83d;
  color: #080d1b;
  background: #ffc83d;
  box-shadow: 3px 3px 0 #52d6eb;
}
.home-page .nav-links a { color: #aeb8d0; }
.home-page .nav-links a:hover,
.home-page .nav-links a:focus-visible,
.home-page .nav-links a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.studio-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 3vw, 42px) 0 clamp(28px, 2.5vw, 36px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 18% 5%, rgba(255, 194, 65, 0.16), transparent 25rem),
    radial-gradient(circle at 82% 38%, rgba(78, 209, 235, 0.15), transparent 28rem),
    #080d1b;
}
.studio-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 92%);
  pointer-events: none;
}
.studio-hero-inner { position: relative; z-index: 1; text-align: center; }
.studio-kicker,
.project-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 11px;
  color: #aeb8d0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.studio-kicker span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #74e09b;
  box-shadow: 0 0 0 5px rgba(116, 224, 155, 0.13);
}
.studio-hero h1 {
  max-width: 1120px;
  margin: 0 auto;
  color: #fff;
  font: 400 clamp(52px, 5.5vw, 84px)/0.9 var(--display);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.studio-hero h1 em {
  color: #ffc83d;
  font-style: normal;
}
.studio-intro {
  max-width: 790px;
  margin: 14px auto 0;
  color: #b8c2d8;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.55;
  text-wrap: balance;
}
.studio-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 17px;
  padding: 11px 19px;
  border: 1px solid #ffc83d;
  border-radius: 999px;
  color: #101628;
  background: #ffc83d;
  box-shadow: 0 8px 25px rgba(255, 200, 61, 0.16);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.studio-button:hover,
.studio-button:focus-visible {
  box-shadow: 0 11px 30px rgba(255, 200, 61, 0.24);
  outline: none;
  transform: translateY(-2px);
}
.hero-game-list {
  display: grid;
  width: min(900px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px auto 0;
  padding: 0;
  list-style: none;
}
.hero-game-list li {
  display: flex;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  text-align: left;
}
.hero-game-list a {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 7px 11px;
  border-radius: 17px;
  color: inherit;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}
.hero-game-list a:hover,
.hero-game-list a:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}
.hero-game-list a:focus-visible { box-shadow: 0 0 0 2px #ffc83d; }
.hero-game-icon {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
}
.hero-game-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero-game-icon-sky { padding: 5px; background: #f3bf51; }
.hero-game-icon-aqua { background: #41cbed; }
.hero-game-icon-idle { background: #18214d; }
.hero-game-icon-washworld { background: #ffcf2f; }
.hero-game-list strong,
.hero-game-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-game-list strong { color: #fff; font: 400 18px/1.15 var(--display); }
.hero-game-list small { margin-top: 3px; color: #8995af; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.project-showcase {
  padding: clamp(66px, 7vw, 96px) 0 clamp(72px, 8vw, 112px);
  background: #0c1224;
}
.project-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 510px);
  align-items: end;
  gap: 32px;
  margin-bottom: 40px;
}
.project-eyebrow { justify-content: flex-start; margin-bottom: 9px; color: #ffc83d; }
.project-heading h2 {
  margin: 0;
  color: #fff;
  font: 400 clamp(46px, 5vw, 72px)/0.95 var(--display);
}
.project-heading > p {
  margin: 0 0 4px;
  color: #98a4bd;
  font-size: 17px;
  line-height: 1.55;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}
.project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 30px;
  background: #121a30;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.2);
}
.project-stage {
  position: relative;
  display: flex;
  height: clamp(360px, 28vw, 445px);
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  text-decoration: none;
  isolation: isolate;
}
.project-stage::before,
.project-stage::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.project-stage::before {
  width: 330px;
  height: 330px;
  right: -135px;
  bottom: -155px;
  border: 1px solid rgba(255, 255, 255, 0.36);
}
.project-stage::after {
  width: 210px;
  height: 210px;
  top: -105px;
  left: -75px;
  background: rgba(255, 255, 255, 0.13);
}
.project-sky .project-stage { background: linear-gradient(145deg, #efb743, #ffda72); }
.project-aqua .project-stage { background: linear-gradient(145deg, #35c6eb, #1d92d3); }
.project-idle .project-stage { background: linear-gradient(145deg, #222d68, #111633); }
.project-washworld .project-stage { background: linear-gradient(145deg, #24c8e7, #176fc0); }
.project-number {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 21px;
  color: rgba(11, 18, 34, 0.58);
  font: 400 26px/1 var(--display);
}
.project-idle .project-number { color: rgba(255, 255, 255, 0.62); }
.project-washworld .project-number { color: rgba(255, 255, 255, 0.78); }
.project-chip {
  position: absolute;
  z-index: 3;
  top: 17px;
  right: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(12, 18, 36, 0.18);
  border-radius: 999px;
  color: #11182b;
  background: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.screen-frame {
  position: relative;
  z-index: 2;
  display: inline-block;
  max-width: 70%;
  padding: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 27px;
  background: #070b14;
  box-shadow: 0 22px 42px rgba(5, 9, 18, 0.34);
  line-height: 0;
  transition: transform 220ms ease;
}
.screen-frame img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 350px;
  border-radius: 21px;
  object-fit: contain;
}
.project-stage:hover .screen-frame,
.project-stage:focus-visible .screen-frame { transform: translateY(-5px); }
.project-stage:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.project-icon {
  position: absolute;
  z-index: 3;
  bottom: 19px;
  left: 20px;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.84);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(7, 12, 25, 0.22);
}
.project-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.project-sky .project-icon { padding: 7px; background: #ffe08e; }
.project-washworld .project-icon { border-color: #fff; background: #ffcf2f; }
.project-copy { padding: 27px 27px 29px; }
.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #8f9bb4;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.live-status { display: inline-flex; align-items: center; gap: 7px; color: #91d8a9; white-space: nowrap; }
.live-status::before { width: 6px; height: 6px; border-radius: 50%; background: #74e09b; content: ""; }
.project-copy h3 {
  margin: 14px 0 10px;
  color: #fff;
  font: 400 clamp(31px, 2.5vw, 42px)/1 var(--display);
}
.project-copy > p {
  min-height: 78px;
  margin: 0;
  color: #aeb8cd;
  line-height: 1.55;
}
.project-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 23px;
  padding-top: 19px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}
.project-link span:last-child { color: #ffc83d; font-size: 20px; transition: transform 160ms ease; }
.project-link:hover span:last-child,
.project-link:focus-visible span:last-child { transform: translate(2px, -2px); }
.project-link:focus-visible { outline: 2px solid #ffc83d; outline-offset: 6px; }

.home-page .home-note {
  border-color: rgba(255, 255, 255, 0.08);
  color: #b6c0d4;
  background: #080d1b;
}
.home-page .home-note strong { color: #fff; }
.home-page .site-footer { color: #8390aa; background: #080d1b; }
.home-page .footer-links a:hover,
.home-page .footer-links a:focus-visible { color: #fff; }

@media (max-width: 1080px) {
  .home-page .shell { width: min(100% - 40px, 1480px); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card .project-stage { height: 430px; }
  .project-card .project-copy > p { min-height: 0; }
}

@media (max-width: 760px) {
  .home-page .shell { width: min(100% - 28px, 1480px); }
  .studio-hero { padding: 31px 0 27px; }
  .studio-hero h1 { font-size: clamp(44px, 12.5vw, 62px); line-height: 0.92; }
  .studio-intro { margin-top: 13px; font-size: 15px; }
  .studio-button { min-height: 43px; margin-top: 16px; }
  .hero-game-list { gap: 7px; margin-top: 20px; }
  .hero-game-list li { justify-content: center; }
  .hero-game-list a { justify-content: center; padding: 8px 5px; }
  .hero-game-icon { flex-basis: 43px; width: 43px; height: 43px; border-radius: 12px; }
  .hero-game-list a > span:last-child { display: none; }
  .project-showcase { padding: 58px 0 72px; }
  .project-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 30px; }
  .project-heading > p { font-size: 16px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card:last-child { grid-column: auto; }
  .project-stage,
  .project-card:last-child .project-stage { height: 390px; }
  .project-copy > p { min-height: 0; }
}

@media (max-width: 420px) {
  .studio-kicker { font-size: 10px; letter-spacing: 0.13em; }
  .studio-hero h1 { font-size: clamp(43px, 13vw, 56px); }
  .project-stage,
  .project-card:last-child .project-stage { height: 355px; }
  .screen-frame img { max-height: 278px; }
  .project-chip { display: none; }
  .project-copy { padding: 24px 22px 26px; }
}

/* Individual game worlds */
.game-page {
  --page-paper: #fff8e6;
  --page-card: #fffdf8;
  --page-line: rgba(68, 43, 15, 0.16);
  --page-muted: #6e6149;
  --nav-surface: #25190e;
  background: var(--page-paper);
}
.game-page.page-skyraffe {
  --app-bg: #f4bd4c;
  --app-ink: #2c1c0d;
  --app-accent: #bf5631;
  --app-soft: #fff0bd;
  --page-paper: #fff7df;
  --page-card: #fffdf5;
  --page-line: rgba(91, 54, 16, 0.16);
  --page-muted: #725f44;
  --nav-surface: #30200f;
}
.game-page.page-aquarium {
  --app-bg: #3fc7e6;
  --app-ink: #073655;
  --app-accent: #e87648;
  --app-soft: #e9fbff;
  --page-paper: #eafaff;
  --page-card: #ffffff;
  --page-line: rgba(7, 54, 85, 0.15);
  --page-muted: #39708a;
  --nav-surface: #073957;
}
.game-page.page-enterprize {
  --app-bg: #11193b;
  --app-ink: #f7f3ff;
  --app-accent: #ffc83d;
  --app-soft: #202a58;
  --page-paper: #0b1230;
  --page-card: #161f4a;
  --page-line: rgba(159, 178, 255, 0.17);
  --page-muted: #b9c5ec;
  --nav-surface: #080d20;
}
.game-page.page-shiny {
  --app-bg: #35c9ed;
  --app-ink: #102348;
  --app-accent: #ff5577;
  --app-soft: #ffe05a;
  --page-paper: #eafaff;
  --page-card: #ffffff;
  --page-line: rgba(16, 35, 72, 0.16);
  --page-muted: #386783;
  --nav-surface: #102348;
}

.game-page .site-nav {
  position: sticky;
  top: 0;
  border-color: rgba(255, 255, 255, 0.11);
  background: color-mix(in srgb, var(--nav-surface) 93%, transparent);
}
.game-page .brand { color: #fff; }
.game-page .brand-mark {
  border-color: var(--app-bg);
  color: var(--nav-surface);
  background: var(--app-bg);
  box-shadow: 3px 3px 0 var(--app-accent);
}
.game-page .nav-links a { color: rgba(255, 255, 255, 0.72); }
.game-page .nav-links a:hover,
.game-page .nav-links a:focus-visible,
.game-page .nav-links a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.game-page .app-hero {
  padding: clamp(44px, 5vw, 74px) 0;
  border: 0;
  background: var(--app-bg);
}
.page-skyraffe .app-hero {
  background:
    radial-gradient(circle at 87% 8%, rgba(255, 255, 255, 0.25) 0 2px, transparent 3px) 0 0 / 70px 70px,
    linear-gradient(135deg, #f8ca62 0%, #f2b843 56%, #e9a733 100%);
}
.page-aquarium .app-hero {
  background:
    radial-gradient(circle at 12% 23%, rgba(255, 255, 255, 0.3) 0 4px, transparent 5px) 0 0 / 92px 92px,
    radial-gradient(circle at 82% 68%, rgba(0, 101, 168, 0.14), transparent 29rem),
    linear-gradient(140deg, #5bd9ed, #26b3df);
}
.page-enterprize .app-hero {
  background:
    radial-gradient(circle at 78% 24%, rgba(140, 92, 255, 0.3), transparent 22rem),
    radial-gradient(circle at 17% 85%, rgba(255, 200, 61, 0.14), transparent 22rem),
    #11193b;
}
.page-shiny .app-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.31), transparent 20rem),
    radial-gradient(circle at 18% 92%, rgba(255, 224, 90, 0.34), transparent 20rem),
    linear-gradient(135deg, #53d7f0 0%, #2bb8dc 52%, #217ac7 100%);
}
.game-page .app-hero::before {
  width: 370px;
  height: 370px;
  top: -210px;
  right: 7%;
  opacity: 0.16;
}
.game-page .app-hero::after {
  width: 280px;
  height: 280px;
  bottom: -210px;
  left: 5%;
  border-width: 48px;
  opacity: 0.08;
}
.game-page .app-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.58fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
}
.game-page .app-hero-copy { padding-block: 10px; }
.game-page .app-logo-row { margin-bottom: 18px; }
.game-page .app-logo {
  width: 66px;
  height: 66px;
  border-color: currentColor;
  border-radius: 18px;
  box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.16);
}
.game-page .app-name { font-size: clamp(24px, 2.5vw, 32px); }
.game-page .app-title {
  max-width: 700px;
  font-size: clamp(52px, 5.8vw, 86px);
  line-height: 0.9;
}
.game-page .app-lead {
  max-width: 635px;
  margin-top: 22px;
  font-size: clamp(17px, 1.7vw, 20px);
}
.game-page .meta-row { margin-top: 24px; }
.game-page .meta-pill { background: rgba(255, 255, 255, 0.24); }
.game-page .hero-phone {
  display: grid;
  width: fit-content;
  max-width: 100%;
  padding: 7px;
  border-width: 3px;
  border-radius: 28px;
  box-shadow: 13px 16px 0 rgba(0, 0, 0, 0.14);
  transform: rotate(2deg);
}
.page-aquarium .hero-phone { transform: rotate(-2deg); }
.page-aquarium .aqua-hero-art {
  width: min(100%, 490px);
  padding: 7px;
  border-radius: 31px;
  background: #073655;
}
.page-aquarium .aqua-hero-art::before { display: none; }
.page-aquarium .aqua-hero-art img {
  width: 100%;
  max-width: none;
  height: auto;
  border-radius: 21px;
}
.page-enterprize .hero-phone {
  border-color: #d9d7ff;
  background: #050817;
  box-shadow: 0 0 0 7px rgba(139, 106, 255, 0.16), 16px 18px 0 rgba(0, 0, 0, 0.22);
}
.page-shiny .hero-phone {
  border-color: #102348;
  background: #ffe05a;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.18), 16px 18px 0 rgba(16, 35, 72, 0.22);
}
.page-shiny .hero-phone img {
  width: 235px;
  height: 420px;
  object-fit: cover;
  object-position: 50% 0;
}
.game-page .hero-phone::before {
  width: 34%;
  height: 14px;
  top: 5px;
  left: 33%;
  border-radius: 0 0 10px 10px;
}
.game-page .hero-phone img {
  width: auto;
  max-width: min(100%, 290px);
  height: clamp(350px, 31vw, 470px);
  aspect-ratio: auto;
  border-radius: 19px;
  object-fit: contain;
}
.page-aquarium .aqua-hero-art img {
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.game-page .app-page-main { color: var(--app-ink); background: var(--page-paper); }
.game-page .page-section {
  position: relative;
  padding: clamp(62px, 7vw, 96px) 0;
  border-color: var(--page-line);
}
.game-page .page-section + .page-section { border-color: var(--page-line); }
.game-page .kicker { color: var(--page-muted); }
.game-page .kicker::before { background: var(--app-accent); }
.game-page .feature-grid { gap: 19px; }
.game-page .feature-card {
  border-color: var(--page-line);
  border-radius: 24px;
  color: var(--app-ink);
  background: var(--page-card);
  box-shadow: 0 14px 34px rgba(27, 40, 69, 0.06);
}
.game-page .feature-card p,
.game-page .split-copy p { color: var(--page-muted); }
.game-page .feature-number {
  color: var(--app-ink);
  background: var(--app-soft);
}
.game-page .quote-block {
  border-color: var(--app-ink);
  box-shadow: 9px 10px 0 color-mix(in srgb, var(--app-ink) 14%, transparent);
}
.game-page .shot {
  border-color: var(--app-ink);
  border-radius: 24px;
  background: var(--page-card);
  box-shadow: 7px 8px 0 color-mix(in srgb, var(--app-ink) 12%, transparent);
}
.game-page .shot figcaption { border-color: var(--app-ink); color: var(--app-ink); }
.game-page .status-panel {
  border: 1px solid color-mix(in srgb, var(--app-ink) 15%, transparent);
  box-shadow: 0 18px 46px color-mix(in srgb, var(--app-ink) 13%, transparent);
}

.page-skyraffe .page-section:nth-child(2) { background: #fff0c6; }
.page-skyraffe .feature-card:first-child { transform: rotate(-0.7deg); }
.page-skyraffe .feature-card:last-child { transform: rotate(0.7deg); }
.page-skyraffe .quote-block { background: #f6c95d; }
.page-skyraffe .status-panel { background: #f7c24e; }

.page-aquarium .app-page-main {
  background:
    radial-gradient(circle at 5% 9%, rgba(77, 205, 234, 0.18) 0 2px, transparent 3px) 0 0 / 70px 70px,
    #eafaff;
}
.page-aquarium .page-section:nth-child(2) { background: rgba(87, 208, 234, 0.16); }
.page-aquarium .feature-card { box-shadow: 0 15px 36px rgba(22, 113, 144, 0.09); }
.page-aquarium .feature-card:nth-child(2) { transform: translateY(-10px); }
.page-aquarium .quote-block { color: #073655; background: #7be0ef; }
.page-aquarium .shot { border-color: #073655; }
.page-aquarium .status-panel { color: #073655; background: #68d8eb; }

.page-enterprize .app-page-main {
  color: #edf1ff;
  background:
    radial-gradient(circle at 8% 3%, rgba(93, 73, 210, 0.2), transparent 30rem),
    #0b1230;
}
.page-enterprize .page-section { border-color: rgba(174, 190, 255, 0.13); }
.page-enterprize .page-section + .page-section { border-color: rgba(174, 190, 255, 0.13); }
.page-enterprize .kicker { color: #aeb8dc; }
.page-enterprize .feature-card {
  border-color: #2a3c7d;
  color: #edf1ff;
  background: #162052;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}
.page-enterprize .feature-card p,
.page-enterprize .split-copy p { color: #b8c5ea; }
.page-enterprize .feature-number { color: #101835; background: #ffc83d; }
.page-enterprize .enterprize-section { background: rgba(9, 15, 43, 0.52); }
.page-enterprize .room-card { box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24); }
.page-enterprize .status-panel {
  border-color: #2d407f;
  color: #edf1ff;
  background: #172152;
}
.page-enterprize .site-footer {
  color: #aab8df;
  background: #080d20;
}
.page-shiny .app-page-main {
  background:
    radial-gradient(circle at 8% 3%, rgba(83, 215, 240, 0.2), transparent 30rem),
    #eafaff;
}
.page-shiny .page-section:nth-child(2) { background: rgba(255, 224, 90, 0.17); }
.page-shiny .feature-card:nth-child(2) { transform: translateY(-10px); }
.page-shiny .feature-card:first-child { border-top: 6px solid #ff5577; }
.page-shiny .feature-card:nth-child(2) { border-top: 6px solid #ffe05a; }
.page-shiny .feature-card:nth-child(3) { border-top: 6px solid #35c9ed; }
.page-shiny .quote-block { color: #102348; background: #ffe05a; }
.page-shiny .status-panel { color: #102348; background: #75def0; }
.page-shiny .site-footer { color: #386783; background: #eafaff; }
.page-shiny .hero-phone img {
  width: 235px;
  max-width: 235px;
  height: 380px;
  object-fit: cover;
  object-position: 50% 0;
}
.page-enterprize .footer-links a:hover,
.page-enterprize .footer-links a:focus-visible { color: #fff; }
.game-page:not(.page-enterprize) .site-footer { color: var(--page-muted); background: var(--page-paper); }

@media (max-width: 980px) {
  .game-page .app-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .game-page .app-hero-copy { text-align: center; }
  .game-page .app-logo-row,
  .game-page .meta-row { justify-content: center; }
  .game-page .app-lead { margin-inline: auto; }
  .game-page .hero-phone { order: -1; }
  .game-page .feature-card:last-child { grid-column: auto; }
}

@media (max-width: 760px) {
  .game-page .site-nav { position: relative; }
  .game-page .app-hero { padding: 34px 0 42px; }
  .game-page .app-logo-row { margin-bottom: 15px; }
  .game-page .app-logo { width: 58px; height: 58px; }
  .game-page .app-title { font-size: clamp(45px, 12.5vw, 61px); }
  .game-page .app-lead { margin-top: 17px; font-size: 17px; }
  .game-page .meta-row { margin-top: 20px; }
  .game-page .hero-phone img { height: min(90vw, 410px); }
  .page-aquarium .aqua-hero-art img { height: auto; }
  .game-page .feature-card:first-child,
  .game-page .feature-card:last-child,
  .page-aquarium .feature-card:nth-child(2) { transform: none; }
  .game-page .page-section { padding: 56px 0; }
}

/* Game-specific privacy policies */
.privacy-policy .policy-main {
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 7vw, 90px) 0;
  color: var(--app-ink);
  background: var(--page-paper);
}
.privacy-policy .policy-shell { width: min(840px, calc(100% - 40px)); }
.privacy-policy .policy-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 27px;
  color: var(--app-ink);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}
.privacy-policy .policy-back:hover,
.privacy-policy .policy-back:focus-visible { color: var(--app-accent); outline: none; }
.policy-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 9px;
  color: var(--app-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.policy-label::before { width: 23px; height: 3px; border-radius: 99px; background: currentColor; content: ""; }
.privacy-policy h1 {
  margin: 0;
  font: 400 clamp(48px, 7vw, 76px)/0.95 var(--display);
  letter-spacing: -0.01em;
}
.policy-meta {
  margin: 18px 0 0;
  color: var(--page-muted);
  font-size: 15px;
}
.policy-intro {
  margin: 30px 0 0;
  padding: 22px 24px;
  border: 1px solid var(--page-line);
  border-radius: 20px;
  color: var(--app-ink);
  background: var(--page-card);
  box-shadow: 0 10px 25px color-mix(in srgb, var(--app-ink) 6%, transparent);
}
.privacy-policy section { margin-top: 42px; }
.privacy-policy h2 { margin: 0 0 11px; font: 400 clamp(27px, 4vw, 35px)/1 var(--display); }
.privacy-policy p,
.privacy-policy li { color: var(--page-muted); }
.privacy-policy p { margin: 0; }
.privacy-policy p + p { margin-top: 16px; }
.privacy-policy ul { margin: 14px 0 0; padding-left: 22px; }
.privacy-policy li + li { margin-top: 8px; }
.privacy-policy strong { color: var(--app-ink); }
.privacy-policy .policy-main a:not(.policy-back) { color: var(--app-accent); font-weight: 800; }
.privacy-policy .policy-contact {
  padding: 25px;
  border-radius: 22px;
  color: var(--app-ink);
  background: var(--app-soft);
}
.page-enterprize.privacy-policy .policy-main { color: #edf1ff; background: #0b1230; }
.page-enterprize.privacy-policy .policy-intro { color: #edf1ff; border-color: #2c3f80; background: #161f4a; }
.page-enterprize.privacy-policy .policy-contact { color: #edf1ff; background: #172152; }
.page-enterprize.privacy-policy .policy-main strong { color: #fff; }
.page-enterprize.privacy-policy .policy-main p,
.page-enterprize.privacy-policy .policy-main li,
.page-enterprize.privacy-policy .policy-meta { color: #b9c5ec; }
.page-enterprize.privacy-policy .policy-back { color: #fff; }

@media (max-width: 760px) {
  .privacy-policy .policy-shell { width: min(100% - 28px, 840px); }
  .privacy-policy .policy-main { padding: 42px 0 58px; }
  .privacy-policy .policy-intro,
  .privacy-policy .policy-contact { padding: 19px; }
}

/* Compact, uncropped game galleries */
.game-page .gallery {
  grid-template-columns: repeat(3, minmax(0, 280px));
  justify-content: center;
  align-items: start;
  gap: 24px;
}
.game-page .shot { width: 100%; }
.game-page .shot img {
  width: 100%;
  height: 420px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: var(--app-soft);
}
.game-page .shot-wide img { height: 260px; }
.game-page .gallery .shot:nth-child(2) { transform: none; }

@media (max-width: 760px) {
  .game-page .gallery {
    width: 100%;
    grid-template-columns: minmax(0, 300px);
    gap: 18px;
  }
  .game-page .shot img { height: min(105vw, 420px); }
  .game-page .shot-wide img { height: min(65vw, 260px); }
}

/* Game-specific motion: a different little heartbeat for every world. */
@keyframes skyraffe-climb {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-14px); }
}
@keyframes skyraffe-sun-wobble {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(7deg) scale(1.05); }
}
@keyframes aquarium-swim {
  0%, 100% { transform: rotate(-2deg) translate(0, 0); }
  50% { transform: rotate(-1deg) translate(10px, -8px); }
}
@keyframes aquarium-bubbles {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.7; }
  50% { transform: translateY(-22px) scale(1.08); opacity: 1; }
}
@keyframes enterprize-pulse {
  0%, 100% {
    transform: rotate(2deg) scale(1);
    box-shadow: 0 0 0 7px rgba(139, 106, 255, 0.16), 16px 18px 0 rgba(0, 0, 0, 0.22);
  }
  50% {
    transform: rotate(2deg) scale(1.018);
    box-shadow: 0 0 0 10px rgba(139, 106, 255, 0.3), 0 0 34px rgba(118, 94, 255, 0.4), 16px 18px 0 rgba(0, 0, 0, 0.22);
  }
}
@keyframes enterprize-orbit {
  from { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.08); }
  to { transform: rotate(360deg) scale(1); }
}
@keyframes home-sky-bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}
@keyframes home-aqua-bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-7px) rotate(3deg); }
}
@keyframes home-idle-glow {
  0%, 100% { box-shadow: 0 10px 25px rgba(7, 12, 25, 0.22); }
  50% { box-shadow: 0 10px 28px rgba(115, 95, 255, 0.72), 0 0 18px rgba(255, 200, 61, 0.46); }
}

.page-skyraffe .hero-phone { animation: skyraffe-climb 4.8s ease-in-out infinite; }
.page-skyraffe .app-hero::before { animation: skyraffe-sun-wobble 7s ease-in-out infinite; }
.page-aquarium .aqua-hero-art { animation: aquarium-swim 5.6s ease-in-out infinite; }
.page-aquarium .app-hero::before { animation: aquarium-bubbles 7.5s ease-in-out infinite; }
.page-enterprize .hero-phone { animation: enterprize-pulse 2.8s ease-in-out infinite; }
.page-enterprize .app-hero::before { animation: enterprize-orbit 15s linear infinite; }

.project-sky .project-icon { animation: home-sky-bob 4.4s ease-in-out infinite; }
.project-aqua .project-icon { animation: home-aqua-bob 3.6s ease-in-out infinite; }
.project-idle .project-icon { animation: home-idle-glow 2.5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .page-skyraffe .hero-phone,
  .page-skyraffe .app-hero::before,
  .page-aquarium .aqua-hero-art,
  .page-aquarium .app-hero::before,
  .page-enterprize .hero-phone,
  .page-enterprize .app-hero::before,
  .project-sky .project-icon,
  .project-aqua .project-icon,
  .project-idle .project-icon {
    animation: none;
  }
}
