/**
 * TrustPlay Hero block styles.
 *
 * @package TrustPlay_Partners
 */

.tp-hero {
	position: relative;
	min-height: 100svh;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--tp-bg);
}

/* Background glows */
.tp-hero__bg {
	position: absolute;
	inset: 0;
}

.tp-hero__bg-glow {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.tp-hero__bg-glow--gold {
	top: -20%;
	right: -10%;
	width: 700px;
	height: 700px;
	background: hsl(43, 74%, 49%, 0.08);
	filter: blur(120px);
}

.tp-hero__bg-glow--purple {
	bottom: -20%;
	left: -10%;
	width: 600px;
	height: 600px;
	background: hsl(280, 60%, 45%, 0.10);
	filter: blur(120px);
}

.tp-hero__bg-glow--center {
	top: 20%;
	left: 50%;
	transform: translateX(-50%);
	width: 400px;
	height: 400px;
	background: hsl(43, 74%, 38%, 0.10);
	filter: blur(100px);
}

/* TV overlays */
.tp-hero__tv {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
}

.tp-hero__tv.tp-tv-static {
	opacity: 0.04;
}

/* Grid pattern */
.tp-hero__grid-pattern {
	position: absolute;
	inset: 0;
	opacity: 0.02;
	background-image:
		linear-gradient(var(--tp-fg) 1px, transparent 1px),
		linear-gradient(90deg, var(--tp-fg) 1px, transparent 1px);
	background-size: 60px 60px;
	pointer-events: none;
	z-index: 1;
}

/* Content */
.tp-hero__content {
	position: relative;
	z-index: 2;
	text-align: center;
	padding-top: 3.5rem;
	padding-bottom: 4rem;
}

/* Logo */
.tp-hero__logo-wrap {
	margin-bottom: 2.5rem;
}

.tp-hero__logo {
	height: 5rem;
	width: auto;
	margin: 0 auto;
}

@media (min-width: 768px) {
	.tp-hero__logo {
		height: 6.5rem;
	}
}

/* Heading */
.tp-hero__heading {
	font-family: var(--tp-font-display);
	font-size: clamp(2.5rem, 7vw, 5.5rem);
	font-weight: 700;
	color: var(--tp-fg);
	line-height: 1.1;
	margin: 0 0 2rem;
	max-width: 56rem;
	margin-left: auto;
	margin-right: auto;
}

/* Subheading */
.tp-hero__subheading {
	font-family: var(--tp-font-body);
	font-size: clamp(1rem, 2vw, 1.25rem);
	color: var(--tp-muted);
	line-height: 1.6;
	max-width: 36rem;
	margin: 0 auto 3rem;
}

/* CTA buttons */
.tp-hero__ctas {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	margin-bottom: 5rem;
}

@media (min-width: 640px) {
	.tp-hero__ctas {
		flex-direction: row;
		justify-content: center;
	}
}

.tp-hero__cta-primary,
.tp-hero__cta-secondary {
	letter-spacing: 0.15em;
	border-radius: 9999px;
	padding: 1rem 3rem;
	min-width: 11rem;
}

/* Stats bar */
.tp-hero__stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	max-width: 52rem;
	margin: 0 auto;
}

@media (min-width: 768px) {
	.tp-hero__stats {
		grid-template-columns: repeat(4, 1fr);
	}
}

.tp-hero__stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
}

.tp-hero__stat-value {
	font-family: var(--tp-font-display);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 700;
	line-height: 1;
}

.tp-hero__stat-label {
	font-family: var(--tp-font-body);
	font-size: 0.75rem;
	color: var(--tp-muted);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* Scroll indicator */
.tp-hero__scroll-indicator {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
}

.tp-hero__scroll-pill {
	width: 1.5rem;
	height: 2.5rem;
	border: 2px solid hsl(43, 74%, 49%, 0.3);
	border-radius: 9999px;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 0.375rem;
}

.tp-hero__scroll-dot {
	width: 0.375rem;
	height: 0.375rem;
	background: var(--tp-gold);
	border-radius: 50%;
}
