﻿/* ---------- Inicio: mismo look & feel que el resto de la app (sin scroll) ---------- */

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* evita scroll vertical */

    background-color: rgba(56,176,0,0.2);
    background-image: linear-gradient(#003300 1px, transparent 1px), linear-gradient(70deg, #003300 1px, transparent 10px), linear-gradient(135deg, rgba(56,176,0,0.2), rgba(0,0,0,0.6));
    background-size: 100px 200px, 30px 80px, cover;
    background-blend-mode: overlay;
    background-attachment: fixed;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

/* Contenido principal */
.inicio {
    position: relative;
    isolation: isolate;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 24px;
}

    /* Background animado detrás del contenido (suave) */
    .inicio::before {
        content: "";
        position: fixed;
        inset: 0;
        /* CLAVE: no bloquear clicks */
        pointer-events: none;
        /* detrás del contenido */
        z-index: 0;
        background-image: radial-gradient(circle at 15% 20%, rgba(112,224,0,0.22), transparent 45%), radial-gradient(circle at 85% 70%, rgba(112,224,0,0.16), transparent 50%), linear-gradient(135deg, rgba(0,0,0,0.55), rgba(0,39,0,0.35));
        background-size: 160% 160%, 170% 170%, cover;
        background-position: 0% 0%, 100% 100%, 0% 0%;
        filter: saturate(1.05);
        animation: inicioBg 16s ease-in-out infinite;
    }

    /* Asegura que el contenido de .inicio esté por encima del background */
    .inicio > * {
        position: relative;
        z-index: 1;
    }

@keyframes inicioBg {
    0% {
        background-position: 0% 0%, 100% 100%, 0% 0%;
    }

    50% {
        background-position: 100% 40%, 0% 30%, 0% 0%;
    }

    100% {
        background-position: 0% 0%, 100% 100%, 0% 0%;
    }
}

.logoInicio {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .logoInicio img {
        width: min(700px, 70vw);
        height: auto;
        max-height: 55vh;
        object-fit: contain;
        filter: drop-shadow(0 18px 40px rgba(0,0,0,.55));
    }

/* Botón Inicio */
.botonInicio {
    display: flex;
    width: 700px;
    justify-content: center;
    align-items: center;
}

.btnInicio {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 70px;
    background-color: #70E000;
    color: #000;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: .5px;
    box-shadow: 0 10px 26px rgba(0,0,0,.35);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

    .btnInicio:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 30px rgba(0,0,0,.42);
        filter: brightness(1.02);
    }

    .btnInicio:active {
        transform: translateY(0);
    }

/* Footer */
.footer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black !important;
    gap: 30px;
    padding: 10px 20px;
    /* CLAVE: por encima del background fijo */
    position: relative;
    z-index: 5;
}

    .footer p {
        margin: 0;
        font-size: 22px;
        font-weight: bold;
        color: white;
    }

        .footer p a {
            text-decoration: none;
            color: #70E000;
        }

            .footer p a:visited {
                color: #70E000;
            }

.redes_sociales {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .redes_sociales img {
        height: 44px;
        width: 44px;
        display: block;
    }

    .redes_sociales p {
        margin: 6px 0 0 0;
        font-size: 14px;
        font-weight: bold;
        color: #cde8c0;
    }

/* ===== Título Inicio estilo F1 (blanco/negro, agresivo) ===== */
.tituloInicio {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 16px 18px;
    margin: 6px 0 14px;
}

    .tituloInicio span {
        position: relative;
        display: inline-block;
        font-family: Arial, Helvetica, sans-serif;
        font-weight: 1000;
        text-transform: uppercase;
        letter-spacing: 8px;
        line-height: 1;
        font-size: clamp(28px, 4.4vw, 70px);
        color: #fff;
        padding: 18px 26px 16px 26px;
        background: linear-gradient(180deg, rgba(0,0,0,.85), rgba(0,0,0,.45));
        border: 1px solid rgba(255,255,255,.14);
        box-shadow: 0 2px 0 rgba(255,255,255,.06) inset, 0 14px 38px rgba(0,0,0,.55);
        clip-path: polygon( 14px 0%, 100% 0%, 100% calc(100% - 14px), calc(100% - 22px) 100%, 0% 100%, 0% 14px );
        text-shadow: 0 2px 0 rgba(0,0,0,.75), 0 14px 30px rgba(0,0,0,.65);
    }

        .tituloInicio span::after {
            content: "";
            position: absolute;
            left: 18px;
            right: 18px;
            bottom: -10px;
            height: 3px;
            border-radius: 999px;
            background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.95) 20%, rgba(255,255,255,.35) 60%, transparent 100%);
            opacity: .95;
        }

        .tituloInicio span::before {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
            background: repeating-linear-gradient( 135deg, rgba(255,255,255,.12) 0px, rgba(255,255,255,.12) 6px, rgba(255,255,255,0) 6px, rgba(255,255,255,0) 16px );
            mix-blend-mode: overlay;
            opacity: .35;
            clip-path: inherit;
        }

@media (max-width: 520px) {
    .tituloInicio span {
        letter-spacing: 4px;
        padding: 16px 18px 14px 18px;
    }
}
