:root {
  --pink: #ff8fc7;
  --hot-pink: #ff5daf;
  --soft-pink: #ffe2f1;
  --lavender: #c8b6ff;
  --purple: #7b5cff;
  --sky: #b9edff;
  --mint: #bfffe6;
  --cream: #fff8e9;
  --ink: #4e3a67;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(123, 92, 255, 0.22);
  --glass: rgba(255, 255, 255, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Fredoka", system-ui, sans-serif;
  background:
    radial-gradient(circle at 12% 15%, rgba(255, 255, 255, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.85) 0 2px, transparent 3px),
    linear-gradient(135deg, #ffe5f4 0%, #e8ddff 38%, #d9f7ff 70%, #fff4ca 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
}

body::before {
  background-image:
    linear-gradient(45deg, transparent 47%, rgba(255, 255, 255, 0.8) 48%, rgba(255, 255, 255, 0.8) 52%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, rgba(255, 255, 255, 0.55) 48%, rgba(255, 255, 255, 0.55) 52%, transparent 53%);
  background-position: 0 0, 18px 18px;
  background-size: 72px 72px;
  opacity: 0.55;
}

body::after {
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 143, 199, 0.28), transparent 24%),
    radial-gradient(circle at 86% 34%, rgba(185, 237, 255, 0.35), transparent 25%),
    radial-gradient(circle at 50% 88%, rgba(200, 182, 255, 0.32), transparent 28%);
  filter: blur(2px);
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px clamp(16px, 4vw, 48px) 0;
}

.nav-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 18px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 40px rgba(255, 93, 175, 0.18);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.brand {
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  font-weight: 700;
}

.brand-gem {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hot-pink), var(--purple));
  box-shadow: 0 8px 20px rgba(255, 93, 175, 0.32);
}

.nav-links a {
  padding: 8px 12px;
  font-weight: 600;
  border-radius: 999px;
  transition: 0.2s ease;
}

.nav-links a:hover {
  color: var(--hot-pink);
  background: var(--white);
  transform: translateY(-2px);
}

.section-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 34px auto;
  padding: clamp(24px, 5vw, 56px);
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: clamp(28px, 5vw, 46px);
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  min-height: 610px;
  margin-top: 22px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--hot-pink);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: "✦";
}

.hero-kicker {
  display: inline-flex;
  margin: 0 0 12px;
  color: var(--hot-pink);
  font-size: clamp(1.35rem, 4vw, 2.3rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.9);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-family: "Pacifico", cursive;
  font-size: clamp(3rem, 9vw, 6.8rem);
  line-height: 0.98;
  color: #6f4bd8;
  text-shadow: 4px 4px 0 rgba(255, 255, 255, 0.9), 0 16px 35px rgba(123, 92, 255, 0.18);
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.04;
  color: #6f4bd8;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.hero-text,
.section-heading p,
.feature-card p,
.portal-card p,
.badge-card p {
  color: rgba(78, 58, 103, 0.78);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions,
.mini-actions,
.quiz-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(255, 93, 175, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 32px rgba(255, 93, 175, 0.3);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--hot-pink), var(--purple));
}

.secondary {
  color: var(--purple);
  background: var(--white);
}

.hero-art {
  position: relative;
  display: grid;
  min-height: 410px;
  place-items: center;
}

.moon-face {
  position: relative;
  width: min(310px, 78vw);
  height: min(310px, 78vw);
  border: 7px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.95) 0 12%, transparent 13%),
    linear-gradient(145deg, #fff8cf, #ffc6e4 60%, #c8b6ff);
  box-shadow: 0 30px 80px rgba(123, 92, 255, 0.28), inset -18px -18px 30px rgba(123, 92, 255, 0.14);
  animation: floaty 4.5s ease-in-out infinite;
}

.eye,
.blush,
.smile {
  position: absolute;
}

.eye {
  top: 42%;
  width: 24px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
}

.eye.left { left: 31%; }
.eye.right { right: 31%; }

.blush {
  top: 55%;
  width: 46px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 93, 175, 0.45);
}

.blush.left { left: 18%; }
.blush.right { right: 18%; }

.smile {
  top: 54%;
  left: 50%;
  width: 56px;
  height: 32px;
  border-bottom: 7px solid var(--ink);
  border-radius: 0 0 999px 999px;
  transform: translateX(-50%);
}

.orbit {
  position: absolute;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  color: var(--white);
  border-radius: 28px;
  font-size: 2.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 20px 40px rgba(123, 92, 255, 0.22);
  animation: bob 3s ease-in-out infinite;
}

.orbit.one { top: 18px; left: 20px; }
.orbit.two { right: 0; top: 128px; animation-delay: 0.7s; }
.orbit.three { bottom: 26px; left: 52px; animation-delay: 1.2s; }

.love-note {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 226, 241, 0.82));
}

.feature-section {
  position: relative;
  overflow: hidden;
}

.feature-section::before {
  position: absolute;
  top: 22px;
  right: 28px;
  color: rgba(255, 93, 175, 0.28);
  content: "◇ ✦ ◇";
  font-size: 2rem;
  pointer-events: none;
}

.section-heading {
  max-width: 690px;
  margin: 0 auto 28px;
  text-align: center;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
}

.feature-card,
.portal-card {
  position: relative;
  display: flex;
  min-height: 230px;
  padding: 28px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.84);
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.78) 0 8%, transparent 9%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 226, 241, 0.72));
  box-shadow: 0 18px 38px rgba(123, 92, 255, 0.14);
  flex-direction: column;
  justify-content: flex-end;
  transition: 0.24s ease;
}

.feature-card::before,
.portal-card::before {
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(255, 93, 175, 0.34);
  content: "◇ ✦";
  font-size: 1.65rem;
  font-weight: 700;
}

.feature-card:hover,
.portal-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(123, 92, 255, 0.2);
}

.feature-card span,
.portal-card span {
  display: inline-grid;
  width: 82px;
  height: 82px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--soft-pink), var(--sky));
  font-size: 2.4rem;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.feature-card.large {
  min-height: 300px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.9) 0 10%, transparent 11%),
    linear-gradient(135deg, rgba(255, 143, 199, 0.76), rgba(123, 92, 255, 0.66));
}

.feature-card.large h3,
.feature-card.large p {
  color: var(--white);
  text-shadow: 0 2px 18px rgba(78, 58, 103, 0.22);
}

.portal-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  background: rgba(255, 255, 255, 0.54);
}

.portal-card {
  min-height: 270px;
}

.portal-card h2 {
  margin-bottom: 8px;
}

.portal-card strong {
  color: var(--hot-pink);
  font-size: 1.05rem;
}

.align-left {
  margin: 0;
  text-align: left;
}

.quiz-card,
.game-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 30px);
  border: 2px dashed rgba(255, 143, 199, 0.55);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.72);
}

.quiz-question {
  margin-bottom: 18px;
  color: #6f4bd8;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
}

.quiz-options {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.option {
  width: 100%;
  padding: 16px 18px;
  cursor: pointer;
  color: var(--ink);
  border: 2px solid transparent;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff, #fff1f8);
  font-weight: 700;
  text-align: left;
  transition: 0.2s ease;
}

.option:hover,
.option.selected {
  border-color: var(--hot-pink);
  transform: translateX(5px);
  box-shadow: 0 10px 22px rgba(255, 93, 175, 0.14);
}

.quiz-footer {
  justify-content: space-between;
  color: rgba(78, 58, 103, 0.72);
  font-weight: 700;
}

.result-box {
  margin-top: 20px;
  padding: 18px;
  border-radius: 24px;
  color: #6f4bd8;
  background: linear-gradient(135deg, #fff6c9, #ffe2f1);
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
}

.hidden {
  display: none;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 28px;
  align-items: center;
}

.answer-box {
  display: grid;
  gap: 10px;
  margin: 24px 0 16px;
}

#scramblePrompt {
  color: var(--hot-pink);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

#puzzleAnswer {
  min-height: 52px;
  padding: 12px 16px;
  border: 2px dashed var(--lavender);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  color: #6f4bd8;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.letter-bank {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.letter-bank button {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  cursor: pointer;
  color: var(--white);
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(123, 92, 255, 0.2);
}

.letter-bank button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
  transform: scale(0.94);
}

.game-message {
  min-height: 28px;
  margin: 14px 0 0;
  color: var(--hot-pink);
  font-weight: 700;
}

.puzzle-art {
  display: grid;
  min-height: 300px;
  place-items: center;
}

.gift-box {
  position: relative;
  width: 230px;
  height: 190px;
  animation: floaty 4s ease-in-out infinite;
}

.lid,
.box-face,
.bow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.lid {
  top: 38px;
  width: 235px;
  height: 56px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--hot-pink), var(--purple));
  box-shadow: 0 15px 30px rgba(123, 92, 255, 0.24);
}

.box-face {
  top: 86px;
  display: grid;
  width: 200px;
  height: 120px;
  place-items: center;
  color: var(--hot-pink);
  border: 6px solid var(--white);
  border-radius: 28px;
  background: linear-gradient(135deg, #fff5c8, #ffe2f1);
  font-size: 3.2rem;
}

.bow {
  top: 0;
  width: 76px;
  height: 76px;
  border-radius: 50% 50% 12px 12px;
  background: var(--mint);
  box-shadow: -52px 10px 0 var(--mint), 52px 10px 0 var(--mint);
}

.game-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 1.18rem;
  font-weight: 700;
}

.diamond-arena {
  position: relative;
  height: 330px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.85);
  border-radius: 30px;
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.78) 0 4px, transparent 5px),
    radial-gradient(circle at 75% 50%, rgba(255, 255, 255, 0.75) 0 3px, transparent 4px),
    linear-gradient(135deg, rgba(200, 182, 255, 0.5), rgba(185, 237, 255, 0.58));
}

.diamond {
  position: absolute;
  top: 42%;
  left: 42%;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  cursor: pointer;
  color: var(--white);
  border: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, #8defff, #7b5cff);
  font-size: 2.1rem;
  font-weight: 700;
  box-shadow: 0 15px 28px rgba(123, 92, 255, 0.25);
  transform: rotate(45deg);
  transition: 0.12s ease;
}

.diamond:hover {
  filter: brightness(1.1);
}

.diamond span,
.diamond {
  line-height: 1;
}

.center {
  justify-content: center;
  margin-top: 18px;
}

.more-games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.mini-game-card {
  display: flex;
  min-height: 420px;
  padding: 24px;
  border: 2px solid rgba(255, 255, 255, 0.84);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 34px rgba(123, 92, 255, 0.14);
  flex-direction: column;
}

.mini-game-heading {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.mini-game-heading > span {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--soft-pink), var(--sky));
  font-size: 1.75rem;
}

.mini-game-heading p {
  margin-bottom: 0;
  color: rgba(78, 58, 103, 0.72);
  line-height: 1.45;
}

.speed-star {
  display: grid;
  width: 150px;
  height: 150px;
  margin: auto auto 22px;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #fff7b8 0 34%, #ff8fc7 35% 62%, #7b5cff 63% 100%);
  box-shadow: 0 22px 42px rgba(255, 93, 175, 0.24);
  font-size: 4rem;
  transition: 0.16s ease;
}

.speed-star:hover {
  transform: scale(1.05) rotate(8deg);
}

.compact {
  gap: 10px;
  margin-top: auto;
  margin-bottom: 14px;
  font-size: 1rem;
}

.memory-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: auto 0 16px;
}

.memory-card {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  cursor: pointer;
  color: var(--white);
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--hot-pink), var(--purple));
  box-shadow: 0 10px 20px rgba(123, 92, 255, 0.16);
  font-size: 1.75rem;
  transition: 0.18s ease;
}

.memory-card.revealed,
.memory-card.matched {
  color: var(--ink);
  background: linear-gradient(135deg, #fff8c9, #d9f7ff);
  transform: rotateY(180deg);
}

.charm-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: auto 0 20px;
}

.charm {
  min-height: 92px;
  cursor: pointer;
  border: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff, #ffe2f1);
  box-shadow: 0 14px 26px rgba(123, 92, 255, 0.14);
  font-size: 2.6rem;
  transition: 0.18s ease;
}

.charm:hover {
  transform: translateY(-6px) rotate(-3deg);
}

.whack-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: auto 0 16px;
}

.whack-hole {
  display: grid;
  min-height: 82px;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff, #e8ddff);
  box-shadow: inset 0 -8px 18px rgba(123, 92, 255, 0.12);
  font-size: 2rem;
}

.whack-hole.active {
  background: radial-gradient(circle, #fff8c9 0 42%, #ff8fc7 43% 100%);
  animation: pop 0.35s ease;
}

.prize-wheel {
  display: grid;
  width: 190px;
  height: 190px;
  margin: auto auto 22px;
  place-items: center;
  color: var(--white);
  border: 8px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: conic-gradient(var(--hot-pink), var(--purple), var(--sky), var(--mint), #fff7b8, var(--hot-pink));
  box-shadow: 0 24px 45px rgba(123, 92, 255, 0.22);
  font-size: 1.45rem;
  font-weight: 700;
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: auto 0 22px;
}

.rps-choice {
  min-height: 96px;
  cursor: pointer;
  border: 0;
  border-radius: 26px;
  background: linear-gradient(135deg, #fff, #d9f7ff);
  box-shadow: 0 14px 26px rgba(123, 92, 255, 0.14);
  font-size: 2.65rem;
  transition: 0.18s ease;
}

.rps-choice:hover {
  transform: translateY(-6px) scale(1.04);
}

.guess-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin: auto 0 14px;
}

.guess-row input {
  width: 100%;
  min-height: 52px;
  padding: 10px 16px;
  color: var(--ink);
  border: 2px solid rgba(255, 143, 199, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  font: inherit;
  font-weight: 700;
  outline: none;
}

.guess-row input:focus {
  border-color: var(--hot-pink);
  box-shadow: 0 0 0 5px rgba(255, 93, 175, 0.14);
}

.tic-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: auto 0 16px;
}

.tic-cell {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  cursor: pointer;
  color: #6f4bd8;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff, #ffe2f1);
  box-shadow: inset 0 -8px 16px rgba(255, 93, 175, 0.1);
  font-size: 2.2rem;
  font-weight: 700;
}

.color-prompt {
  display: grid;
  min-height: 92px;
  margin: auto 0 16px;
  place-items: center;
  border: 3px dashed rgba(255, 143, 199, 0.5);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.color-choices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.color-choice {
  min-height: 62px;
  cursor: pointer;
  color: var(--white);
  border: 3px solid rgba(255, 255, 255, 0.75);
  border-radius: 22px;
  box-shadow: 0 12px 24px rgba(123, 92, 255, 0.14);
  font-weight: 700;
}

.big-treat,
.moon-mood {
  display: grid;
  width: 170px;
  height: 170px;
  margin: auto auto 22px;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8c9 0 35%, #ffe2f1 36% 68%, #c8b6ff 69% 100%);
  box-shadow: 0 24px 44px rgba(255, 93, 175, 0.2);
  font-size: 4.4rem;
  transition: 0.18s ease;
}

.big-treat:hover,
.moon-mood:hover {
  transform: translateY(-7px) scale(1.04);
}

.letter-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: auto 0 22px;
}

.love-letter {
  min-height: 105px;
  cursor: pointer;
  border: 0;
  border-radius: 28px;
  background: linear-gradient(135deg, #fff, #ffe2f1);
  box-shadow: 0 16px 28px rgba(123, 92, 255, 0.14);
  font-size: 2.8rem;
  transition: 0.18s ease;
}

.love-letter:hover {
  transform: rotate(-4deg) translateY(-6px);
}

.bubble-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: auto 0 18px;
}

.bubble {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, #fff 0 12%, #b9edff 13% 58%, #c8b6ff 59% 100%);
  box-shadow: 0 12px 24px rgba(123, 92, 255, 0.15);
  font-size: 1.7rem;
  transition: 0.18s ease;
}

.bubble.popped {
  opacity: 0.22;
  transform: scale(0.72);
  pointer-events: none;
}

.typing-word {
  display: grid;
  min-height: 95px;
  margin: auto 0 16px;
  place-items: center;
  color: #6f4bd8;
  border: 3px dashed rgba(255, 143, 199, 0.5);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.sequence-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: auto 0 18px;
}

.sequence-button {
  min-height: 78px;
  cursor: pointer;
  border: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff, #ffe2f1);
  box-shadow: 0 14px 26px rgba(123, 92, 255, 0.14);
  font-size: 2rem;
  transition: 0.18s ease;
}

.sequence-button.active {
  background: radial-gradient(circle, #fff8c9 0 38%, #ff8fc7 39% 100%);
  transform: translateY(-8px) scale(1.06);
}

.emoji-clue,
.outfit-display {
  display: grid;
  min-height: 120px;
  margin: auto 0 18px;
  place-items: center;
  border: 3px dashed rgba(255, 143, 199, 0.5);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.74);
  font-size: 3.2rem;
}

.emoji-choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.emoji-choice {
  min-height: 50px;
  cursor: pointer;
  color: var(--ink);
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff, #ffe2f1);
  box-shadow: 0 10px 22px rgba(123, 92, 255, 0.12);
  font-weight: 700;
}

.emoji-choice:hover {
  transform: translateX(5px);
}

.outfit-display {
  font-size: 3.5rem;
  letter-spacing: 0.08em;
}

.slot-display,
.dice-display {
  display: grid;
  min-height: 120px;
  margin: auto 0 18px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 226, 241, 0.82));
  box-shadow: inset 0 0 0 2px rgba(255, 143, 199, 0.16);
  font-size: 3rem;
  letter-spacing: 0.12em;
}

.reaction-heart {
  display: grid;
  width: 170px;
  height: 170px;
  margin: auto auto 22px;
  place-items: center;
  cursor: pointer;
  color: var(--white);
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #9f8fb2, #c8b6ff);
  box-shadow: 0 24px 44px rgba(123, 92, 255, 0.2);
  font-size: 1.5rem;
  font-weight: 700;
  transition: 0.18s ease;
}

.reaction-heart.ready {
  background: radial-gradient(circle, #fff8c9 0 24%, #ff5daf 25% 70%, #7b5cff 71% 100%);
  animation: pulseHeart 0.65s ease-in-out infinite;
}

.treasure-box {
  display: grid;
  width: 170px;
  height: 170px;
  margin: auto auto 22px;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-radius: 34px;
  background: linear-gradient(135deg, #fff8c9, #ff8fc7, #7b5cff);
  box-shadow: 0 24px 44px rgba(123, 92, 255, 0.22);
  font-size: 4.3rem;
  transition: 0.2s ease;
}

.treasure-box:hover {
  transform: translateY(-8px) rotate(-3deg);
}

.vote-row {
  display: grid;
  gap: 12px;
  margin: auto 0 20px;
}

.vote-button {
  min-height: 58px;
  cursor: pointer;
  color: var(--ink);
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff, #d9f7ff);
  box-shadow: 0 12px 24px rgba(123, 92, 255, 0.12);
  font-weight: 700;
  transition: 0.18s ease;
}

.vote-button:hover {
  transform: translateX(6px);
}

.rainbow-display {
  display: flex;
  min-height: 120px;
  margin: auto 0 16px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.65);
}

.rainbow-strip {
  flex: 1;
  min-width: 32px;
}

.piano-keys {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin: auto 0 16px;
}

.piano-key {
  min-height: 85px;
  cursor: pointer;
  color: var(--ink);
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff, #ffe2f1);
  box-shadow: 0 8px 18px rgba(123, 92, 255, 0.12);
  font-size: 0.92rem;
  font-weight: 700;
  transition: 0.15s ease;
}

.piano-key:active {
  background: linear-gradient(135deg, #fff8c9, #ff8fc7);
  transform: translateY(4px) scale(0.96);
}

.connect-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: auto 0 18px;
}

.connect-dot {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #d9f7ff);
  box-shadow: 0 8px 18px rgba(123, 92, 255, 0.12);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  transition: 0.18s ease;
}

.connect-dot.connected {
  background: radial-gradient(circle, #fff8c9 0 30%, #ff8fc7 31% 68%, #c8b6ff 69% 100%);
  transform: scale(1.1);
}

.connect-dot.wrong {
  background: linear-gradient(135deg, #ffe2e2, #ffd4d4);
  animation: shake 0.4s ease-in-out;
}

.pet-display {
  display: grid;
  min-height: 120px;
  margin: auto 0 18px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 226, 241, 0.82));
  font-size: 4.5rem;
  transition: 0.3s ease;
}

.pet-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.pet-action {
  min-height: 58px;
  cursor: pointer;
  color: var(--ink);
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff, #e8f0ff);
  box-shadow: 0 10px 22px rgba(123, 92, 255, 0.12);
  font-weight: 700;
  font-size: 0.9rem;
  transition: 0.18s ease;
}

.pet-action:hover {
  transform: translateY(-4px);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.magic-wand,
.crystal-ball {
  display: grid;
  width: 170px;
  height: 170px;
  margin: auto auto 22px;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff8c9, #c8b6ff, #ff8fc7);
  box-shadow: 0 24px 44px rgba(123, 92, 255, 0.22);
  font-size: 4.3rem;
  transition: 0.25s ease;
}

.magic-wand:hover,
.crystal-ball:hover {
  transform: translateY(-8px) rotate(-8deg) scale(1.05);
}

.magic-wand:active,
.crystal-ball:active {
  transform: translateY(2px) rotate(12deg) scale(0.95);
}

.garden-plot {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  min-height: 120px;
  margin: auto 0 18px;
  padding: 14px;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.55);
}

.flower {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8c9 0 30%, #ff8fc7 31% 70%, #c8b6ff 71% 100%);
  font-size: 1.6rem;
  animation: pop 0.35s ease-in-out;
}

.catch-arena {
  position: relative;
  min-height: 180px;
  margin: auto 0 18px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 226, 241, 0.4), rgba(201, 182, 255, 0.3));
}

.falling-item {
  position: absolute;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8c9 0 30%, #ff8fc7 31% 70%, #c8b6ff 71% 100%);
  box-shadow: 0 6px 14px rgba(123, 92, 255, 0.2);
  font-size: 1.1rem;
  animation: fallDown 2.5s linear forwards;
}

@keyframes fallDown {
  0% { transform: translateY(-40px); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(160px); opacity: 0; }
}

.draw-canvas {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  min-height: 160px;
  margin: auto 0 18px;
  padding: 14px;
  border: 3px dashed rgba(255, 143, 199, 0.4);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.5);
}

.draw-dot {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #d9f7ff);
  box-shadow: 0 6px 14px rgba(123, 92, 255, 0.1);
  font-size: 1.4rem;
  transition: 0.2s ease;
}

.draw-dot:hover {
  transform: scale(1.15);
}

.draw-dot.painted {
  background: radial-gradient(circle, #fff8c9 0 30%, #ff8fc7 31% 70%, #c8b6ff 71% 100%);
}

.dream-field {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  min-height: 140px;
  margin: auto 0 18px;
  padding: 14px;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.45);
}

.dream-bubble {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8f0ff, #ffe2f1);
  box-shadow: 0 8px 18px rgba(123, 92, 255, 0.12);
  font-size: 1.6rem;
  transition: 0.25s ease;
}

.dream-bubble:hover {
  transform: translateY(-5px) scale(1.1);
}

.dream-bubble.caught {
  opacity: 0.25;
  transform: scale(0.7);
  pointer-events: none;
}

.bakery-shelf {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 60px;
  margin: auto 0 14px;
  padding: 12px;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.5);
}

.bakery-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.bake-button {
  display: grid;
  min-height: 58px;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, #ffe2f1);
  box-shadow: 0 8px 18px rgba(123, 92, 255, 0.12);
  font-size: 1.6rem;
  transition: 0.18s ease;
}

.bake-button:hover {
  transform: translateY(-5px) scale(1.1);
}

.bake-button:active {
  transform: translateY(2px) scale(0.95);
}

.moon-phase {
  display: grid;
  width: 170px;
  height: 170px;
  margin: auto auto 22px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(232, 240, 255, 0.7), rgba(255, 226, 241, 0.7));
  font-size: 4.5rem;
  transition: 0.4s ease;
}

.splash-canvas {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  min-height: 150px;
  margin: auto 0 14px;
  padding: 12px;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.5);
}

.splash-cell {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff, #f0f0ff);
  font-size: 0.85rem;
  transition: 0.2s ease;
}

.splash-palette {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.splash-color {
  height: 44px;
  cursor: pointer;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(123, 92, 255, 0.15);
  transition: 0.2s ease;
}

.splash-color:hover {
  transform: scale(1.15);
}

.splash-color.selected {
  border-color: var(--ink);
  transform: scale(1.2);
}

.swap-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  min-height: 180px;
  margin: auto 0 18px;
  padding: 14px;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.5);
}

.swap-star {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff, #d9f7ff);
  box-shadow: 0 6px 14px rgba(123, 92, 255, 0.12);
  font-size: 1.6rem;
  transition: 0.2s ease;
}

.swap-star:active {
  transform: scale(0.9);
}

.swap-star.matched {
  background: radial-gradient(circle, #fff8c9 0 30%, #ff8fc7 31% 70%, #c8b6ff 71% 100%);
  animation: pop 0.3s ease-in-out;
}

.breathe-circle {
  display: grid;
  width: 170px;
  height: 170px;
  margin: auto auto 22px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe2f1, #e8f0ff);
  box-shadow: 0 24px 44px rgba(123, 92, 255, 0.22);
  font-size: 3.5rem;
  transition: 0.8s ease-in-out;
}

.breathe-circle.inhale {
  transform: scale(1.35);
  background: linear-gradient(135deg, #fff8c9, #c8b6ff);
}

.breathe-circle.exhale {
  transform: scale(1);
  background: linear-gradient(135deg, #ffe2f1, #e8f0ff);
}

.compliment-btn {
  display: grid;
  width: 170px;
  height: 170px;
  margin: auto auto 22px;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff8c9, #c8b6ff);
  box-shadow: 0 24px 44px rgba(123, 92, 255, 0.22);
  font-size: 4.3rem;
  transition: 0.25s ease;
}

.compliment-btn:hover {
  transform: translateY(-8px) rotate(-6deg) scale(1.05);
}

.compliment-btn:active {
  transform: translateY(2px) rotate(6deg) scale(0.95);
}

.weather-display {
  display: grid;
  width: 170px;
  height: 170px;
  margin: auto auto 22px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: linear-gradient(135deg, #fff8c9, #a0c4ff);
  box-shadow: 0 24px 44px rgba(123, 92, 255, 0.22);
  font-size: 4.5rem;
  transition: 0.35s ease;
}

.sparkle-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  min-height: 160px;
  margin: auto 0 18px;
  padding: 14px;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.5);
}

.sparkle-cell {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff, #d9f7ff);
  box-shadow: 0 6px 14px rgba(123, 92, 255, 0.12);
  font-size: 1.6rem;
  transition: 0.2s ease;
}

.sparkle-cell.lit {
  background: radial-gradient(circle, #fff8c9 0 30%, #ff8fc7 31% 70%, #c8b6ff 71% 100%);
  transform: scale(1.1);
}

.song-keys {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: auto 0 16px;
}

.song-key {
  min-height: 85px;
  cursor: pointer;
  color: var(--ink);
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff, #ffe2f1);
  box-shadow: 0 8px 18px rgba(123, 92, 255, 0.12);
  font-size: 0.85rem;
  font-weight: 700;
  transition: 0.15s ease;
}

.song-key:active {
  background: linear-gradient(135deg, #fff8c9, #ff8fc7);
  transform: translateY(4px) scale(0.96);
}

.twinkle-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  min-height: 160px;
  margin: auto 0 18px;
  padding: 14px;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.5);
}

.twinkle-star {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff, #e8f0ff);
  box-shadow: 0 6px 14px rgba(123, 92, 255, 0.12);
  font-size: 1.6rem;
  transition: 0.2s ease;
}

.twinkle-star.lit {
  background: radial-gradient(circle, #fff8c9 0 30%, #ff8fc7 31% 70%, #c8b6ff 71% 100%);
  animation: pop 0.3s ease-in-out;
}

.dice-result {
  display: grid;
  width: 170px;
  height: 170px;
  margin: auto auto 22px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  background: linear-gradient(135deg, #ffe2f1, #e8f0ff);
  box-shadow: 0 24px 44px rgba(123, 92, 255, 0.22);
  font-size: 4.5rem;
  transition: 0.35s ease;
}

.happy-jar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 60px;
  margin: auto 0 14px;
  padding: 12px;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.5);
}

.jar-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.jar-moment {
  display: grid;
  min-height: 48px;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff, #ffe2f1);
  box-shadow: 0 8px 18px rgba(123, 92, 255, 0.12);
  font-size: 0.85rem;
  font-weight: 700;
  transition: 0.18s ease;
}

.jar-moment:hover {
  transform: translateY(-3px);
}

.story-page {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 60px;
  margin: auto 0 14px;
  padding: 12px;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.5);
}

.story-palette {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.story-word {
  display: grid;
  min-height: 48px;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff, #d9f7ff);
  box-shadow: 0 6px 14px rgba(123, 92, 255, 0.12);
  font-size: 1.4rem;
  transition: 0.18s ease;
}

.story-word:hover {
  transform: translateY(-4px) scale(1.1);
}

.cute-clock {
  display: grid;
  width: 170px;
  height: 170px;
  margin: auto auto 22px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe2f1, #c8b6ff);
  box-shadow: 0 24px 44px rgba(123, 92, 255, 0.22);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ink);
  transition: 0.35s ease;
}

.mirror-display {
  display: grid;
  width: 170px;
  height: 170px;
  margin: auto auto 22px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: linear-gradient(135deg, #e8f0ff, #d9f7ff);
  box-shadow: 0 24px 44px rgba(123, 92, 255, 0.22);
  font-size: 4.5rem;
  transition: 0.35s ease;
}

.kawaii-tap {
  display: grid;
  width: 170px;
  height: 170px;
  margin: auto auto 22px;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff8c9, #c8b6ff);
  box-shadow: 0 24px 44px rgba(123, 92, 255, 0.22);
  font-size: 4.3rem;
  transition: 0.2s ease;
}

.kawaii-tap:active {
  transform: scale(0.88) rotate(-10deg);
}

.mix-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: auto 0 18px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
}

.mix-slot {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, #ffe2f1);
  box-shadow: 0 8px 18px rgba(123, 92, 255, 0.12);
  font-size: 2rem;
  transition: 0.2s ease;
}

.mix-palette {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.mix-emoji {
  display: grid;
  min-height: 48px;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff, #d9f7ff);
  box-shadow: 0 6px 14px rgba(123, 92, 255, 0.12);
  font-size: 1.4rem;
  transition: 0.18s ease;
}

.mix-emoji:hover {
  transform: translateY(-4px) scale(1.1);
}

.seek-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  min-height: 180px;
  margin: auto 0 18px;
  padding: 14px;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.5);
}

.seek-item {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff, #e8f0ff);
  box-shadow: 0 6px 14px rgba(123, 92, 255, 0.12);
  font-size: 1.6rem;
  transition: 0.2s ease;
}

.seek-item.found {
  background: radial-gradient(circle, #fff8c9 0 30%, #ff8fc7 31% 70%, #c8b6ff 71% 100%);
  animation: pop 0.35s ease-in-out;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.badge-card {
  padding: 26px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 16px 30px rgba(123, 92, 255, 0.12);
  text-align: center;
  transition: 0.22s ease;
}

.badge-card:hover {
  transform: translateY(-8px) rotate(-1deg);
}

.badge-card span {
  display: inline-grid;
  width: 76px;
  height: 76px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--soft-pink), var(--sky));
  font-size: 2.25rem;
}

.footer {
  padding: 34px 16px 46px;
  color: rgba(78, 58, 103, 0.74);
  font-weight: 700;
  text-align: center;
}

.sparkle-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.sparkle-field span {
  position: absolute;
  display: block;
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.86);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: twinkle 4.8s linear infinite;
}

.sparkle-field span:nth-child(1) { left: 7%; top: 22%; animation-delay: 0s; }
.sparkle-field span:nth-child(2) { left: 18%; top: 72%; animation-delay: 1.1s; }
.sparkle-field span:nth-child(3) { left: 28%; top: 12%; animation-delay: 2.4s; }
.sparkle-field span:nth-child(4) { left: 42%; top: 84%; animation-delay: 0.6s; }
.sparkle-field span:nth-child(5) { left: 55%; top: 18%; animation-delay: 1.8s; }
.sparkle-field span:nth-child(6) { left: 68%; top: 66%; animation-delay: 0.3s; }
.sparkle-field span:nth-child(7) { left: 82%; top: 24%; animation-delay: 2.9s; }
.sparkle-field span:nth-child(8) { left: 90%; top: 78%; animation-delay: 1.4s; }
.sparkle-field span:nth-child(9) { left: 12%; top: 44%; animation-delay: 3.5s; }
.sparkle-field span:nth-child(10) { left: 36%; top: 55%; animation-delay: 2.1s; }
.sparkle-field span:nth-child(11) { left: 74%; top: 43%; animation-delay: 0.9s; }
.sparkle-field span:nth-child(12) { left: 95%; top: 38%; animation-delay: 2.6s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(7deg); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: translateY(0) scale(0.8) rotate(0deg); }
  50% { opacity: 1; transform: translateY(-24px) scale(1.25) rotate(180deg); }
}

@keyframes pop {
  0% { transform: scale(0.7); }
  80% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@keyframes pulseHeart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@media (max-width: 820px) {
  .hero,
  .love-note,
  .split,
  .featured-grid,
  .portal-section,
  .more-games-grid,
  .badge-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    min-height: 340px;
  }

  .nav-card,
  .nav-links {
    gap: 6px;
  }

  .nav-links a {
    padding: 8px;
    font-size: 0.92rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 10px;
  }

  .nav-card {
    align-items: flex-start;
    border-radius: 28px;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .section-shell {
    width: min(100% - 20px, 1120px);
    padding: 22px;
  }

  .hero-actions,
  .quiz-footer,
  .mini-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .diamond-arena {
    height: 280px;
  }
}
