body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #fff;
    margin: 0;
    padding: 0;
    user-select: none; 

}

nav {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(212, 170, 106, 0.4));
    padding: 0.6rem 2rem; 
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); 
    gap: 9rem; 
    border-radius: 12px; 
    backdrop-filter: blur(10px); 
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem; 
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem; 
    transition: color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
    color: #f39c12;
    transform: translateY(-2px);
}

nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background-color: #f39c12;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Botón de descarga */
nav .btn-download {
    background-color: #f39c12;
    color: #121212;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 30px;
    font-size: 0.95rem; 
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

nav .btn-download:hover {
    background-color: #ffcc5c;
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

/* Para pantallas pequeñas */
@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        gap: 2rem; 
    }

    nav a {
        font-size: 1rem;
    }

    nav .btn-download {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

header {
    background: url('https://i.blogs.es/537de6/ar61e/1366_2000.jpeg') no-repeat center center/cover; /* Cambia la URL a tu imagen */
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
}
header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 1;
}
header h1,
header p {
    z-index: 2;
    position: relative;
}
header h1 {
    font-size: 2.8rem;
    color: #f39c12;
    margin-bottom: 0.5rem;
}
header p {
    font-size: 1.2rem;
    color: #eee;
}
section {
    padding: 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}
section h2 {
    font-size: 2rem;
    color: #f39c12;
    border-bottom: 2px solid #f39c12;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}
section p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Aumento de tamaño mínimo */
    gap: 1.5rem;
    margin-top: 2rem; /* Espaciado superior */
}

.feature-item {
    background: #1e1e1e;
    border: 2px solid #444;
    padding: 1rem;
    border-radius: 12px; /* Bordes más redondeados */
    text-align: center;
    position: relative; /* Necesario para posicionar la imagen */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* Evita que la imagen se desborde */
}

.feature-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta la imagen al contenedor */
    opacity: 0.75; /* Opacidad inicial */
    transition: opacity 0.3s ease; /* Transición para la opacidad */
    border-radius: 12px; /* Bordes redondeados para la imagen */
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.feature-item:hover img {
    opacity: 1; /* Aumenta la opacidad al pasar el mouse */
}

.feature-item h3 {
    color: #f39c12;
    margin-bottom: 1rem;
    z-index: 2; /* Asegura que el texto esté por encima de la imagen */
    position: relative;
}

.feature-item p {
    color: #ccc;
    z-index: 2; /* Asegura que el texto esté por encima de la imagen */
    position: relative;
}

/* Efecto hover para los íconos o imágenes del fondo */
.feature-item:hover h3,
.feature-item:hover p {
    color: #f15120; /* Cambiar color del texto en hover */
}

footer {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 20px;
    background-color: #1e1e1e; 
    color: white;
    font-family: Arial, sans-serif;
}

footer p {
    margin-right: 10px; 
    display: flex; 
    align-items: center;
}

footer .footer-gif {
    width: 50px;
    height: 50px; 
    object-fit: contain; 
}
.social-icons {
    margin-top: 1rem;
}

.loading-screen {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgb(0, 0, 0); 
    display: flex;
    justify-content: center; 
    align-items: center; 
    z-index: 9999; 
    transition: filter 0.5s ease; 
    cursor: none
}

/* Desenfoque cuando se añade la clase 'blurred' */
.loading-screen.blurred {
    filter: blur(10px); 
}

/* Estilo para el gif de carga */
.loading-gif {
    width: 100px; 
    height: 100px; 
}

/* Estilos del contenido principal de la página */
.content {
    display: none; 
}

/* Mostrar el contenido después de que la página haya cargado */
body.loaded .loading-screen {
    display: none; 
}

body.loaded .content {
    display: block; 
}


/* Sección general */
section#unete {
    background: linear-gradient(135deg, #1e1e1e, #2b2b2b);
    color: #fff;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem auto;
    max-width: 1000px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    font-family: Arial, sans-serif;
}

/* Contenido de la sección */
.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Texto */
.texto {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
}

.texto h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #f39c12;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.texto p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.texto p strong {
    color: #ffcc5c;
}

.texto a {
    color: #f39c12;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.texto a:hover {
    color: #ffcc5c;
    text-decoration: underline;
}

/* Botón */
.btn-unete {
    background-color: #f39c12;
    color: #121212;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-unete:hover {
    background-color: #ffcc5c;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Widget de Discord */
.discord-widget {
    flex: 1;
    min-width: 350px;
    max-width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.discord-widget iframe {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Estilo de la barra de desplazamiento */
::-webkit-scrollbar {
    width: 12px; /* Ancho de la scrollbar */
    height: 12px; /* Altura de la scrollbar (para scroll horizontal) */
}

::-webkit-scrollbar-track {
    background-color: #000000; 
    border-radius: 10px;/
}
::-webkit-scrollbar-thumb {
    background-color: #f18f2d; 
    border-radius: 10px; 
    border: 3px solid #000000; 
}
::-webkit-scrollbar-thumb:hover {
    background-color: #f18f2d; 
}