/* ===============================================
   EE88 Professional Header 2026
   Dark theme + centered logo + side nav + glowing CTA
   =============================================== */

/* ---------- Header container ---------- */
.ee88-pro-header {
	background: linear-gradient(180deg, #0a0a14 0%, #0d0d18 100%);
	border-bottom: 1px solid rgba(233, 207, 164, 0.12);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
	position: relative;
	z-index: 1000;
}

.ee88-pro-header::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, rgba(233, 207, 164, 0.4) 50%, transparent 100%);
}

/* ---------- Top bar ---------- */
.ee88-top-bar {
	background: rgba(0, 0, 0, 0.4);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	padding: 6px 0;
	font-size: 13px;
	color: #e9cfa4;
}

.ee88-top-bar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: nowrap;
}

.ee88-hotline i {
	color: #e9cfa4;
	margin-right: 6px;
}

.ee88-hotline strong {
	color: #fff;
	margin-left: 4px;
	letter-spacing: 0.5px;
}

.ee88-top-right {
	display: flex;
	gap: 10px;
	align-items: center;
}

/* ---------- CTA buttons (top) ---------- */
.ee88-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 18px;
	border-radius: 30px;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	text-decoration: none !important;
	color: #fff !important;
	letter-spacing: 0.5px;
	position: relative;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	overflow: hidden;
}

.ee88-cta-register {
	background: linear-gradient(135deg, #00c853 0%, #00a844 100%);
	box-shadow: 0 4px 14px rgba(0, 200, 83, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ee88-cta-register:hover {
	background: linear-gradient(135deg, #00e676 0%, #00c853 100%);
	box-shadow: 0 6px 22px rgba(0, 200, 83, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
	transform: translateY(-1px);
}

.ee88-cta-login {
	background: linear-gradient(135deg, #ff5252 0%, #d32f2f 100%);
	box-shadow: 0 4px 14px rgba(255, 82, 82, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ee88-cta-login:hover {
	background: linear-gradient(135deg, #ff7b7b 0%, #ff5252 100%);
	box-shadow: 0 6px 22px rgba(255, 82, 82, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
	transform: translateY(-1px);
}

.ee88-cta::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
	transition: left 0.6s ease;
}

.ee88-cta:hover::before {
	left: 100%;
}

/* ---------- Main bar ---------- */
.ee88-main-bar {
	padding: 16px 0;
	background: linear-gradient(180deg, rgba(13, 13, 24, 0.95) 0%, rgba(10, 10, 20, 0.95) 100%);
	backdrop-filter: blur(10px);
}

.ee88-main-bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

/* ---------- Center logo ---------- */
.ee88-logo-wrap {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 220px;
}

.ee88-logo-link {
	display: inline-block;
	position: relative;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ee88-logo-img {
	max-height: 64px !important;
	width: auto !important;
	max-width: 220px !important;
	height: auto;
	display: block;
	filter: drop-shadow(0 4px 16px rgba(233, 207, 164, 0.35)) drop-shadow(0 0 30px rgba(233, 207, 164, 0.15));
	transition: all 0.4s ease;
}

.ee88-logo-link:hover .ee88-logo-img {
	filter: drop-shadow(0 6px 22px rgba(233, 207, 164, 0.6)) drop-shadow(0 0 40px rgba(233, 207, 164, 0.3));
	transform: scale(1.05);
}

/* Pulse ring effect around logo */
.ee88-logo-link::before {
	content: "";
	position: absolute;
	inset: -10px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(233, 207, 164, 0.15) 0%, transparent 70%);
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: -1;
}

.ee88-logo-link:hover::before {
	opacity: 1;
}

/* ---------- Side navigation ---------- */
.ee88-nav-left,
.ee88-nav-right {
	flex: 1 1 0;
	min-width: 0;
}

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

.ee88-nav-right .ee88-nav-list {
	justify-content: flex-end;
}

.ee88-nav-list .menu-item a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	color: #e9cfa4 !important;
	text-decoration: none !important;
	border-radius: 8px;
	letter-spacing: 0.5px;
	position: relative;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	white-space: nowrap;
}

.ee88-nav-list .menu-item a i {
	font-size: 16px;
	color: rgba(233, 207, 164, 0.7);
	transition: all 0.25s ease;
}

.ee88-nav-list .menu-item a:hover {
	color: #fff !important;
	background: linear-gradient(135deg, rgba(233, 207, 164, 0.15) 0%, rgba(233, 207, 164, 0.05) 100%);
	text-shadow: 0 0 12px rgba(233, 207, 164, 0.6);
	transform: translateY(-1px);
}

.ee88-nav-list .menu-item a:hover i {
	color: #e9cfa4;
	transform: scale(1.15);
}

.ee88-nav-list .ee88-active a {
	color: #fff !important;
	background: linear-gradient(135deg, rgba(233, 207, 164, 0.2) 0%, rgba(233, 207, 164, 0.08) 100%);
	box-shadow: inset 0 -2px 0 0 #e9cfa4;
}

.ee88-nav-list .ee88-active a i {
	color: #e9cfa4;
}

/* ---------- Mobile burger ---------- */
.ee88-burger {
	display: inline-flex;
	flex-direction: column;
	justify-content: space-between;
	width: 30px;
	height: 22px;
	padding: 0;
	background: none !important;
}

.ee88-burger span {
	display: block;
	width: 100%;
	height: 3px;
	background: #e9cfa4;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.ee88-search-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(233, 207, 164, 0.1);
	color: #e9cfa4;
	font-size: 18px;
	text-decoration: none !important;
	transition: all 0.3s ease;
}

.ee88-search-btn:hover {
	background: rgba(233, 207, 164, 0.25);
	color: #fff;
	transform: rotate(15deg);
}

/* ---------- Mobile compact CTA buttons (top right corner) ---------- */
body .ee88-mobile-right {
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
}

body .ee88-cta-mobile {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 56px !important;
	height: 36px !important;
	padding: 0 10px !important;
	border-radius: 18px !important;
	font-family: 'Roboto Condensed', sans-serif !important;
	font-weight: 700 !important;
	font-size: 13px !important;
	color: #ffffff !important;
	text-decoration: none !important;
	letter-spacing: 0.3px !important;
	transition: all 0.25s ease !important;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4) !important;
	opacity: 1 !important;
	visibility: visible !important;
	background-image: linear-gradient(135deg, #00c853 0%, #00a844 100%) !important;
	border: none !important;
	text-shadow: none !important;
}

body .ee88-cta-mobile-register {
	background-color: #00a844 !important;
	background-image: linear-gradient(135deg, #00c853 0%, #00a844 100%) !important;
}

body .ee88-cta-mobile-register:hover {
	background-color: #00c853 !important;
	background-image: linear-gradient(135deg, #00e676 0%, #00c853 100%) !important;
	transform: translateY(-1px) !important;
}

body .ee88-cta-mobile-login {
	background-color: #d32f2f !important;
	background-image: linear-gradient(135deg, #ff5252 0%, #d32f2f 100%) !important;
}

body .ee88-cta-mobile-login:hover {
	background-color: #ff5252 !important;
	background-image: linear-gradient(135deg, #ff7b7b 0%, #ff5252 100%) !important;
	transform: translateY(-1px) !important;
}

/* ---------- Mobile full-width CTA bar (always visible on mobile) ---------- */
body .ee88-mobile-cta-bar {
	background-color: #0d0d18 !important;
	background-image: linear-gradient(180deg, rgba(13, 13, 24, 0.98) 0%, rgba(20, 14, 40, 0.98) 100%) !important;
	border-top: 1px solid rgba(233, 207, 164, 0.15) !important;
	padding: 8px 0 !important;
	display: block !important;
	width: 100% !important;
	position: relative !important;
	z-index: 50 !important;
	opacity: 1 !important;
	visibility: visible !important;
}

body .ee88-mobile-cta-bar .container {
	display: flex !important;
	gap: 8px !important;
}

body .ee88-mobile-cta {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 10px 6px !important;
	border-radius: 12px !important;
	color: #ffffff !important;
	text-decoration: none !important;
	font-family: 'Roboto Condensed', sans-serif !important;
	font-weight: 700 !important;
	position: relative !important;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
	min-height: 56px !important;
	opacity: 1 !important;
	visibility: visible !important;
	border: none !important;
	text-shadow: none !important;
}

body .ee88-mobile-cta-register {
	background-color: #008a3a !important;
	background-image: linear-gradient(135deg, #00c853 0%, #008a3a 100%) !important;
	box-shadow: 0 4px 14px rgba(0, 200, 83, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

body .ee88-mobile-cta-register:hover,
body .ee88-mobile-cta-register:active {
	background-color: #00c853 !important;
	background-image: linear-gradient(135deg, #00e676 0%, #00c853 100%) !important;
	box-shadow: 0 6px 20px rgba(0, 200, 83, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
	transform: translateY(-1px) !important;
}

body .ee88-mobile-cta-login {
	background-color: #c62828 !important;
	background-image: linear-gradient(135deg, #ff5252 0%, #c62828 100%) !important;
	box-shadow: 0 4px 14px rgba(255, 82, 82, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

body .ee88-mobile-cta-login:hover,
body .ee88-mobile-cta-login:active {
	background-color: #ff5252 !important;
	background-image: linear-gradient(135deg, #ff7b7b 0%, #ff5252 100%) !important;
	box-shadow: 0 6px 20px rgba(255, 82, 82, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
	transform: translateY(-1px) !important;
}

body .ee88-mobile-cta i {
	font-size: 18px !important;
	margin-bottom: 2px !important;
	opacity: 0.95 !important;
	color: #ffffff !important;
}

body .ee88-mobile-cta-label {
	font-size: 11px !important;
	letter-spacing: 0.5px !important;
	text-transform: uppercase !important;
	line-height: 1 !important;
	color: #ffffff !important;
}

body .ee88-mobile-cta-bonus {
	font-size: 14px !important;
	font-weight: 900 !important;
	color: #fff700 !important;
	text-shadow: 0 0 8px rgba(255, 247, 0, 0.6) !important;
	line-height: 1 !important;
	margin-top: 2px !important;
}

/* ---------- Sticky state ---------- */
.has-sticky .ee88-pro-header.stuck {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	animation: ee88SlideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes ee88SlideDown {
	from { transform: translateY(-100%); opacity: 0; }
	to   { transform: translateY(0); opacity: 1; }
}

/* ===============================================
   RESPONSIVE
   =============================================== */
@media (max-width: 1024px) {
	.ee88-nav-list .menu-item a {
		padding: 8px 10px;
		font-size: 13px;
		gap: 4px;
	}
	.ee88-nav-list .menu-item a i { display: none; }
	.ee88-logo-img { max-height: 52px !important; max-width: 180px !important; }
}

@media (max-width: 850px) {
	.ee88-top-bar { display: none; }
	.ee88-main-bar { padding: 12px 0; }
	.ee88-logo-img { max-height: 48px !important; max-width: 160px !important; }
	.ee88-main-bar-inner { gap: 12px; }

	/* Hide desktop compact CTA on small screens (mobile bar handles it) */
	.ee88-top-right .ee88-cta { display: none; }
}

@media (min-width: 851px) {
	/* Hide mobile CTA bar on desktop */
	body .ee88-mobile-cta-bar,
	body .ee88-mobile-right,
	body .ee88-mobile-left { display: none !important; }
}

@media (max-width: 549px) {
	.ee88-logo-img { max-height: 42px !important; max-width: 140px !important; }
	.ee88-logo-wrap { min-width: 100px; }
	.ee88-mobile-cta { padding: 8px 4px; min-height: 52px; }
	.ee88-mobile-cta-bonus { font-size: 13px; }
	.ee88-mobile-cta-label { font-size: 10px; }
	.ee88-mobile-cta i { font-size: 16px; }
}

/* Hide old Flatsome header markers when ours is active */
.ee88-pro-header .header-logo-dark,
.ee88-pro-header #logo { display: none; }

/* Make page content respect the new taller header */
.ee88-pro-header + #main-content,
.ee88-pro-header + .page-content { margin-top: 0; }
