/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}



.quiz-container {
  display: flex;
  gap: 20px;              /* space between cards */
  justify-content: center;
  flex-wrap: wrap;        /* wraps on small screens */
}


/* Card */
.card {
  width: 280px;
  padding: 25px;
  text-align: center;
  background: #1c1c1c;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(255,0,0,0.3);
  transition: transform 0.4s, box-shadow 0.4s;
}

/* Card hover */
.card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 40px rgba(255,0,0,0.6);
}

.card h2 {
  color: #ff2c2c;
  margin-bottom: 10px;
}

.card p {
  color: #ccc;
  margin-bottom: 20px;
}

/* Button */
.btn {
  display: flex;
  
  padding: 12px 28px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #ff0000, #ff4d4d);
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  transition: 0.4s;
}

/* Button glow */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.3);
  transition: 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  box-shadow: 0 0 20px #ff0000;
}


@media (max-width: 768px) {
  .quiz-container {
    flex-direction: column;
    align-items: center;
  }
}
