/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilo general */
body {
    font-family: Arial, Helvetica, sans-serif;
    background: radial-gradient(circle at top, #141414, #050505);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contenedor principal */
.container {
    text-align: center;
    max-width: 700px;
    padding: 40px 20px;
}

/* Animación de entrada */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container > * {
    animation: fadeUp 0.8s ease forwards;
}

.container > *:nth-child(1) { animation-delay: 0.1s; }
.container > *:nth-child(2) { animation-delay: 0.2s; }
.container > *:nth-child(3) { animation-delay: 0.3s; }
.container > *:nth-child(4) { animation-delay: 0.4s; }
.container > *:nth-child(5) { animation-delay: 0.5s; }

/* Logo */
.logo {
    width: 130px;
    height: auto;
    margin-bottom: 30px;
    opacity: 0.95;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Título */
h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255,255,255,0.08);
}



/* Subtítulo */
.subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Descripción */
.description {
    font-size: 1rem;
    color: #aeaeae;
    line-height: 1.6;
    margin-bottom: 40px;
}

.description span {
    color: #ffffff;
    font-weight: 500;
}

/* Links */
.links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.links a {
    position: relative;
    text-decoration: none;
    color: #ffffff;
    border: 1px solid #333333;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 0.95rem;
    overflow: hidden;
    transition: color 0.3s ease;
    z-index: 1;
}

.links a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #ffffff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}

.links a:hover::after {
    transform: scaleX(1);
}

.links a:hover {
    color: #000000;
}

/* Footer */
footer {
    font-size: 0.8rem;
    color: #666666;
}

/* Selección personalizada */
::selection {
    background: #ffffff;
    color: #000000;
}

/* Responsive */
@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .logo {
        width: 110px;
    }
}
/* Loader pantalla completa */
#loader {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top, #141414, #050505);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* Anillo animado */
.loader-ring {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255,255,255,0.15);
    border-top-color: #00f7ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

/* Texto */
#loader span {
    font-size: 0.85rem;
    color: #cccccc;
    letter-spacing: 2px;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Animaciones */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Ocultar loader */
#loader.hide {
    opacity: 0;
    visibility: hidden;
}
