/* ============================================
   Linkedge Works – Custom Styles
   Neon arcade aesthetic for Mul-Tic-Tac!
   ============================================ */

/* --- Smooth scroll --- */
html {
	scroll-behavior: smooth;
}

/* --- Remove gap between header and first section --- */
.wp-site-blocks {
	gap: 0 !important;
}

.wp-site-blocks > * + * {
	margin-top: 0 !important;
}

/* --- Section glow overlays --- */
.hero-section,
.features-section,
.screenshots-section,
.cta-section,
.studio-section {
	position: relative;
	overflow: hidden;
}

.hero-section::before,
.features-section::before,
.screenshots-section::before,
.cta-section::before,
.studio-section::before {
	content: "";
	position: absolute;
	pointer-events: none;
}

/* Hero — cyan glow top-center */
.hero-section::before {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(ellipse at 60% 20%, rgba(0, 229, 255, 0.12) 0%, transparent 70%),
		radial-gradient(ellipse at 20% 80%, rgba(255, 45, 120, 0.05) 0%, transparent 60%);
}

/* Features — pink glow bottom-right, subtle cyan top-left */
.features-section::before {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(ellipse at 15% 10%, rgba(0, 229, 255, 0.07) 0%, transparent 50%),
		radial-gradient(ellipse at 85% 90%, rgba(255, 45, 120, 0.07) 0%, transparent 50%);
}

/* Screenshots — centered cyan glow */
.screenshots-section::before {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(ellipse at 50% 50%, rgba(0, 229, 255, 0.08) 0%, transparent 60%),
		radial-gradient(ellipse at 80% 20%, rgba(255, 140, 0, 0.04) 0%, transparent 40%);
}

/* --- Hero screenshot --- */
.hero-screenshot img {
	max-width: 280px;
	margin: 0 auto;
	display: block;
	border-radius: 16px;
	box-shadow:
		0 0 20px rgba(0, 229, 255, 0.3),
		0 0 60px rgba(0, 229, 255, 0.1);
}

/* --- Neon button styles --- */
.neon-button-primary .wp-block-button__link {
	background: var(--wp--preset--color--primary) !important;
	color: var(--wp--preset--color--background) !important;
	font-weight: 700;
	transition: box-shadow 0.3s ease, transform 0.2s ease;
	box-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
}

.neon-button-primary .wp-block-button__link:hover {
	box-shadow: 0 0 24px rgba(0, 229, 255, 0.5), 0 0 48px rgba(0, 229, 255, 0.2);
	transform: translateY(-2px);
}

.neon-button-outline .wp-block-button__link {
	border-color: var(--wp--preset--color--primary) !important;
	transition: box-shadow 0.3s ease, background-color 0.3s ease, transform 0.2s ease;
}

.neon-button-outline .wp-block-button__link:hover {
	background: rgba(0, 229, 255, 0.08) !important;
	box-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
	transform: translateY(-2px);
}

/* --- Feature icons --- */
.feature-icon {
	margin-bottom: 0 !important;
}

.feature-icon img {
	filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.3));
	transition: filter 0.3s ease;
}

.feature-card:hover .feature-icon img {
	filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5));
}

/* --- Feature cards --- */
.features-section .wp-block-column {
	display: flex;
}

.feature-card {
	flex: 1;
	transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
}

.feature-card:hover {
	border-color: var(--wp--preset--color--primary) !important;
	box-shadow: 0 0 20px rgba(0, 229, 255, 0.1), 0 4px 24px rgba(0, 0, 0, 0.3);
	transform: translateY(-4px);
}

/* --- Screenshot frames --- */
.screenshot-frame {
	transition: transform 0.25s ease;
}

.screenshot-frame:hover {
	transform: translateY(-4px);
}

.screenshot-frame img {
	max-width: 260px;
	margin: 0 auto;
	display: block;
	border-radius: 12px;
	box-shadow:
		0 0 20px rgba(0, 229, 255, 0.25),
		0 0 50px rgba(0, 229, 255, 0.08);
	transition: box-shadow 0.3s ease;
}

.screenshot-frame:hover img {
	box-shadow:
		0 0 30px rgba(0, 229, 255, 0.35),
		0 0 70px rgba(0, 229, 255, 0.12);
}

/* CTA — pink glow center, cyan accent */
.cta-section::before {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(ellipse at 50% 40%, rgba(255, 45, 120, 0.1) 0%, transparent 55%),
		radial-gradient(ellipse at 30% 80%, rgba(0, 229, 255, 0.06) 0%, transparent 45%);
}

/* Studio — subtle orange glow center */
.studio-section {
	text-align: center;
}

.studio-section::before {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(ellipse at 50% 50%, rgba(255, 140, 0, 0.06) 0%, transparent 55%),
		radial-gradient(ellipse at 70% 20%, rgba(0, 229, 255, 0.04) 0%, transparent 40%);
}

/* --- Privacy content styling --- */
.privacy-content h2 {
	margin-top: var(--wp--preset--spacing--40);
}

.privacy-content h2:first-child {
	margin-top: 0;
}

/* --- No-bullet list style --- */
.is-style-no-bullets {
	list-style: none;
	padding-left: 0;
}

/* --- Header sticky + backdrop blur --- */
header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 100;
}

.site-header {
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	background: rgba(10, 14, 39, 0.92) !important;
}

/* --- Nav brand (Mul-Tic-Tac!) --- */
.nav-brand {
	margin: 0 !important;
	white-space: nowrap;
}

.nav-brand a {
	color: var(--wp--preset--color--primary) !important;
	text-decoration: none !important;
}

/* --- Neon glow for "Mul-Tic-Tac!" everywhere --- */
.neon-brand,
.nav-brand a {
	font-family: var(--wp--preset--font-family--pixel);
	color: var(--wp--preset--color--primary);
	text-shadow:
		0 0 7px rgba(0, 229, 255, 0.6),
		0 0 20px rgba(0, 229, 255, 0.3),
		0 0 40px rgba(0, 229, 255, 0.15);
}

/* Inline mentions in body text: scale down to match surrounding text */
p .neon-brand,
li .neon-brand {
	font-size: 0.75em;
	vertical-align: baseline;
}

.nav-brand a:hover,
a:hover .neon-brand {
	text-shadow:
		0 0 10px rgba(0, 229, 255, 0.8),
		0 0 30px rgba(0, 229, 255, 0.5),
		0 0 60px rgba(0, 229, 255, 0.25);
}

/* --- Navigation link styling --- */
.nav-links a {
	color: var(--wp--preset--color--muted) !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
	position: relative;
}

.nav-links a:hover {
	color: var(--wp--preset--color--foreground) !important;
}

/* Active-style underline on hover */
.nav-links a::after {
	content: "";
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--wp--preset--color--primary);
	transition: width 0.25s ease;
	border-radius: 1px;
}

.nav-links a:hover::after {
	width: 100%;
}

/* --- Store badge (Google Play) --- */
.store-badge img {
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-badge img:hover {
	transform: translateY(-2px);
	opacity: 0.85;
}

.header-store-badge .store-badge img {
	width: 140px !important;
}

/* --- Global link transition --- */
a {
	transition: color 0.2s ease;
}

/* --- Mobile adjustments --- */
@media (max-width: 781px) {
	.hero-screenshot img {
		max-width: 220px;
	}

	.screenshot-frame img {
		max-width: 200px;
	}

	/* Stack columns on mobile for features */
	.features-section .wp-block-columns {
		flex-direction: column;
	}
}

/* --- Selection color --- */
::selection {
	background: rgba(0, 229, 255, 0.3);
	color: #fff;
}

/* --- Scrollbar (Webkit) --- */
::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: var(--wp--preset--color--background);
}

::-webkit-scrollbar-thumb {
	background: var(--wp--preset--color--surface-border);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--wp--preset--color--primary);
}
