@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito-Regular.woff2") format("woff2"), url("fonts/Nunito-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito-Bold.woff2") format("woff2"), url("fonts/Nunito-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bubblegum Sans";
  src: url("fonts/BubblegumSans-Regular.woff2") format("woff2"), url("fonts/BubblegumSans-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-hue: #ff6f00;
  --secondary-hue: #0288d1;
  --accent-hue: #ffca28;
  --bg-hue: #fff8e1;
  --card-hue: #ffffff;
  --border-hue: #ffecb3;
  --text-dark: #2e1b0f;
  --text-light: #4a2f1e;
  --text-white: #ffffff;
  --btn-bg: var(--primary-hue);
  --btn-hover: #ef6c00;
  --font-main: "Nunito", sans-serif;
  --font-heading: "Bubblegum Sans", cursive;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --font-size-tiny: 0.85rem;
  --font-size-base: 1rem;
  --font-size-h3: 1.4rem;
  --font-size-h2: 1.8rem;
  --font-size-h1: 2.5rem;
  --shadow-soft: 0 3px 8px rgba(0, 0, 0, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
}

body {
  font-family: var(--font-main);
  font-size: var(--font-size-base);
  line-height: 1.6;
  background: var(--bg-hue);
  color: var(--text-dark);
}

button {
  border: none;
  cursor: pointer;
}

figure {
  margin: 0;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aspect-3-4 {
  aspect-ratio: 3/4;
}

.aspect-4-3 {
  aspect-ratio: 4/3;
}

.aspect-16-9 {
  aspect-ratio: 16/9;
}

.aspect-1-1 {
  aspect-ratio: 1/1;
}

.choco-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  background: var(--btn-bg);
  color: var(--text-white);
  text-decoration: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: var(--font-size-base);
  transition: background 0.3s, transform 0.2s;
}

.btn:hover {
  background: var(--btn-hover);
  transform: scale(1.03);
}

.zone-head {
  font-size: var(--font-size-h2);
  color: var(--primary-hue);
  text-align: center;
  margin-bottom: var(--space-sm);
}

.zone-info {
  font-size: var(--font-size-base);
  color: var(--text-light);
  text-align: center;
  margin-bottom: var(--space-md);
}

.zone-detail {
  font-size: var(--font-size-base);
  color: var(--text-dark);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}

/* Header */
.surprise-header {
  background: var(--card-hue);
  padding: 5px 0;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 100;
}

.surprise-header .choco-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.surprise-brand .brand-icon {
  width: 50px;
  height: 50px;
}

.sparkle-menu {
  display: none;
}

.menu-pop {
  background: none;
  font-size: 1.5rem;
  color: var(--primary-hue);
  position: relative;
  z-index: 999;
}

.menu-pop .pop-close {
  display: none;
}

.menu-pop.active .pop-egg {
  display: none;
}

.menu-pop.active .pop-close {
  display: inline;
}

.sparkle-menu.active {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--card-hue);
  padding: var(--space-lg);
  z-index: 200;
}

.sparkle-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  text-align: center;
  margin-top: var(--space-xl);
}

.sparkle-item {
  color: var(--text-dark);
  text-decoration: none;
  font-family: var(--font-main);
  font-size: var(--font-size-base);
  padding: var(--space-sm);
  transition: color 0.3s;
}

.sparkle-item:hover {
  color: var(--primary-hue);
}

@media (min-width: 1024px) {
  .menu-pop {
    display: none;
  }

  .sparkle-menu {
    display: block;
  }

  .sparkle-links {
    flex-direction: row;
    margin: 0;
    gap: var(--space-md);
    text-transform: uppercase;
  }
}

/* Welcome Crack */
.welcome-crack {
  padding: var(--space-xl) 0;
  text-align: center;
}

.welcome-head {
  font-size: var(--font-size-h1);
  color: var(--secondary-hue);
}

.welcome-info {
  margin: var(--space-md) auto;
  max-width: 700px;
}

.welcome-visual {
  max-width: 600px;
  margin: var(--space-md) auto 0;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.btn-pop {
  background: var(--secondary-hue);
}

/* Egg Burst */
.egg-burst {
  padding: var(--space-xl) 0;
  background: linear-gradient(to bottom, var(--accent-hue), var(--bg-hue));
}

.burst-stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.burst-card {
  background: var(--card-hue);
  padding: var(--space-md);
  border-radius: 12px;
  text-align: center;
  width: 200px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s;
}

.burst-card:hover {
  transform: translateY(-5px);
}

.burst-icon {
  width: 60px;
  margin: 0 auto var(--space-sm);
}

.burst-title {
  font-size: var(--font-size-h3);
  color: var(--primary-hue);
}

.burst-detail {
  font-size: var(--font-size-tiny);
  color: var(--text-light);
}

/* Toy Vault */
.toy-vault {
  padding: var(--space-xl) 0;
}

.vault-cluster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
}

.vault-piece {
  background: var(--card-hue);
  padding: var(--space-sm);
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.vault-image {
  width: 100px;
  margin: 0 auto var(--space-sm);
}

.vault-title {
  font-size: var(--font-size-h3);
  color: var(--secondary-hue);
}

.vault-text {
  font-size: var(--font-size-tiny);
  color: var(--text-light);
}

/* Glory Board */
.glory-board {
  padding: var(--space-xl) 0;
  background: var(--secondary-hue);
  color: var(--bg-hue);
}

.glory-board .zone-head,
.glory-board .zone-info,
.glory-board .zone-detail {
  color: var(--bg-hue);
}

.board-list {
  max-width: 500px;
  margin: 0 auto;
}

.board-item {
  display: grid;
  grid-template-columns: 50px 1fr 100px;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: var(--card-hue);
  border-bottom: 1px solid var(--border-hue);
}

.board-rank,
.board-player,
.board-score {
  font-size: var(--font-size-base);
  color: var(--text-dark);
}

.board-item:first-child {
  background: var(--accent-hue);
  color: var(--text-white);
}

/* Daily Spark */
.daily-spark {
  padding: var(--space-xl) 0;
  background: var(--card-hue);
}

.spark-flow {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 600px;
  margin: 0 auto;
}

.spark-task {
  background: var(--bg-hue);
  padding: var(--space-md);
  border-left: 4px solid var(--primary-hue);
  border-radius: 6px;
}

.spark-title {
  font-size: var(--font-size-h3);
  color: var(--secondary-hue);
}

.spark-detail {
  font-size: var(--font-size-tiny);
  color: var(--text-light);
}

/* Treasure Display */
.treasure-display {
  padding: var(--space-xl) 0;
}

.display-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.display-frame {
  width: 220px;
  text-align: center;
}

.display-frame img {
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.display-frame figcaption {
  font-size: var(--font-size-tiny);
  color: var(--text-light);
  margin-top: var(--space-xs);
}

/* Egg Choices */
.egg-choices {
  padding: var(--space-xl) 0;
  background: var(--btn-hover);
}

.egg-choices .zone-head,
.egg-choices .zone-info,
.egg-choices .zone-detail {
  color: var(--bg-hue);
}

.choices-circle {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
}

.choice-egg {
  text-align: center;
  background-color: var(--border-hue);
  border-radius: 1rem;
  padding: 1rem;
}

.choice-icon {
  width: 80px;
  margin: 0 auto var(--space-sm);
}

.choice-title {
  font-size: var(--font-size-h3);
  color: var(--primary-hue);
}

.choice-text {
  font-size: var(--font-size-tiny);
  color: var(--text-light);
}

/* Level Climb */
.level-climb {
  padding: var(--space-xl) 0;
}

.climb-path {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.climb-step {
  width: 250px;
  text-align: center;
}

.climb-image {
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.climb-title {
  font-size: var(--font-size-h3);
  color: var(--secondary-hue);
}

.climb-text {
  font-size: var(--font-size-tiny);
  color: var(--text-light);
}

/* Magic Memories */
.magic-memories {
  padding: var(--space-xl) 0;
  background: var(--bg-hue);
}

.memories-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.memory-card {
  text-align: center;
}

.memory-image {
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.memory-text {
  font-size: var(--font-size-tiny);
  color: var(--text-light);
  margin-top: var(--space-xs);
}

/* Start Collection */
.start-collection {
  padding: var(--space-xl) 0;
  background: linear-gradient(to bottom, var(--primary-hue), var(--secondary-hue));
  text-align: center;
}

.start-collection .zone-head,
.start-collection .zone-info,
.start-collection .zone-detail {
  color: var(--text-white);
}

.start-collection p a {
  color: var(--accent-hue);
}

.btn-start {
  background: var(--accent-hue);
  color: var(--text-dark);
}

/* Footer */
.surprise-footer {
  padding: var(--space-md) 0;
  background: var(--secondary-hue);
  text-align: center;
}
.surprise-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.surprise-footer ul a {
  color: var(--bg-hue);
}

.surprise-footer ul a:hover {
  text-decoration: none;
  color: var(--card-hue);
}

.footer-note {
  font-size: var(--font-size-tiny);
  color: var(--text-white);
}

.footer-connect {
  margin-top: var(--space-sm);
}

.connect-link {
  font-size: var(--font-size-tiny);
  color: var(--accent-hue);
  text-decoration: none;
  margin: 0 var(--space-xs);
}

.connect-link:hover {
  color: var(--text-white);
}

@media (max-width: 767px) {
  .vault-cluster,
  .display-gallery,
  .memories-stack {
    grid-template-columns: 1fr;
  }

  .board-item {
    font-size: var(--font-size-tiny);
  }

  .choices-circle {
    flex-direction: column;
  }
}

main section {
  padding: var(--space-xl) 0;
}

/* Hero Sections */
.privacy-hero,
.terms-hero {
  padding: var(--space-xl) 0;
  background: linear-gradient(to right, var(--primary-hue), var(--accent-hue));
  text-align: center;
}

.hero-title {
  font-size: var(--font-size-h1);
  color: var(--text-white);
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
}

.hero-text {
  font-size: var(--font-size-base);
  color: var(--text-white);
  max-width: 700px;
  margin: 0 auto;
  font-family: var(--font-main);
}

/* Content Sections */
.privacy-content,
.terms-content {
  padding: var(--space-xl) 0;
  background: var(--card-hue);
}

.section-title {
  font-size: var(--font-size-h2);
  color: var(--secondary-hue);
  margin-bottom: var(--space-sm);
  font-family: var(--font-heading);
}

.section-text {
  font-size: var(--font-size-base);
  color: var(--text-dark);
  margin-bottom: var(--space-md);
  font-family: var(--font-main);
}

.section-list {
  list-style: disc;
  margin: var(--space-md) 0 var(--space-md) var(--space-lg);
}

.section-list li {
  font-size: var(--font-size-base);
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
  font-family: var(--font-main);
}

.section-link {
  color: var(--primary-hue);
  text-decoration: none;
}

.section-link:hover {
  color: var(--accent-hue);
}
