/* ==========================================================
   BXL Core - front-end styles for dynamic cards, countdown,
   and registration hub. Uses the same gold gradient + black
   the rest of the site already uses so it drops in cleanly.
   Adjust the CSS variables below if the brand palette shifts.
   ========================================================== */

:root {
	--bxl-gold-start: #FFE066;
	--bxl-gold-mid:   #F5A623;
	--bxl-gold-end:   #B8600F;
	--bxl-black:      #111111;
}

/* ---------- Card grid (Competitor Spotlights / Who's Pulling Up) ---------- */

.bxl-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
	margin: 24px 0;
}

.bxl-card {
	background: var(--bxl-black);
	border: 1px solid var(--bxl-gold-mid);
	border-radius: 4px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.bxl-card-media {
	aspect-ratio: 3 / 4;
	background: #1a1a1a;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.bxl-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bxl-card-placeholder-icon {
	font-size: 64px;
	opacity: 0.25;
	color: #fff;
}

.bxl-card-footer {
	background: linear-gradient(180deg, var(--bxl-gold-mid) 0%, var(--bxl-gold-end) 100%);
	padding: 12px 16px;
}

.bxl-card-name {
	font-family: 'Anton', sans-serif;
	font-size: 1.1rem;
	color: #fff;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.bxl-card-subtitle {
	font-size: 0.8rem;
	color: rgba(255,255,255,0.85);
	margin-top: 2px;
}

.bxl-card-socials {
	margin-top: 8px;
	display: flex;
	gap: 10px;
}

.bxl-card-socials a {
	color: #fff;
	text-decoration: none;
	font-size: 0.75rem;
	font-weight: 700;
	border: 1px solid rgba(255,255,255,0.6);
	border-radius: 50%;
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.bxl-card-placeholder .bxl-card-name {
	opacity: 0.7;
}

/* ---------- Countdown timer ---------- */

.bxl-countdown {
	display: flex;
	justify-content: center;
	gap: 24px;
	flex-wrap: wrap;
	margin: 24px 0;
}

.bxl-countdown-unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 70px;
}

.bxl-countdown-unit span {
	font-family: 'Anton', sans-serif;
	font-size: 2.5rem;
	line-height: 1;
	background: linear-gradient(180deg, var(--bxl-gold-start) 0%, var(--bxl-gold-mid) 40%, var(--bxl-gold-end) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

.bxl-countdown-unit label {
	font-size: 0.75rem;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #333;
	margin-top: 4px;
}

/* ---------- Registration Hub ---------- */

.bxl-reg-hub {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin: 24px 0;
}

.bxl-reg-hub-card {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 28px 16px;
	background: var(--bxl-black);
	border: 2px solid var(--bxl-gold-mid);
	color: #fff;
	font-family: 'Anton', sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.bxl-reg-hub-card:hover {
	background: linear-gradient(180deg, var(--bxl-gold-mid) 0%, var(--bxl-gold-end) 100%);
	color: #111;
}
