/* ===== IMPORT FONT ===== */
@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Orbitron:wght@500&display=swap');

/* ===== BODY ===== */
body {
  margin:0;
  font-family:'Orbitron', monospace;
  min-height:100vh;
  display:flex;
  justify-content:flex-start;
  align-items:center;
  flex-direction:column;
  position:relative;
  overflow:hidden;
  background:#0a0a0a;
  box-sizing: border-box;
}

/* ===== PARTICLE LAYER ===== */
#particles-js{
  position:fixed;
  width:100%;
  height:100%;
  top:0; left:0;
  z-index:-1;
}

/* ===== HEADER BUTTONS ===== */
.header-button{
  position:fixed;
  top:10px;
  padding:8px 12px;
  border:1px solid #0ff;
  background:#111;
  color:#0ff;
  border-radius:5px;
  cursor:pointer;
  transition:0.2s;
  font-family: 'Audiowide', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  z-index:10;
}
.header-button:hover{
  box-shadow:0 0 10px #0ff,0 0 20px #0ff;
  transform:scale(1.05);
}
.header-button.left{ left:10px; }
.header-button.right{ right:10px; }

/* ===== CARDS ===== */
.card{
  background: rgba(0,0,0,0.6);
  border:2px solid #0ff;
  box-shadow:0 0 20px #0ff;
  border-radius:15px;
  text-align:center;
  padding:30px;
  width:350px;
  margin:20px auto;
  z-index:1;
}
.card h1{
  color:#fff;
  text-shadow:0 0 5px #0ff,0 0 10px #0ff,0 0 20px #0ff;
}
.card p{
  color:#fff;
  text-shadow:0 0 5px #0ff,0 0 10px #0ff;
}

/* ===== INPUT ===== */
input[type="text"]{
  padding:10px;
  border-radius:5px;
  border:1px solid #0ff;
  background:#111;
  color:#fff;
  width:80%;
  margin:10px 0;
  font-family: 'Orbitron', monospace;
}

/* ===== BUTTON ===== */
button{
  font-family: 'Audiowide', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 16px;
  border:1px solid #0ff;
  background:#111;
  color:#0ff;
  padding:10px 15px;
  border-radius:5px;
  cursor:pointer;
  transition: all 0.2s ease;
}
button:hover{
  box-shadow:0 0 10px #0ff,0 0 20px #0ff;
  transform:scale(1.1);
}

/* ===== TIMER BAR ===== */
#timerBarContainer{
  width:80%;
  background:#111;
  border-radius:5px;
  border:1px solid #0ff;
  margin:15px auto;
  height:12px;
}
#timerBar{
  height:100%;
  width:100%;
  background:linear-gradient(90deg,#0ff,#0ff,#0ff);
  box-shadow:0 0 10px #0ff,0 0 20px #0ff;
  transition:width 0.1s linear;
}

/* ===== OPTIONS BUTTON ===== */
.options button{
  display:block;
  width:80%;
  margin:8px auto;
  color:#0ff;
  box-shadow:0 0 5px #0ff,0 0 10px #0ff;
}
.options button:hover{
  box-shadow:0 0 15px #0ff,0 0 25px #0ff;
}

/* ===== MODALS ===== */
.modal{
  display:none;
  position:fixed;
  top:0;left:0;width:100%;height:100%;
  background:rgba(0,0,0,0.85);
  justify-content:center;
  align-items:center;
  z-index:100;
}
.modal-content{
  background:#111;
  border:2px solid #0ff;
  border-radius:10px;
  padding:20px;
  text-align:center;
  width:300px;
  color:#fff;
  text-shadow:0 0 5px #0ff,0 0 10px #0ff;
  font-family: 'Orbitron', monospace;
}
.modal-content a {
  color:#0ff;
  text-shadow:0 0 5px #0ff,0 0 10px #0ff;
  text-decoration:none;
}

/* ===== QUIZ RULES (LURUS + EXPIRED) ===== */
.quiz-rules {
  background: rgba(0,0,0,0.5);
  border: 2px solid #0ff;
  box-shadow: 0 0 15px #0ff;
  border-radius: 10px;
  padding: 15px 20px;
  width: 350px;
  margin: 10px auto 50px auto;
  color: #fff;
  text-shadow: 0 0 5px #0ff, 0 0 10px #0ff;
  font-family: 'Orbitron', monospace;
}
.quiz-rules h3 {
  margin-bottom: 10px;
  text-align:center;
}
.quiz-rules ul {
  list-style: disc inside;
  padding-left: 20px;
  margin: 0;
  text-align:left !important;
}
.quiz-rules li {
  margin-bottom:5px;
}
.quiz-rules p {
    color: #ff00ff;
    text-align: center;
    font-weight: bold;
    text-shadow: 0 0 5px #ff00ff, 0 0 10px #ff00ff;
    margin-top: 10px;
}
