/* General Reset */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

    font-family: 'Poppins', sans-serif;

}



/* Ajuste para permitir scroll */
body {
    background: #0c0c0c;
    color: #e5e5e5;
    display: block; /* Cambiado de flex a block para permitir scroll */
    min-height: 100vh; /* Permite expansión según el contenido */
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Desactiva scroll horizontal */
}

/* Fondo dinámico */
#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #1a1a1a, #0c0c0c);
    z-index: -1;
    filter: blur(8px);
}

/* Contenedor Principal */
.main-container {
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    background: rgba(20, 20, 20, 0.95);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
    margin: 20px auto; /* Centra el contenedor verticalmente en pantallas más grandes */
}




/* Logo principal */

.logo {

    text-align: center;

    margin-bottom: 20px;

}



.logo img {

    width: 400px;

    animation: fadeIn 1.5s ease-in-out;

    filter: drop-shadow(0px 0px 10px #444);

    transition: transform 0.3s ease;

}



.logo img:hover {

    transform: scale(1.05);

}



/* Logo lateral */





/* Contenido */

.content {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    flex-wrap: wrap;

}



/* Sección Noticias */

.news-box {

    background: linear-gradient(135deg, #252525, #151515);

    padding: 20px;

    border-radius: 8px;

    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);

    flex: 1;

    min-width: 280px;

    transition: transform 0.3s ease, box-shadow 0.3s ease;

}



.news-box:hover {

    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);

}



.news-box h3 {

    font-size: 1.3rem;

    margin-bottom: 15px;

    color: #b3b3b3;

}



.news-item {

    display: flex;

    align-items: center;

    margin-bottom: 10px;

    border-bottom: 1px solid #333;

    padding-bottom: 10px;

    position: relative;

}



.news-item:last-child {

    border-bottom: none;

}



.news-item img {

    width: 80px;

    height: 80px;

    border-radius: 6px;

    margin-right: 15px;

    position: relative;

    z-index: 1;

}



.news-item img::after {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0, 0, 0, 0.4);

    z-index: 2;

    border-radius: 6px;

    transition: opacity 0.3s ease;

}



.news-item img:hover::after {

    opacity: 0;

}



.news-text h4 {

    color: #e5e5e5;

    font-size: 1rem;

    margin-bottom: 5px;

}



.news-text p {

    font-size: 0.8rem;

    color: #b5b5b5;

}



/* Sección Login */

.login-box{

    background: linear-gradient(135deg, #262626, #1a1a1a);

    padding: 20px;

    border-radius: 8px;

    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);

    flex: 1;

    min-width: 280px;

    text-align: center;

    transition: transform 0.3s ease, box-shadow 0.3s ease;

}



.login-box:hover {

    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);

}



.login-box input, .register-box input {

    width: 100%;

    padding: 12px;

    margin-bottom: 15px;

    border: none;

    border-radius: 4px;

    background: #1a1a1a;

    color: #e5e5e5;

    font-size: 1rem;

}

/* Caja de Bienvenida */
.welcome-box {
    background: linear-gradient(135deg, #1a1a1a, #121212);
    padding: 15px; /* Reducir padding */
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    flex: 1;
    min-width: 300px;
    color: #e5e5e5;
    margin-bottom: 15px; /* Ajustar separación */
}

.welcome-box h2 {
    font-size: 1.4rem; /* Reducir tamaño del título */
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.6);
}

.welcome-box p {
    font-size: 0.85rem; /* Reducir texto */
    line-height: 1.4; /* Espaciado más compacto */
    margin-bottom: 10px;
    text-align: justify;
}

.welcome-features {
    margin-top: 10px;
}

.welcome-features h3 {
    font-size: 1rem; /* Reducir subtítulos */
    color: #ffcc00;
    margin-bottom: 8px;
    text-transform: uppercase;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.6);
}

.welcome-features ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 0 auto;
    max-width: 300px; /* Ajustar ancho máximo */
}

.welcome-features li {
    font-size: 0.8rem; /* Reducir tamaño de texto */
    margin-bottom: 5px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 5px; /* Menos espacio entre íconos y texto */
}

.welcome-call-to-action {
    margin-top: 15px; /* Ajustar separación */
}

.welcome-call-to-action h3 {
    font-size: 1rem; /* Reducir subtítulo */
    color: #1da1f2;
    margin-bottom: 5px;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
}

.welcome-call-to-action p {
    font-size: 0.85rem; /* Reducir texto */
    color: #ccc;
}


button {

    width: 100%;

    padding: 12px;

    border: none;

    border-radius: 4px;

    background: #333;

    color: #e5e5e5;

    font-size: 1rem;

    font-weight: bold;

    cursor: pointer;

    transition: all 0.3s ease;

}



button:hover {

    background: #444;

    transform: translateY(-2px);

}



button.secondary {

    background: #222;

    color: #e5e5e5;

}



button.secondary:hover {

    background: #333;

}



/* Overlay Registro */

.overlay {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(0, 0, 0, 0.95);

    display: flex;

    justify-content: center;

    align-items: center;

    z-index: 10;

    transition: opacity 0.3s ease;

}



.overlay.hidden {

    opacity: 0;

    pointer-events: none;

}



.register-box {

    background: linear-gradient(135deg, #252525, #151515);

    padding: 25px;

    border-radius: 8px;

    width: 90%;

    max-width: 350px;

    text-align: center;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);

}



.register-box h3 {

    font-size: 1.3rem;

    color: #b3b3b3;

    margin-bottom: 15px;

}



@keyframes fadeIn {

    from {

        opacity: 0;

        transform: translateY(-20px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}
/* Sección de Redes Sociales */

.social-section {

    margin-top: 20px;

    padding: 30px 0;

    background: linear-gradient(135deg, #1a1a1a, #0f0f0f);

    text-align: center;

    border-radius: 10px;

    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.8);

    display: flex;

    flex-direction: column;

    align-items: center;

    width: 100%;

}



.social-section h3 {

    color: #fff;

    font-size: 1.8rem;

    margin-bottom: 25px;

    text-transform: uppercase;

    letter-spacing: 1px;

    text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.7);

}



/* Botones de redes sociales */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px; /* Espacio reducido entre botones */
    flex-wrap: wrap;
    width: 100%;
    max-width: 800px; /* Ajustar al tamaño general */
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Reducir espacio entre texto e ícono */
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem; /* Reducir tamaño del texto */
    padding: 10px 20px; /* Reducir tamaño del botón */
    border-radius: 30px; /* Botones más compactos */
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.4); /* Sombras más sutiles */
    position: relative;
    outline: none; /* Eliminar borde azul */
    border: none;
}

.social-btn:focus {
    outline: none; /* Eliminar foco predeterminado */
    box-shadow: 0px 0px 6px rgba(255, 255, 255, 0.4); /* Sombra leve al foco */
}

.social-btn img {
    width: 20px; /* Íconos más pequeños */
    height: 20px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-btn:hover img {
    transform: scale(1.1);
}

/* Colores y estilos de los botones */
.social-btn.facebook {
    background: #1877f2;
}

.social-btn.facebook:hover {
    background: #145dbf;
    box-shadow: 0px 5px 15px rgba(24, 119, 242, 0.5);
}

.social-btn.discord {
    background: #5865f2;
}

.social-btn.discord:hover {
    background: #4754c9;
    box-shadow: 0px 5px 15px rgba(88, 101, 242, 0.5);
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433, #bc1888);
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #d57b26, #9c166d);
    box-shadow: 0px 5px 15px rgba(240, 148, 51, 0.5);
}

.social-btn.twitter {
    background: #1da1f2;
}

.social-btn.twitter:hover {
    background: #1981c1;
    box-shadow: 0px 5px 15px rgba(29, 161, 242, 0.5);
}
