
/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    background-color: #000;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    
    /* ESTADO INICIAL (Apagado) */
    opacity: 0;
    transform: scale(1); /* Empieza tamaño normal */
    z-index: 0;
    
    /* LA MAGIA: 
       Cuando se le quite la clase active, la opacidad tardará 2s en irse,
       PERO el transform tardará 10s en volver a su lugar. 
       Como la opacidad se va antes, nunca verás la imagen achicarse de golpe. */
    transition: opacity 2s ease-in-out, transform 10s linear;
}

/* ESTADO ACTIVO (Prendido) */
.slide.active {
    opacity: 1;
    transform: scale(1.15); /* Zoom objetivo */
    z-index: 1;
    /* Al poner la clase, la transición hace el efecto de zoom in suave */
}

/* Velo Opaco */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Oscuridad del 60% */
    z-index: 2;
    /* Opcional: un degradado para que se vea más pro */
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.8));
}

/* --- CONTENIDO --- */
/* --- CONTENIDO --- */
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    
    /* ESTA ES LA SOLUCIÓN: */
    /* Empujamos todo el bloque (contador y tarjetas) hacia abajo */
    margin-top: 120px; 
}

.cards-container {
    display: flex;
    justify-content: center; /* Centradas */
    gap: 40px; /* Espacio entre tarjetas */
    flex-wrap: wrap;
}

/* --- TARJETAS --- */
.info-card {
    background: rgba(20, 20, 20, 0.85); /* Fondo oscuro semitransparente */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    width: 100%;
    max-width: 500px; /* Anchas */
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Parte Superior: Imagen */
.card-image {
    width: 100%;
    height: 200px; /* Altura fija para la imagen */
    overflow: hidden;
    border-bottom: 3px solid #b71c1c; /* Un borde de color (ej: rojo sangre) queda bien */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.info-card:hover .card-image img {
    transform: scale(1.05);
}

/* Parte Inferior: Características */
.card-body {
    padding: 25px 30px;
}

.card-body h3 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #f0f0f0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    text-align: center;
    letter-spacing: 1px;
}

.card-body ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Separación vertical */
}

.card-body li {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    display: flex;
    align-items: center;
    color: #ccc;
}

.card-body li i {
    color: #b71c1c; /* Color del icono */
    margin-right: 15px;
    font-size: 1.2rem;
    width: 25px; /* Para alinear texto si el icono varía de ancho */
    text-align: center;
}

/* --- EFECTO ORO (Títulos) --- */
.text-gold {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
    
    /* El truco del Oro Realista */
    background: linear-gradient(
        to right,
        #bf953f 0%,
        #fcf6ba 25%, 
        #b38728 50%, 
        #fbf5b7 75%, 
        #aa771c 100%
    );
    background-size: 200% auto;
    color: #bf953f; /* Fallback */
    -webkit-background-clip: text; /* Corta el fondo con la forma del texto */
    background-clip: text;
    -webkit-text-fill-color: transparent; /* Hace el texto transparente */
    
    /* Brillo animado */
    animation: shineGold 3s linear infinite;
    /* Sombra suave para dar volumen */
    filter: drop-shadow(0px 2px 0px rgba(0,0,0,0.5));
}

@keyframes shineGold {
    to {
        background-position: 200% center;
    }
}

/* --- BOTONES DE LUJO (Base) --- */
.btn-luxury {
    display: block;
    width: 100%;
    margin-top: 25px;
    padding: 15px 0;
    text-align: center;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden; /* Importante para el efecto de brillo */
    transition: all 0.3s ease;
    text-transform: uppercase;
    
    /* Sombra 3D */
    box-shadow: 
        0 4px 6px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-luxury span {
    position: relative;
    z-index: 2; /* Texto por encima del fondo */
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Efecto de Destello (Glint) al pasar el mouse */
.btn-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    transition: none;
}

.btn-luxury:hover::before {
    left: 100%;
    transition: 0.5s; /* Velocidad del destello */
}

.btn-luxury:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(0,0,0,0.4);
    border-color: #fff;
}

/* --- BOTÓN AZUL (Ice/Diamond) --- */
.btn-blue {
    background: linear-gradient(to bottom, #1e3c72, #2a5298);
    border-top: 1px solid #6dd5fa;
    border-bottom: 1px solid #1e3c72;
}

.btn-blue:hover {
    background: linear-gradient(to bottom, #2a5298, #1e3c72);
    box-shadow: 0 0 15px rgba(33, 147, 176, 0.6); /* Resplandor azul */
}

/* --- BOTÓN ROJO (Blood/Ruby) --- */
.btn-red {
    background: linear-gradient(to bottom, #870000, #530000); /* Rojo oscuro sangre */
    border-top: 1px solid #ff4d4d;
    border-bottom: 1px solid #330000;
}

.btn-red:hover {
    background: linear-gradient(to bottom, #a30000, #660000);
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.6); /* Resplandor rojo */
}



/* --- SECCIÓN CARACTERÍSTICAS (ABOUT) --- */
.features-section {
    position: relative;
    background-color: #0b0b0b; /* Un gris casi negro */
    /* Opcional: Un patrón sutil de fondo si te gusta */
    background-image: radial-gradient(#1a1a1a 1px, transparent 1px);
    background-size: 30px 30px; 
    
    padding: 100px 20px;
    border-top: 1px solid rgba(191, 149, 63, 0.3); /* Línea sutil dorada separadora */
    z-index: 2;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
}

.section-title p {
    color: #888;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Grilla de Contenedores */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Cajas de Información */
.feature-box {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.feature-box:hover {
    background: rgba(30, 30, 30, 0.9);
    transform: translateY(-10px); /* Se levanta un poco */
    border-color: rgba(191, 149, 63, 0.4); /* Borde dorado al pasar mouse */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Iconos */
.feature-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    /* Usamos el mismo gradiente dorado para los iconos */
    background: linear-gradient(to bottom right, #bf953f, #fcf6ba, #b38728);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.5));
}

.feature-box h3 {
    font-family: 'Cinzel', serif;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.feature-box p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Detalle decorativo en las esquinas de las cajas (opcional, queda muy Mu Online) */
.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #bf953f;
    transition: width 0.4s;
}

.feature-box:hover::before {
    width: 100%; /* Línea dorada superior al hacer hover */
}

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}
/* --- SECCIÓN CLASES --- */
.classes-section {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Ocupa toda la pantalla */
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #000;
}

/* Fondo Dinámico */
.class-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* --- CORRECCIÓN DE TAMAÑO --- */
    /* 'contain' muestra la imagen entera sin recortarla */
    background-size: contain; 
    
    /* Centramos la imagen para que el PJ quede al medio */
    background-position: center center;
    
    /* Importante: para que no se repita en mosaico */
    background-repeat: no-repeat;
    
    /* Color de fondo negro por si la imagen no llena los costados */
    background-color: #000; 
    
    transition: background-image 0.5s ease-in-out;
    z-index: 0;
    
    /* Imagen por defecto */
    background-image: url('../img/chars/dw_main.png'); 
}

.class-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Degradado para oscurecer la derecha donde van los videos */
    background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
}

.classes-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    height: 80vh; /* Altura del contenido */
    align-items: center;
}

/* --- BARRA LATERAL (SIDEBAR) --- */
.class-sidebar {
    width: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 20px;
    z-index: 10;
}

.class-item {
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.avatar-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Efecto Hover y Active */
.class-item:hover .avatar-circle,
.class-item.active .avatar-circle {
    border-color: #bf953f; /* Dorado */
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(191, 149, 63, 0.8);
}

/* Indicador de selección (flechita) */
.class-item.active::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent transparent #bf953f;
}

/* --- CONTENIDO VIDEOS --- */
.class-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 50px; /* Separación de la barra */
    padding-right: 20px;
}

.class-content h2 {
    text-align: right;
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

.video-compare-box {
    display: flex;
    gap: 20px;
    width: 100%;
    height: 400px;
    transition: all 0.5s ease;
}

.video-wrapper {
    position: relative;
    border: 1px solid rgba(191, 149, 63, 0.3);
    background: #000;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    /* Animación de ancho */
    transition: width 0.5s ease, opacity 0.5s ease, flex 0.5s ease;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    z-index: 5;
    text-transform: uppercase;
}

/* Estados de Layout */

/* 1. Estado "Dual" (Ambos existen) */
.video-compare-box.dual-view .video-wrapper {
    flex: 1; /* 50% cada uno */
    opacity: 1;
}

/* 2. Estado "Single" (Solo S6) */
.video-compare-box.single-view .v97 {
    flex: 0;
    width: 0;
    opacity: 0;
    padding: 0;
    border: none;
    margin: 0;
}

.video-compare-box.single-view .vs6 {
    flex: 1; /* Ocupa el 100% */
}

/* --- SECCIÓN ROADMAP --- */
.roadmap-section {
    position: relative;
    /* Color base oscuro */
    background-color: #0b0b0b; 
    
    /* EL MISMO PATRÓN QUE INFRAESTRUCTURA */
    background-image: radial-gradient(#1a1a1a 1px, transparent 1px);
    background-size: 30px 30px; 
    
    padding: 100px 20px;
    overflow: hidden;
    /* Opcional: si querés que tenga el borde dorado arriba igual que la otra sección, descomentá esto: */
    /* border-top: 1px solid rgba(191, 149, 63, 0.3); */
}

/* Línea de tiempo contenedora */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 50px auto 0;
}

/* La línea vertical central */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: rgba(191, 149, 63, 0.3); /* Dorado apagado */
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

/* Cajas de items (Contenedores invisibles) */
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%; /* Ocupa la mitad del ancho */
    box-sizing: border-box;
}

/* --- LÓGICA IZQUIERDA / DERECHA --- */

/* Items impares (1, 3, 5) a la Izquierda */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right; /* Texto alineado hacia la línea central */
}

/* Items pares (2, 4) a la Derecha */
.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

/* --- EL PUNTO CENTRAL (DOT) --- */
.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #000;
    border: 3px solid #bf953f; /* Borde dorado */
    border-radius: 50%;
    top: 25px; /* Altura donde aparece el punto */
    z-index: 1;
    transition: all 0.3s ease;
}

/* Ubicación del punto para la Izquierda */
.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px; /* Centrado en la línea (ancho 20px / 2) */
}

/* Ubicación del punto para la Derecha */
.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

/* --- CONTENIDO DE LA TARJETA --- */
.timeline-content {
    padding: 25px 30px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: rgba(191, 149, 63, 0.4);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.timeline-date {
    display: block;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: #bf953f;
    margin-bottom: 8px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.timeline-content h3 {
    font-family: 'Cinzel', serif;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- ESTADOS (Completado / Activo) --- */

/* Estado ACTIVO (El actual) */
.timeline-item.active .timeline-dot {
    background-color: #bf953f;
    box-shadow: 0 0 15px rgba(191, 149, 63, 0.8); /* Glow fuerte */
    transform: scale(1.3);
}

.timeline-item.active .timeline-content {
    border: 1px solid #bf953f; /* Borde dorado completo */
    background: rgba(30, 30, 30, 0.9);
}

/* Estado COMPLETADO (Pasado) */
.timeline-item.completed .timeline-dot {
    background-color: #555;
    border-color: #777;
}

.timeline-item.completed .timeline-content {
    opacity: 0.6; /* Un poco más apagado */
}

/* --- RESPONSIVE (Celulares) --- */
@media screen and (max-width: 768px) {
    /* La línea se mueve a la izquierda */
    .timeline::after {
        left: 31px;
    }
    
    /* Todos los items ocupan el ancho completo */
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    /* Reseteamos alineaciones */
    .timeline-item:nth-child(even),
    .timeline-item:nth-child(odd) {
        left: 0;
        text-align: left; /* Todo a la izquierda en móvil */
    }
    
    /* Ubicación de los puntos en móvil */
    .timeline-item:nth-child(even) .timeline-dot,
    .timeline-item:nth-child(odd) .timeline-dot {
        left: 21px;
        right: auto;
    }
}

/* --- HERO COUNTDOWN --- */
.countdown-container {
    text-align: center;
    margin-bottom: 50px; /* Separación de las tarjetas */
    position: relative;
    z-index: 10;
    animation: fadeInDown 1.5s ease-out;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.countdown-title {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: #ccc;
    letter-spacing: 5px;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.countdown-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.6); /* Fondo oscuro suave */
    backdrop-filter: blur(10px); /* Efecto vidrio */
    padding: 20px 40px;
    border-radius: 8px;
    border: 1px solid rgba(191, 149, 63, 0.3); /* Borde dorado sutil */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.time-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.time-number {
    font-family: 'Cinzel', serif;
    font-size: 3rem; /* Números grandes */
    font-weight: 700;
    line-height: 1;
    /* Hereda el gradiente dorado de la clase .text-gold que ya tenés */
}

.time-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    color: #aaa;
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 1px;
}

.separator {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #bf953f;
    margin-top: -15px; /* Ajuste visual para centrar los dos puntos */
    opacity: 0.8;
}

/* Mensaje final (Server Online) */
.server-status {
    display: none; /* Oculto por defecto */
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    text-shadow: 0 0 20px rgba(191, 149, 63, 0.6);
    margin-top: 20px;
}

/* Ajuste Mobile */
@media (max-width: 768px) {
    .countdown-box {
        gap: 5px;
        padding: 15px;
        width: 100%;
    }
    .time-number {
        font-size: 2rem;
    }
    .time-label {
        font-size: 0.6rem;
    }
    .separator {
        font-size: 1.5rem;
    }
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Siempre por encima de todo */
    background: rgba(0, 0, 0, 0.2); /* Transparente al inicio */
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    padding: 20px 0;
}

/* Estado cuando scrolleas (se pone más oscuro) */
.navbar.scrolled {
    background: rgba(5, 5, 5, 0.95);
    padding: 10px 0; /* Se achica un poco */
    border-bottom: 1px solid rgba(191, 149, 63, 0.3); /* Línea dorada */
    box-shadow: 0 5px 20px rgba(0,0,0,0.8);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 50px; /* Ajusta esto según tu logo */
    transition: height 0.3s;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 40px; /* Separación entre botones */
}

.nav-link {
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
}

/* Efecto hover dorado */
.nav-link:hover {
    color: #bf953f;
    text-shadow: 0 0 10px rgba(191, 149, 63, 0.6);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #bf953f;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* --- BOTÓN BACK TO TOP --- */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #000;
    border: 2px solid #bf953f; /* Borde dorado */
    border-radius: 50%; /* Redondo */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bf953f;
    font-size: 1.2rem;
    text-decoration: none;
    z-index: 999;
    
    /* Oculto por defecto (aparece con JS) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    
    box-shadow: 0 0 15px rgba(0,0,0,0.8);
}

.scroll-top-btn:hover {
    background: #bf953f;
    color: #000; /* Icono negro sobre fondo dorado */
    box-shadow: 0 0 25px rgba(191, 149, 63, 0.6);
    transform: translateY(-5px); /* Se eleva un poco */
}

/* Clase para mostrarlo */
.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- LOADER GAMER --- */
#game-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000; /* Fondo negro total */
    z-index: 9999; /* Por encima del Navbar y todo lo demás */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

/* Clase para ocultarlo cuando termine */
#game-loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.loader-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: #bf953f; /* Dorado */
    letter-spacing: 5px;
    margin-bottom: 30px;
    text-shadow: 0 0 15px rgba(191, 149, 63, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; text-shadow: 0 0 25px rgba(191, 149, 63, 0.8); }
    100% { opacity: 0.8; }
}

/* --- BARRA DE EXPERIENCIA (ESTILO MU) --- */
.exp-bar-container {
    position: relative;
    width: 100%;
    height: 25px; /* Altura de la barra */
    background: #111;
    border: 2px solid #555;
    border-radius: 4px; /* Un poco redondeado, o 0 para cuadrado total */
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
    overflow: hidden;
    margin-bottom: 15px;
}

/* El relleno dorado */
.exp-bar-fill {
    height: 100%;
    width: 0%; /* Empieza en 0 */
    background: linear-gradient(to bottom, #ffd700, #ff8c00); /* Degradado amarillo/naranja clásico */
    box-shadow: 0 0 10px #ff8c00;
    transition: width 0.1s linear; /* Movimiento fluido */
}

/* La grilla superpuesta (Los segmentos) */
.exp-bar-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Truco CSS: Líneas verticales negras transparentes cada 10% */
    background-image: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 9.8%,
        rgba(0, 0, 0, 0.8) 9.8%,
        rgba(0, 0, 0, 0.8) 10%
    );
    z-index: 2;
}

.loader-text {
    font-family: 'Poppins', sans-serif;
    color: #888;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#loader-percent {
    color: #fff;
    font-weight: bold;
}