/* Wake & Bake — React-parity shell overrides (beat WP core / customizer). */

:root {
	--background: #050505;
	--foreground: #f4f7f2;
	--surface: #121614;
	--card: #121614;
	--card-foreground: #f4f7f2;
	--popover: #121614;
	--popover-foreground: #f4f7f2;
	--primary: #7aecc0;
	--primary-foreground: #050505;
	--secondary: #1c211e;
	--secondary-foreground: #f4f7f2;
	--muted: #1c211e;
	--muted-foreground: #aeb8b2;
	--accent: #7aecc0;
	--accent-foreground: #050505;
	--destructive: #e24b4b;
	--destructive-foreground: #fff;
	--border: rgba(244, 247, 242, 0.16);
	--input: rgba(244, 247, 242, 0.16);
	--ring: #7aecc0;
	--brand-purple: #8b5cf6;
	--brand-green: #7aecc0;
	--brand-pink: #f472b6;
	--brand-blue: #38bdf8;
	--brand-yellow: #facc15;
	--gradient-brand: linear-gradient(120deg, #8b5cf6, #7aecc0 38%, #38bdf8 62%, #f472b6);
	--shadow-glow: 0 24px 80px -24px rgba(139, 92, 246, 0.7);
	--radius: 1.25rem;
}

html {
	background: #050505 !important;
	overflow-x: hidden;
	color-scheme: dark;
}

body.wb-theme,
body.wb-theme.custom-background,
body.wb-theme.wp-custom-logo {
	background: #050505 !important;
	background-image: none !important;
	color: #f4f7f2 !important;
	max-width: 100%;
	overflow-x: hidden;
	font-family: "Satoshi", "General Sans", system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
}

body.wb-theme a {
	color: inherit;
	text-decoration: none;
}

body.wb-theme main,
body.wb-theme #wb-header,
body.wb-theme footer {
	color: #f4f7f2;
}

/* ——— Header (React match) ——— */
#wb-header.wb-header {
	background: transparent !important;
	color: #f4f7f2;
	border: 0;
	box-shadow: none;
	z-index: 50;
}

#wb-header.glass-strong,
#wb-header.wb-header.glass-strong {
	background: rgba(5, 5, 5, 0.72) !important;
	-webkit-backdrop-filter: blur(28px) saturate(160%);
	backdrop-filter: blur(28px) saturate(160%);
	border-bottom: 1px solid rgba(244, 247, 242, 0.12);
}

html.admin-bar #wb-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	html.admin-bar #wb-header {
		top: 46px;
	}
}

.wb-nav-link {
	display: inline-flex;
	align-items: center;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(244, 247, 242, 0.72) !important;
	transition: color 0.25s ease;
}

.wb-nav-link:hover,
.wb-nav-link.is-active {
	color: #f4f7f2 !important;
}

.wb-nav-link-mobile {
	display: block;
	font-family: "Clash Display", "Bricolage Grotesque", sans-serif;
	font-size: 1.5rem;
	letter-spacing: -0.02em;
	color: #f4f7f2 !important;
}

.wb-icon-btn {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 9999px;
	border: 1px solid rgba(244, 247, 242, 0.22);
	color: #f4f7f2 !important;
	background: transparent;
	transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
	cursor: pointer;
}

/* Desktop: never show hamburger / mobile drawer */
@media (min-width: 1024px) {
	#wb-menu-btn,
	#wb-mobile-menu {
		display: none !important;
	}
}

.wb-icon-btn:hover {
	border-color: rgba(122, 236, 192, 0.7);
	color: #7aecc0 !important;
}

.wb-icon-btn.wb-open-cart:hover {
	border-color: rgba(244, 114, 182, 0.7);
	color: #f472b6 !important;
}

.wb-mobile-menu {
	background: rgba(18, 22, 20, 0.92) !important;
	-webkit-backdrop-filter: blur(22px) saturate(140%);
	backdrop-filter: blur(22px) saturate(140%);
	border: 1px solid rgba(244, 247, 242, 0.14);
}

/* ——— Typography / accents ——— */
body.wb-theme .font-display,
body.wb-theme h1,
body.wb-theme h2,
body.wb-theme h3 {
	font-family: "Clash Display", "Bricolage Grotesque", sans-serif;
	letter-spacing: -0.02em;
}

body.wb-theme .text-muted-foreground {
	color: #aeb8b2 !important;
}

body.wb-theme .text-lime,
body.wb-theme .hover\:text-lime:hover {
	color: #7aecc0 !important;
}

body.wb-theme .text-gradient {
	background-image: var(--gradient-brand);
	background-size: 200% 200%;
	color: transparent;
	-webkit-background-clip: text;
	background-clip: text;
	animation: wb-shift 10s ease infinite;
}

/* ——— Aurora / smoke (React-parity, outside Tailwind layers) ——— */
:root {
	--gradient-aurora: radial-gradient(60% 60% at 20% 20%, rgba(139, 92, 246, 0.55), transparent 70%),
		radial-gradient(55% 55% at 85% 15%, rgba(56, 189, 248, 0.4), transparent 70%),
		radial-gradient(65% 65% at 60% 95%, rgba(122, 236, 192, 0.35), transparent 70%);
}

.wb-aurora {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.wb-aurora__blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.55;
	will-change: transform;
}

.wb-aurora__blob--a {
	width: 42rem;
	height: 42rem;
	top: -8rem;
	left: -10rem;
	background: radial-gradient(circle, rgba(139, 92, 246, 0.7), transparent 68%);
	animation: wb-drift 26s ease-in-out infinite alternate;
}

.wb-aurora__blob--b {
	width: 38rem;
	height: 38rem;
	top: 30%;
	right: -12rem;
	background: radial-gradient(circle, rgba(56, 189, 248, 0.55), transparent 68%);
	animation: wb-drift 32s ease-in-out infinite alternate-reverse;
	animation-delay: -8s;
}

.wb-aurora__blob--c {
	width: 36rem;
	height: 36rem;
	bottom: -10rem;
	left: 35%;
	background: radial-gradient(circle, rgba(122, 236, 192, 0.5), transparent 68%);
	animation: wb-drift 28s ease-in-out infinite alternate;
	animation-delay: -14s;
}

body.wb-theme .smoke,
.smoke {
	background: var(--gradient-aurora) !important;
	filter: blur(70px) !important;
	opacity: 0.8 !important;
	will-change: transform, opacity;
	border-radius: 50%;
}

body.wb-theme .animate-drift,
.animate-drift {
	animation: wb-drift 26s ease-in-out infinite alternate !important;
}

body.wb-theme .animate-float-slow,
.animate-float-slow {
	animation: wb-float 11s ease-in-out infinite !important;
}

body.wb-theme .animate-glow-pulse,
.animate-glow-pulse {
	animation: wb-glow 4s ease-in-out infinite !important;
}

body.wb-theme .animate-marquee,
.animate-marquee {
	animation: wb-marquee 32s linear infinite !important;
}

@keyframes wb-drift {
	0% { transform: translate(-6%, 0) scale(1); }
	50% { transform: translate(6%, -4%) scale(1.15); }
	100% { transform: translate(-4%, 4%) scale(1.05); }
}

@keyframes wb-float {
	0%, 100% { transform: translateY(0) rotate(-1deg); }
	50% { transform: translateY(-26px) rotate(2deg); }
}

@keyframes wb-glow {
	0%, 100% { opacity: 0.55; }
	50% { opacity: 1; }
}

@keyframes wb-marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

@keyframes wb-shift {
	0%, 100% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
}

.wb-section {
	isolation: isolate;
}

@media (prefers-reduced-motion: reduce) {
	.wb-aurora__blob,
	.animate-drift,
	.animate-float-slow,
	.animate-glow-pulse,
	.animate-marquee,
	body.wb-theme .text-gradient {
		animation: none !important;
	}
}

/* Reveal */
.reveal {
	opacity: 1;
	transform: none;
}

html.wb-js .reveal[data-visible="false"] {
	opacity: 0;
	transform: translateY(38px);
}

html.wb-js .reveal[data-visible="true"] {
	opacity: 1;
	transform: none;
}

/* Kill leftover WP white boxes */
.wp-site-blocks,
.entry-content,
.wp-block-group {
	background: transparent !important;
}
