/* Reset basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Comic Neue', 'Comic Sans MS', sans-serif;
  background: #2b2d42; /* dark pastel purple */
  color: #f0f0f0;
  line-height: 1.4;
}

.kids-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

/* Header */
.kids-header {
  text-align: center;
  margin-bottom: 30px;
}

.kids-header h1 {
  font-size: 2.5rem;
  color: #ffb6b9; /* pastel pink */
  text-shadow: 2px 2px #6a6a6a;
  margin-bottom: 10px;
}

.kids-header p {
  font-size: 1.2rem;
  color: #c0c0c0;
}

/* Cards Section */
.kids-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1000px;
}

/* Card base styling */
.card {
  border-radius: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  text-align: center;
  padding: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.card img {
  max-width: 120px;
  margin-bottom: 15px;
}

.card h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.card p {
  font-size: 1rem;
  margin-bottom: 15px;
}

.card .button {
  display: inline-block;
  font-weight: bold;
  padding: 10px 18px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.card .button:hover {
  transform: translateY(-2px);
}

/* Individual pastel colors for each card */
.card:nth-child(1) {
  background: #ffadad; /* pastel pink */
  color: #2b2d42;
}

.card:nth-child(1) .button {
  background: #ff6392;
  color: #fff;
}

.card:nth-child(2) {
  background: #ffd6a5; /* pastel orange */
  color: #2b2d42;
}

.card:nth-child(2) .button {
  background: #ff9e5d;
  color: #fff;
}

.card:nth-child(3) {
  background: #fdffb6; /* pastel yellow */
  color: #2b2d42;
}

.card:nth-child(3) .button {
  background: #fce200;
  color: #2b2d42;
}

.card:nth-child(4) {
  background: #caffbf; /* pastel green */
  color: #2b2d42;
}

.card:nth-child(4) .button {
  background: #7dfc70;
  color: #2b2d42;
}

.card:nth-child(5) {
  background: #9bf6ff; /* pastel blue */
  color: #2b2d42;
}

.card:nth-child(5) .button {
  background: #5fd1ff;
  color: #2b2d42;
}

.card:nth-child(6) {
  background: #bdb2ff; /* pastel purple */
  color: #2b2d42;
}

.card:nth-child(6) .button {
  background: #7c6fff;
  color: #fff;
}

/* Footer */
.kids-footer {
  margin-top: 40px;
  text-align: center;
  font-size: 0.9rem;
  color: #c0c0c0;
}

.kids-footer a {
  color: #ffd6a5; /* pastel orange */
  text-decoration: none;
  font-weight: bold;
}

.kids-footer a:hover {
  text-decoration: underline;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .kids-header h1 {
    font-size: 2rem;
  }
  .card h2 {
    font-size: 1.3rem;
  }
  .card img {
    max-width: 100px;
  }
}

