/* ==========================================================================
   Sticky header — transparent-over-hero, glass on scroll
   ========================================================================== */

.lss-header {
	position: fixed;
	inset-inline: 0;
	top: 0;
	z-index: 1000;
	height: var(--header-h);
	display: flex;
	align-items: center;
	background: transparent;
	border-bottom: 1px solid transparent;
	backdrop-filter: blur(0px);
	-webkit-backdrop-filter: blur(0px);
	transition: background-color 0.45s ease, border-color 0.45s ease, backdrop-filter 0.45s ease, box-shadow 0.45s ease, height 0.3s ease;
}

.lss-header.is-scrolled {
	height: 68px;
	background: var(--glass-bg);
	border-bottom: 1px solid var(--glass-border);
	backdrop-filter: blur(18px) saturate(140%);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	box-shadow: 0 8px 30px rgba(2, 6, 16, 0.45), 0 1px 0 rgba(56, 209, 255, 0.15);
}

.lss-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
}

/* Brand / logo -------------------------------------------------------- */

.lss-header__brand {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.lss-header__logo-circle {
	position: relative;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle at 50% 45%, #101b30 0%, #0b1220 60%, #070b14 100%);
	box-shadow: inset 0 0 0 1px rgba(120, 190, 255, 0.18), 0 0 18px rgba(46, 155, 255, 0.22);
	transition: box-shadow 0.3s ease;
}

.lss-header__brand:hover .lss-header__logo-circle {
	box-shadow: inset 0 0 0 1px rgba(120, 190, 255, 0.3), 0 0 26px rgba(56, 209, 255, 0.4);
}

.lss-header__logo-circle img {
	width: 76px;
	height: 76px;
	max-width: none;
	object-fit: contain;
}

.lss-header__brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.lss-header__brand-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 17px;
	letter-spacing: 0.5px;
	background: var(--grad-brand);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.lss-header__brand-sub {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 11px;
	letter-spacing: 3px;
	color: var(--cyan-400);
}

/* Nav ------------------------------------------------------------------ */

.lss-header__nav ul {
	display: flex;
	align-items: center;
	gap: 8px;
}

.lss-header__nav a {
	position: relative;
	display: inline-block;
	padding: 10px 14px;
	font-size: 15px;
	font-weight: 600;
	color: var(--silver-300);
	transition: color 0.25s ease;
}

.lss-header__nav a::after {
	content: '';
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 4px;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
	box-shadow: 0 0 10px rgba(56, 209, 255, 0.7);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.35s var(--ease-out-back);
}

.lss-header__nav a:hover,
.lss-header__nav a:focus-visible {
	color: var(--silver-100);
}

.lss-header__nav a:hover::after,
.lss-header__nav a:focus-visible::after {
	transform: scaleX(1);
}

/* Actions ---------------------------------------------------------------- */

.lss-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.lss-currency {
	border: 1px solid var(--glass-border);
	background: rgba(255, 255, 255, 0.04);
	color: var(--silver-100);
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 700;
	transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.lss-currency:hover {
	border-color: rgba(56, 209, 255, 0.5);
	box-shadow: 0 0 14px rgba(56, 209, 255, 0.3);
	background: rgba(56, 209, 255, 0.08);
}

.lss-icon-btn,
.lss-cart-btn {
	position: relative;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--glass-border);
	color: var(--silver-300);
	transition: color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.lss-icon-btn:hover,
.lss-cart-btn:hover {
	color: var(--cyan-400);
	border-color: rgba(56, 209, 255, 0.5);
	box-shadow: 0 0 16px rgba(56, 209, 255, 0.35);
	transform: translateY(-1px);
}

.lss-icon-btn--discord:hover {
	color: #8ea1ff;
	border-color: rgba(142, 161, 255, 0.5);
	box-shadow: 0 0 16px rgba(142, 161, 255, 0.4);
}

.lss-icon-btn--whatsapp:hover {
	color: #5be08a;
	border-color: rgba(91, 224, 138, 0.5);
	box-shadow: 0 0 16px rgba(91, 224, 138, 0.4);
}

.lss-cart-btn__badge {
	position: absolute;
	top: -4px;
	inset-inline-start: -4px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
	color: #041019;
	font-size: 10px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 8px rgba(56, 209, 255, 0.6);
}

/* Burger ------------------------------------------------------------------ */

.lss-burger {
	display: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--glass-border);
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.lss-burger span {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: var(--silver-100);
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.lss-burger.is-active span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.lss-burger.is-active span:nth-child(2) {
	opacity: 0;
}

.lss-burger.is-active span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer ------------------------------------------------------------ */

.lss-drawer__overlay {
	position: fixed;
	inset: 0;
	background: rgba(3, 6, 13, 0.6);
	backdrop-filter: blur(2px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.35s ease;
	z-index: 1001;
}

.lss-drawer {
	position: fixed;
	top: 0;
	right: 0;
	height: 100dvh;
	width: min(86vw, 340px);
	background: linear-gradient(180deg, rgba(10, 16, 30, 0.97), rgba(6, 10, 20, 0.98));
	border-left: 1px solid var(--glass-border);
	box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(20px);
	transform: translateX(100%);
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	z-index: 1002;
	padding: 110px 28px 40px;
	display: flex;
	flex-direction: column;
	gap: 36px;
	overflow-y: auto;
}

.lss-drawer.is-open {
	transform: translateX(0);
}

.lss-drawer__overlay.is-open {
	opacity: 1;
	pointer-events: auto;
}

.lss-drawer__nav ul {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.lss-drawer__nav a {
	display: block;
	padding: 16px 10px;
	font-size: 18px;
	font-weight: 700;
	color: var(--silver-100);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	opacity: 0;
	transform: translateY(14px);
}

.lss-drawer.is-open .lss-drawer__nav a {
	animation: lss-drawer-in 0.5s var(--ease-out-back) forwards;
}

.lss-drawer.is-open .lss-drawer__nav li:nth-child(1) a { animation-delay: 0.05s; }
.lss-drawer.is-open .lss-drawer__nav li:nth-child(2) a { animation-delay: 0.11s; }
.lss-drawer.is-open .lss-drawer__nav li:nth-child(3) a { animation-delay: 0.17s; }
.lss-drawer.is-open .lss-drawer__nav li:nth-child(4) a { animation-delay: 0.23s; }
.lss-drawer.is-open .lss-drawer__nav li:nth-child(5) a { animation-delay: 0.29s; }

@keyframes lss-drawer-in {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.lss-drawer__actions {
	display: flex;
	gap: 14px;
}

.lss-drawer__actions .lss-icon-btn {
	width: 48px;
	height: 48px;
}

/* Responsive --------------------------------------------------------------- */

@media (max-width: 980px) {
	.lss-header__nav {
		display: none;
	}

	.lss-currency {
		display: none;
	}

	.lss-header__actions > .lss-icon-btn {
		display: none;
	}

	.lss-burger {
		display: flex;
	}
}

@media (max-width: 480px) {
	.lss-header__brand-text {
		display: none;
	}

	.lss-header__logo-circle {
		width: 44px;
		height: 44px;
	}

	.lss-header__logo-circle img {
		width: 64px;
		height: 64px;
	}
}
