* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    
    body {
      font-family: 'Fredoka', 'Andika', system-ui, -apple-system, sans-serif;;
      background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
      color: #333;
      text-align: center;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 15px;
    }

    #game-container {
      background: rgba(255, 255, 255, 0.95);
      padding: 25px 20px;
      border-radius: 24px;
      width: 100%;
      max-width: 450px;
      box-shadow: 0 10px 30px rgba(255, 204, 0, 0.4);
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .img-wrapper {
      width: 100%;
      height: 220px;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 15px;
    }

    img#image {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      border-radius: 16px;
      border: 4px solid #ffcc00;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    #text {
      font-size: 1.25rem;
      font-weight: bold;
      min-height: 3rem;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 15px;
      color: #2c3e50;
      padding: 0 10px;
    }

    .answer-buttons {
      display: flex;
      gap: 15px;
      width: 100%;
      justify-content: center;
      margin-bottom: 15px;
    }

    .btn-ans {
      flex: 1;
      padding: 14px 10px;
      font-size: 1.2rem;
      font-weight: bold;
      border: none;
      border-radius: 16px;
      cursor: pointer;
      color: #fff;
      transition: transform 0.15s ease, box-shadow 0.15s ease;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .btn-jech { background: linear-gradient(135deg, #4caf50, #2e7d32); }
    .btn-mooj { background: linear-gradient(135deg, #ff5252, #c62828); }
    .btn-ans:active { transform: scale(0.95); }

    .info-panel {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 1.1rem;
      font-weight: bold;
      margin-bottom: 8px;
      color: #444;
      padding: 0 5px;
    }

    #progressBar {
      width: 100%;
      height: 14px;
      background: #e0e0e0;
      border-radius: 10px;
      overflow: hidden;
      margin-bottom: 20px;
      border: 2px solid #ff69b4;
    }

    #progress {
      height: 100%;
      width: 100%;
      background: linear-gradient(90deg, #ffcc00, #ff69b4);
      transition: width 1s linear;
    }

    #botonesExtra {
      display: flex;
      gap: 8px;
      width: 100%;
      justify-content: space-between;
    }

    .btn-ctrl {
      flex: 1;
      background: linear-gradient(135deg, #ff9800, #f57c00);
      border: none;
      padding: 10px 5px;
      font-size: 0.95rem;
      font-weight: bold;
      cursor: pointer;
      border-radius: 12px;
      color: #fff;
      box-shadow: 0 3px 8px rgba(0,0,0,0.12);
    }

    /* Estilos de Modales y Formulario */
    .modal-overlay {
      display: flex;
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.65);
      backdrop-filter: blur(4px);
      justify-content: center;
      align-items: center;
      z-index: 100;
      padding: 20px;
    }

    .modal-content {
      background: #fff;
      padding: 30px 20px;
      border-radius: 24px;
      text-align: center;
      box-shadow: 0 10px 30px rgba(0,0,0,0.3);
      animation: popIn 0.3s ease-out;
      width: 100%;
      max-width: 380px;
    }

    @keyframes popIn {
      0% { transform: scale(0.7); opacity: 0; }
      100% { transform: scale(1); opacity: 1; }
    }

    .modal-content h2 {
      color: #ff69b4;
      margin-bottom: 15px;
      font-size: 1.4rem;
    }

    .form-group {
      margin-bottom: 15px;
      text-align: left;
    }

    .form-group label {
      display: block;
      font-size: 0.95rem;
      font-weight: bold;
      margin-bottom: 5px;
      color: #555;
    }

    .form-input {
      width: 100%;
      padding: 12px;
      border: 2px solid #ffcc00;
      border-radius: 12px;
      font-size: 1rem;
      font-family: inherit;
      outline: none;
    }

    .form-input:focus {
      border-color: #ff69b4;
    }

    .popup-btns {
      display: flex;
      gap: 10px;
      justify-content: center;
    }

    @media (max-width: 480px) {
      body { padding: 10px; }
      #game-container { padding: 18px 15px; }
      .img-wrapper { height: 180px; }
      #text { font-size: 1.1rem; }
      .btn-ans { padding: 12px 8px; font-size: 1.1rem; }
      .btn-ctrl { font-size: 0.85rem; padding: 8px 4px; }
    }