/* Main full-screen layout */
body {
  margin: 0;
  padding: 0;
  background: #f0fdfc url('/assets/index/kids-bg.jpg') no-repeat center center fixed;
  background-size: cover;
  font-family: 'Segoe UI', sans-serif;
  height: 100vh;
  overflow: auto;
  position: relative;
}

/* Content Frame (the inner box) */
/* Content Frame (the inner box) */
.screen {
  position: relative;
  margin: 20px auto;                         /* Reduced vertical space */
  width: 90%;
  max-width: 680px;                          /* Smart laptop width */
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  padding: 20px 16px 24px;                   /* Reduced padding */
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  min-height: auto;                          /* Removes forced height */
  box-sizing: border-box;
  overflow: hidden;                          /* Ensure no internal overflow */
}



/* Hide/show support */
.hidden {
  display: none;
}

/* Reusable stars */
.stars {
  position: relative;           /* ✅ Make it part of the normal flow */
  display: flex;
  flex-wrap: wrap;              /* ✅ Allow multiple rows */
  gap: 5px;
  padding: 10px 20px;
  justify-content: flex-start;
  margin-top: 30px;             /* ✅ Space from content above */
}


.star {
  width: 32px;
  height: 32px;
  background: url('../assets/home/star.png') no-repeat center center;
  background-size: contain;
}

/* Profile at top right */
.user-profile {
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  z-index: 1000;
}
.photo-frame {
  width: 60px;
  height: 60px;
  border: 3px solid #fdd835;
  border-radius: 50%;
  padding: 3px;
  background: radial-gradient(circle at 30% 30%, #fff176, #fdd835);
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}
.photo-frame:hover {
  transform: scale(1.1);
}
.user-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* Navigation placeholder */
#nav-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 900;
}

.celebrate {
  animation: pop 0.5s;
}

.question {
  font-size: 28px;
  font-weight: bold;
  color: #f50a0a;
  text-align: center;
  margin: 15px 0;
}

.shake {
  animation: shake 0.4s;
}

@keyframes shake {
  0% { transform: translate(0); }
  25% { transform: translate(-5px); }
  50% { transform: translate(5px); }
  75% { transform: translate(-5px); }
  100% { transform: translate(0); }
}
