
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
  
body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: black;
    overflow: hidden;
    color: #fff;
}
  
#quiz-container, 
#neuronSpark, 
#resultSection {
    width: 600px;
    max-width: 90%;
    background: rgba(15, 15, 30, 0.8);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 255, 200, 0.3);
    backdrop-filter: blur(10px);
    text-align: center;
    animation: fadeIn 0.8s ease;
}
  
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
  
h1, h2 {
    font-size: 2rem;
    margin-top: 10px;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #00eaff, #b300ff, #00ff99);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(0,255,200,0.6);
}
  
button {
    background: linear-gradient(90deg, #370355, #0099ff);
    border: none;
    padding: 12px 20px;
    color: #fff;
    font-size: 1rem;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}
  
button:hover {
    background: linear-gradient(90deg, #b300ff, #00ffcc);
    box-shadow: 0 0 15px #00eaff;
    transform: scale(1.05);
}
  
#topBar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-weight: bold;
}
  
#progressBar {
    width: 200px;
    height: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    overflow: hidden;
    margin: 10px 10px;
}
  
#progressFill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00ffcc, #b300ff);
    transition: width 0.3s ease;
}

#question{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
  
#questionText{
    font-size: 25px;
    font-family: 'Times New Roman', Times, serif;
}

#options {
    list-style: none;
    margin-top: 20px;
}
  
#options li {
    background: rgba(255,255,255,0.05);
    margin: 10px 0;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
  
#options li:hover {
    background: rgba(0,255,200,0.2);
    box-shadow: 0 0 10px #00ffcc;
    transform: translateY(-2px);
}
  
.correct {
    background: rgba(0, 255, 100, 0.8) !important;
    color: #fff;
}
  
.incorrect {
    background: rgba(255, 0, 80, 0.8) !important;
    color: #fff;
}

  
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: transparent;
}


@media (max-width: 480px) {
    h1 {
      font-size: 1.4rem;
    }
  
    #questionText {
      font-size: 1rem;
    }
  
    .option {
      font-size: 0.9rem;
      padding: 8px;
    }
  
    button {
      font-size: 0.9rem;
      padding: 12px;
    }
  }