:root {
    --color-red: #e51a24;
    --color-red-glow: rgba(229, 26, 36, 0.5);
    --color-blue: #00a2e8;
    --color-blue-dark: #041d40;
    --color-green: #6bd425;
    --bg-dark: #060b14;
}

body {
    margin: 0;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    background-color: var(--bg-dark);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease-in-out;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.35);
    /* Mejora legibilidad del contenido encima */
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 29, 64, 0.85) 0%, rgba(20, 6, 12, 0.92) 100%);
    z-index: -1;
}

.content {
    position: relative;
    z-index: 1;
    padding: 20px;
    max-width: 800px;
    animation: fade-in 1s ease-in-out;
}

.logo {
    margin-bottom: 30px;
}

.logo img {
    max-width: 360px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 25px var(--color-red-glow)) drop-shadow(0 0 15px rgba(0, 162, 232, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo img:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 6px 30px rgba(229, 26, 36, 0.8)) drop-shadow(0 0 25px rgba(0, 162, 232, 0.5));
}

.content h1 {
    font-size: 3.5em;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 0 0 25px var(--color-red-glow);
}

.content p {
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: 400;
}

.highlight {
    color: var(--color-red);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(229, 26, 36, 0.4);
}

/* Footer styles */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    font-size: 0.9em;
    z-index: 2;
    text-align: center;
    color: #ccc;
}

.footer a {
    color: var(--color-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--color-green);
    text-decoration: underline;
}

/* Animaciones */
.animated-text {
    opacity: 0;
    transform: translateY(20px);
    animation-name: fade-in-up;
    animation-duration: 1.2s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}


.delay-1 {
    animation-delay: 0.6s;
}

.delay-2 {
    animation-delay: 1.2s;
}

.delay-3 {
    animation-delay: 1.8s;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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