/* General styles for the page */
body {
  font-family: 'Poppins', sans-serif; /* Playful font */
  background: linear-gradient(45deg, #FFE1F0, #FFFBEC, #E1F5FE); /* Light pastel gradient background */
  color: #333; /* Darker text for contrast */
  padding: 20px;
  margin: 0;
}

/* Header styles */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 20px;
}

h1 {
  font-size: 3em;
  color: #FF80AB; /* Soft pink color */
  font-family: 'Comic Sans MS', sans-serif;
  margin: 20px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

.top-buttons {
  text-align: center;
}

.top-right {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

button {
  padding: 12px 20px;
  background: #FF80AB; /* Soft pink */
  border: none;
  border-radius: 50px;
  color: white;
  font-size: 1.1em;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover {
  background: #FF60A3;
  transform: scale(1.1);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

button:active {
  transform: scale(1);
}

.info-message {
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #555; /* Darker text for contrast */
}

.subjects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}

.card {
  padding: 15px;
  border-radius: 12px; /* Rounded edges for a soft look */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); /* Soft shadows */
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: white;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  background: #FFEBEE; /* Light pink background for cards */
  font-size: 1.1em;
}

.card:hover {
  transform: translateY(-10px); /* Floating effect on hover */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card.locked {
  opacity: 0.6;
  pointer-events: none;
}

.card-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
}

.card-sub {
  margin-top: 8px;
}

.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  padding: 15px;
  border-radius: 50px;
  font-size: 16px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.whatsapp-btn:hover {
  background-color: #128c7e;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  header {
    flex-direction: column;
  }

  h1 {
    font-size: 2.5em;
  }

  .subjects {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
  }

  .card {
    font-size: 1em;
    padding: 12px;
  }

  button {
    font-size: 1.2em;
    width: 100%;
  }

  .whatsapp-btn {
    bottom: 15px;
    right: 15px;
    font-size: 14px;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2em;
  }

  .info-message {
    font-size: 1em;
  }

  .card {
    font-size: 0.9em;
    padding: 10px;
  }

  button {
    font-size: 1.1em;
    width: 100%;
  }

  .whatsapp-btn {
    font-size: 13px;
    padding: 10px;
  }
}
