﻿/* ==== ESTILOS GENERALES ==== */
html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    background: #000;
    font-family: 'Manrope', sans-serif;
}

/* ==== CAPAS PARALLAX ==== */
.parallax-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    will-change: transform;
    pointer-events: none;
}

.layer-bg {
    background-color: black;
    z-index: 1;
    animation: zoomInOut 10s ease-in-out infinite alternate;
    opacity: 0;
    transition: opacity 2.5s ease-in-out, filter 2.5s ease-in-out;
    filter: blur(6px);
}

    .layer-bg.loaded {
        opacity: 1;
        filter: blur(0);
    }

@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}

/* ==== CONTENIDO ==== */
.content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    animation: fadeIn 2s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ==== BOTÓN ==== */
.btn-iniciar {
    margin-top: 30px;
    padding: 14px 32px;
    font-size: 1.2em;
    border: 2px solid #b4ffa4;
    background: transparent;
    color: #b4ffa4;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: 0 0 10px #b4ffa455;
    animation: pulseGlow 2.5s infinite;
}

    .btn-iniciar:hover {
        background: #b4ffa4;
        color: #000;
        box-shadow: 0 0 25px #b4ffa4aa;
    }

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 10px #b4ffa4;
    }

    50% {
        box-shadow: 0 0 25px #b4ffa4;
    }
}

/* ==== LOGO ==== */
.logo-central {
    max-width: 160px;
    width: 35vw;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px #b4ffa4aa);
}

/* ==== INPUT ==== */
.email-input {
    max-width: 320px;
    margin: auto;
    text-align: center;
    background: rgba(0,0,0,0.4);
    border: 2px solid #b4ffa4;
    color: white;
    border-radius: 25px;
    padding: 12px 20px;
}

    .email-input:focus {
        outline: none;
        border-color: #fff;
        box-shadow: 0 0 10px #b4ffa4;
    }

    .email-input::placeholder {
        color: rgba(255,255,255,0.8);
    }

/* ==== CONTADOR ==== */
.countdown {
    font-size: 1.8rem;
    font-weight: bold;
    color: #b4ffa4;
    text-shadow: 0 0 15px rgba(180,255,164,0.7);
    margin-bottom: 20px;
}

.micelio-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #b4ffa4;
    text-shadow: 0 0 10px rgba(180,255,164,0.8);
    margin-bottom: 10px;
    animation: breathing 3.5s ease-in-out infinite;
}

@keyframes breathing {
    0% {
        transform: scale(1);
        opacity: 0.85;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.85;
    }
}

/* ==== INVITACIÓN ==== */
.premium-invite {
    background: rgba(0,0,0,0.45);
    padding: 18px 22px;
    border-radius: 15px;
    max-width: 500px;
    text-align: center;
    border: 1px solid rgba(180,255,164,0.5);
    box-shadow: 0 0 20px rgba(180,255,164,0.2);
}

    .premium-invite h4 {
        font-size: 1.1rem;
        font-weight: bold;
        background: linear-gradient(90deg, #b4ffa4, #eaffea, #b4ffa4);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

/* ==== CANVAS ==== */
#spores {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 5;
}
.login-container .form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(180, 255, 164, 0.2);
    color: #ffffff;
    font-size: 1rem;
    border-radius: 12px;
    padding: 12px 16px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(180, 255, 164, 0.1);
}

    /* Efecto al enfocar */
    .login-container .form-control:focus {
        background-color: rgba(255, 255, 255, 0.1);
        border-color: #b4ffa4;
        box-shadow: 0 0 15px #b4ffa4aa;
        outline: none;
        color: #ffffff;
    }

    /* Placeholder más tenue */
    .login-container .form-control::placeholder {
        color: #bbbbbb;
        font-style: italic;
    }

