@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&family=Inter:wght@300;400;500;700&display=swap');

/* --- Reset y Estilos Globales --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #030712;
  font-family: 'Inter', sans-serif;
  color: #f3f4f6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  position: relative;
}

/* --- Capa de Fondo y Efectos Atmosféricos --- */
.background-glows {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.35;
  mix-blend-mode: screen;
  transition: all 1s ease;
}

.glow-1 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  top: -15%;
  right: -10%;
  animation: pulseGlowOne 12s infinite alternate ease-in-out;
}

.glow-2 {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, #0284c7 0%, transparent 70%);
  bottom: -10%;
  left: -5%;
  animation: pulseGlowTwo 15s infinite alternate ease-in-out;
}

@keyframes pulseGlowOne {
  0% { transform: scale(1) translate(0, 0); opacity: 0.3; }
  100% { transform: scale(1.2) translate(-5vw, 5vw); opacity: 0.5; }
}

@keyframes pulseGlowTwo {
  0% { transform: scale(1.1) translate(0, 0); opacity: 0.25; }
  100% { transform: scale(0.9) translate(5vw, -5vw); opacity: 0.45; }
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  pointer-events: none;
}

/* --- Partículas Flotantes --- */
.particles-container {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  opacity: 0;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  20% {
    opacity: 0.6;
  }
  80% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-110vh) translateX(50px);
    opacity: 0;
  }
}

/* --- Contenedor del Portal --- */
.portal-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1100px;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

/* --- Encabezado --- */
.portal-header {
  text-align: center;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-badge {
  width: 70px;
  height: 70px;
  background: #7c3aed;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.4);
  margin-bottom: 24px;
  position: relative;
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: #fff;
  z-index: 2;
}

.logo-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 1.6rem;
  background: rgba(124, 58, 237, 0.2);
  z-index: 1;
  animation: pingPulse 2s infinite ease-out;
}

@keyframes pingPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.25); opacity: 0; }
}

.title-text {
  font-family: 'Outfit', sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.highlight-text {
  background: linear-gradient(135deg, #a78bfa 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle-text {
  font-size: 1.25rem;
  color: #9ca3af;
  font-weight: 300;
  line-height: 1.5;
}

/* --- Grid de Tarjetas de Producto --- */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  width: 100%;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Tarjeta de Producto (Premium Glassmorphism) --- */
.product-card {
  position: relative;
  border-radius: 2.2rem;
  padding: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-glass {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1;
}

.card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.card-eventos:hover {
  border-color: rgba(167, 139, 250, 0.3);
  box-shadow: 0 0 50px rgba(124, 58, 237, 0.15);
}

.card-rest:hover {
  border-color: rgba(52, 211, 153, 0.3);
  box-shadow: 0 0 50px rgba(16, 185, 129, 0.15);
}

/* Badges */
.product-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-eventos {
  background: rgba(167, 139, 250, 0.1);
  color: #a78bfa;
  border: 1px solid rgba(167, 139, 250, 0.2);
}

.badge-rest {
  background: rgba(52, 211, 153, 0.1);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.sparkle-icon {
  width: 14px;
  height: 14px;
}

/* Iconos de Producto */
.product-icon-container {
  width: 60px;
  height: 60px;
  border-radius: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.bg-eventos {
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  color: #fff;
}

.bg-rest {
  background: linear-gradient(135deg, #059669 0%, #34d399 100%);
  color: #fff;
}

.product-icon {
  width: 28px;
  height: 28px;
}

/* Textos de Producto */
.product-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

.product-description {
  font-size: 0.95rem;
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 32px;
  font-weight: 300;
  min-height: 72px;
}

/* Listas de Características */
.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  flex-grow: 1;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: #d1d5db;
}

.check-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.text-eventos {
  color: #a78bfa;
}

.text-rest {
  color: #34d399;
}

/* Botones CTA */
.cta-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 1.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-eventos {
  background: #ffffff;
  color: #7c3aed;
}

.btn-eventos:hover {
  background: #7c3aed;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

.btn-rest {
  background: #ffffff;
  color: #059669;
}

.btn-rest:hover {
  background: #059669;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(5, 150, 105, 0.3);
}

.arrow-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.cta-button:hover .arrow-icon {
  transform: translateX(4px);
}

/* --- Pie de Página --- */
.portal-footer {
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  padding-top: 32px;
  margin-top: 40px;
}

.portal-footer strong {
  color: #9ca3af;
}
