body {
        font-family: 'Poppins', sans-serif;
    }

section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}


.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out;
}

a:hover, button:hover {
    transform: translateY(-3px);
    transition: transform 0.3s ease, color 0.3s ease;
}
a {
	text-decoration: none;
}


@keyframes gradientBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body {
    background: linear-gradient(-45deg, #1a1a1a, #2c3e50, #34495e, #1a1a1a);
    background-size: 400% 400%;
    animation: gradientBackground 15s ease infinite;
}


.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.rules-section {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hidden {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}
.fab.fa-discord {
    transition: transform 0.3s ease;
}

.fab.fa-discord:hover {
    transform: scale(1.1);
}
#particles-js {
    position: absolute;
    height: 700px;
    margin: 0 auto;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    pointer-events: none;
    width: 100%;
	z-index: 1;
}

canvas{
  display:block;
}

@media only screen and (max-width: 1105px) {
	#particles-js {
		max-width: 100%;
		width: auto;
	}
}

/* style.css */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px; /* altura del nav */
    background-color: rgba(4, 37, 15, 0.3); /* fondo semitransparente */
    backdrop-filter: blur(10px); /* difuminado */
    display: flex;
    justify-content: space-between;
    align-items: center; /* centra verticalmente los li */
    padding: 0 2rem;
    z-index: 50;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.navbar ul {
    display: flex;
    gap: 4rem; /* espacio entre los li */
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%; /* asegura que los li ocupen toda la altura del nav */
    align-items: center; /* centra los li verticalmente */
}

.navbar ul li a {
    color: white;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    position: relative; /* necesario para el ::after */
    padding: 0.25rem 0; /* espacio arriba y abajo */
    transition: color 0.3s;
}

/* Efecto barra deslizante */
.navbar ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px; /* grosor de la barra */
    background-color: #b4ffd0; /* color de la barra */
    transform: scaleX(0); /* inicia invisible */
    transform-origin: right;
    transition: transform 0.3s ease;
}

.navbar ul li a:hover::after {
    transform: scaleX(1); /* se expande al hacer hover */
    transform-origin: left;
}

.navbar ul li a:hover {
    color: #16f96d; /* opcional: cambia color del texto al hacer hover */
}

.navbar .btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(to right, #6366f1, #8b5cf6);
    transition: all 0.3s ease;
}

.navbar .btn:hover {
    background: linear-gradient(to right, #7c3aed, #a78bfa);
}

/* Animación de flotación */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.float {
    animation: float 4s ease-in-out infinite;
}

.streamer-btn {
    padding: 0.5rem 1.25rem; /* px-5 py-2 */
    font-weight: bold;
                    font-size: 0.875rem; /* text-sm */
                    color: white;
                    border-radius: 0.375rem; /* rounded-md */
                    background: linear-gradient(90deg, #802dcf, #c83fab);
                    box-shadow: 0 0 10px rgba(200, 63, 171, 0.5);
                    transition: transform 0.3s ease, box-shadow 0.3s ease;
                }

                .streamer-btn:hover {
                    transform: scale(1.05);
                    box-shadow: 0 0 20px rgba(200, 63, 171, 0.8);
                }

                /* Animación de resplandor */
                @keyframes pulseGlow {
                    0% { box-shadow: 0 0 10px rgba(200, 63, 171, 0.5); }
                    50% { box-shadow: 0 0 20px rgba(200, 63, 171, 0.8); }
                    100% { box-shadow: 0 0 10px rgba(200, 63, 171, 0.5); }
                }

                .streamer-btn {
                    animation: pulseGlow 2s infinite;
                }
                