/* --- RESETEO BÁSICO --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- ESTILOS GLOBALES --- */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #1b1b1b, #343a40);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ecf0f1;
}

.main-container {
  width: 90%;
  max-width: 1200px;
  padding: 20px;
}

/* --- CARD --- */
.card {
  background: #2a2a2a;
  border-radius: 15px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  animation: fadeInUp 1s ease-out;
}

/* --- COLUMNAS --- */
.left-column,
.right-column {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- LEFT COLUMN (IMAGEN/GIF) --- */
.left-column {
  align-items: center;
  background: linear-gradient(135deg, #2a2a2a, #1f1f1f);
}

/* Se ajusta la imagen para mantener la relación de aspecto con un contenedor máximo */
.left-column img {
  width: 100%;
  max-width: 350px;
  max-height: 500px;  /* Ajusta este valor según el espacio deseado */
  height: auto;
  border-radius: 10px;
  transition: transform 0.5s ease;
  object-fit: contain; /* Asegura que se muestre completa sin recortar */
}

.left-column img:hover {
  transform: scale(1.05);
}

.username {
  margin-top: 20px;
  font-size: 1.3rem;
  font-weight: 600;
}

/* --- RIGHT COLUMN (CONTENIDO) --- */
.right-column {
  align-items: flex-start;
}

.title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.nowrap {
  white-space: nowrap;
}

.description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #bdc3c7;
}

.static-countdown {
  font-size: 2rem;
  font-weight: 700;
  color: #ff4c4c;
}

/* --- BOTÓN --- */
.whatsapp-btn {
  background: #ff4c4c;
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 10px;
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(255, 76, 76, 0.7);
  animation: glow 1.5s infinite;
}

/* --- ANIMACIONES --- */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
      opacity: 0;
      transform: translateX(-50px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
      opacity: 0;
      transform: translateX(50px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

/* Aplicar animaciones a las columnas */
.left-column {
  animation: slideInLeft 1s ease-out;
}

.right-column {
  animation: slideInRight 1s ease-out;
}

/* Gadget: efecto de resplandor en el botón */
@keyframes glow {
  0% { box-shadow: 0 0 5px #ff4c4c; }
  50% { box-shadow: 0 0 20px #ff4c4c; }
  100% { box-shadow: 0 0 5px #ff4c4c; }
}

/* --- MEDIA QUERIES: RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
  .card {
      flex-direction: column;
      align-items: center;
  }
  
  .left-column,
  .right-column {
      padding: 20px;
      text-align: center;
      align-items: center;
  }
  
  .right-column {
      align-items: center;
  }
  
  .title {
      font-size: 2rem;
  }
  
  .description {
      font-size: 1.1rem;
  }
  
  .static-countdown {
      font-size: 1.8rem;
  }
  
  .whatsapp-btn {
      width: 100%;
      padding: 15px;
      font-size: 1.1rem;
  }
}
