* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "Poppins", sans-serif;
      }

      :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;
      }

      /* Header styles */
      .header {
        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;
      }

      .logo {
        font-size: 28px;
        font-family: "Montserrat", sans-serif;
        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;
      }

      #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;
        }
        .header .navigation ul li {
          width: 100%;
        }
        #toggle:checked ~ .navigation {
          display: block;
        }
        .header .navigation:hover {
          position: absolute;
          top: 100%;
          left: 0;
          right: 0;
          background: var(--secondary-color);
          display: none;
        }
      }

      /* Body styles */
      body {
        font-family: "Poppins", sans-serif;
        background-color: var(--background);
        margin: 0;
        padding: 0;
        padding-top: 80px;
        min-height: 100vh;
        color: var(--text-color);
      }

      /* Main container */
      .game-container {
        max-width: 900px;
        margin: 30px auto;
        padding: 30px;
        background-color: rgba(255, 255, 255, 0.95);
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        position: relative;
      }

      .game-container h1 {
        text-align: center;
        color: var(--primary-color);
        margin-bottom: 30px;
        font-family: "Montserrat", sans-serif;
      }

      /* Sections */
      .section {
        margin-bottom: 40px;
        padding: 20px;
        background-color: rgba(255, 255, 255, 0.8);
        border-radius: 8px;
        border: 1px solid var(--light-pastel);
      }

      .section-title {
        color: var(--dark-pastel);
        margin-bottom: 20px;
        font-size: 22px;
      }

      .instructions {
        margin-bottom: 20px;
        padding: 15px;
        background-color: var(--light-pastel);
        border-radius: 6px;
        color: var(--text-color);
      }

      /* Fill in the blanks */
      .sentence {
        margin-bottom: 15px;
        padding: 15px;
        background-color: rgba(255, 255, 255, 0.9);
        border-radius: 8px;
      }

      .blank {
        display: inline-block;
        width: 100px;
        border-bottom: 2px solid var(--accent-color);
        text-align: center;
        margin: 0 5px;
      }

      input.answer {
        border: none;
        border-bottom: 2px solid var(--accent-color);
        background: transparent;
        font-size: 16px;
        padding: 5px;
        width: 100px;
        outline: none;
        text-align: center;
      }

      /* Multiple choice options */
      .options {
        display: flex;
        gap: 15px;
        margin-top: 10px;
      }

      .option {
        padding: 5px 10px;
        border: 1px solid var(--accent-color);
        border-radius: 4px;
        cursor: pointer;
      }

      .option.selected {
        background-color: var(--accent-color);
        font-weight: bold;
      }

      .option.correct {
        background-color: var(--correct-color);
        border-color: var(--correct-color);
      }

      .option.incorrect {
        background-color: var(--incorrect-color);
        border-color: var(--incorrect-color);
      }

      /* Buttons */
      .button-group {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 30px;
      }

      .btn {
        padding: 12px 24px;
        border: none;
        border-radius: 6px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
      }

      .btn-check {
        background-color: var(--primary-color);
        color: white;
      }

      .btn-check:hover {
        background-color: var(--secondary-color);
        transform: translateY(-2px);
      }

      .btn-reset {
        background-color: var(--dark-pastel);
        color: white;
      }

      .btn-reset:hover {
        background-color: #c04c6a;
        transform: translateY(-2px);
      }

      /* Results */
      .results {
        text-align: center;
        margin-top: 30px;
        padding: 20px;
        background-color: rgba(168, 230, 207, 0.3);
        border-radius: 8px;
        display: none;
      }

      .results.show {
        display: block;
        animation: fadeIn 0.5s ease-out;
      }

      .results h3 {
        color: var(--dark-pastel);
        margin-bottom: 10px;
      }

      /* Checkbox styles */
      .checkbox-container {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
      }

      .checkbox-container input[type="checkbox"] {
        margin-right: 10px;
        width: 18px;
        height: 18px;
        cursor: pointer;
      }

      .checkbox-container label {
        cursor: pointer;
      }

      .checkbox-container input[type="checkbox"]:disabled {
        cursor: not-allowed;
      }

      /* Correct/incorrect indicators */
      .correct-answer {
        color: #2e7d32;
        font-weight: bold;
      }

      .incorrect-answer {
        color: #c62828;
        font-weight: bold;
      }

      /* Perfect Score Overlay */
      .celebration-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(255, 255, 255, 0.9);
        z-index: 2000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        animation: fadeIn 0.5s ease-out;
      }

      .celebration-content {
        background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
        padding: 40px;
        border-radius: 20px;
        text-align: center;
        max-width: 600px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        position: relative;
        overflow: hidden;
      }

      .close-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 24px;
        font-weight: bold;
        color: var(--dark-pastel);
        cursor: pointer;
        background: none;
        border: none;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.3s ease;
      }

      .close-btn:hover {
        background-color: rgba(0, 0, 0, 0.1);
        transform: rotate(90deg);
      }

      .celebration-content::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(
          circle,
          rgba(255, 255, 255, 0.8) 0%,
          rgba(255, 255, 255, 0) 70%
        );
        animation: shine 3s infinite;
      }

      .celebration-content h2 {
        font-size: 36px;
        color: #d45d79;
        margin-bottom: 20px;
        font-family: "Montserrat", sans-serif;
        position: relative;
        z-index: 1;
      }

      .celebration-content p {
        font-size: 20px;
        color: #333;
        margin-bottom: 15px;
        position: relative;
        z-index: 1;
      }

      .stars {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        pointer-events: none;
      }

      .star {
        position: absolute;
        background-color: gold;
        clip-path: polygon(
          50% 0%,
          61% 35%,
          98% 35%,
          68% 57%,
          79% 91%,
          50% 70%,
          21% 91%,
          32% 57%,
          2% 35%,
          39% 35%
        );
        animation: float 4s infinite ease-in-out;
        opacity: 0;
      }

      @keyframes fadeIn {
        from {
          opacity: 0;
        }
        to {
          opacity: 1;
        }
      }

      @keyframes pulse {
        0% {
          transform: scale(1);
        }
        50% {
          transform: scale(1.05);
        }
        100% {
          transform: scale(1);
        }
      }

      @keyframes shine {
        0% {
          transform: rotate(0deg);
        }
        100% {
          transform: rotate(360deg);
        }
      }

      @keyframes float {
        0% {
          transform: translateY(0) rotate(0deg);
          opacity: 0;
        }
        10% {
          opacity: 1;
        }
        90% {
          opacity: 1;
        }
        100% {
          transform: translateY(-100px) rotate(360deg);
          opacity: 0;
        }
      }

      /* Responsive */
      @media (max-width: 768px) {
        .game-container {
          padding: 20px;
        }
        .celebration-content {
          padding: 20px;
          margin: 20px;
        }
        .celebration-content h2 {
          font-size: 28px;
        }
        .celebration-content p {
          font-size: 18px;
        }
      }