/* ===== RESET ===== */
@font-face {
  font-family: "AlimamaFangYuanTiVF";
  src: url('../fonts/AlimamaFangYuanTiVF-Thin.woff2') format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'AlimamaFangYuanTiVF';
	color: #fff;
	font-variation-settings: "wght" 300, "bevl" 0;
	background: #1e2435;
	overflow-x: hidden;
}

a {
	text-decoration: none;
	color: inherit;
}

img {
	max-width: 100%;
	display: block;
}

:root {
	--primary: #fff;
	--secondary: #fbfaf6;
	--accent: #ea5536;
	--card-bg: rgba(255, 255, 255, .06);
	--card-border: rgba(255, 255, 255, .10);
	--ease: cubic-bezier(.22, 1, .36, 1);
}

/* ===== HEADER ===== */
header {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem 5%;
	backdrop-filter: blur(14px);
	transition: .5s;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, .4) 60%, rgba(0, 0, 0, 0) 100%);
}

header.scrolled {
	background: rgba(13, 13, 26, .95);
	box-shadow: 0 4px 30px rgba(0, 0, 0, .4);
}

.logo {
	display: flex;
	align-items: center;
	gap: .6rem;
	font-size: 1.4rem;
	font-weight: 700;
	width: 140px;
}

.logo span {
	color: var(--accent);
}

nav {
	display: flex;
	gap: 2rem;
}

nav a {
	font-weight: 500;
	position: relative;
	padding-bottom: 4px;
	transition: color .3s;
}

nav a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--accent);
	transition: width .3s;
}

nav a:hover {
	color: var(--accent);
}

nav a:hover::after {
	width: 100%;
}

/* ===== REVEAL (每次进入视口都生效) ===== */
.reveal {
	opacity: 0;
	transform: translateY(60px);
	transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

.reveal-delay-1 {
	transition-delay: .12s;
}

.reveal-delay-2 {
	transition-delay: .24s;
}

.reveal-delay-3 {
	transition-delay: .36s;
}

.reveal-delay-4 {
	transition-delay: .48s;
}

/* ===== HERO ===== */
.hero {
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 0 5%;
	position: relative;
	overflow: hidden;
}

.banner-bg {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
}

.banner-bg img {
	width: 100%;
	object-fit: cover;
}

.mb {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
	background-color: rgba(0, 0, 0, .35);
}

.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 50% 40%, rgba(201, 168, 76, .12) 0%, transparent 70%);
}

.hero h1 {
	font-size: clamp(1.8rem, 4vw, 4rem);
	line-height: 1.15;
	margin-bottom: 1.5rem;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.hero h1 span {
	/* color: var(--accent); */
}

.hero p {
	font-size: 1.25rem;
	max-width: 640px;
	margin-bottom: 2.5rem;
	opacity: .85;
}

.btn {
	display: inline-block;
	padding: .85rem 2.6rem;
	border: 2px solid var(--accent);
	border-radius: 40px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: .5s var(--ease);
	cursor: pointer;
	background: transparent;
	color: #000;
}

.hero .btn {
	color: #fff;
}

.btn:hover {
	background: var(--accent);
	color: #0d0d1a;
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(201, 168, 76, .35);
}

.scroll-hint {
	position: absolute;
	bottom: 2.5rem;
	animation: bounce 2s infinite;
	font-size: 1.4rem;
	color: var(--accent);
}

@keyframes bounce {

	0%,
	100% {
		transform: translateY(0)
	}

	50% {
		transform: translateY(12px)
	}
}

/* ===== SECTION COMMON ===== */
section {
	position: relative;
}

.section-padding {
	padding: 7rem 5%;
}

.section-title {
	text-align: center;
	font-size: clamp(1.8rem, 4vw, 2.2rem);
	margin-bottom: 1rem;
	font-weight: 500;
}

.section-title::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	/* background: var(--accent); */
	margin: 1rem auto 0;
	border-radius: 3px;
}

.section-subtitle {
	text-align: center;
	opacity: .7;
	margin-bottom: 3.5rem;
	font-size: 1rem;
}

/* ===== ABOUT SWIPER ===== */
.about-section {
	background: var(--secondary);
	color: #000;
}

.about-swiper {
	width: 100%;
	padding-bottom: 3rem;
}

.about-swiper .swiper-slide {
	height: auto;
}

.about-card {
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: 16px;
	padding: 2.5rem;
	backdrop-filter: blur(10px);
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: transform .35s, box-shadow .35s;
}

.about-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}

.about-card .card-icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: rgba(201, 168, 76, .15);
	display: grid;
	place-items: center;
	font-size: 1.5rem;
	color: var(--accent);
	margin-bottom: 1.5rem;
}

.about-card h3 {
	font-size: 1.5rem;
	margin-bottom: .8rem;
	color: var(--accent);
}

.about-card p {
	flex: 1;
	line-height: 1.75;
	opacity: .85;
	margin-bottom: 1.5rem;
}

.about-card .btn {
	align-self: flex-start;
	font-size: .85rem;
	padding: .6rem 1.8rem;
}

.about-section .swiper-pagination-bullet {
	background: #fff;
	opacity: .3;
}

.about-section .swiper-pagination-bullet-active {
	background: var(--accent);
	opacity: 1;
}

.about-nav {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-top: 1.5rem;
}

.about-nav button {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 2px solid var(--accent);
	background: transparent;
	color: var(--accent);
	font-size: 1.1rem;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: .3s;
}

.about-nav button:hover {
	background: var(--accent);
	color: #0d0d1a;
}

/* ===== ABOUT ALT ROWS (70/30) ===== */
.about-detail {
	background: var(--primary);
	color: #000;
}

.alt-row {
	display: flex;
	align-items: center;
	gap: 3rem;
	margin-bottom: 5rem;
	min-height: 420px;
}

.alt-row:last-child {
	margin-bottom: 0;
}

.alt-row.reverse {
	flex-direction: row-reverse;
}

.alt-image {
	flex: 0 0 68%;
	max-width: 68%;
	/* border-radius: 20px; */
	overflow: hidden;
	aspect-ratio: 16/9;
	opacity: .85;
	position: relative;
}

.alt-image:hover {
	.mb {
		display: none;
	}
	img {
		transform: scale(1.1);
	}
}

.alt-image img {
	width: 100%;
	object-fit: cover;
	transition: transform .5s;
}

.alt-image .img-placeholder {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	font-size: 4rem;
	color: rgba(201, 168, 76, .25);
	transition: transform .6s ease;
}

.alt-row:hover .img-placeholder {
	transform: scale(1.04);
}

.alt-text {
	flex: 1;
}

.alt-text h3 {
	font-size: 1.8rem;
	margin-bottom: 1rem;
}

.alt-text p {
	line-height: 1.2;
	opacity: .8;
	margin-bottom: 0.8rem;
}

/* ===== OTHER ===== */
.other-section {
	background: var(--secondary);
	color: #000;
}

.other-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1.5rem;
}

.other-card {
	background: #fff;
	border: 1px solid var(--card-border);
	transition: transform .35s, box-shadow .35s;
}

.other-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
}

.other-card i {
	font-size: 2.5rem;
	color: var(--accent);
	margin-bottom: 1rem;
}

.other-card h3 {
	font-size: 1.3rem;
	margin-bottom: .6rem;
}

.other-card p {
	opacity: 1;
	line-height: 1.6;
	margin: 20px 0px 20px 20px;
	font-weight: 400;
}

/* ================================================================
    FACILITIES — sticky + 左侧单页 Swiper + 右侧 30%
================================================================ */
.facilities-wrapper {
	height: 250vh;
	/* 给 sticky 留出足够的滚动距离 */
	position: relative;
}

.facilities-section {
	position: sticky;
	top: 0;
	height: 100vh;
	display: flex;
	overflow: hidden;
	z-index: 10;
}

/* —— 左侧 70% —— */
.fac-left {
	width: 65%;
	flex-shrink: 0;
	position: relative;
	overflow: hidden;
}

/* 视频背景层 */
.fac-video-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.fac-video img {
	width: 100%;
	object-fit: cover;
}

.fac-video-bg video {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	transform: translate(-50%, -50%);
	object-fit: cover;
	transition: opacity 1s ease;
}

.fac-video-bg video.hidden {
	opacity: 0;
	pointer-events: none;
}

.fac-video-bg .video-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(13, 13, 26, .88) 0%, rgba(13, 13, 26, .45) 50%, rgba(13, 13, 26, .3) 100%);
}

/* 左侧主 Swiper（单页显示，淡入淡出） */
.fac-main-swiper {
	position: absolute;
	left: 15%;
	bottom: 10%;
	z-index: 2;
	width: 50%;
	height: 200px;
}

.fac-main-swiper .swiper-slide {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}

.fac-slide-icon {
	width: 72px;
	height: 72px;
	border-radius: 20px;
	background: rgba(201, 168, 76, .15);
	border: 1px solid rgba(201, 168, 76, .25);
	display: grid;
	place-items: center;
	font-size: 2rem;
	color: var(--accent);
	margin-bottom: 2rem;
	backdrop-filter: blur(8px);
}

.fac-logo {
	width: 100%;
	padding: 0px 120px;
}

.fac-logo img {
	width: 100%;
}

.fac-slide-title {
	font-size: clamp(2.2rem, 4.5vw, 3.8rem);
	font-weight: 700;
	margin-bottom: 1.2rem;
	line-height: 1.15;
}

.fac-slide-title span {
	color: var(--accent);
}

.fac-slide-desc {
	font-size: 1.15rem;
	line-height: 1.8;
	opacity: .8;
	max-width: 540px;
	margin-bottom: 2rem;
}

.fac-slide-tag {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .5rem 1.2rem;
	border-radius: 30px;
	background: rgba(201, 168, 76, .12);
	border: 1px solid rgba(201, 168, 76, .25);
	color: var(--accent);
	font-size: .85rem;
	font-weight: 600;
}

/* 左右切换箭头 */
.fac-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: unset;
	background: unset;
	/* backdrop-filter: blur(10px); */
	color: #fff;
	font-size: 1.1rem;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: .35s;
}

.fac-arrow:hover {
	background: var(--accent);
	color: #0d0d1a;
	border-color: var(--accent);
	transform: translateY(-50%) scale(1.1);
}

.fac-arrow-left {
	left: 2rem;
}

.fac-arrow-right {
	right: 2rem;
}

/* 底部进度条区域 */
.fac-progress-area {
	width: 50%;
	position: absolute;
	left: 25%;
	bottom: 0px;
	z-index: 5;
	display: flex;
	flex-direction: column;
	gap: .8rem;
}

.fac-progress-info {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}

.fac-progress-info .current-num {
	color: var(--accent);
	font-weight: 700;
	font-size: 1.4rem;
	margin-right: .3rem;
}

.fac-progress-info .total-num {
	color: rgba(255, 255, 255, .4);
	font-size: 1rem;
}

.fac-progress-info .current-label {
	font-size: .95rem;
	color: rgba(255, 255, 255, .7);
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* 连续进度条 */
.fac-progress-bar-track {
	width: 100%;
	height: 3px;
	background: rgba(255, 255, 255, .12);
	border-radius: 3px;
	overflow: hidden;
}

.fac-progress-bar-fill {
	height: 100%;
	background: var(--accent);
	border-radius: 3px;
	transition: width .6s var(--ease);
}

/* 分段可点击指示器 */
.fac-progress-segments {
	display: flex;
	gap: 8px;
	width: 100%;
}

.fac-progress-seg {
	flex: 1;
	height: 4px;
	border-radius: 4px;
	background: rgba(255, 255, 255, .12);
	transition: background .4s ease, transform .3s ease;
	cursor: pointer;
}

.fac-progress-seg.active {
	background: var(--accent);
}

.fac-progress-seg:hover {
	background: rgba(201, 168, 76, .5);
	transform: scaleY(1.5);
}

/* —— 右侧 30%（隐藏滚动条） —— */
.fac-right {
	width: 35%;
	overflow-y: auto;
	overflow-x: hidden;
	background: unset;
	padding: 3rem 1.8rem 2rem 1.8rem;
	scroll-behavior: smooth;
	scrollbar-width: none;
	/* Firefox */
	-ms-overflow-style: none;
	/* IE */
}

.fac-right::-webkit-scrollbar {
	display: none;
	/* Chrome/Safari */
}

.fac-panel {
	width: 75%;
	display: none;
}

.fac-panel.active {
	display: block;
	animation: fadeSlideUp .5s ease both;
}

@keyframes fadeSlideUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fac-module {
	background: rgba(255, 255, 255, 1);
	border: 1px solid rgba(255, 255, 255, .08);
	padding: 5px;
	margin-bottom: 1.5rem;
	transition: transform .35s, box-shadow .35s, background .35s;
	color: #000;
}

.fac-module:hover {
	transform: translateY(-4px);
	/* box-shadow: 0 12px 30px rgba(0, 0, 0, .4); */
	background: rgba(255, 255, 255, 1);
}

.fac-module h4 {
	font-size: 1.05rem;
	color: var(--accent);
	margin-bottom: .5rem;
	display: flex;
	align-items: center;
	gap: .45rem;
}

.fac-module h4 i {
	font-size: .9rem;
}

.fac-module p {
	opacity: 1;
	line-height: 1.7;
	font-size: .92rem;
	margin: 15px 0px 0px 15px;
	font-weight: 400;
}

.fac-module .module-img {
	width: 100%;
	height: 120px;
	border-radius: 10px;
	background: rgba(201, 168, 76, .06);
	display: grid;
	place-items: center;
	font-size: 2.5rem;
	color: var(--accent);
	opacity: .3;
	margin-bottom: 1rem;
}

.fac-scroll-hint {
	text-align: center;
	padding: 1rem 0 .5rem;
	opacity: .4;
	font-size: .82rem;
	transition: opacity .3s;
}

.fac-scroll-hint i {
	animation: bounce 2s infinite;
	display: inline-block;
}

.fac-scroll-hint.done {
	opacity: .15;
}

/* ===== CONTACT ===== */
.contact-section {
	background: var(--primary);
	color: #000;
}

.contact-form {
	width: 60%;
	margin: 0 auto;
}

.contact-form .btn {
	display: block;
	margin: 80px auto 0px;
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: .5rem;
	font-weight: 500;
}

.form-control {
	width: 100%;
	padding: 1rem;
	background: rgba(255, 255, 255, .05);
	border: 1px solid #000;
	border-radius: 25px;
	color: #000;
	font-size: 1rem;
	transition: border-color .3s;
	text-align: center;
}

.form-control:focus {
	outline: none;
	border-color: var(--accent);
}

/* ===== SPONSORS ===== */
.sponsors-section {
	background: var(--secondary);
	color: #000;
}

.sponsors-grid {
	width: 85%;
	margin: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	padding-top: 20px;
	margin-bottom: 80px;
}

.sponsors-grid2 {
	width: 55%;
	margin: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	padding-top: 20px;
	margin-bottom: 80px;
}

.sponsor-item {
	opacity: .9;
	transition: .3s;
	cursor: pointer;
	overflow: hidden;
}

.bose {
	width: 200px;
}

.fyfb {
	width: 60px;
}

.ty6 {
	width: 70px;
}

.thaibav {
	width: 115px;
}

.yonex {
	width: 125px;
}

.pep {
	width: 120px;
}

.suklet {
	width: 95px;
}

.sxl {
	width: 70px;
}

.primalape {
	width: 70px;
}

.fyb {
	width: 115px;
}

.sponsor-item img {
	width: 100%;
	height: auto;
}

.sponsor-item:hover {
	opacity: 1;
	transform: scale(1.08);
}

/* ===== FOOTER ===== */
footer {
	background: #1e2435;
	padding: 3rem 5% 1.5rem;
}

.foot-cont {
	width: 50%;
	color: #fff;
	opacity: .65;
	font-size: 14px;
}

.foot-lab {
	display: flex;
	margin-bottom: 10px;
}
.foot-name {
	width: 100px;
	flex-shrink: 0;
}

.footer-grid {
	width: 95%;
	margin: auto;
	display: flex;
	margin-bottom: 2rem;
}

.grid-1 {
	width: 70%;
}
.grid-2 {
	width: 30%;
	display: flex;
	justify-content: space-between;
}

.footer-grid h4 {
	color: #fff;
	opacity: .65;
	margin-bottom: 1rem;
}

.footer-grid a {
	display: block;
	opacity: .65;
	padding: .3rem 0;
	transition: .3s;
}

.footer-grid a:hover {
	opacity: 1;
	color: var(--accent);
	padding-left: 4px;
}

.social-row {
	display: flex;
	gap: 1rem;
	margin-top: .8rem;
}

.social-row a {
	font-size: 1.2rem;
	opacity: .65;
	transition: .3s;
}

.social-row a:hover {
	opacity: 1;
	color: var(--accent);
	transform: translateY(-3px);
}

.copyright {
	display: flex;
	justify-content: space-between;
	font-size: .85rem;
}

.foot-bottom {
	display: flex;
	align-items: center;
}

.foot-bottom img {
	width: 130px;
	margin-right: 10px;
}

/* ===== RESPONSIVE ===== */
@media(max-width:900px) {

	.alt-row,
	.alt-row.reverse {
		flex-direction: column;
	}

	.alt-image {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.alt-text {
		flex: 0 0 100%;
	}

	.facilities-section {
		flex-direction: column;
	}

	.fac-left {
		width: 100%;
		height: 55vh;
	}

	.fac-right {
		width: 100%;
		height: 45vh;
		border-left: none;
		border-top: 1px solid var(--card-border);
	}

	.fac-main-swiper .swiper-slide {
		padding: 2rem 2.5rem;
	}

	.fac-progress-area {
		left: 2.5rem;
		right: 2.5rem;
		bottom: 1.5rem;
	}

	.fac-arrow {
		width: 40px;
		height: 40px;
		font-size: .9rem;
	}

	.fac-arrow-left {
		left: .8rem;
	}

	.fac-arrow-right {
		right: .8rem;
	}
}