/* --- Estilo general --- */
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  background: linear-gradient(180deg, #000000 0%, #1a0000 100%);
  color: white;
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative; /* Añadido para posicionar el botón superior derecho */
}

/* --- Contenedor principal --- */
.container {
  text-align: center;
  animation: fadeIn 1.5s ease;
}

/* --- Logo --- */
.logo-section {
  margin-bottom: 20px;
}

.logo {
  width: 140px;
  height: auto;
  animation: pulse 2.5s infinite;
}

/* --- Textos --- */
.text-section h1 {
  font-size: 2.2rem;
  color: #ff1a1a;
  margin-bottom: 10px;
  text-shadow: 0 0 10px #ff0000aa;
}

.text-section h2 {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 30px;
}

/* --- Botón General --- */
.btn {
  background-color: #e60000;
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 14px 30px;
  border-radius: 8px;
  box-shadow: 0 0 20px #ff0000aa;
  transition: 0.3s;
  display: inline-block; /* Asegura que los botones se muestren correctamente */
}

.btn:hover {
  background-color: #ff1a1a;
  box-shadow: 0 0 30px #ff0000cc;
  transform: scale(1.05);
}

/* --- ESTILO NUEVO PARA EL BOTÓN BLANCO --- */
.secondary-btn {
    background-color: #ffffff; /* Fondo blanco */
    color: #000000;             /* Texto negro */
    box-shadow: 0 0 15px #ffffffaa; /* Sombra blanca */
    padding: 10px 20px;         /* Un poco más pequeño */
    font-size: 0.9rem;
}

.secondary-btn:hover {
    background-color: #f0f0f0;
    box-shadow: 0 0 25px #ffffffcc;
    transform: scale(1.05);
}

/* --- POSICIONAMIENTO DEL BOTÓN DE DESCARGA (sección) --- */
#app-download-section {
    position: absolute; /* Posicionamiento absoluto respecto al body */
    top: 20px;          /* Arriba */
    right: 20px;        /* A la derecha */
    text-align: right;
    /* Estilos para el texto de carga o mensaje */
    font-size: 0.8rem;
    color: #aaa;
}

/* Oculta este texto por defecto si usas JS para mostrar/ocultar el botón */
#app-download-section p {
    margin: 0;
}


/* --- Footer --- */
footer {
  margin-top: 40px;
  color: #777;
  font-size: 0.9rem;
}

/* --- Animaciones --- */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

