:root {
        --primary-color: #ff6b6b;
        --secondary-color: #ff8e8e;
        --accent-color: #ffd3b6;
        --light-pastel: #ffaaa5;
        --dark-pastel: #d45d79;
        --white: #ffffff;
        --text-color: #333;
        --correct-color: #a8e6cf;
        --incorrect-color: #ffaaa5;
        --background: #ffe6e6;
      }

      body {
        font-family: "Poppins", sans-serif;
        margin: 0;
        padding: 0;
        background-color: var(--background);
        color: var(--text-color);
        min-height: 100vh;
        display: flex;
        flex-direction: column;
      }

      .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: linear-gradient(
          135deg,
          var(--primary-color),
          var(--dark-pastel)
        );
        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:hover {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
      }

      .logo {
        font-size: 28px;
        font-weight: 700;
        color: var(--white);
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
      }

      .navigation ul {
        list-style: none;
        margin: 0;
        padding: 0;
      }

      .header .navigation ul li {
        float: left;
        position: relative;
      }

      .header .navigation ul li a {
        font-size: 16px;
        font-weight: 500;
        color: var(--white);
        text-decoration: none;
        padding: 22px 20px;
        display: block;
        transition: all 0.3s ease;
      }

      .header .navigation ul li a:hover {
        background-color: rgba(250, 25, 17, 0.87);
        transform: translateY(-2px);
      }

      #toggle,
      .header label {
        display: none;
      }

      .menu {
        width: 28px;
        height: 28px;
        filter: brightness(0) invert(1);
      }

      @media (max-width: 950px) {
        .header label {
          display: initial;
        }
        .header .navigation {
          position: absolute;
          top: 100%;
          left: 0;
          right: 0;
          background: var(--primary-color);
          display: none;
          border-radius: 0 0 12px 12px;
        }

        .header .navigation ul li {
          width: 100%;
        }
        #toggle:checked ~ .navigation {
          display: block;
          animation: slideDown 0.4s ease-out;
        }
      }

      .contenido {
        padding: 130px 20px 40px;
        text-align: center;
        max-width: 800px;
        margin: auto;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }

      .start-container {
        background: white;
        border-radius: 20px;
        padding: 40px 30px;
        box-shadow: 0 10px 30px rgba(255, 107, 107, 0.2);
        margin: 0 auto;
        max-width: 600px;
        transition: all 0.4s ease;
        border: 2px solid var(--light-pastel);
      }

      .start-container:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(255, 107, 107, 0.3);
      }

      .start-container h1 {
        color: var(--dark-pastel);
        font-size: 2.5rem;
        margin-bottom: 10px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
        position: relative;
        display: inline-block;
      }

      .start-container h1:after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 4px;
        background: linear-gradient(
          90deg,
          var(--primary-color),
          var(--secondary-color)
        );
        border-radius: 2px;
      }

      .start-container h2 {
        color: var(--primary-color);
        font-size: 1.8rem;
        margin-top: 20px;
        margin-bottom: 30px;
      }

      .boton {
        padding: 12px 30px;
        font-size: 18px;
        font-weight: 600;
        background: linear-gradient(
          135deg,
          var(--primary-color),
          var(--secondary-color)
        );
        color: white;
        border: none;
        border-radius: 30px;
        cursor: pointer;
        margin-top: 20px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      }

      .boton:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        background: linear-gradient(
          135deg,
          var(--secondary-color),
          var(--primary-color)
        );
      }

      .preguntas,
      .resultado {
        display: none;
        max-width: 700px;
        margin: 30px auto;
      }

      .pregunta {
        background: white;
        border-radius: 15px;
        padding: 25px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
        margin-bottom: 25px;
        text-align: left;
        transition: all 0.3s ease;
      }

      .pregunta:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
      }

      .pregunta p {
        font-weight: 600;
        font-size: 18px;
        margin-bottom: 15px;
        color: var(--dark-pastel);
      }

      .pregunta label {
        display: inline-block;
        padding: 12px 25px;
        margin: 8px 10px 0 0;
        background-color: var(--accent-color);
        border-radius: 30px;
        cursor: pointer;
        transition: all 0.2s ease;
        font-weight: 500;
      }

      .pregunta label:hover {
        background-color: var(--light-pastel);
        color: white;
      }

      .pregunta input[type="radio"] {
        display: none;
      }

      .pregunta input[type="radio"]:checked + label {
        background-color: var(--primary-color);
        color: white;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      }

      .correcta {
        background-color: var(--correct-color) !important;
        color: #2e7d32 !important;
        border: 2px solid #2e7d32;
      }

      .incorrecta {
        background-color: var(--incorrect-color) !important;
        color: #d32f2f !important;
        border: 2px solid #d32f2f;
      }

      #verResultadosBtn {
        display: none;
        margin: 40px auto 20px;
        padding: 15px 40px;
        font-size: 20px;
      }

      .resultado {
        background-color: white;
        padding: 30px;
        border-radius: 15px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        text-align: center;
      }

      .resultado h3 {
        color: var(--dark-pastel);
        font-size: 24px;
        margin-bottom: 20px;
      }

      .resultado p {
        font-size: 18px;
        margin-bottom: 25px;
      }

      .confetti {
        position: fixed;
        width: 10px;
        height: 10px;
        background-color: var(--primary-color);
        opacity: 0;
        animation: confetti 5s ease-in-out infinite;
      }

      @keyframes confetti {
        0% {
          transform: translateY(0) rotate(0deg);
          opacity: 1;
        }
        100% {
          transform: translateY(100vh) rotate(720deg);
          opacity: 0;
        }
      }

      .congrats {
        animation: pulse 1.5s infinite;
        color: var(--dark-pastel);
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 20px;
      }

      @keyframes pulse {
        0% {
          transform: scale(1);
        }
        50% {
          transform: scale(1.1);
        }
        100% {
          transform: scale(1);
        }
      }

      #instrucciones {
        background-color: white;
        padding: 25px;
        border-radius: 15px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
        margin-bottom: 30px;
        text-align: left;
      }

      #instrucciones h3 {
        color: var(--dark-pastel);
        font-size: 22px;
        margin-top: 0;
        margin-bottom: 15px;
      }

      #instrucciones p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 15px;
      }

      @keyframes slideDown {
        from {
          opacity: 0;
          transform: translateY(-20px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }