:root {
    --bg-color: #ffffff;
    --text-primary: #000000;
    --text-secondary: #555555;
    --animation-speed: 0.6s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Outfit', sans-serif;
    background: url('Fondlink.jpg') center/cover no-repeat fixed;
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Overlay para relampagueo */
body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 5;
    pointer-events: none;
    animation: flashOverlay 8s infinite;
}

@keyframes flashOverlay {

    0%,
    94%,
    96%,
    100% {
        background-color: transparent;
    }

    95%,
    97% {
        background-color: #000000;
    }
}

.container {
    width: 100%;
    max-width: 450px;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    z-index: 10;
}

.company-logo {
    width: 90%;
    max-width: 350px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


.links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.link-button {
    position: relative;
    display: block;
    width: 80%;
    margin: 0 auto;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Animación de entrada */
    opacity: 0;
    transform: translateY(100px);
    animation:
        riseUp var(--animation-speed) cubic-bezier(0.22, 1, 0.36, 1) forwards,
        float 3s ease-in-out infinite;
    animation-delay: calc(var(--delay) * 0.2s), calc(var(--delay) * 0.5s + 1s);
}

@keyframes riseUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.link-button img {
    width: 100%;
    height: auto;
    display: block;
    /* mix-blend-mode: multiply; /* Para PNGs con fondo blanco si fuera necesario, pero el usuario dijo solo los png */
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.link-button:hover img {
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2)) brightness(1.1);
}

/* Efecto Brillo (Shine) */
.shine {
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    pointer-events: none;
    animation: shineSweep 5s infinite ease-in-out;
    animation-delay: calc(var(--delay) * 1.5s);
}

@keyframes shineSweep {
    0% {
        left: -150%;
    }

    15% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

.link-button:active {
    transform: scale(0.9) rotate(2deg);
}

.socials {
    margin-top: auto;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }

    .hero .title {
        font-size: 2.2rem;
    }
}