/* --- ENLACE A FUENTES PROFESIONALES (Estilo Gaming/Aion) --- */
@import url('https://googleapis.com');

:root {
    /* Paleta corregida por ti (Tonos exactos de tu gradiente) */
    --bg-azul-acero: #4c6474;   /* Esquina superior izquierda */
    --bg-gris-morado: #49384e;  /* Esquina inferior derecha */
    
    --accent-elyos: #e6c687;    /* Dorado Elyos */
    --accent-asmodian: #9c6ca7; /* Morado Asmodian */
    
    --text-white: #ffffff;
    --text-silver: #d1d5db;
    --nav-height: 75px;
}

/* --- REINICIO GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-azul-acero);
    color: var(--text-white);
}

/* --- MENÚ SUPERIOR FLOTANTE --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(51, 70, 84, 0.35); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); 
}

.logo img {
    height: 60px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-silver);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--text-white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* --- SECCIONES ADAPTATIVAS CON TU DEGRADADO CONTINUO --- */
.full-screen-section {
    width: 100%;
    /* Altura mínima flexible para asegurar que los renders y textos no se corten abajo */
    min-height: 100vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 2rem;
    
    /* Tu degradado modificado a 45 grados */
    background: linear-gradient(45deg, var(--bg-gris-morado) 0%, #3e4453 50%, var(--bg-azul-acero) 100%) !important;
}

/* --- SECCIÓN 1: INICIO --- */
#inicio {
    background: linear-gradient(45deg, var(--bg-gris-morado) 0%, #3e4453 50%, var(--bg-azul-acero) 100%) !important;
    position: relative;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/aion_transparente_final.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.95; 
    z-index: 1;    
     /* --- EFECTO DE DESENFOQUE SUTIL DE TU MAQUETA --- */
    filter: blur(3px); /* Aplica el desenfoque sin tocar los logotipos ni textos */
    
    /* --- NOTA CLAVE --- */
    transform: scale(1.03); /* Escala ligeramente la imagen para ocultar los bordes blancos/transparentes que genera el blur en las esquinas */

}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.2rem;
    z-index: 2;
}

.main-logo {
    max-width: 540px;
    width: 85%;
    height: auto;
}

.welcome-text {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    color: var(--accent-elyos);
    text-shadow: 0 0 8px rgba(230, 198, 135, 0.4);
}

.btn-register {
    display: inline-block;
    padding: 0.9rem 3.5rem;
    background: linear-gradient(180deg, #25497b 0%, #162e54 100%);
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 73, 123, 0.5);
}

.fecha-texto {
    font-size: 1.4rem;
    color: var(--text-silver);
    font-weight: 300;
    letter-spacing: 1px;
}

/* --- SECCIÓN 2: FACCIONES (Con Emblemas Flotantes Traseros) --- */
.facciones-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1240px;
    min-height: 80vh; 
    justify-content: space-around;
    gap: 3rem; 
    z-index: 2;
}

.faccion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative; 
}

.faccion-logo-bg {
    position: absolute;
    width: 340px; 
    height: 340px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0.12; 
    z-index: 1;    
    pointer-events: none; 
}

.elyos .faccion-logo-bg {
    background-image: url('../images/Elyos_Logo.webp');
    left: 110px; 
    top: 50%;
    transform: translateY(-50%);
}

.asmodians .faccion-logo-bg {
    background-image: url('../images/Asmodian_Logo.webp');
    right: 110px; 
    top: 50%;
    transform: translateY(-50%);
}

.faccion-info {
    max-width: 540px;
    text-align: center;
    padding: 1rem;
    position: relative;
    z-index: 3; 
}

.faccion-info h3 {
    font-family: 'Cinzel', serif;
    font-size: 2.4rem;
    letter-spacing: 3px;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.elyos h3 { 
    color: var(--accent-elyos); 
    text-shadow: 0 0 10px rgba(230, 198, 135, 0.2);
}

.asmodians h3 { 
    color: var(--accent-asmodian); 
    text-shadow: 0 0 10px rgba(156, 108, 167, 0.2);
}

.faccion-info p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-white);
    font-weight: 300;
}

.render-pj {
    height: 52vh; 
    max-height: 500px; 
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.45));
    position: relative;
    z-index: 3; 
    align-self: center; 
}

/* --- SECCIÓN 3: CLASES (ACORDEÓN FLEX UNIFICADO) --- */
#clases {
    background: linear-gradient(45deg, var(--bg-gris-morado) 0%, #3e4453 50%, var(--bg-azul-acero) 100%) !important;
}

#clases h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.6rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    z-index: 2;
    font-weight: 600;
}

.clases-accordion {
    display: flex;
    width: 95%;
    max-width: 1200px;
    height: 68vh;
    gap: 0.5rem;
    z-index: 2;
}

.clase-card {
    position: relative;
    height: 100%;
    flex: 1; 
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    filter: brightness(40%) grayscale(40%);
    transition: flex 0.5s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease, border-color 0.3s;
}

.clase-card.active {
    flex: 5; 
    filter: brightness(100%) grayscale(0%);
    border-color: var(--accent-elyos);
    cursor: default;
}

.clase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.clase-title {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-white);
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.95);
    white-space: nowrap;
    
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.clase-card.active .clase-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s; 
}

/* --- SECCIÓN 4: FOOTER --- */
.footer-content {
    text-align: center;
    color: var(--text-silver);
    z-index: 2;
}