  /* === Main Container === */
  .card-wrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      width: 100%;
      padding: 0 20px;
      background-color: white;
      /* min-height: 100dvh; */
      /* Use dynamic viewport height */
  }

  /* === Card Component === */
  .card {
      width: 100%;
      max-width: 600px;
      min-height: 70dvh;
      /* Use dynamic height instead of vh */
      margin-top: 40px;
      background: linear-gradient(180deg, #ffcf98, #fab1a0, #f1c8a2, #fce084);
      background-size: 400% 400%;
      border: 1px solid rgba(231, 76, 60, 0.2);
      box-shadow: 10px 12px 25px rgba(0, 0, 0, 0.18);
      padding: 30px;
      border-radius: 12px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
  }

  /* === Card With Input Scroll Behavior === */
  .card--input {
      max-height: 90dvh;
      overflow-y: auto;
  }

  /* === Button Style === */
  .button {
      background: var(--primary);
      color: white;
      border: none;
      padding: 14px 22px;
      border-radius: 8px;
      font-size: 1rem;
      cursor: pointer;
      margin-top: 20px;
  }

  /* === Gradient Button with Hover Animation === */
  .button.gradient {
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      color: white;
      border: none;
      padding: 14px 22px;
      border-radius: 8px;
      font-size: 1rem;
      cursor: pointer;
      margin-top: 20px;
      transition: transform 0.2s ease;
      animation: jump 1.4s infinite;
  }

  .button.gradient:focus {
      -webkit-tap-highlight-color: transparent;
  }

  .button.gradient:hover {
      transform: scale(1.05);
  }

  /* === Progress Bar === */
  .progress-bar {
      height: 8px;
      background-color: #f8f8f8;
      border-radius: 8px;
      margin: 20px 0;
      overflow: hidden;
  }

  .progress-fill {
      height: 100%;
      width: 0%;
      background-color: var(--primary);
      transition: width 0.3s ease;
  }

  /* === Questions and Options === */
  .question {
      margin: 20px 0;
  }

  .options {
      /* flex: 1;
      overflow-y: auto; */
      margin-top: 10px;
      display: flex;
      flex-direction: column;
      gap: 10px;
  }

  .option {
      display: flex;
      justify-content: start;
      align-items: center;
      height: 90px;
      background: #f9f9f9;
      border: 1px solid #ccc;
      padding: 10px;
      border-radius: 6px;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
      outline: none;
      user-select: none;
      position: relative;
  }

  .option.selected {
      background-color: #e74c3c;
      color: white;
      border-color: var(--primary);
  }

  /* === Order Badge on Options === */
  .order-badge {
      position: absolute;
      top: 6px;
      right: 6px;
      background-color: #d8ac1c;
      color: black;
      font-size: 12px;
      font-weight: bold;
      width: 22px;
      height: 22px;
      line-height: 22px;
      border-radius: 50%;
      text-align: center;
      pointer-events: none;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
      z-index: 2;
  }

  /* === Navigation Buttons === */
  .nav-buttons {
      display: flex;
      justify-content: space-between;
      margin-top: 30px;
  }

  /* === Utility Class === */
  .hidden {
      display: none !important;
  }


  /* === Mobile Tweaks === */
  @media (max-width: 600px) {
      .card {
          min-height: 50dvh;
      }

      .card--input {
          max-height: 90dvh;
          overflow-y: auto;
      }

      .card--tall {
          min-height: 100dvh;
          margin-bottom: 60px;
      }
  }

  /* === Input Styling === */
  #input-answer {
      width: 100%;
      padding: 14px 18px;
      font-size: 1rem;
      border: 2px solid #e74c3c;
      border-radius: 10px;
      outline: none;
      background-color: #fff;
      transition: all 0.3s ease;
      box-shadow: 0 2px 6px rgba(231, 76, 60, 0.1);
      color: #333;
  }

  #input-answer:focus {
      border-color: #e74c3c;
      box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
  }

  /* === Logo === */
  .quiz-logo-container {
      display: flex;
      justify-content: center;
      align-items: center;
  }

  .quiz-logo {
      display: block;
      max-width: 160px;
      height: auto;
      opacity: 0.85;
      transition: transform 0.3s ease;
  }

  /* === Gradient Animation (Optional) === */
  @keyframes gradientDiagonalFlow {
      0% {
          background-position: 0% 0%;
      }

      50% {
          background-position: 100% 100%;
      }

      100% {
          background-position: 0% 0%;
      }
  }