/* Configuración General */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0b0f19; /* Fondo oscuro tipo naval */
    color: white;
    scroll-behavior: smooth;
}

/* --- NAVEGACIÓN --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: rgba(0, 0, 0, 0.85);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

/* Estilo para el Logo/Enlace principal */
.logo a {
    text-decoration: none;
    color: #7c97d3; /* Color cian para resaltar */
    font-weight: bold;
    font-size: 1.0rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

.logo a:hover {
    color: white;
    text-shadow: 0 0 10px #00d4ff;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #00d4ff;
}

/* --- SECCIÓN HERO (LANDING) --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    transform: translate(-50%, -50%);
    filter: brightness(35%); /* Oscurece el video para resaltar el texto */
    object-fit: cover;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    width: 180px;         /* Ajusta el tamaño a tu gusto */
    height: 180px;        /* Obligatorio: debe ser igual al ancho para que sea un círculo perfecto */
    object-fit: cover;    /* Evita que la imagen se deforme al recortarse */
    border-radius: 50%;   /* Lo hace circular */
    
    /* El borde y el resplandor azul de tu imagen de referencia */
    border: 3px solid #00d4ff; 
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6); 
    
    margin-bottom: 40px;  /* Espacio para empujar el título hacia abajo */
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05); /* Efecto sutil al pasar el mouse */
}

/* Ajuste extra para el título si quieres más separación */
.hero-content h1 {
    font-size: 2.3rem;
    margin-bottom: 80px; /* Espacio solicitado respecto a los botones */
    text-shadow: 2px 2px 15px rgba(0,0,0,0.7);
}

.clan-id {
    font-size: 1.0rem;
    font-weight: bold;
    color: #d1dcdf; /* El azul cian de tu tema */
    margin-bottom: 25px; /* Espacio antes de los botones */
    letter-spacing: 3px; /* Para que los números se lean mejor */
    background: rgba(66, 62, 62, 0.253); /* Un fondo sutil para resaltar */
    display: inline-block;
    padding: 5px 15px;
    border-radius: 5px;
}

/* --- BOTONES DE REDES (Minimalistas) --- */
.button-container {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    width: 60px;  /* Ancho fijo para que sean circulares */
    height: 60px; /* Alto fijo */
    border-radius: 50%; /* Los hace redondos */
    text-decoration: none;
    color: white;
    font-size: 1.5rem; /* Tamaño del icono */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.whatsapp { background-color: #25d366; }
.discord { background-color: #5865f2; }

/* --- SECCIÓN DESCRIPCIÓN --- */
/* Contenedor principal de los recuadros */
.description-section {
    padding: 100px 20px;
    display: flex; 
    flex-direction: column; /* Alinea los recuadros uno debajo del otro */
    align-items: center;    /* Los centra horizontalmente */
    gap: 40px;              /* Espacio de separación entre recuadros */
    background-color: #0b0f19;
}

/* El diseño del recuadro se mantiene igual */
.info-box {
    background: #161c2d;
    padding: 40px;
    max-width: 800px;
    width: 100%;            /* Asegura que ocupen el mismo ancho */
    border-radius: 10px;
    border-bottom: 4px solid #88ff00; 
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s;
}

/* Efecto opcional: resalta el recuadro cuando pasas el mouse */
.info-box:hover {
    transform: scale(1.02);
}

.info-box h2 {
    margin-bottom: 20px;
    color: #88ff00;
}

/* Estilos específicos para la lista del reglamento */
.reglas-list {
    list-style-position: inside;
    text-align: left;
    display: inline-block;
    max-width: 90%;
}

.reglas-list li {
    line-height: 1.8;
    color: #cbd5e0;
    margin-bottom: 8px;
}

/* Contenedor General de Secciones */
.section-container {
    padding: 80px 5%;
    background: #0b0f19;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 40px;
}

/* ==========================================================================
   6. OPTIMIZACIONES SUTILES PARA MÓVIL EN VISTA HORIZONTAL (LANDSCAPE)
   ========================================================================== */
@media (max-width: 900px) and (orientation: landscape) {
    .hero {
        padding-top: 75px; /* Evita colisiones de la navbar al acostar el teléfono */
    }
    
    .hero-logo {
        width: 80px; 
        height: 80px;
        margin-bottom: 10px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .clan-id {
        margin-bottom: 12px;
        font-size: 0.8rem;
    }

    /* Removido .form-container y ajustado el layout */
    .info-box {
        max-width: 440px;
        padding: 15px 20px;
    }
}
