:root {
  --bg: #fffaf4;
  --paper: #ffffff;
  --ink: #2d2a4a;
  --ink-soft: #6b6787;
  --coral: #ff7a6b;
  --sun: #ffc23d;
  --mint: #3cc8a8;
  --sky: #5aa9ff;
  --pink: #ff8fc4;
  --lav: #a78bfa;
  --radius: 28px;
  --shadow: 0 1px 0 rgba(45, 42, 74, 0.04), 0 18px 40px -18px rgba(45, 42, 74, 0.28);
  --display: 'Baloo 2', 'Be Vietnam Pro', system-ui, sans-serif;
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
}
body {
  background: var(--bg);
  overflow-x: clip;
  background-image: radial-gradient(circle at 12% 8%, #ffe6dc 0, transparent 38%), radial-gradient(circle at 88% 22%, #e3f1ff 0, transparent 35%),
    radial-gradient(circle at 20% 70%, #e4fbf3 0, transparent 30%), radial-gradient(circle at 85% 85%, #fff1c9 0, transparent 30%);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
}
body.noscroll {
  overflow: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}

/* ---------- splash ---------- */
.splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  background: linear-gradient(145deg, #ff9a7a, #ff7a9c 45%, #a78bfa);
  color: #fff;
  text-align: center;
  cursor: pointer;
  transition: transform 0.7s cubic-bezier(0.7, 0, 0.2, 1), opacity 0.7s;
}
.splash.out {
  transform: translateY(-100%);
  opacity: 0.6;
}
.splash-title {
  font-family: var(--display);
  font-size: clamp(56px, 14vw, 128px);
  line-height: 1;
  margin: 0;
  text-shadow: 0 6px 0 rgba(0, 0, 0, 0.08);
}
.splash-title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) scale(0.6);
  animation: letter 0.6s cubic-bezier(0.2, 1.6, 0.4, 1) forwards;
  animation-delay: calc(0.35s + var(--i) * 0.06s);
}
.splash-tag {
  margin: 0;
  font-size: clamp(16px, 4vw, 22px);
  font-weight: 600;
  opacity: 0;
  animation: fadeup 0.6s ease forwards 1.2s;
}
.splash-dots {
  display: flex;
  gap: 10px;
}
.splash-dots .dot {
  width: 54px;
  height: 54px;
  font-size: 22px;
  font-family: var(--display);
  font-weight: 800;
  border: 4px solid #fff;
  opacity: 0;
  transform: scale(0);
  animation: pop 0.5s cubic-bezier(0.2, 1.8, 0.4, 1) forwards;
}
.splash-dots .dot:nth-child(1) { animation-delay: 0.05s; }
.splash-dots .dot:nth-child(2) { animation-delay: 0.15s; }
.splash-dots .dot:nth-child(3) { animation-delay: 0.25s; }
.splash-dots .dot:nth-child(4) { animation-delay: 0.35s; }
.splash-dots .dot:nth-child(5) { animation-delay: 0.9s; }
.splash-skip {
  position: absolute;
  bottom: max(28px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.2);
  border: 0;
  color: #fff;
  font: 600 14px/1 'Be Vietnam Pro', sans-serif;
  padding: 10px 18px;
  border-radius: 99px;
  opacity: 0;
  animation: fadeup 0.5s ease forwards 1.6s;
}
.splash-bubbles i {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  animation: floaty 6s ease-in-out infinite;
}
.splash-bubbles i:nth-child(1) { width: 120px; height: 120px; left: 8%; top: 12%; }
.splash-bubbles i:nth-child(2) { width: 60px; height: 60px; right: 12%; top: 18%; animation-delay: -2s; }
.splash-bubbles i:nth-child(3) { width: 180px; height: 180px; right: -40px; bottom: 10%; animation-delay: -1s; }
.splash-bubbles i:nth-child(4) { width: 40px; height: 40px; left: 20%; bottom: 20%; animation-delay: -3s; }
.splash-bubbles i:nth-child(5) { width: 90px; height: 90px; left: 45%; top: 6%; animation-delay: -4s; }
.splash-bubbles i:nth-child(6) { width: 70px; height: 70px; left: -20px; bottom: 40%; animation-delay: -5s; }

/* ---------- family dots ---------- */
.dot {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
}
.dot.sky { background: var(--sky); }
.dot.coral { background: var(--coral); }
.dot.pink { background: var(--pink); }
.dot.mint { background: var(--mint); }
.dot.baby {
  background: linear-gradient(135deg, var(--sun), #ffe38a);
  color: #7a5200;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: max(10px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(255, 250, 244, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px -12px rgba(45, 42, 74, 0.3);
}
.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  text-decoration: none;
  white-space: nowrap;
}
.brand-heart {
  display: inline-block;
  animation: beat 1.6s ease-in-out infinite;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 6px 12px;
  border-radius: 99px;
  transition: background 0.2s;
}
.nav-links a:hover {
  background: #ffe6dc;
}
.lang-btn {
  border: 0;
  background: var(--ink);
  color: #fff;
  font: 700 13px/1 'Be Vietnam Pro', sans-serif;
  padding: 9px 12px;
  border-radius: 99px;
  cursor: pointer;
  margin-left: 4px;
}
@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
  .lang-btn {
    margin-left: auto;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 99px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.btn.coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 22px -10px var(--coral);
}
.btn.ghost {
  background: #fff;
  box-shadow: inset 0 0 0 2px #ffd9cf;
}
.btn:hover {
  transform: translateY(-2px);
}

/* ---------- hero ---------- */
.hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: center;
  min-height: calc(100svh - 70px);
}
.kicker {
  margin: 0;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 0.02em;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(52px, 9vw, 104px);
  line-height: 0.95;
  margin: 6px 0 16px;
  background: linear-gradient(90deg, var(--coral), var(--pink) 40%, var(--lav) 70%, var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-title .wave {
  display: inline-block;
  color: initial;
  -webkit-text-fill-color: initial;
  animation: wave 2.2s ease-in-out infinite;
  transform-origin: 70% 70%;
}
.hero-text {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--ink-soft);
  max-width: 34em;
  margin: 0 0 24px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.baby-news {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: #fff4d1;
  color: #7a5200;
  font: 600 15px/1.4 'Be Vietnam Pro', sans-serif;
  padding: 10px 16px;
  border-radius: 18px;
  cursor: pointer;
  text-align: left;
  box-shadow: inset 0 0 0 2px #ffe08a;
}
.pulse {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 0 var(--sun);
  animation: ping 1.6s infinite;
}
.hero-art {
  position: relative;
  overflow: visible;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  width: 100%;
  justify-self: center;
}
.polaroid {
  position: absolute;
  background: #fff;
  padding: 10px 10px 38px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.4s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.polaroid img,
.polaroid .ph {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
}
.polaroid .cap {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-soft);
}
.p2 .cap,
.p3 .cap {
  display: none;
}
.p2,
.p3 {
  padding-bottom: 14px;
}
.p1 { width: 56%; left: 22%; top: 4%; transform: rotate(-3deg); z-index: 3; }
.p2 { width: 42%; left: 0; top: 40%; transform: rotate(-9deg); z-index: 2; }
.p3 { width: 42%; right: 0; top: 36%; transform: rotate(8deg); z-index: 2; }
.polaroid:hover { transform: rotate(0) scale(1.04); z-index: 5; }
.sticker {
  position: absolute;
  z-index: 6;
  font-size: clamp(28px, 4vw, 44px);
  filter: drop-shadow(0 6px 6px rgba(45, 42, 74, 0.18));
  animation: floaty 5s ease-in-out infinite;
}
.s1 { left: 6%; top: 8%; }
.s2 { right: 4%; top: 12%; animation-delay: -1s; }
.s3 { left: 12%; bottom: 2%; animation-delay: -2s; }
.s4 { right: 10%; bottom: 0; animation-delay: -3s; }
.s5 { left: 46%; bottom: -4%; animation-delay: -4s; }
.s6 { right: 30%; top: -2%; animation-delay: -2.5s; }
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 8px;
  }
  .hero-art {
    max-width: 420px;
  }
}

/* ---------- placeholders ---------- */
.ph {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  width: 100%;
  height: 100%;
  min-height: 120px;
  border-radius: 16px;
  font-size: clamp(40px, 7vw, 64px);
  background: linear-gradient(135deg, #fff, #ffe6dc);
}
.ph small {
  font: 700 16px 'Be Vietnam Pro', sans-serif;
  color: var(--ink-soft);
}
.ph.sky { background: linear-gradient(135deg, #eaf4ff, #bfdcff); }
.ph.coral { background: linear-gradient(135deg, #fff0ea, #ffc4b8); }
.ph.pink { background: linear-gradient(135deg, #fff0f7, #ffc9e3); }
.ph.mint { background: linear-gradient(135deg, #eafff8, #b5eedd); }

/* ---------- sections ---------- */
.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 64px 16px;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.05;
  margin: 0;
  text-align: center;
}
.section-title.small {
  font-size: clamp(28px, 4.5vw, 40px);
}
.section-sub {
  text-align: center;
  color: var(--ink-soft);
  margin: 8px auto 36px;
  max-width: 36em;
  font-size: 17px;
}

/* ---------- members ---------- */
.members {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 1060px) {
  .members { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .members { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
.member {
  --c: var(--coral);
  background: var(--paper);
  border-radius: var(--radius);
  padding: 12px 14px 18px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.member:hover {
  transform: translateY(-6px) rotate(-1deg);
}
.member.sky { --c: var(--sky); }
.member.coral { --c: var(--coral); }
.member.pink { --c: var(--pink); }
.member.mint { --c: var(--mint); }
.member-photo {
  position: relative;
  aspect-ratio: 1;
  border-radius: 22px;
  overflow: visible;
  margin-bottom: 12px;
}
.member-photo img,
.member-photo .ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: inset 0 0 0 4px var(--c);
}
.member-photo img {
  outline: 4px solid var(--c);
  outline-offset: -4px;
}
.member-emoji {
  position: absolute;
  right: -6px;
  bottom: -10px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 14px -6px rgba(45, 42, 74, 0.4);
  animation: bob 2.4s ease-in-out infinite;
}
.member h3 {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.1;
  margin: 4px 0 0;
}
.member .role {
  margin: 2px 0 8px;
  font-weight: 700;
  font-size: 13px;
  color: var(--c);
}
.member p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.baby-card {
  --c: #e6a400;
  background: linear-gradient(160deg, #fff, #fff6d9);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow), inset 0 0 0 3px #ffe08a;
}
.baby-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.8) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shine 3.5s ease-in-out infinite;
  pointer-events: none;
}
.ph.baby {
  background: radial-gradient(circle at 50% 40%, #fffbe8, #ffe39a);
  position: relative;
  box-shadow: inset 0 0 0 4px #ffd24d;
}
.ph.baby .egg {
  animation: wobble 1.8s ease-in-out infinite;
}
.ph.baby .q {
  position: absolute;
  right: 14%;
  top: 10%;
  font: 800 32px var(--display);
  color: #e6a400;
  animation: bob 1.6s ease-in-out infinite;
}
.baby-card .tap {
  margin-top: 8px;
  font-weight: 700;
  color: #b37f00;
  font-size: 13px;
}
.wiggle {
  animation: wiggle 0.6s ease;
}

/* ---------- stats ---------- */
.stats-wrap {
  padding-top: 8px;
}
.stats {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}
.stat {
  background: #fff;
  border-radius: 24px;
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat b {
  display: block;
  font: 800 54px/1 var(--display);
  background: linear-gradient(135deg, var(--coral), var(--lav));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- kids ---------- */
.kid {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.kid-lily { background: linear-gradient(180deg, transparent, #ffeef6 18%, #ffeef6 82%, transparent); }
.kid-leo { background: linear-gradient(180deg, transparent, #e6f7f1 18%, #e6f7f1 82%, transparent); }
.kid-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.kid-inner.reverse .kid-photos {
  order: 2;
}
@media (max-width: 860px) {
  .kid-inner { grid-template-columns: 1fr; gap: 28px; }
  .kid-inner.reverse .kid-photos { order: 0; }
}
.kid-photos {
  position: relative;
  aspect-ratio: 1 / 1.05;
  max-width: 500px;
  width: 100%;
  justify-self: center;
}
.kp {
  position: absolute;
  margin: 0;
  background: #fff;
  padding: 8px;
  border-radius: 22px;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  transition: transform 0.4s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.kp img,
.kp .ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.kp0 { width: 68%; height: 72%; left: 0; top: 0; transform: rotate(-3deg); }
.kp1 { width: 46%; height: 44%; right: 0; top: 12%; transform: rotate(5deg); }
.kp2 { width: 50%; height: 42%; right: 6%; bottom: 0; transform: rotate(-4deg); }
.kp:hover { transform: rotate(0) scale(1.03); z-index: 3; }
.kid-title {
  font-family: var(--display);
  font-size: clamp(64px, 10vw, 110px);
  line-height: 0.9;
  margin: 4px 0 12px;
}
.kid-lily .kid-title { color: #ff5fa6; }
.kid-leo .kid-title { color: #1fae8c; }
.kid-sub {
  display: block;
  font: 700 17px 'Be Vietnam Pro', sans-serif;
  color: var(--ink-soft);
  margin-top: 8px;
}
.kid-lily .kicker { color: #ff5fa6; }
.kid-leo .kicker { color: #1fae8c; }
.kid-text {
  font-size: 17px;
  color: var(--ink-soft);
}
.facts {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.facts li {
  background: #fff;
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: 0 10px 24px -16px rgba(45, 42, 74, 0.4);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
}
.fi {
  grid-row: span 2;
  font-size: 28px;
}
.facts b {
  font-size: 14px;
  line-height: 1.2;
}
.facts em {
  font-style: normal;
  font-size: 13px;
  color: var(--ink-soft);
}
.traits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.traits span {
  padding: 6px 14px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}
.kid-lily .traits span { background: #ff7ab8; }
.kid-leo .traits span { background: #2cbf9b; }
.kid-lily .traits span:nth-child(even) { background: var(--lav); }
.kid-leo .traits span:nth-child(even) { background: var(--sky); }

/* ---------- timeline ---------- */
.timeline {
  list-style: none;
  margin: 0 auto 56px;
  padding: 0;
  max-width: 860px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 10px;
  bottom: 10px;
  width: 4px;
  margin-left: -2px;
  border-radius: 4px;
  background: linear-gradient(var(--coral), var(--pink), var(--lav), var(--sun));
}
.timeline li {
  position: relative;
  width: 50%;
  padding: 0 36px 26px;
}
.timeline li.left { margin-right: auto; text-align: right; }
.timeline li.right { margin-left: auto; }
.tl-icon {
  position: absolute;
  top: 6px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--bg), 0 8px 18px -8px rgba(45, 42, 74, 0.5);
  z-index: 2;
}
.timeline li.left .tl-icon { right: -22px; }
.timeline li.right .tl-icon { left: -22px; }
.tl-card {
  background: #fff;
  border-radius: 22px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
}
.tl-card time {
  font-weight: 800;
  color: var(--coral);
  font-size: 14px;
}
.tl-card h4 {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.15;
  margin: 2px 0 4px;
}
.tl-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}
@media (max-width: 700px) {
  .timeline::before { left: 22px; }
  .timeline li,
  .timeline li.left,
  .timeline li.right { width: 100%; text-align: left; padding: 0 0 20px 62px; margin: 0; }
  .timeline li.left .tl-icon,
  .timeline li.right .tl-icon { left: 0; right: auto; }
}

/* ---------- gallery ---------- */
.gallery-title {
  font-family: var(--display);
  font-size: 32px;
  text-align: center;
  margin: 0 0 18px;
}
.gallery {
  columns: 4 220px;
  column-gap: 12px;
}
@media (max-width: 600px) {
  .gallery {
    columns: 2;
    column-gap: 8px;
  }
  .g {
    margin-bottom: 8px;
    border-radius: 14px;
  }
  .g figcaption {
    font-size: 11px;
    padding: 4px 8px;
  }
}
.g {
  break-inside: avoid;
  margin: 0 0 12px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  box-shadow: var(--shadow);
  background: #fff;
}
.g img {
  width: 100%;
  height: auto;
  transition: transform 0.5s;
}
.g:hover img {
  transform: scale(1.05);
}
.g figcaption {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 13px;
}
.gallery-empty {
  text-align: center;
  color: var(--ink-soft);
  font-weight: 600;
  padding: 32px;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  column-span: all;
}

/* ---------- games ---------- */
.game-card {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 26px;
  border-radius: 34px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #ff8fc4, #a78bfa 60%, #5aa9ff);
  box-shadow: 0 30px 60px -30px #a78bfa;
  transition: transform 0.3s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.game-card:hover {
  transform: translateY(-4px) rotate(-0.5deg);
}
.game-card img {
  width: 150px;
  height: 150px;
  flex: none;
  border-radius: 34px;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.35);
  animation: bob 3s ease-in-out infinite;
}
.game-card h2 {
  font-family: var(--display);
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.05;
  margin: 0 0 6px;
}
.game-card p {
  margin: 0 0 16px;
  opacity: 0.95;
}
.game-card .btn.coral {
  background: #fff;
  color: #d9447e;
  box-shadow: none;
}
@media (max-width: 640px) {
  .game-card { flex-direction: column; text-align: center; }
}

/* ---------- footer ---------- */
.footer {
  text-align: center;
  padding: 32px 16px max(32px, env(safe-area-inset-bottom));
  color: var(--ink-soft);
  font-weight: 600;
}
.footer-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}
.footer-dots .dot {
  width: 14px;
  height: 14px;
  animation: bob 2s ease-in-out infinite;
}
.footer-dots .dot:nth-child(2) { animation-delay: 0.15s; }
.footer-dots .dot:nth-child(3) { animation-delay: 0.3s; }
.footer-dots .dot:nth-child(4) { animation-delay: 0.45s; }
.footer-dots .dot:nth-child(5) { animation-delay: 0.6s; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(24, 20, 44, 0.92);
  display: grid;
  place-items: center;
  padding: 16px;
}
.lightbox[hidden] {
  display: none;
}
.lightbox figure {
  margin: 0;
  max-width: min(1100px, 100%);
  text-align: center;
}
.lightbox img {
  max-height: 82vh;
  width: auto;
  margin: 0 auto;
  border-radius: 18px;
}
.lightbox figcaption {
  color: #fff;
  font-weight: 600;
  margin-top: 10px;
}
.lightbox button {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
}
.lb-close { top: max(16px, env(safe-area-inset-top)); right: 16px; font-size: 20px !important; }
.lb-prev { left: 12px; top: 50%; }
.lb-next { right: 12px; top: 50%; }

.confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 90;
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 1, 0.3, 1);
  transition-delay: var(--d, 0s);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.member.reveal.in:hover {
  transform: translateY(-6px) rotate(-1deg);
}

/* ---------- keyframes ---------- */
@keyframes letter { to { opacity: 1; transform: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pop { to { opacity: 1; transform: scale(1); } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(6deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.15); } }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(16deg); } 20%, 40% { transform: rotate(-8deg); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 194, 61, 0.7); } 80%, 100% { box-shadow: 0 0 0 12px rgba(255, 194, 61, 0); } }
@keyframes shine { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes wobble { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-4deg) scale(1.04); } 40% { transform: rotate(4deg) scale(1.04); } 60% { transform: rotate(-2deg); } 80% { transform: rotate(2deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
