* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: black;
    height: 100vh;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

/* ===== SLIDER 16:9 ===== */
.slider {
    width: 90vw;
    max-width: 1600px;
    aspect-ratio: 16 / 9;
    position: relative;

    margin-top: 12px;
    margin-bottom: 70px; /* espacio reservado para textos */
}

.slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;

    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.slider img.active {
    opacity: 1;
}

/* ===== CAPA PROTECTORA ===== */
.image-shield {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: transparent;
}

/* ===== CONTROLES ===== */
.controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    opacity: 1;
    transition: opacity 0.5s ease;
    z-index: 10;
}

.controls button {
    background: rgba(0,0,0,0.6);
    color: white;
    border: 1px solid white;
    font-size: 20px;
    padding: 10px 14px;
    cursor: pointer;
}

/* ===== ENLACE INFERIOR ===== */
.footer {
    position: fixed;
    bottom: 36px;
    width: 100%;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 1.2px;
    z-index: 5;

    opacity: 0;
    transform: translateY(2px);
    animation: footerFade 3.5s ease forwards;
    animation-delay: 2s;
}

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

.footer a,
.footer a:visited,
.footer a:hover,
.footer a:active {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 18px;
}

.footer a:hover {
    color: rgba(255,255,255,0.85);
}

/* ===== ICONO ENLACE ===== */
.link-icon {
    margin-left: 6px;
    font-size: 17px;
    opacity: 0.7;
}

/* ===== AVISO COPYRIGHT ===== */
.copyright {
    position: fixed;
    bottom: 14px;
    width: 100%;
    text-align: center;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    color: rgba(255,255,255,0.35);
    pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-height: 700px) {
    .slider {
        margin-bottom: 90px;
    }

    .footer {
        bottom: 48px;
    }

    .copyright {
        bottom: 22px;
        font-size: 11px;
    }
}

@media (max-width: 600px) {
    .slider {
        width: 96vw;
    }

    .footer a {
        font-size: 16px;
        letter-spacing: 1px;
    }
}