@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  font-family: 'Poppins', sans-serif;
  color: #eee;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 15px;
}

.container {
  max-width: 900px;
  width: 100%;
  background: rgba(255 255 255 / 0.05);
  border-radius: 25px;
  box-shadow:
    0 4px 20px rgba(0,0,0,0.5),
    inset 0 0 60px rgba(255,255,255,0.1);
  padding: 40px 50px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  text-align: center;
}

h1 {
  font-weight: 600;
  font-size: 3rem;
  margin-bottom: 45px;
  text-shadow:
    0 0 8px #1efed4,
    0 0 15px #1efed4,
    0 0 30px #1efed4;
}

/* Quiz wrapper - grilă cu gap */
.quiz-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 32px;
  margin-bottom: 50px;
}

/* Card întrebări */
.intrebare-card {
  background: linear-gradient(145deg, #003f5c, #2f4b7c);
  border-radius: 20px;
  padding: 25px 25px 35px;
  box-shadow:
    0 6px 15px rgba(0,0,0,0.7),
    inset 0 0 30px rgba(30,254,212,0.5);
  color: #a0e9e0;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: default;
}

.intrebare-card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow:
    0 12px 40px rgba(30,254,212,0.7),
    inset 0 0 70px rgba(30,254,212,0.8);
  color: #00ffe7;
}

/* Titlu întrebare */
.intrebare-card h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.3;
  text-shadow:
    0 0 6px #00ffe7;
}

/* Lista răspunsurilor */
.raspunsuri {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Fiecare răspuns ca buton */
.raspunsuri li {
  background: rgba(0, 255, 230, 0.15);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 14px;
  font-size: 1.1rem;
  font-weight: 500;
  color: #c6fff9;
  cursor: pointer;
  box-shadow:
    0 4px 12px rgba(0, 255, 230, 0.25);
  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  user-select: none;
  position: relative;
}

/* Hover răspuns */
.raspunsuri li:hover {
  background-color: rgba(0, 255, 230, 0.35);
  transform: translateX(8px);
  box-shadow:
    0 8px 20px rgba(0, 255, 230, 0.55),
    0 0 15px rgba(0, 255, 230, 0.9);
}

/* Răspuns corect evidențiat (fără hover) */
.raspunsuri li.corect {
  background: linear-gradient(90deg, #00ffc2, #00b3a1);
  color: #00332f;
  font-weight: 700;
  box-shadow:
    0 0 15px #00ffc2,
    inset 0 0 20px #00ffc2;
  cursor: default;
  transform: none !important;
}

/* Butoane */
.btn {
  display: inline-block;
  background: linear-gradient(45deg, #00ffc2, #007965);
  color: #001f18;
  font-weight: 700;
  padding: 14px 32px;
  font-size: 1.25rem;
  border-radius: 25px;
  border: none;
  box-shadow:
    0 4px 20px rgba(0, 255, 194, 0.7);
  text-decoration: none;
  user-select: none;
  transition: background 0.3s ease, transform 0.3s ease;
  margin: 0 12px;
}

.btn:hover {
  background: linear-gradient(45deg, #00f0b8, #00c99a);
  transform: translateY(-6px);
  box-shadow:
    0 8px 30px rgba(0, 255, 194, 1);
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 12px rgba(0, 255, 194, 0.8);
}

/* Responsive */
@media (max-width: 900px) {
  .container {
    padding: 30px 25px;
  }
  .quiz-wrapper {
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  .intrebare-card h2 {
    font-size: 1.2rem;
  }
  .raspunsuri li {
    font-size: 1rem;
    padding: 12px 14px;
  }
  .btn {
    font-size: 1.1rem;
    padding: 12px 28px;
  }
}
