.scroll-locked {
  overflow: hidden !important;
  touch-action: none;
}
 
#page4 { background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), var(--reef) center / cover no-repeat; color: white; }
#page5 { background: linear-gradient(rgba(0,0,0,0.88), rgba(0,0,0,0.88)), var(--reef) center / cover no-repeat; color: white; }
#page6 { background-color: #000;              color: white; }
#page7 { background-color: rgb(89, 5, 19);    color: white; }   
#page8 { background-color: #000;              color: white; }   
 
.question-prompt {
  font-size: 1.1rem;
  margin: 15px 0 30px 0;
  color: #aaa;
  letter-spacing: 1px;
}

.quiz-header-ui {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  display: flex;
  flex-direction: column;
  z-index: 100;
}
 
.progress-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
}
 
.progress-bar {
  width: 0%;
  height: 100%;
  background: #ff003c;
  box-shadow: 0 0 8px #ff003c;
  transition: width 0.4s ease;
}
 
.quiz-timer {
  align-self: flex-end;
  margin: 20px 20px 0 0;
  background: rgba(0, 0, 0, 0.8);
  padding: 10px 20px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 1.2rem;
  color: #ff003c;
  border: 1px solid #ff003c;
  letter-spacing: 2px;
}
 
/* yes no */
.gate-btn {
  font-size: 2.4rem;
  padding: 1.2rem 3.5rem;
  min-width: 220px;
  cursor: pointer;
  border-radius: 10px;
  border: 2px solid #4a7f93;
  background: rgba(18, 28, 36, 0.85);
  color: #e8f2f5;
  letter-spacing: 3px;
}
.gate-btn:hover { background: #1d3340; }
.gate-yes:hover { border-color: #7fe08a; }
.gate-no:hover  { border-color: #ff6b6b; }
 
@media (max-width: 600px) {
  .gate-btn { display: block; width: 100%; margin: 12px 0; }
}
 
/* answers */
.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}
 
.quiz-btn {
  background: transparent;
  color: white;
  border: 1px solid #444;
  padding: 15px 25px;
  font-size: 0.9rem;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  outline: none;
}
 
.quiz-btn:hover:not([disabled]) {
  border-color: #ff003c;
  background: rgba(255, 0, 60, 0.05);
  box-shadow: 0 0 10px rgba(255, 0, 60, 0.3);
  transform: translateY(-2px);
}
 
.quiz-btn:active:not([disabled]) {
  transform: translateY(1px);
}
 
/* visual states */
.quiz-btn.correct-choice {
  background: #2ecc71 !important;
  border-color: #2ecc71 !important;
  color: black !important;
  font-weight: bold;
}
 
.quiz-btn.wrong-choice {
  background: #ff003c !important;
  border-color: #ff003c !important;
  color: white !important;
}
 
/* results screen if u see this ur goated lowk */
.score-board h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2ecc71;
}
 
.restart-btn {
  background: white;
  color: black;
  border: none;
  padding: 10px 30px;
  font-weight: bold;
  cursor: pointer;
  letter-spacing: 2px;
}
.restart-btn:hover {
  background: #ff003c;
  color: white;
}
 