@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');



:root {
    --bg-dark: #0d0d12;
    --all-fondo-1: #020204;        
    --all-fondo-2: #0a0a0f; 
    --div-fondo: rgba(10, 10, 15, 0.7); 
    --borde-cristal: rgba(255, 255, 255, 0.1);
    --destacado-azul: #007cf0;       
}


body {
    background: var(--all-fondo-1);
    margin: 0;
    padding: 0;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    opacity: 0.03; /* Muy sutil */
    pointer-events: none;
    background-image: url('https://grainy-gradients.vercel.app/noise.svg');
    z-index: 9999;
}


/* TIPOGRAFIAS */
h1, h2, data, .poppins, .h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h3, h4, h5, summary, nav a, .btn-1, .lexend {
    font-family: "Lexend", sans-serif;
    font-weight: 600;
}

h6, p, li, .personal-detalles, .inter {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

span, .personal-funcion, .quicksand{
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}


h1, h2, .h2 {
    color: #fff;
}

h2, .h2 {
    font-size: 24pt;
}

h3 {
    color: #f6f6f6;
}

p {
    color: #A1A1AA;
}

a {
    color: unset;
    text-decoration: unset;
}

strong {
    font-weight: 700;
    color: var(--destacado-azul);
}



section {
    padding: clamp(40px, 4vw, 80px) 16%;
    border: solid 1px;
    border-top-color: rgb(54, 65, 84);
    margin: 0;
}

#top-botones {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* Estilos base para ambos */
#top-botones a {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* BOTÓN PRINCIPAL (Explorar) */
#top-botones a:first-child {
    background: #007cf0; /* Tu Azul Eléctrico */
    color: white;
    border: none;
    box-shadow: 0 0 20px rgba(0, 124, 240, 0.4); /* Glow inicial */
}

#top-botones a:first-child:hover {
    background: #0089ff;
    box-shadow: 0 0 35px rgba(0, 124, 240, 0.7); /* Glow más fuerte */
    transform: translateY(-3px); /* Pequeño salto */
}

/* BOTÓN SECUNDARIO (Discord) */
#top-botones a:last-child {
    background: rgba(255, 255, 255, 0.05); /* Cristal transparente */
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

#top-botones a:last-child:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}





/* BOTONES */
.btn-gardient {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff !important;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-size: 200% auto; /* Para el movimiento del gradiente */
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden; /* Necesario para el efecto de brillo */
    cursor: pointer;
    z-index: 1;
}

.btn-gardient:hover {
    background-position: right center;
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-gardient::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent
    );
    transform: skewX(-30deg);
    transition: none;
    z-index: -1;
}

.btn-gardient:hover::before {
    left: 150%;
    transition: 0.8s ease;
}

.btn-gardient:active {
    transform: translateY(-1px);
    filter: brightness(0.9);
}





/* ANIMACIONES */
.flecha-desplegar svg {
    display: inline-block;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.flecha-desplegar.active svg, .flecha-desplegar:hover svg {
    transform: rotate(180deg);
}