/* RCB THEME QUIZ CSS */
@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Russo One', sans-serif;
  background: linear-gradient(to bottom right, #000000, #c8102e);
  color: #f5f5f5;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.quiz-container {
  background-color: #1a1a1a;
  border: 3px solid gold;
  border-radius: 12px;
  max-width: 750px;
  width: 100%;
  padding: 30px 40px;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

h1 {
  text-align: center;
  color: gold;
  font-size: 2.8rem;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.question-block {
  margin-bottom: 25px;
  padding: 20px;
  background-color: #2a2a2a;
  border-left: 5px solid #c8102e;
  border-radius: 8px;
  transition: 0.3s ease;
}

.question-block h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: #ffffff;
}

.question-block label {
  display: block;
  margin-bottom: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  background-color: #1e1e1e;
  cursor: pointer;
  transition: 0.3s ease;
  border: 2px solid transparent;
  color: #dcdcdc;
}

.question-block input[type="radio"] {
  margin-right: 10px;
  accent-color: gold;
}

.question-block label:hover {
  border: 2px solid gold;
  background-color: #2c2c2c;
  color: gold;
}

button#submitBtn {
  display: block;
  margin: 35px auto 0;
  background-color: gold;
  color: #000;
  border: none;
  padding: 14px 28px;
  font-size: 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

button#submitBtn:hover {
  background-color: #ffcc00;
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  animation: fadeInModal 0.4s ease;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background-color: #1a1a1a;
  margin: 12% auto;
  padding: 40px;
  border: 2px solid gold;
  width: 90%;
  max-width: 400px;
  border-radius: 12px;
  text-align: center;
  color: white;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
  position: relative;
  animation: popUp 0.4s ease-out;
}

@keyframes popUp {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.close {
  color: gold;
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #ffffff;
}

#scoreText {
  font-size: 1.6rem;
  margin-top: 20px;
  color: gold;
}
