
.secondary-btn:hover {
    background-color: #00f2ea;
    color: #000;
    transform: scale(1.05);
  }
  
  .modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: end;
  z-index: 10000;
  animation: fadeIn 0.3s ease forwards;
}

.modal-content {
  background: #1a1a1a;
  width: 100%;

  padding: 30px 25px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
  color: #eee;
  text-align: center;
  animation: slideUp 0.4s ease forwards;
  transform: translateY(100%);
  max-height: 100vh;
  overflow-y: auto;
}

@media screen and (min-width: 769px) {
  .modal-content {
    height: auto;
    max-height: 100vh; /* sube el límite visual del modal */
    min-height: 70vh;
    width: 600px;
    border-radius: 20px;
    overflow-y: auto;
    margin-top: 10%;
  }
}


.modal-content.slide-in {
  animation: slideUp 0.4s ease forwards;
}

.modal-content.slide-out {
  animation: slideDown 0.4s ease forwards;
}

/* Botón cerrar */
.close-modal {
  position: absolute;
  top: 12px;
  right: 20px;
  background: none;
  color: #999;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-content h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #00f2ea;
  font-weight: 700;
}

.modal-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 18px;
  text-align: left;
}

.divider {
  border: none;
  border-top: 1px solid #333;
  margin: 25px 0;
  opacity: 0.5;
}


.close-modal:hover {
  color: #fff;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes slideDown {
  from { transform: translateY(0); }
  to { transform: translateY(100%); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


.subs-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 20px;
}

.subs-card {
  background-color: #1e1e1e;
  border: 1px solid #333;
  border-radius: 15px;
  padding: 20px;
  transition: transform 0.3s ease;
  text-align: center;
}

.subs-card:hover {
  transform: translateY(-4px);
  border-color: #00f2ea;
}

.subs-card h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
}

.subs-card .price {
  font-size: 1.1rem;
  font-weight: bold;
  color: #00f2ea;
  margin-bottom: 10px;
}

.subs-card p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 15px;
}

.subs-card button {
  background-color: transparent;
  color: #00f2ea;
  border: 1px solid #00f2ea;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.subs-card button:hover {
  background-color: #00f2ea;
  color: #000;
}

.subs-subtitle {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 25px;
}

.subs-card.selected {
  border: 2px solid #00ffd5;
  box-shadow: 0 0 10px rgba(0, 255, 213, 0.3);
}



.modal-content input {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  margin: 15px 0;
  border: none;
  border-radius: 8px;
  outline: none;
  background: #222;
  color: #00fff7;
  text-align: center;
}

.secondary-btn {
  background-color: transparent;
  color: #00f2ea;
  border: 1px solid #00f2ea;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 6px rgba(0, 242, 234, 0.1);
}

.secondary-btn:hover {
  background-color: #00f2ea;
  color: #000;
  transform: scale(1.05);
}

.secondary-btn,
.change-btn {
  margin-top: 5%;
  background-color: transparent;
  color: #00fff7;
  border: 1px solid #00fff7;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s ease;
}

.secondary-btn:hover,
.change-btn:hover {
  background-color: #00fff7;
  color: #000;
}