@import url('https://fonts.googleapis.com/css2?family=Chewy&family=Manrope:wght@400;600;700&display=swap');

:root {
  --bg: #ffe3c0;
  --bg-2: #ffd2d8;
  --ink: #3a1f1b;
  --accent: #5f8a4b;
  --accent-2: #ff7f5c;
  --card: #fff6ea;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.8), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.6), transparent 40%),
    linear-gradient(135deg, var(--bg), var(--bg-2));
  font-family: "Manrope", "Trebuchet MS", sans-serif;
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 20px 72px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero {
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(160deg, #fff1dc, #ffe0b8);
  box-shadow: 0 20px 50px rgba(60, 35, 25, 0.15);
  animation: slide-in 700ms ease-out both;
}

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 144px;
  gap: 18px;
  align-items: center;
}

.monkey-frame {
  width: 144px;
  height: 144px;
  border-radius: 50%;
  padding: 7px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, #fff, #ffe7cc 60%);
  border: 2px solid rgba(58, 31, 27, 0.18);
  box-shadow: 0 10px 18px rgba(60, 35, 25, 0.18);
}

.monkey-frame img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
}

h1 {
  margin: 16px 0 8px;
  font-family: "Chewy", "Comic Sans MS", cursive;
  font-size: clamp(40px, 6vw, 72px);
  text-transform: lowercase;
}

.lead {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid rgba(58, 31, 27, 0.1);
  font-weight: 600;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  animation: fade-up 700ms ease-out 150ms both;
}

.card {
  padding: 20px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid rgba(58, 31, 27, 0.08);
  box-shadow: 0 12px 24px rgba(60, 35, 25, 0.1);
}

.card h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 28px;
  border-radius: 24px;
  background: linear-gradient(120deg, #ffdfd3, #ffeabf);
  border: 2px dashed rgba(58, 31, 27, 0.15);
  animation: fade-up 700ms ease-out 250ms both;
}

.cta-inner h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.cta-art {
  font-size: 40px;
}

.rules {
  padding: 18px 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(58, 31, 27, 0.12);
  text-align: center;
  font-weight: 600;
  animation: fade-up 700ms ease-out 350ms both;
}

.rules h2 {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 24px;
  }

  .hero-top {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .monkey-frame {
    width: 132px;
    height: 132px;
  }

  .lead {
    font-size: 16px;
  }
}
