/* Modal Obtener Beat */
.modal-obtener {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease-out;
}

.modal-obtener.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-content {
  background: linear-gradient(135deg, rgba(10, 40, 70, 0.95), rgba(20, 60, 90, 0.95));
  border: 1px solid rgba(77, 163, 255, 0.3);
  border-radius: 16px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(77, 163, 255, 0.2);
  animation: slideIn 0.4s ease-out;
  position: relative;
  overflow: hidden;
}

.modal-content::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 163, 255, 0.5), transparent);
}

.modal-content h2 {
  color: #4da3ff;
  font-size: 24px;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(77, 163, 255, 0.3);
}

.modal-content p {
  color: #a0a8c0;
  font-size: 14px;
  margin-bottom: 30px;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: #4da3ff;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(77, 163, 255, 0.3);
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input::placeholder {
  color: rgba(160, 168, 192, 0.5);
}

.form-group input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(77, 163, 255, 0.6);
  box-shadow: 0 0 15px rgba(77, 163, 255, 0.2);
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.modal-actions button {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.btn-descargar {
  background: linear-gradient(135deg, #0a66ff, #2f8cff);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(10, 102, 255, 0.3);
}

.btn-descargar:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 102, 255, 0.5);
  background: linear-gradient(135deg, #1a76ff, #3f9cff);
}

.btn-descargar:active {
  transform: translateY(0);
}

.btn-cancelar {
  background: rgba(255, 255, 255, 0.1);
  color: #a0a8c0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cancelar:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.modal-error {
  color: #ff4560;
  font-size: 12px;
  margin-top: 10px;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #a0a8c0;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: #4da3ff;
  transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 600px) {
  .modal-content {
    padding: 30px 20px;
    max-width: 90%;
  }

  .modal-content h2 {
    font-size: 20px;
  }

  .modal-actions {
    flex-direction: column;
  }
}
