
:root {
  --sbu-red: #990000;
  --sbu-red-light: #bb1e1e;
  --bg: #090909;
  --card: #141414;
  --card2: #1b1b1b;
  --text: #f5f5f5;
  --muted: #bbbbbb;
  --correct: #7dff9f;
  --wrong: #ff8a8a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.background-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(153,0,0,0.35) 0%, rgba(0,0,0,0) 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 2rem;
}

.hero {
  margin-bottom: 3rem;
}

.branding {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.sbu-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
}
.uni-name {
  color: var(--muted);
  margin-bottom: 0.2rem;
}

h1 {
  margin: 0;
  font-size: 2.8rem;
}

.subtitle {
  color: var(--muted);
  margin-top: 1.5rem;
  max-width: 800px;
  line-height: 1.7;
  font-size: 1.05rem;
}

.section-header p {
  color: var(--muted);
}

#topics-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.topic-btn {
  background: linear-gradient(145deg, #181818, #111111);
  border: 1px solid rgba(255,255,255,0.05);
  color: white;
  padding: 1.3rem;
  border-radius: 16px;
  cursor: pointer;
  transition: 0.2s ease;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
}

.topic-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255,0,0,0.4);
  box-shadow: 0 10px 25px rgba(255,0,0,0.15);
}

.question-card {
  margin-top: 2rem;
  background: var(--card);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.05);
}

.choice {
  display: block;
  background: var(--card2);
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 12px;
  transition: 0.15s ease;
}

.choice:hover {
  background: #262626;
}

.choice input {
  margin-right: 0.75rem;
}

button {
  background: linear-gradient(135deg, var(--sbu-red), var(--sbu-red-light));
  color: white;
  border: none;
  padding: 0.95rem 1.2rem;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
}

button:hover {
  opacity: 0.95;
}

.secondary-btn {
  background: #252525;
}

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

.correct {
  color: var(--correct);
  margin-top: 1rem;
  font-weight: 700;
}

.wrong {
  color: var(--wrong);
  margin-top: 1rem;
  font-weight: 700;
}

.quiz-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hidden {
  display: none;
}

#score-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.wrong-box {
  background: var(--card);
  border-left: 5px solid var(--wrong);
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

@media (max-width: 700px) {

  .branding {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 {
    font-size: 2rem;
  }

  .quiz-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .button-row {
    flex-direction: column;
  }

}

