/* =========================================================
 * SPORTIFY V24 — HERO TRANG CHỦ (redesign theo mockup)
 *   - Nền ảnh sân thể thao + lớp overlay tối
 *   - Tiêu đề lớn: "Tìm sân thể thao" (trắng) + "gần bạn." (lime)
 *   - Thanh tìm kiếm trắng 3 ô (Môn / Khu vực / Ngày) + nút lime
 *   - 4 quick link thể thao bên dưới
 * Dùng prefix .sf-hs-* để KHÔNG đụng .sf-search-* của header (search overlay).
 * Nạp sau v23 nên ghi đè an toàn. Không dùng emoji.
 * ========================================================= */

/* ---------- Khung hero ---------- */
.sf-hero-v24 {
	position: relative;
	background: var(--sf-navy, #0B1C2C);
	background-image: var(--sf-hero-img, none);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #fff;
	padding: 0;
	overflow: hidden;
	min-height: 620px;
	display: flex;
	align-items: center;
}

/* Lớp overlay tối — giữ chữ trắng luôn đọc được */
.sf-hero-v24::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		100deg,
		rgba(11, 28, 44, .92) 0%,
		rgba(11, 28, 44, .78) 42%,
		rgba(11, 28, 44, .42) 72%,
		rgba(11, 28, 44, .28) 100%
	);
	z-index: 1;
}

.sf-hero-v24 > .sf-container {
	position: relative;
	z-index: 2;
	width: 100%;
	padding-top: 72px;
	padding-bottom: 64px;
}

/* ---------- Tiêu đề ---------- */
.sf-hero-v24 .sf-hero-kicker {
	color: var(--sf-lime, #C8F000);
	letter-spacing: .22em;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 700;
	margin: 0 0 18px;
	font-family: var(--sf-mono, monospace);
}

.sf-hero-v24 h1 {
	font-family: var(--sf-head, inherit);
	font-size: clamp(38px, 6.2vw, 74px);
	line-height: 1.03;
	letter-spacing: -1.5px;
	font-weight: 800;
	margin: 0 0 20px;
	max-width: 16ch;
	color: #fff;
}

.sf-hero-v24 h1 .sf-hero-hl { color: var(--sf-lime, #C8F000); }

.sf-hero-v24 .sf-sub {
	color: rgba(255, 255, 255, .82);
	font-size: 17px;
	line-height: 1.7;
	max-width: 560px;
	margin: 0 0 34px;
}

/* ---------- Thanh tìm kiếm ---------- */
.sf-hs {
	display: flex;
	align-items: stretch;
	gap: 0;
	background: #fff;
	border-radius: 16px;
	padding: 8px;
	max-width: 900px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
	margin-bottom: 28px;
}

.sf-hs-field {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 18px;
	flex: 1 1 0;
	min-width: 0;
	border-right: 1px solid #e7ecf1;
}

.sf-hs-field:last-of-type { border-right: none; }

.sf-hs-icon {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	color: var(--sf-navy, #0B1C2C);
	opacity: .85;
}

.sf-hs-body { min-width: 0; flex: 1 1 auto; }

.sf-hs-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #8b98a8;
	margin-bottom: 2px;
}

.sf-hs-select,
.sf-hs-input {
	width: 100%;
	border: none;
	background: transparent;
	font-size: 14px;
	font-weight: 600;
	color: var(--sf-navy, #0B1C2C);
	font-family: inherit;
	padding: 0;
	outline: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	text-overflow: ellipsis;
}

.sf-hs-select {
	padding-right: 20px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b98a8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right center;
}

.sf-hs-input::placeholder { color: #b3bfcc; font-weight: 500; }

.sf-hs-btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--sf-lime, #C8F000);
	color: var(--sf-navy, #0B1C2C);
	border: none;
	border-radius: 12px;
	padding: 0 28px;
	font-weight: 800;
	font-size: 15px;
	font-family: inherit;
	cursor: pointer;
	white-space: nowrap;
	transition: filter .18s ease, transform .18s ease;
}

.sf-hs-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.sf-hs-btn svg { width: 18px; height: 18px; }

/* ---------- 4 quick link ---------- */
.sf-sports-quick {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.sf-sports-quick a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .10);
	border: 1px solid rgba(255, 255, 255, .22);
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	font-size: 15px;
	backdrop-filter: blur(6px);
	transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.sf-sports-quick a:hover {
	background: var(--sf-lime, #C8F000);
	border-color: var(--sf-lime, #C8F000);
	color: var(--sf-navy, #0B1C2C);
	transform: translateY(-2px);
}

.sf-sports-quick a svg { width: 22px; height: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.sf-hero-v24 { min-height: 540px; }
	.sf-hs {
		flex-direction: column;
		gap: 6px;
		padding: 12px;
	}
	.sf-hs-field {
		border-right: none;
		border-bottom: 1px solid #e7ecf1;
		padding: 12px 10px;
	}
	.sf-hs-field:last-of-type { border-bottom: 1px solid #e7ecf1; }
	.sf-hs-btn {
		width: 100%;
		padding: 16px;
	}
}

@media (max-width: 560px) {
	.sf-hero-v24 > .sf-container { padding-top: 48px; padding-bottom: 44px; }
	.sf-sports-quick { gap: 10px; }
	.sf-sports-quick a { padding: 10px 16px; font-size: 14px; }
	.sf-sports-quick a svg { width: 18px; height: 18px; }
}
