/* General Styles */
body {
  font-family: Arial, sans-serif;
  background-color: #101010;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin: 0;
}

h1 {
  color: #ffcc00;
  margin-bottom: 30px;
}

/* Container for Skin Cards */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 10px;
}

/* Individual Card */
.card {
  background-color: #1e1e1e;
  border: 1px solid #333;
  border-radius: 10px;
  width: 250px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
  transition: transform 0.2s;
}

.card:hover {
  transform: scale(1.03);
}

.card img {
  width: 100%;
  display: block;
}

.card h3 {
  margin: 10px 0;
  font-size: 1.1rem;
}

button {
  background-color: #ffcc00;
  border: none;
  color: #000;
  padding: 10px 15px;
  margin-bottom: 10px;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
}

button:hover {
  background-color: #ffaa00;
}

/* Overlay Popup */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.popup {
  background: #222;
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 15px rgba(255, 204, 0, 0.6);
  animation: fadeIn 0.5s ease;
  max-width: 90%;
}

.popup p {
  font-size: 18px;
  margin: 10px 0;
  color: #fff;
}

/* Fade-in Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .card {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .card {
    width: 90%;
  }

  .popup p {
    font-size: 16px;
  }

  h1 {
    font-size: 1.5rem;
  }
}
