:root {
    --neon-blue: #00fff2;
    --neon-pink: #ff00ff;
    --dark-bg: #0a0a0f;
    --cyber-yellow: #f0db4f;
    --gradient-start: #2193b0;
    --gradient-end: #6dd5ed;
    --correct-green: #00ff88;
    --wrong-red: #ff3366;
  }

  /* Global Styles */
  body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a2e 100%);
    color: var(--neon-blue);
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-attachment: fixed;
  }

  .container {
    max-width: 900px;
    margin: 20px auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Title Styling */
  .game-title {
    font-size: 3.5em;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(0, 255, 242, 0.5);
    margin-bottom: 40px;
    letter-spacing: 2px;
  }

  /* Timer Styling */
  .timer {
    font-size: 3.5em;
    font-weight: bold;
    text-align: center;
    color: var(--neon-pink);
    text-shadow: 0 0 15px var(--neon-pink);
    margin: 20px 0;
    font-family: "Digital", monospace;
    position: relative;
    animation: pulse 1s infinite;
  }

  /* Question Container Styling */
  .question-container {
    background: rgba(10, 10, 15, 0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 255, 242, 0.2);
    margin: 30px 0;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 242, 0.3);
  }

  .question {
    font-size: 1.4em;
    margin-bottom: 30px;
    line-height: 1.5;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 255, 242, 0.5);
    padding: 0 20px;
  }

  /* Options Grid Styling */
  .options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 10px;
  }

  .option {
    background: rgba(0, 255, 242, 0.05);
    border: 2px solid var(--neon-blue);
    color: #fff;
    padding: 20px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    text-align: left;
  }

  .option:hover {
    background: rgba(0, 255, 242, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 242, 0.3);
  }

  .option.correct {
    background: var(--correct-green);
    border-color: var(--correct-green);
    color: var(--dark-bg);
    font-weight: bold;
  }

  .option.wrong {
    background: var(--wrong-red);
    border-color: var(--wrong-red);
    color: white;
  }

  /* Lifelines Styling */
  .lifelines {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
  }

  .lifeline {
    background: transparent;
    border: 2px solid var(--cyber-yellow);
    color: var(--cyber-yellow);
    padding: 15px 25px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
  }

  .lifeline:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--cyber-yellow);
    transition: all 0.5s ease;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
  }

  .lifeline:hover:not(:disabled) {
    color: var(--dark-bg);
  }

  .lifeline:hover:not(:disabled):before {
    width: 200%;
    height: 200%;
    opacity: 1;
    z-index: -1;
  }

  .lifeline:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #666;
    color: #666;
  }

  /* Prize Pool Styling */
  .prize-pool {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 10, 15, 0.95);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 255, 242, 0.2);
    backdrop-filter: blur(10px);
  }

  .prize-level {
    padding: 10px 20px;
    margin: 8px 0;
    font-size: 1em;
    border-radius: 5px;
    transition: all 0.3s ease;
  }

  .prize-level.active {
    background: linear-gradient(
      45deg,
      var(--neon-blue),
      var(--gradient-end)
    );
    color: var(--dark-bg);
    font-weight: bold;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 242, 0.5);
  }

  /* Modal Styling */
  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  .modal-content {
    background: linear-gradient(
      135deg,
      rgba(10, 10, 15, 0.95) 0%,
      rgba(26, 26, 46, 0.95) 100%
    );
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--neon-blue);
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 30px rgba(0, 255, 242, 0.3);
  }

  .modal-content h2 {
    color: var(--neon-blue);
    font-size: 2em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 255, 242, 0.5);
  }

  .start-btn {
    background: transparent;
    border: 2px solid var(--neon-pink);
    color: var(--neon-pink);
    padding: 15px 40px;
    font-size: 1.3em;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 10px;
    margin-top: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  .start-btn:hover {
    background: var(--neon-pink);
    color: var(--dark-bg);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
    transform: translateY(-2px);
  }

  /* Animations */
  @keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
    100% {
      transform: scale(1);
    }
  }

  @keyframes glow {
    0% {
      text-shadow: 0 0 10px var(--neon-blue);
    }
    50% {
      text-shadow: 0 0 20px var(--neon-blue), 0 0 30px var(--neon-blue);
    }
    100% {
      text-shadow: 0 0 10px var(--neon-blue);
    }
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .container {
      padding: 0 15px;
    }

    .game-title {
      font-size: 2.5em;
    }

    .options-grid {
      grid-template-columns: 1fr;
    }

    .prize-pool {
      position: static;
      transform: none;
      margin: 20px auto;
      width: 90%;
      max-width: 400px;
    }

    .lifelines {
      flex-direction: column;
      align-items: center;
      gap: 15px;
    }

    .lifeline {
      width: 100%;
      max-width: 300px;
    }
  }
  /* New styles for game controls */
  .game-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
  }

  .quit-btn {
    background: transparent;
    border: 2px solid var(--wrong-red);
    color: var(--wrong-red);
    padding: 12px 30px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .quit-btn:hover {
    background: var(--wrong-red);
    color: white;
    box-shadow: 0 0 15px rgba(255, 51, 102, 0.5);
  }

  .modal-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }

  .modal-btn {
    padding: 12px 30px;
    font-size: 1.1em;
    cursor: pointer;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
  }

  .continue-btn {
    background: transparent;
    border: 2px solid var(--correct-green);
    color: var(--correct-green);
  }

  .continue-btn:hover {
    background: var(--correct-green);
    color: var(--dark-bg);
  }

  .quit-confirm-btn {
    background: transparent;
    border: 2px solid var(--wrong-red);
    color: var(--wrong-red);
  }

  .quit-confirm-btn:hover {
    background: var(--wrong-red);
    color: white;
  }