*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Comic Sans MS", "Chalkboard SE", "Marker Felt", "Trebuchet MS", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #7ed957;
  background-image: -webkit-linear-gradient(top, #5ec8f8 0%, #a5e6ff 45%, #7ed957 45.5%, #4caf50 100%);
  background-image: linear-gradient(180deg, #5ec8f8 0%, #a5e6ff 45%, #7ed957 45.5%, #4caf50 100%);
  min-height: 100vh;
  color: #1f2937;
  overflow-x: hidden;
  padding: 24px 16px 48px;
  position: relative;
}

body::after {
  content: "";
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 54vh;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08) 0px,
    rgba(255, 255, 255, 0.08) 60px,
    transparent 60px,
    transparent 120px
  );
  pointer-events: none;
  z-index: 0;
}

.sky-decorations {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 45vh;
  pointer-events: none;
  z-index: 0;
}

.sun {
  position: absolute;
  top: 24px;
  right: 40px;
  width: 85px;
  height: 85px;
  background: radial-gradient(circle, #fff176 30%, #ffca28 100%);
  border-radius: 50%;
  box-shadow: 0 0 35px rgba(255, 213, 79, 0.9);
}

.cloud {
  position: absolute;
  background: #ffffff;
  border-radius: 50px;
  opacity: 0.92;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: #ffffff;
  border-radius: 50%;
}

.cloud-1 {
  width: 130px;
  height: 44px;
  top: 42px;
  left: 8%;
}
.cloud-1::before {
  width: 55px;
  height: 55px;
  top: -26px;
  left: 18px;
}
.cloud-1::after {
  width: 42px;
  height: 42px;
  top: -18px;
  right: 22px;
}

.cloud-2 {
  width: 110px;
  height: 38px;
  top: 110px;
  right: 18%;
}
.cloud-2::before {
  width: 48px;
  height: 48px;
  top: -22px;
  left: 15px;
}
.cloud-2::after {
  width: 36px;
  height: 36px;
  top: -14px;
  right: 18px;
}

.container {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-header {
  text-align: center;
  margin-bottom: 28px;
}

.badge {
  display: inline-block;
  background: #ff7043;
  color: #ffffff;
  font-weight: bold;
  font-size: 0.95rem;
  letter-spacing: 1px;
  padding: 6px 18px;
  border-radius: 999px;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  margin-bottom: 12px;
}

.hero-header h1 {
  font-size: clamp(1.75rem, 4.2vw, 2.8rem);
  line-height: 1.2;
  color: #0d47a1;
  text-shadow: 2px 2px 0 #ffffff, -2px -2px 0 #ffffff, 2px -2px 0 #ffffff, -2px 2px 0 #ffffff;
  margin-bottom: 10px;
}

.subtitle {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: #083358;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.85);
  display: inline-block;
  padding: 8px 18px;
  border-radius: 16px;
}

.profile-card {
  background: #ffffff;
  border-radius: 28px;
  border: 5px solid #1976d2;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  padding: 36px 24px 32px;
  text-align: center;
  margin-bottom: 28px;
}

/* Bigger Photo Frame */
.photo-frame {
  position: relative;
  width: 270px;
  height: 270px;
  margin: 0 auto 26px;
}

.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: top center;
  object-position: top center;
  border-radius: 50%;
  border: 8px solid #ffca28;
  box-shadow: 0 10px 24px rgba(25, 118, 210, 0.32);
  background: #e3f2fd;
}

.sticker {
  position: absolute;
  font-size: 2.75rem;
  background: #ffffff;
  width: 64px;
  height: 64px;
  line-height: 58px;
  text-align: center;
  border-radius: 50%;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.22);
  border: 3px solid #4caf50;
  -webkit-user-select: none;
  user-select: none;
}

.sticker-left {
  bottom: 6px;
  left: -8px;
  -webkit-transform: rotate(-12deg);
  transform: rotate(-12deg);
}

.sticker-right {
  bottom: 6px;
  right: -8px;
  -webkit-transform: rotate(12deg);
  transform: rotate(12deg);
}

.speech-bubble {
  background: #f0f9ff;
  border: 3px dashed #29b6f6;
  border-radius: 22px;
  padding: 22px 24px;
  max-width: 700px;
  margin: 0 auto;
}

.speech-bubble h2 {
  color: #1565c0;
  font-size: clamp(1.5rem, 3.5vw, 1.85rem);
  margin-bottom: 12px;
}

.speech-bubble p {
  font-size: clamp(1.02rem, 2.5vw, 1.15rem);
  line-height: 1.65;
  color: #263238;
  margin-bottom: 12px;
}

.speech-bubble p:last-child {
  margin-bottom: 0;
}

.favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 28px;
}

.card {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
}

.dino-card {
  border: 5px solid #ff7043;
}

.football-card {
  border: 5px solid #2e7d32;
}

.card-icon {
  font-size: 2.6rem;
  margin-bottom: 8px;
}

.card h3 {
  font-size: 1.45rem;
  margin-bottom: 14px;
}

.dino-card h3 {
  color: #d84315;
}

.football-card h3 {
  color: #1b5e20;
}

.card ul {
  list-style: none;
}

.card li {
  font-size: 1.05rem;
  line-height: 1.55;
  padding: 9px 0;
  border-bottom: 2px dotted #e0e0e0;
}

.card li:last-child {
  border-bottom: none;
}

.interactive-zone {
  background: #fffde7;
  border: 5px solid #fbc02d;
  border-radius: 24px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.14);
  margin-bottom: 24px;
}

.interactive-zone h3 {
  font-size: 1.4rem;
  color: #e65100;
  margin-bottom: 16px;
}

.button-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.fun-btn {
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: bold;
  padding: 14px 24px;
  border: none;
  border-radius: 18px;
  color: #ffffff;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-transition: -webkit-transform 0.15s ease, box-shadow 0.15s ease;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fun-btn:hover {
  -webkit-transform: translateY(-3px) scale(1.03);
  transform: translateY(-3px) scale(1.03);
}

.fun-btn:active {
  -webkit-transform: translateY(1px);
  transform: translateY(1px);
}

.dino-btn {
  background: #ff5722;
  box-shadow: 0 5px 0 #bf360c;
}

.goal-btn {
  background: #1976d2;
  box-shadow: 0 5px 0 #0d47a1;
}

.action-banner {
  background: #ffffff;
  border: 3px solid #ffd54f;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: clamp(1.08rem, 2.8vw, 1.25rem);
  font-weight: bold;
  color: #37474f;
  min-height: 58px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

footer {
  text-align: center;
  color: #ffffff;
  font-weight: bold;
  font-size: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.45);
  padding: 0 8px;
}

/* Mobile & Tablet Responsive Adjustments */
@media (max-width: 600px) {
  body {
    padding: 16px 12px 36px;
  }

  .sun {
    width: 60px;
    height: 60px;
    top: 14px;
    right: 16px;
  }

  .cloud-1 {
    width: 95px;
    height: 32px;
    top: 24px;
    left: 4%;
  }

  .cloud-2 {
    display: none;
  }

  .profile-card {
    padding: 26px 16px 24px;
    border-radius: 22px;
  }

  .photo-frame {
    width: 230px;
    height: 230px;
    margin-bottom: 20px;
  }

  .sticker {
    width: 54px;
    height: 54px;
    line-height: 48px;
    font-size: 2.2rem;
  }

  .speech-bubble {
    padding: 18px 16px;
  }

  .favorites-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    padding: 20px 18px;
  }

  .button-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .fun-btn {
    width: 100%;
    padding: 15px 18px;
  }
}
