:root {
  --primary: #60a5fa;
  --text: #ffffff;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-image: url('./background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  margin: 0;
  padding: 2rem;
  box-sizing: border-box;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

main {
  max-width: 800px;
  margin: 0 auto;
}

h1 {
  text-align: center;
  color: white;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  transition: all 0.2s;
}

a:hover {
  color: var(--primary);
  text-shadow: 0 0 15px white;
}

li {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  padding: 1.5rem;
  color: white;
  transition: transform 0.2s;
}

li:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.25);
}

h3 {
  margin-top: 0;
  color: white;
  font-size: 1.4rem;
}

.answer {
  font-weight: bold;
  color: #a7f3d0;
  font-size: 1.2rem;
  margin-top: 1rem;
  display: block;
  text-shadow: 0 2px 4px rgba(0,0,0,1);
}

p > a {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.7rem 1.5rem;
  background: black;
  color: white;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  font-size: 1rem;
}

p > a:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}

.hidden {
  display: none;
}

button {
  cursor: pointer;
  padding: 0.8rem 1.8rem;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  margin-top: 1rem;
  transition: transform 0.1s, box-shadow 0.3s;
}

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

.show-answer-btn {
  background: black;
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.show-answer-btn:hover {
  background: #222;
  box-shadow: 0 6px 15px rgba(0,0,0,0.6);
}

.scoring {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.correct-btn {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: white;
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.4);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.incorrect-btn {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: white;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.scoreboard {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 1rem 2rem;
  position: sticky;
  top: 20px;
  z-index: 100;
}

.score-box {
  font-size: 1.3rem;
  font-weight: bold;
  display: flex;
  gap: 0.5rem;
  color: white;
}

.score-box.correct span:last-child {
  color: #86efac;
}

.score-box.incorrect span:last-child {
  color: #fca5a5;
}