* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif, sans-serif;
  background-color: #fff0f5;
  color: #333;
  line-height: 1.6;
}   
html {
  scroll-behavior: smooth;
}
nav {
  background-color: #ffcfe5;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  white-space: nowrap;
}
body {
  padding-top: 80px;
}
html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 80px;
}

.home h1 {
  font-size: 7rem;
  color: #333;
  font-weight: 900;
  margin-bottom: 20px;
  font-family: 'Trebuchet MS', serif;
}
.home {
  text-align: center;
  padding: 8rem 2rem 6rem 2rem;
  background: 
    linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), 
    url('https://cdn.pixabay.com/photo/2019/04/19/17/48/cake-balls-4139982_1280.jpg') no-repeat center center;
  background-size: cover;
}
#confettiButton {
  background-color: #ffcfe5;
  border: none;
  color: white;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.3s;
}

.cookie {
  text-align: center;
  padding: 1rem 2rem 2rem 2rem;
  background-color: #fff0f5;
}
.cookie h1 {
  font-size: 7rem;
  color: #333;
  font-weight: 900;
  margin-bottom: 0.5rem;
  font-family: 'Trebuchet MS', serif;
}
.home {
  text-align: center;
  padding: 8rem 2rem 6rem 2rem;
}


.kitchen {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.bowl img {
  width: 350px; 
  height: auto;
  display: block;
  margin: 0 auto;
  align-items: center;
  justify-content: center; 
}

.ingredients {
  display: flex;
  justify-content: center;  align-items: center;
  gap: 2rem;
  
}

.ingredient {
  width: 100px;
  cursor: grab;
  transition: transform 0.2s;
  
}

.ingredient:active {
  transform: scale(1.1);
}

#nextStep {
  background-color: #ffcfe5;
  border: none;
  color: white;
  padding: 0.8rem 1.6rem;
  border-radius: 2rem;
  cursor: pointer;
  font-size: 1.1rem;
  transition: transform 0.2s, background-color 0.3s;
}

#nextStep:hover {
  background-color: #ffa8ac;
  transform: scale(1.1);
}
.kitchen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  gap: 2rem;
}

.bowl {
  display: flex;
  justify-content: center;
  width: 100%;
}

.ingredients {
  display: flex;
  justify-content: center;
  gap: 2rem;
  width: 100%;
}

#nextStep {
  display: block;
  margin: 1rem auto;
}

.oven {
  display: none;             
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 1rem;
}

.oven img {
  width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

@keyframes ovenGlow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
}
.tray {
  display: none;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 1rem;
}

.tray img {
  width: 350px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.decorations {
  display: none;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.decoration {
  width: 60px;
  cursor: grab;
  transition: transform 0.2s;
}

.decoration:active {
  transform: scale(1.1);
}
.tray-area {
  position: relative;
  display: inline-block;
}
.tray-area img {
  width: 350px;
  height: auto;
  display: block;
}
.tray {
  display: none;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 1rem;
}

.tray-area {
  position: relative;   
  display: inline-block;
}

.tray-area img {
  width: 350px;
  height: auto;
  display: block;
}

.decoration {
  width: 60px;           
  height: auto;
  cursor: grab;
  transition: transform 0.2s;
}

.decoration:active {
  transform: scale(1.1);
}

.tray-area img {
  width: 350px;
  height: auto;
  display: block;
}

.tray-area .decoration {
  width: 50px;
  height: auto;
  position: absolute;
}

.celebration {
  display: none; /* Hidden until unlocked */
  text-align: center;
  background-color: #fff0f5;
  padding: 6rem 2rem;
  color: #333;
}

.celebration h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #333;
}

.celebration p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

#celebrateBtn {
  background-color: #ffcfe5;
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.3s;
}

#celebrateBtn:hover {
  transform: scale(1.1);
  background-color: #ffa8ac;
}

#celebrateCanvas {
  pointer-events: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 1000;
  display: none;
}
.celebration {
  display: none;
  text-align: center;
  background-color: #fff0f5;
  padding: 6rem 2rem;
  color: #333;
}

#celebrateBtn {
  background-color: #ffcfe5;
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.3s;
}

#celebrateBtn:hover {
  transform: scale(1.1);
  background-color: #ffa8ac;
}

#celebrateCanvas {
  pointer-events: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 1000;
  display: none;
}
#nextSongBtn {
  background-color: #ffb6b9;
  color: white;
  border: none;
  border-radius: 2rem;
  padding: 0.8rem 1.6rem;
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.2s;
}

#nextSongBtn:hover {
  background-color: #ffa8ac;
  transform: scale(1.05);
}

.cupcakes {
  display: none; /* Hidden until unlocked */
  text-align: center;
  background-color: #fff0f5;
  padding: 6rem 2rem;
  color: #333;
}
.cupcakes h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #333;
}
.kitchen {
  position: relative;
  overflow: hidden; /* optional but helpful */
}
#cupcake-bowl {
  position: absolute !important;
  z-index: 10;        /* ← makes bowl in FRONT */
  top: 120px;         /* ← you will adjust this value */
  left: 50%;          
  transform: translateX(-50%);
}
#cupcakes .kitchen {
  position: relative;
  overflow: hidden;
  height: 400px;  /* <— IMPORTANT */
  margin-top: 2rem;
}

#cupcakes .ingredients {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 5;   /* ingredients under bowl */
  margin-top: 2rem;
  gap: 1rem;
}
