/**
 * The Four Tabs – Blog Front Page
 * hero.css — aurora background, glass panel, hero content.
 */

.tft-bfp-hero {
	position: relative;
	min-height: 92vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	padding: clamp(96px, 12vh, 160px) 0 120px;
	background:
		radial-gradient(ellipse 80% 60% at 20% 10%, rgba(59, 130, 246, 0.12), transparent 60%),
		radial-gradient(ellipse 60% 50% at 85% 25%, rgba(139, 92, 246, 0.1), transparent 60%),
		radial-gradient(ellipse 70% 60% at 50% 110%, rgba(0, 229, 255, 0.08), transparent 65%),
		linear-gradient(180deg, #050505 0%, #070a0f 60%, #050505 100%);
}

/* --- Aurora orbs --------------------------------------------------- */
.tft-bfp-hero__aurora {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 1;
}

.tft-bfp-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(90px);
	opacity: 0.55;
	will-change: transform;
}

.tft-bfp-orb--1 {
	width: 480px;
	height: 480px;
	top: -120px;
	left: -80px;
	background: radial-gradient(circle at 30% 30%, rgba(0, 229, 255, 0.5), transparent 70%);
	animation: tft-bfp-float-a 18s ease-in-out infinite;
}

.tft-bfp-orb--2 {
	width: 420px;
	height: 420px;
	top: 10%;
	right: -140px;
	background: radial-gradient(circle at 60% 40%, rgba(139, 92, 246, 0.5), transparent 70%);
	animation: tft-bfp-float-b 22s ease-in-out infinite;
}

.tft-bfp-orb--3 {
	width: 380px;
	height: 380px;
	bottom: -140px;
	left: 30%;
	background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.45), transparent 70%);
	animation: tft-bfp-float-c 26s ease-in-out infinite;
}

.tft-bfp-mesh {
	position: absolute;
	border-radius: 50%;
	filter: blur(120px);
	opacity: 0.3;
}

.tft-bfp-mesh--a {
	width: 700px;
	height: 700px;
	top: 40%;
	left: -220px;
	background: conic-gradient(from 120deg, rgba(0, 229, 255, 0.5), rgba(139, 92, 246, 0.5), rgba(59, 130, 246, 0.5), rgba(0, 229, 255, 0.5));
	animation: tft-bfp-mesh-spin 34s linear infinite;
}

.tft-bfp-mesh--b {
	width: 560px;
	height: 560px;
	bottom: -160px;
	right: -160px;
	background: conic-gradient(from 40deg, rgba(139, 92, 246, 0.45), rgba(0, 229, 255, 0.45), rgba(59, 130, 246, 0.45), rgba(139, 92, 246, 0.45));
	animation: tft-bfp-mesh-spin 28s linear infinite reverse;
}

/* --- Glass panel ---------------------------------------------------- */
.tft-bfp-hero__glass {
	opacity: 1;
	transform: none;
	position: relative;
	z-index: 2;
	max-width: 840px;
	margin-inline: auto;
	text-align: center;
	padding: clamp(36px, 6vw, 72px);
	border-radius: 32px;
	background: linear-gradient(160deg, rgba(17, 18, 26, 0.6), rgba(11, 15, 20, 0.45));
	border: 1px solid var(--tft-bfp-border);
	backdrop-filter: blur(24px) saturate(140%);
	-webkit-backdrop-filter: blur(24px) saturate(140%);
	box-shadow: var(--tft-bfp-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html.tft-bfp-js .tft-bfp-hero__glass {
	opacity: 0;
	transform: translateY(28px) scale(0.98);
	transition: opacity 0.9s var(--tft-bfp-ease) 0.15s, transform 0.9s var(--tft-bfp-ease) 0.15s;
}

html.tft-bfp-js .tft-bfp-hero__glass.is-in {
	opacity: 1;
	transform: none;
}

.tft-bfp-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 18px;
	border-radius: var(--tft-bfp-radius-pill);
	background: rgba(0, 229, 255, 0.08);
	border: 1px solid rgba(0, 229, 255, 0.25);
	color: var(--tft-bfp-accent);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin: 0 0 22px;
}

.tft-bfp-pulse-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--tft-bfp-accent);
	box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.6);
	animation: tft-bfp-pulse 2s infinite;
}

.tft-bfp-hero__title {
	font-size: clamp(34px, 6.4vw, 72px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.03em;
	margin: 0 0 20px;
	background: linear-gradient(115deg, #ffffff 20%, #bfeaff 50%, #d6c6ff 80%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	will-change: transform, opacity;
}

.tft-bfp-hero__desc {
	font-size: clamp(16px, 2vw, 19px);
	color: var(--tft-bfp-muted);
	max-width: 620px;
	margin: 0 auto 34px;
}

/* --- Hero search ---------------------------------------------------- */
.tft-bfp-hero__search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 640px;
	margin: 0 auto 28px;
	padding: 8px;
	border-radius: var(--tft-bfp-radius-pill);
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid var(--tft-bfp-border);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.tft-bfp-hero__search:focus-within {
	border-color: rgba(0, 229, 255, 0.55);
	box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.1), 0 0 40px rgba(0, 229, 255, 0.12);
}

.tft-bfp-hero__search-icon {
	position: absolute;
	left: 24px;
	color: var(--tft-bfp-muted);
	width: 22px;
	height: 22px;
	pointer-events: none;
}

.tft-bfp-hero__input {
	flex: 1;
	background: transparent;
	border: 0;
	outline: none;
	color: #fff;
	font: 500 16px var(--tft-bfp-font);
	padding: 14px 8px 14px 46px;
	min-width: 0;
}

.tft-bfp-hero__input::placeholder {
	color: var(--tft-bfp-muted-2);
}

.tft-bfp-hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	padding: 13px 24px;
	border-radius: var(--tft-bfp-radius-pill);
	border: 0;
	background: linear-gradient(135deg, var(--tft-bfp-accent), var(--tft-bfp-accent-2));
	color: #050505;
	font: 800 15px var(--tft-bfp-font);
	cursor: pointer;
	transition: box-shadow 0.3s ease, transform 0.3s var(--tft-bfp-ease-spring);
}

.tft-bfp-hero__cta:hover {
	box-shadow: 0 12px 44px -8px rgba(0, 229, 255, 0.6);
}

/* --- Chips ---------------------------------------------------------- */
.tft-bfp-hero__chips {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
}

/* --- Stats ---------------------------------------------------------- */
.tft-bfp-hero__stats {
	display: flex;
	justify-content: center;
	gap: clamp(28px, 6vw, 64px);
	margin-top: 44px;
	padding-top: 32px;
	border-top: 1px solid var(--tft-bfp-border);
}

.tft-bfp-hero__stat strong {
	display: block;
	font-size: clamp(24px, 3.4vw, 36px);
	font-weight: 800;
	letter-spacing: -0.02em;
	background: linear-gradient(120deg, var(--tft-bfp-accent), var(--tft-bfp-accent-2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.tft-bfp-hero__stat span {
	font-size: 13px;
	color: var(--tft-bfp-muted);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* --- Scroll hint ---------------------------------------------------- */
.tft-bfp-hero__scroll {
	position: absolute;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
}

.tft-bfp-mouse {
	display: block;
	width: 26px;
	height: 42px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 14px;
	position: relative;
}

.tft-bfp-mouse__wheel {
	position: absolute;
	top: 8px;
	left: 50%;
	width: 4px;
	height: 8px;
	margin-left: -2px;
	border-radius: 4px;
	background: var(--tft-bfp-accent);
	animation: tft-bfp-wheel 1.8s ease-in-out infinite;
}

/* --- Keyframes -------------------------------------------------------- */
@keyframes tft-bfp-float-a {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(60px, 40px) scale(1.12); }
}

@keyframes tft-bfp-float-b {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(-50px, 60px) scale(1.08); }
}

@keyframes tft-bfp-float-c {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(40px, -40px) scale(1.15); }
}

@keyframes tft-bfp-mesh-spin {
	to { transform: rotate(360deg); }
}

@keyframes tft-bfp-pulse {
	0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.55); }
	70% { box-shadow: 0 0 0 12px rgba(0, 229, 255, 0); }
	100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

@keyframes tft-bfp-wheel {
	0% { opacity: 1; transform: translateY(0); }
	70% { opacity: 0; transform: translateY(12px); }
	100% { opacity: 0; transform: translateY(0); }
}
