* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "Poppins", sans-serif;
      }

      :root {
        --primary-color: #2041ff;
        --secondary-color: #6ea3ff;
        --accent-color: #ffffff;
        --light-color: #aff3ff;
        --text-color: #000000;
        --white: #ffffff;
        --error-color: #fe615c;
        --success-color: #4caf50;
      }

      /* Header styles */
      .header-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: linear-gradient(
          135deg,
          var(--primary-color),
          var(--secondary-color)
        );
        padding: 0 10%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        z-index: 1000;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-bottom: 2px solid #fff;
        transition: all 0.3s ease;
      }

      .header-menu:hover {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
      }

      .logo {
        font-size: 28px;
        font-family: "Poppins", sans-serif;
        font-weight: 700;
        color: var(--white);
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
        letter-spacing: 1px;
      }

      .navigation ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
      }

      .header-menu .navigation ul li {
        position: relative;
      }

      .header-menu .navigation ul li a {
        font-family: "Poppins", sans-serif;
        font-size: 16px;
        font-weight: 500;
        color: var(--white);
        text-decoration: none;
        padding: 22px 20px;
        display: block;
        transition: all 0.3s ease;
      }

      .header-menu .navigation ul li a:hover {
        background-color: rgba(255, 255, 255, 0.733);
        transform: translateY(-2px);
        color: var(--primary-color);
      }

      .header-menu .navigation ul li ul {
        position: absolute;
        right: 0;
        width: 220px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 0 0 8px 8px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        display: none;
        overflow: hidden;
      }

      .header-menu .navigation ul li ul li a {
        color: var(--text-color);
        padding: 12px 20px;
        font-size: 14px;
      }

      .header-menu .navigation ul li ul li a:hover {
        background-color: var(--light-color);
        color: var(--primary-color);
      }

      .header-menu .navigation ul li:hover > ul {
        display: initial;
        animation: fadeIn 0.3s ease-out;
      }

      #toggle,
      .header-menu label {
        display: none;
        cursor: pointer;
      }

      .menu {
        width: 28px;
        height: 28px;
        filter: brightness(0) invert(1);
      }

      @media (max-width: 950px) {
        .header-menu label {
          display: initial;
        }

        .header-menu {
          padding: 15px 10%;
        }

        .header-menu .navigation {
          position: absolute;
          top: 100%;
          left: 0;
          right: 0;
          background: var(--primary-color);
          display: none;
          border-radius: 0 0 12px 12px;
        }

        .header-menu .navigation ul {
          flex-direction: column;
        }

        .header-menu .navigation ul li {
          width: 100%;
        }

        .header-menu .navigation ul li a {
          padding: 12px 20px;
        }

        .header-menu .navigation ul li ul {
          position: relative;
          width: 100%;
          left: 0;
          background: rgba(255, 255, 255, 0.9);
        }

        .header-menu .navigation ul li ul li a {
          padding-left: 30px;
        }

        #toggle:checked ~ .navigation {
          display: block;
          animation: slideDown 0.4s ease-out;
        }
      }

      /* Body styles */
      body {
        font-family: "Poppins", sans-serif;
        background: linear-gradient(
          135deg,
          hsl(215, 100%, 86%),
          #3b97ff,
          #5c9bee
        );
        margin: 0;
        padding: 0;
        padding-top: 80px;
        min-height: 100vh;
        color: var(--text-color);
        background-size: 400% 400%;
        animation: gradientBG 15s ease infinite;
      }

      /* Main content */
      .container {
        max-width: 1000px;
        margin: 0 auto;
        padding: 20px;
      }

      h1 {
        color: var(--white);
        text-align: center;
        margin: 20px 0 30px;
        font-family: "Montserrat", sans-serif;
        font-size: 2.5rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        position: relative;
      }

      h1::after {
        content: "";
        display: block;
        width: 100px;
        height: 4px;
        background: var(--white);
        margin: 10px auto;
        border-radius: 2px;
      }

      .instructions {
        text-align: center;
        margin-bottom: 30px;
        font-size: 1.1rem;
        color: var(--white);
        background-color: rgba(255, 255, 255, 0.2);
        padding: 15px;
        border-radius: 10px;
        backdrop-filter: blur(5px);
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
      }

      /* Quiz container */
      .quiz-container {
        background-color: rgba(255, 255, 255, 0.95);
        padding: 30px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        margin-bottom: 40px;
      }

      /* Question styles */
      .question {
        margin-bottom: 20px;
        padding: 15px;
        border-radius: 10px;
        background-color: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
      }

      .question:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      }

      .question::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 100%;
        background: linear-gradient(
          to bottom,
          var(--primary-color),
          var(--secondary-color)
        );
      }

      .question p {
        font-weight: 600;
        margin-bottom: 10px;
        color: #2c3e50;
      }

      /* Options styles */
      .options {
        margin-left: 10px;
      }

      .options label {
        display: block;
        margin-bottom: 8px;
        padding: 10px 15px;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
        border: 1px solid #e0e0e0;
        background-color: #f9f9f9;
      }

      .options label:hover {
        background-color: #f0f0f0;
      }

      .options input[type="radio"] {
        margin-right: 10px;
      }

      /* Button styles */
      .controls {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 30px;
      }

      button {
        padding: 12px 25px;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        border: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      }

      #check {
        background-color: var(--primary-color);
        color: white;
      }

      #check:hover {
        background-color: #0d3ef7;
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
      }

      #new-quiz {
        background-color: #6c757d;
        color: white;
      }

      #new-quiz:hover {
        background-color: #5a6268;
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
      }

      /* Result styles */
      .result {
        margin-top: 30px;
        font-weight: bold;
        text-align: center;
        padding: 20px;
        border-radius: 10px;
        font-size: 1.1rem;
      }

      .result p {
        margin-bottom: 10px;
      }

      .correct {
        color: var(--success-color);
      }

      .incorrect {
        color: var(--error-color);
      }

      /* Feedback styles */
      .feedback {
        margin-top: 10px;
        font-style: italic;
        color: #555;
        font-size: 0.9rem;
      }

      /* Question states */
      .correct-question {
        background-color: rgba(76, 175, 80, 0.1);
        border-left: 5px solid var(--success-color);
      }

      .incorrect-question {
        background-color: rgba(255, 0, 0, 0.05);
        border-left: 5px solid var(--error-color);
      }

      .correct-option {
        background-color: rgba(76, 175, 80, 0.2) !important;
        font-weight: bold;
        color: #2e7d32;
      }

      .wrong-option {
        background-color: rgba(255, 0, 0, 0.1) !important;
        text-decoration: line-through;
        color: #c62828;
      }

      /* Congratulations modal */
      .congrats-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 2000;
        align-items: center;
        justify-content: center;
        animation: fadeIn 0.3s ease-out;
      }

      .congrats-content {
        background: linear-gradient(135deg, #ffffff, #f8f9fa);
        padding: 40px;
        border-radius: 20px;
        text-align: center;
        max-width: 500px;
        width: 90%;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        position: relative;
        animation: slideUp 0.5s ease-out;
      }

      .congrats-content h2 {
        color: var(--primary-color);
        font-size: 2.2rem;
        margin-bottom: 20px;
        font-family: "Montserrat", sans-serif;
      }

      .congrats-content p {
        font-size: 1.1rem;
        margin-bottom: 30px;
        color: #495057;
      }

      .congrats-icon {
        font-size: 4rem;
        color: var(--success-color);
        margin-bottom: 20px;
        animation: bounce 1s infinite alternate;
      }

      .close-modal {
        background-color: var(--primary-color);
        color: white;
        border: none;
        padding: 12px 25px;
        border-radius: 8px;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 600;
      }

      .close-modal:hover {
        background-color: #0d3ef7;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      }

      /* Animations */
      @keyframes gradientBG {
        0% {
          background-position: 0% 50%;
        }
        50% {
          background-position: 100% 50%;
        }
        100% {
          background-position: 0% 50%;
        }
      }

      @keyframes fadeIn {
        from {
          opacity: 0;
        }
        to {
          opacity: 1;
        }
      }

      @keyframes slideDown {
        from {
          opacity: 0;
          transform: translateY(-20px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      @keyframes slideUp {
        from {
          opacity: 0;
          transform: translateY(20px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      @keyframes bounce {
        from {
          transform: translateY(0);
        }
        to {
          transform: translateY(-10px);
        }
      }

      /* Responsive adjustments */
      @media (max-width: 768px) {
        h1 {
          font-size: 2rem;
        }

        .quiz-container {
          padding: 20px;
        }

        .controls {
          flex-direction: column;
          gap: 15px;
        }

        button {
          width: 100%;
        }
      }