.apella-nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 8888;
	background: linear-gradient(to bottom, #2b2b2b, #1f1f1f);
	border-bottom: 2px solid #ff8c00;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8), 0 0 12px rgba(255, 140, 0, 0.55), inset 0 -1px 0 #ff8c00;
}

.apella-container {
	width: 90%;
	max-width: 1400px;
	margin: auto;
}

.nav-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
}

.nav-logo img {
	height: 60px;
	display: block;
	filter: drop-shadow(0 0 5px rgba(255,140,0,0.45)) drop-shadow(0 0 12px rgba(255,140,0,0.22));
}

/* MENU PRINCIPAL */

.nav-menu {
	list-style: none;
	display: flex;
	gap: 30px;
	margin: 0;
	padding: 0;
	align-items: center;
}

.nav-menu li {
	list-style: none;
}

.nav-menu .nav-link {
	color: #e8b874;
	background: transparent !important;
	box-shadow: none !important;
	text-decoration: none;
	font-weight: 500;
	transition: 0.25s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 6px;
	text-shadow: 0 0 3px rgba(255, 180, 80, 0.35), 0 0 6px rgba(255, 140, 0, 0.12);
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link:focus {
	color: #ffd89e;
	background: transparent !important;
	box-shadow: none !important;
	text-shadow: 0 0 6px rgba(255, 150, 0, 0.75), 0 0 12px rgba(255, 140, 0, 0.55), 0 0 20px rgba(255, 140, 0, 0.30);
}

.nav-menu .nav-item.show > .nav-link,
.nav-menu .nav-link.active {
	color: #ffcc7a;
	background: transparent !important;
	box-shadow: none !important;
	text-shadow: 0 0 6px rgba(255, 170, 60, 0.65), 0 0 14px rgba(255, 140, 0, 0.30);
}

.nav-menu .nav-link i {
	color: #f0bc6a;
	transition: 0.25s ease;
	text-shadow: 0 0 6px rgba(255, 140, 0, 0.20);
}

.nav-menu .nav-link:hover i,
.nav-menu .nav-link:focus i,
.nav-menu .nav-item.show > .nav-link i {
	color: #ffd89e;
	text-shadow: 0 0 6px rgba(255, 170, 60, 0.65), 0 0 12px rgba(255, 140, 0, 0.35);
}

/* DROPDOWN */

.dropdown-dark {
	background: #1e1e1e;
	border: 1px solid #ff8c00;
	border-radius: 8px;
	padding: 8px 0;
	min-width: 215px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45), 0 0 12px rgba(255, 140, 0, 0.12);
}

.dropdown-dark .dropdown-item {
	color: #e8b874;
	background-color: transparent !important;
	transition: 0.2s ease;
	padding: 10px 16px;
	font-weight: 500;
	text-shadow: 0 0 2px rgba(255, 180, 80, 0.25);
}

.dropdown-dark .dropdown-item:hover,
.dropdown-dark .dropdown-item:focus {
	color: #fff3d6 !important;
	background-color: #f0aa2b !important;
	text-shadow: 0 0 6px rgba(255, 220, 150, 0.45);
}

.dropdown-dark .dropdown-item.active,
.dropdown-dark .dropdown-item:active {
	color: #e8b874 !important;
	background-color: transparent !important;
}

/* SUBMENU */

.dropdown-submenu {
	position: relative;
}

.dropdown-submenu > .dropdown-item {
	background-color: transparent !important;
}

.dropdown-submenu > .dropdown-item:hover,
.dropdown-submenu > .dropdown-item:focus {
	background-color: #f0aa2b !important;
	color: #fff3d6 !important;
}

.dropdown-submenu {
	position: relative;
}

.dropdown-submenu > .dropdown-menu {
	top: 0;
	left: 100%;
	margin-top: -6px;
	margin-left: 0;
	display: none;
}

.dropdown-submenu:hover > .dropdown-menu {
	display: block;
}

/* Flechitas dropdown bootstrap más visibles */

.dropdown-toggle::after {
	margin-left: 0;
	vertical-align: middle;
	color: #f0bc6a;
}

/* ICONOS REDES */

.nav-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}
.nav-actions .nav-login-link {
	color: #e8b874;
	background: transparent;
	border: none;
	text-decoration: none;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	cursor: pointer;
	font-family: inherit;
	font-size: inherit;
	text-shadow: 0 0 3px rgba(255, 180, 80, 0.35), 0 0 6px rgba(255, 140, 0, 0.12);
	transition: 0.25s ease;
}

.nav-actions .nav-login-link:hover,
.nav-actions .nav-login-link:focus {
	color: #ffd89e;
	background: transparent;
	text-decoration: none;
	text-shadow: 0 0 6px rgba(255, 150, 0, 0.75), 0 0 12px rgba(255, 140, 0, 0.55);
}

.social {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 18px;
}

.discord {
	background: #5865f2;
}

.facebook {
	background: #1877f2;
}

/* BOTON PLAY */

.l2-play-btn-epic {
	position: relative;
	overflow: hidden;
	background: linear-gradient(to bottom, #ffb23c 0%, #ff8a00 50%, #ef6d00 100%);
	border: 2px solid #ffd27a;
	color: #fff3cf !important;
	font-weight: bold;
	font-size: 20px;
	text-decoration: none;
	padding: 12px 32px;
	border-radius: 10px;
	text-shadow: 0 1px 0 #7a3600, 0 0 6px rgba(255, 220, 120, 0.3);
	box-shadow: 0 0 12px rgba(255, 140, 0, 0.9), 0 0 22px rgba(255, 140, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 0 rgba(120, 45, 0, 0.35);
	animation: firemove 6s linear infinite;
}

.l2-play-btn-epic::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url('/img/btn-fire-texture.png') center/cover no-repeat;
	opacity: 0.25;
	mix-blend-mode: screen;
	pointer-events: none;
}

.l2-play-btn-epic::after {
	content: "";
	position: absolute;
	top: 0;
	left: -35%;
	width: 32%;
	height: 100%;
	transform: skewX(-22deg);
	pointer-events: none;
	background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.28), rgba(255,255,255,0));
}

.l2-play-btn-epic:hover {
	color: #fff1c9 !important;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 0 10px rgba(255, 140, 0, 1), 0 0 24px rgba(255, 140, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 0 rgba(120, 45, 0, 0.35);
}

.l2-play-btn-epic:hover::after {
	left: 115%;
	transition: left 0.7s ease;
}

.l2-play-btn-epic:active {
	transform: translateY(1px);
	box-shadow: 0 0 6px rgba(255, 140, 0, 0.8), 0 0 14px rgba(255, 140, 0, 0.55), inset 0 2px 4px rgba(90, 35, 0, 0.35);
}

@keyframes firemove {
	0% {
		background-position: 0 center;
	}
	100% {
		background-position: 100% center;
	}
}

/* RESPONSIVE */

@media(max-width: 1100px) {
	.nav-wrapper {
		flex-wrap: wrap;
		justify-content: center;
		gap: 15px;
	}

	.nav-menu {
		flex-wrap: wrap;
		justify-content: center;
		gap: 18px;
	}

	.nav-actions {
		justify-content: center;
	}
}


.l2-status-bar {
	width: 100%;
	margin-top: 88px;
	background: #1b1b1b;

	border-top: 1px solid rgba(255, 140, 0, 0.15);
	border-bottom: 1px solid rgba(255, 140, 0, 0.15);

	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.l2-status-container {
	max-width: 1400px;
	margin: 0 auto;
	min-height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	padding: 4px 20px;
}

.l2-status-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 500;
	color: #f3e0b7;
	text-shadow: 0 0 4px rgba(255, 140, 0, 0.15);
}

.l2-status-label {
	color: #ffffff;
	opacity: 0.95;
}

.l2-status-value {
	font-size: 13px;
	letter-spacing: 0.3px;
}

.l2-status-item.online .status-value {
	color: #7dff8a;
	text-shadow: 0 0 6px rgba(60, 255, 120, 0.35);
}

.l2-status-item.offline .status-value {
	color: #ff6b6b;
	text-shadow: 0 0 6px rgba(255, 70, 70, 0.30);
}

.status-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	display: inline-block;
	position: relative;
}

.l2-status-item.online .status-dot {
	background: #4cff6a;
	box-shadow: 0 0 6px rgba(76, 255, 106, 0.75), 0 0 12px rgba(76, 255, 106, 0.35);
}

.l2-status-item.offline .status-dot {
	background: #ff4040;
	box-shadow: 0 0 6px rgba(255, 64, 64, 0.75), 0 0 12px rgba(255, 64, 64, 0.35);
}

.l2-status-divider {
	width: 1px;
	height: 16px;
	background: linear-gradient(to bottom, transparent, rgba(255,140,0,0.45), transparent);
}

.btn-login {
	margin-right: 10px;
	padding: 10px 18px;

	border-radius: 8px;

	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 180, 80, 0.4);

	color: #ffd48a;
	font-weight: 600;

	transition: 0.2s;
}

@media(max-width: 576px) {
	.l2-status-container {
		gap: 10px;
		padding: 6px 12px;
	}

	.l2-status-item {
		font-size: 12px;
		gap: 6px;
	}

	.l2-status-value {
		display: none;
	}
}


/* BOTÓN HAMBURGUESA: OCULTO EN ESCRITORIO */
.apella-mobile-toggle {
    display: none;
}

/* HEADER RESPONSIVE */
@media (max-width: 767px) {

    .apella-nav {
        position: relative;
        width: 100%;
    }

    .apella-container {
        width: 100%;
        padding: 0 16px;
    }

    .nav-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        padding: 10px 0;
    }

    /* LOGO */
    .nav-logo img {
        height: 52px;
    }

    /* HAMBURGUESA */
    .apella-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background: #252525;
        color: #ffb347;
        border: 1px solid #b97825;
        border-radius: 8px;
        font-size: 20px;
        cursor: pointer;
        order: 2;
    }

    /* MENÚ DESPLEGABLE */
    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 2px;
        width: 100%;
        padding: 12px 0;
        margin: 0;
        order: 3;
    }

    .nav-menu.mobile-open {
        display: flex;
    }

    .nav-menu .nav-link {
        display: flex;
        width: 100%;
        padding: 12px 14px;
    }

    /* LOGIN Y PLAY NOW */
    .nav-actions {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        gap: 12px;
        margin-top: 10px;
        order: 4;
    }

    .nav-actions .nav-login-link {
        font-size: 14px;
    }

    .l2-play-btn-epic {
        font-size: 15px;
        padding: 9px 20px;
        white-space: nowrap;
    }

    /* DROPDOWN */
    .nav-menu .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin: 4px 0;
        box-shadow: none;
    }

    .nav-menu .dropdown-submenu > .dropdown-menu {
        position: static !important;
        margin-left: 12px;
        width: calc(100% - 12px);
    }

    .nav-menu .dropdown-submenu:hover > .dropdown-menu {
        display: none;
    }

    .nav-menu .dropdown-submenu > .dropdown-menu[style*="display: block"] {
        display: block !important;
    }

    /* BARRA DE ESTADO */
    .l2-status-bar {
        margin-top: 0;
    }

}
