* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
 
body {
  font-family: 'Oswald', sans-serif;
  min-height: 100vh;
  background: #16263b;
  color: white;
}
 
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  background: #0d1b2a;
  border-bottom: 2px solid rgba(250,204,21,0.2);
  height: 110px;
}
 
.logo {
  height: 100px;
  width: auto;
  cursor: pointer;
  margin-top: 40px;
}
 
.nav-links {
  display: flex;
  gap: 8px;
}
 
.nav-links a {
  text-decoration: none;
  color: #facc15;
  font-size: 20px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  transition: 0.2s;
  text-shadow: 1px -1px 0 #b45309;
}
 
.nav-links a:hover {
  background: rgba(250,204,21,0.1);
  border-color: rgba(250,204,21,0.3);
}
 
.screen {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 110px - 80px);
  padding: 40px 20px;
}
 
.hidden {
  display: none !important;
}
 
.start-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 700px;
  animation: fadeIn 0.6s ease;
}
 
.start-hero {
  text-align: center;
}
 
.big-title {
  font-size: 90px;
  line-height: 1;
  color: #facc15;
  text-shadow: 4px 4px 0 black;
  margin-bottom: 18px;
}
 
.subtitle {
  color: #94a3b8;
  font-size: 18px;
  max-width: 500px;
  line-height: 1.5;
}
 
.start-form-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(250,204,21,0.2);
  border-radius: 16px;
  padding: 32px 40px;
  width: 100%;
}
 
.input-label {
  display: block;
  font-size: 12px;
  color: #facc15;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
 
#name-input {
  width: 100%;
  padding: 16px 18px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  color: white;
  font-size: 18px;
  font-family: 'Oswald', sans-serif;
  margin-bottom: 16px;
  outline: none;
  transition: border 0.2s;
}
 
#name-input:focus {
  border-color: #facc15;
}
 
#name-input::placeholder {
  color: #475569;
}
 
button {
  background: #facc15;
  color: #0d1b2a;
  border: none;
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 20px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s;
  width: 100%;
}
 
button:hover {
  background: #fde047;
  transform: scale(1.02);
}
 
.stats-row {
  display: flex;
  gap: 16px;
  width: 100%;
}
 
.stat-card {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
}
 
.stat-number {
  display: block;
  font-size: 36px;
  color: #facc15;
  font-weight: 700;
  margin-bottom: 6px;
}
 
.stat-label {
  font-size: 14px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
}
 
.quiz-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(250,204,21,0.2);
  border-radius: 16px;
  padding: 40px;
  max-width: 700px;
  width: 100%;
  animation: fadeIn 0.4s ease;
}
 
.quiz-header {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  color: #94a3b8;
  margin-bottom: 12px;
}
 
#score-display {
  color: #facc15;
  font-weight: 700;
}
 
.progress-bar {
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  height: 8px;
  margin-bottom: 28px;
  overflow: hidden;
}
 
#progress-fill {
  height: 100%;
  background: #facc15;
  border-radius: 10px;
  transition: width 0.4s ease;
  width: 10%;
}
 
#category-label {
  font-size: 12px;
  color: #facc15;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
 
#question-text {
  font-size: 26px;
  margin-bottom: 24px;
  line-height: 1.3;
  color: white;
}
 
#video-container {
  margin-bottom: 20px;
}
 
#video-container video {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(250,204,21,0.2);
}
 
#options-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
 
.option-btn {
  background: rgba(255,255,255,0.05);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 20px;
  font-size: 18px;
  font-family: 'Oswald', sans-serif;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, border 0.2s, transform 0.1s;
  width: 100%;
}
 
.option-btn:hover:not(:disabled) {
  background: rgba(250,204,21,0.12);
  border-color: #facc15;
  transform: translateX(4px);
}
 
.option-btn.correct {
  background: rgba(34,197,94,0.2);
  border-color: #22c55e;
  color: #86efac;
}
 
.option-btn.wrong {
  background: rgba(239,68,68,0.15);
  border-color: #ef4444;
  color: #fca5a5;
}
 
.option-btn:disabled {
  cursor: not-allowed;
}
 
#feedback {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  animation: fadeIn 0.3s ease;
}
 
#feedback.riktig {
  background: rgba(34,197,94,0.15);
  border: 1px solid #22c55e;
  color: #86efac;
}
 
#feedback.feil {
  background: rgba(239,68,68,0.12);
  border: 1px solid #ef4444;
  color: #fca5a5;
}
 
#next-btn {
  margin-top: 16px;
  animation: fadeIn 0.3s ease;
}
 
.result-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(250,204,21,0.2);
  border-radius: 16px;
  padding: 50px 40px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  animation: fadeIn 0.5s ease;
}
 
#result-title {
  font-size: 40px;
  color: #facc15;
  text-shadow: 2px 2px 0 black;
  margin-bottom: 12px;
}
 
#result-score {
  font-size: 20px;
  color: #94a3b8;
  margin-bottom: 28px;
}
 
#highscore-list {
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  text-align: left;
}
 
#highscore-list h3 {
  color: #facc15;
  font-size: 20px;
  margin-bottom: 12px;
  text-align: center;
}
 
.highscore-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 17px;
  color: #e2e8f0;
}
 
.highscore-item:last-child {
  border-bottom: none;
}
 
.highscore-item .rank {
  color: #facc15;
  font-weight: 700;
  margin-right: 10px;
}
 
.footer {
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-top: 1px solid rgba(250,204,21,0.15);
  height: 80px;
}
 
.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
 
.footer-logo {
  height: 40px;
  width: auto;
  opacity: 0.85;
}
 
.footer-brand {
  color: #facc15;
  font-size: 18px;
  font-weight: 700;
}
 
.footer-copy {
  color: #475569;
  font-size: 13px;
}
 
.footer-right a {
  color: #facc15;
  font-size: 14px;
  text-decoration: none;
}
 
.footer-right a:hover {
  text-decoration: underline;
}
 
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
 