/* --- Estilos Generales y compartidos --- */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #1F1F1F;
    color: #E0E0E0;
    line-height: 1.6;
}

/* --- ESTILOS PARA LA PÁGINA DE INICIO FIJA Y SIN SCROLL --- */
body.no-scroll {
    height: 100vh;
    overflow: hidden;
}
/* --------------------------------------------------------- */


main {
    flex-grow: 1; 
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Estilos para la Página de Inicio (index.html) --- */
.slogan-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    box-sizing: border-box;
}

.slogan-container h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #A8C7FA, #C6A7FC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slogan-container p {
    font-size: clamp(1.2rem, 4vw, 2rem);
    font-weight: 300;
    margin: 0.5rem 0 0;
    color: #B0B0B0;
}

.info-button {
    margin-top: 2.5rem;
    padding: 12px 24px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #E0E0E0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-25deg);
    animation: shimmer 5s infinite linear;
    animation-delay: 2s; /* El brillo aparece tras 2 segundos */
}

.info-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* --- Estilos para la sección de plataformas --- */
.platforms {
    margin-top: 3.5rem; /* Margen para separar del botón */
    opacity: 0;
    animation: fadeInPlatforms 1s ease-out 1s forwards;
}

.platforms h3 {
    color: #888;
    font-weight: 400;
    font-size: 1rem;
    margin: 0 0 1.5rem 0;
    letter-spacing: 0.5px;
}

.platforms-icons {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.platform-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: #999;
    transition: color 0.3s ease, transform 0.3s ease;
}

.platform-icon:hover {
    color: #E0E0E0;
    transform: translateY(-5px);
}

/* Estilos para los iconos de Simple Icons */
.platform-icon .si {
    font-size: 32px; /* Controla el tamaño del icono */
}

.platform-icon span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- Estilos para el Pie de Página (Footer) --- */
footer {
    width: 100%;
    padding: 15px 0;
    background-color: #111;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    border-top: 1px solid #333;
    flex-shrink: 0;
}

/* --- Keyframes para animaciones --- */
@keyframes shimmer {
    from {
        left: -100%;
    }
    to {
        left: 100%;
    }
}

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