:root {
  --red: #ef4444;
  --blue: #3b82f6;
  --yellow: #facc15;
  --green: #22c55e;
  --orange: #fb923c;
  --purple: #a855f7;
  --cream: #fff8de;
  --peach: #ffe5d9;
  --dark: #2b2b2b;
  --white: #ffffff;
  --shadow: 6px 6px 0 var(--dark);
  --shadow-sm: 3px 3px 0 var(--dark);
  --border: 4px solid var(--dark);
  --radius-xl: 30px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Fredoka', sans-serif;
  background: var(--cream);
  color: var(--dark);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.page-shell {
  overflow-x: hidden;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin: 0 0 14px;
  font-family: 'Bubblegum Sans', cursive;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  color: var(--red);
  text-shadow: 2px 2px 0 var(--dark);
}

.section-heading p {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.section-bar {
  width: 128px;
  height: 12px;
  margin: 16px auto 0;
  background: var(--yellow);
  border: 3px solid var(--dark);
  border-radius: 999px;
}

.green-heading { color: var(--green) !important; }
.purple-heading { color: var(--purple) !important; }

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle, rgba(0,0,0,0.08) 18%, transparent 19%) 0 0 / 40px 40px,
    var(--blue);
  border-bottom: var(--border);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 32px 0;
}

.hero-badge,
.danger-pill,
.footer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 3px solid var(--dark);
  box-shadow: var(--shadow-sm);
  font-family: 'Bubblegum Sans', cursive;
}

.hero-badge {
  background: var(--yellow);
  font-size: 1.25rem;
  transform: rotate(-2deg);
}

.hero h1 {
  margin: 20px 0 18px;
  font-family: 'Bubblegum Sans', cursive;
  font-size: clamp(4rem, 11vw, 8rem);
  line-height: 0.92;
  color: var(--yellow);
  -webkit-text-stroke: 2px var(--dark);
  text-shadow: 4px 4px 0 rgba(0,0,0,0.12);
}

.hero-tagline {
  width: min(760px, 100%);
  margin: 0 auto 30px;
  padding: 18px 20px;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1.35;
  color: var(--white);
  background: rgba(43,43,43,0.18);
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 24px;
  backdrop-filter: blur(3px);
}

.hero-button {
  display: inline-block;
  padding: 18px 30px;
  background: var(--yellow);
  border: var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-family: 'Bubblegum Sans', cursive;
  font-size: clamp(1.35rem, 2vw, 2rem);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.hero-button:hover,
.sound-hover:hover,
.game-card:hover,
.boy-card:hover,
.roast-item:hover,
.achievement-card:hover {
  transform: translateY(-6px) scale(1.03);
}

.hero-button:hover { background: #ffe55a; }
.hero-button:active { transform: translateY(1px) scale(0.98); box-shadow: var(--shadow-sm); }

.hero-decor,
.floating-brick {
  position: absolute;
  z-index: 1;
}

.hero-decor {
  font-size: 3rem;
  animation: bob 4s ease-in-out infinite;
}

.hero-decor.star { top: 42px; left: 42px; }
.hero-decor.spark { right: 38px; bottom: 90px; animation-delay: 0.8s; }

.floating-brick {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 98px;
  height: 66px;
  border: var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  animation: drift 4.5s ease-in-out infinite;
}

.floating-brick span {
  width: 24px;
  height: 24px;
  border: 2px solid var(--dark);
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.brick-red { top: 80px; right: 70px; background: var(--red); }
.brick-green {
  left: 56px;
  bottom: 110px;
  background: var(--green);
  animation-duration: 5.5s;
}
.brick-green.tall {
  width: 72px;
  height: 110px;
  flex-direction: column;
}

.boys-grid,
.games-grid,
.achievements-grid {
  display: grid;
  gap: 28px;
}

.boys-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.games-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.achievements-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.boy-card {
  position: relative;
  padding: 56px 28px 28px;
  border: var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease;
}

.boy-card.blue { background: var(--blue); }
.boy-card.green { background: var(--green); }

.studs {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  justify-content: space-around;
  padding: 0 24px;
  height: 26px;
}

.studs span {
  width: 44px;
  height: 16px;
  border-bottom: 2px solid var(--dark);
  border-radius: 0 0 999px 999px;
  opacity: 0.55;
}

.boy-card.blue .studs span { background: #60a5fa; }
.boy-card.green .studs span { background: #4ade80; }

.photo-placeholder {
  width: 190px;
  height: 190px;
  margin: 0 auto 22px;
  border: var(--border);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  background: linear-gradient(135deg, #e5e7eb, #f8fafc);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  font-family: 'Bubblegum Sans', cursive;
  color: #6b7280;
}

.boy-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
}

.boy-name-row h3 {
  margin: 0;
  font-family: 'Bubblegum Sans', cursive;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--white);
  -webkit-text-stroke: 2px var(--dark);
}

.age-badge {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 3px solid var(--dark);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  font-family: 'Bubblegum Sans', cursive;
  font-size: 1.45rem;
}

.age-yellow { background: var(--yellow); }
.age-orange { background: var(--orange); color: var(--white); }

.info-box {
  background: var(--white);
  border: 3px solid var(--dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  text-align: center;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.4;
}

.games-section {
  background:
    radial-gradient(circle, rgba(0,0,0,0.08) 18%, transparent 19%) 0 0 / 40px 40px,
    var(--white);
  border-top: var(--border);
  border-bottom: var(--border);
}

.game-card {
  min-height: 220px;
  padding: 24px 18px;
  border: var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.18s ease;
}

.game-card .icon-wrap {
  width: 84px;
  height: 84px;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.2);
  display: grid;
  place-items: center;
  font-size: 2.3rem;
}

.game-card h3 {
  margin: 0;
  font-family: 'Bubblegum Sans', cursive;
  font-size: 2rem;
  line-height: 1.05;
  color: var(--white);
  -webkit-text-stroke: 1.8px var(--dark);
}

.bg-green { background: var(--green); transform: rotate(-2deg); }
.bg-red { background: var(--red); transform: rotate(3deg); }
.bg-blue { background: var(--blue); transform: rotate(-1deg); }
.bg-orange { background: var(--orange); transform: rotate(2deg); }
.bg-yellow { background: var(--yellow); transform: rotate(-3deg); }
.bg-yellow h3 { color: #fff8de; }

.roast-section {
  position: relative;
  background: var(--peach);
  border-bottom: var(--border);
}

.roast-wrap { position: relative; z-index: 1; }
.roast-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}
.roast-heading h2 { margin-bottom: 0; }
.flames { font-size: 3rem; animation: wiggle 1.3s ease-in-out infinite; }

.danger-pill {
  background: var(--dark);
  color: var(--yellow);
  margin: 0 auto 28px;
}

.warning-strip {
  position: absolute;
  left: 0;
  right: 0;
  height: 24px;
  background: repeating-linear-gradient(
    -55deg,
    var(--yellow) 0 26px,
    var(--dark) 26px 42px
  );
}

.warning-strip.top { top: 0; border-bottom: var(--border); }
.warning-strip.bottom { bottom: 0; border-top: var(--border); }

.roast-list {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.roast-item {
  background: var(--white);
  border: var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  align-items: center;
  transition: transform 0.18s ease;
}

.roast-emoji {
  width: 76px;
  height: 76px;
  border: 3px solid var(--dark);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  background: #f3f4f6;
  font-size: 2.2rem;
}

.roast-item p {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.35;
}

.achievement-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s ease;
}

.award-circle {
  position: relative;
  width: 130px;
  height: 130px;
  margin-bottom: 22px;
  border: var(--border);
  border-radius: 50%;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  font-size: 3.4rem;
}

.award-circle::before,
.award-circle::after {
  content: '';
  position: absolute;
  bottom: -26px;
  width: 30px;
  height: 46px;
  border: var(--border);
  z-index: -1;
}

.award-circle::before { left: 16px; transform: rotate(12deg); background: var(--red); }
.award-circle::after { right: 16px; transform: rotate(-12deg); background: var(--blue); }

.award-yellow { background: var(--yellow); }
.award-red { background: var(--red); }
.award-blue { background: var(--blue); }
.award-green { background: var(--green); }
.award-orange { background: var(--orange); }
.award-purple { background: var(--purple); }

.achievement-label {
  width: 100%;
  padding: 12px 14px;
  background: var(--white);
  border: 3px solid var(--dark);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  font-family: 'Bubblegum Sans', cursive;
  font-size: 1.3rem;
  line-height: 1.15;
}

.site-footer {
  position: relative;
  background: var(--blue);
  border-top: var(--border);
  padding: 52px 0;
}

.footer-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background: radial-gradient(circle, rgba(0,0,0,0.12) 18%, transparent 19%) 0 0 / 40px 40px;
}

.footer-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.footer-badge {
  margin-bottom: 18px;
  background: var(--yellow);
  color: var(--dark);
  font-size: 2rem;
  border-radius: 22px;
}

.footer-content p {
  margin: 8px 0;
  font-size: 1.3rem;
}

.footer-copy { opacity: 0.82; font-size: 1.05rem !important; }

@keyframes bob {
  0%, 100% { transform: translateY(-4px); }
  50% { transform: translateY(10px); }
}

@keyframes drift {
  0%, 100% { transform: translateY(-8px) rotate(0deg); }
  50% { transform: translateY(10px) rotate(5deg); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

@media (max-width: 980px) {
  .boys-grid,
  .games-grid,
  .achievements-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .section { padding: 72px 0; }
  .hero { min-height: auto; padding: 88px 0; }
  .boys-grid,
  .games-grid,
  .achievements-grid {
    grid-template-columns: 1fr;
  }
  .roast-item {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .boy-name-row {
    flex-direction: column;
    gap: 10px;
  }
  .floating-brick,
  .hero-decor { opacity: 0.55; }
}
