/**
 * GAVBN Hero CSS
 * Hero-specific animations, gradient overlays, particle grid, and radial effects.
 *
 * @package gavbn-launch-theme
 */

/* =============================================
   HERO SECTION — CORE
   ============================================= */

.site-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	background-color: var(--gavbn-black);
}

/* Multi-layer gradient stack */
.site-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 60% at 20% 40%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
		radial-gradient(ellipse 60% 80% at 80% 60%, rgba(184, 134, 11, 0.16) 0%, transparent 50%),
		linear-gradient(180deg, rgba(5, 5, 3, 0) 0%, rgba(5, 5, 3, 0.5) 70%, var(--gavbn-black) 100%);
	pointer-events: none;
	z-index: 1;
}

/* Dot-grid overlay */
.site-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle, rgba(212, 175, 55, 0.1) 1px, transparent 1px);
	background-size: 40px 40px;
	pointer-events: none;
	z-index: 0;
}

.hero-inner {
	position: relative;
	z-index: 2;
}

/* =============================================
   HERO HEADLINE ANIMATION
   ============================================= */

@keyframes heroFadeUp {
	from {
		opacity: 0;
		transform: translateY(32px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes heroFadeIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}

.hero-eyebrow {
	animation: heroFadeIn 0.6s ease forwards;
	animation-delay: 0.1s;
	opacity: 0;
}

.hero-title {
	animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	animation-delay: 0.25s;
	opacity: 0;
}

.hero-subtitle {
	animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	animation-delay: 0.45s;
	opacity: 0;
}

.hero-actions {
	animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	animation-delay: 0.6s;
	opacity: 0;
}

.hero-stats-panel {
	animation: heroFadeIn 1s ease forwards;
	animation-delay: 0.8s;
	opacity: 0;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
	.hero-eyebrow,
	.hero-title,
	.hero-subtitle,
	.hero-actions,
	.hero-stats-panel {
		animation: none;
		opacity: 1;
	}
}

/* =============================================
   HERO TITLE — GOLD GRADIENT TEXT
   ============================================= */

.hero-title-gradient {
	background: linear-gradient(135deg, var(--gavbn-gold) 0%, var(--gavbn-gold-light) 50%, var(--gavbn-gold) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* =============================================
   SCROLL INDICATOR
   ============================================= */

.hero-scroll-indicator {
	position: absolute;
	bottom: var(--space-2xl);
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	opacity: 0.5;
	transition: opacity var(--transition-normal);
}

.hero-scroll-indicator:hover {
	opacity: 1;
}

.hero-scroll-indicator span {
	font-size: 0.65rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gavbn-gold);
}

@keyframes scrollBounce {
	0%, 100% { transform: translateY(0); }
	50%       { transform: translateY(6px); }
}

.hero-scroll-arrow {
	animation: scrollBounce 2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
	.hero-scroll-arrow { animation: none; }
}

/* =============================================
   HERO STATS PANEL
   ============================================= */

.hero-stats-panel {
	display: flex;
	gap: var(--space-2xl);
	margin-top: var(--space-3xl);
	padding: var(--space-xl) var(--space-2xl);
	background: rgba(13, 11, 5, 0.7);
	border: 1px solid rgba(191, 161, 58, 0.15);
	border-radius: var(--radius-lg);
	backdrop-filter: blur(12px);
	flex-wrap: wrap;
}

.hero-stat {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.hero-stat-value {
	font-size: 2rem;
	font-weight: 700;
	color: var(--gavbn-gold);
	line-height: 1;
}

.hero-stat-label {
	font-size: 0.75rem;
	font-weight: 400;
	color: var(--gavbn-cream);
	opacity: 0.7;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.hero-stat-divider {
	width: 1px;
	background: rgba(191, 161, 58, 0.2);
	align-self: stretch;
	flex-shrink: 0;
}

@media (max-width: 640px) {
	.hero-stats-panel {
		gap: var(--space-lg);
		padding: var(--space-lg);
	}

	.hero-stat-divider { display: none; }

	.hero-stat-value { font-size: 1.5rem; }
}

/* =============================================
   HERO ENTITY BADGES
   ============================================= */

.hero-badges {
	display: flex;
	gap: var(--space-sm);
	flex-wrap: wrap;
	margin-bottom: var(--space-lg);
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */

.page-hero {
	padding: calc(72px + var(--space-3xl)) 0 var(--space-3xl);
	background: linear-gradient(135deg, var(--gavbn-black) 0%, var(--gavbn-near-black) 100%);
	position: relative;
	overflow: hidden;
}

.page-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle, rgba(191, 161, 58, 0.05) 1px, transparent 1px);
	background-size: 32px 32px;
	pointer-events: none;
}

.page-hero .container {
	position: relative;
	z-index: 1;
}

/* =============================================
   PARALLAX LAYER
   ============================================= */

.hero-parallax-bg {
	position: absolute;
	inset: -20%;
	background:
		radial-gradient(ellipse 60% 50% at 70% 50%, rgba(184, 134, 11, 0.2) 0%, transparent 60%);
	will-change: transform;
	pointer-events: none;
	z-index: 0;
}
