@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
	font-family: "Montserrat", sans-serif;
	line-height: 1.2;
	font-size: 15px;
	color: #fff;
	background: #000 url("/event/images/bg.jpg") no-repeat top center;
	background-size: cover;
}

a {
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s;
}

a:hover,
a:focus,
button:focus,
button:hover {
	text-decoration: none;
	outline: none;
}

img {
	max-width: 100%;
}

button {
	background: none;
	border: none;
	padding: 0;
}

/* Home Button */
.home-ico {
	position: absolute;
	top: 15px;
	left: 15px;
	z-index: 99;
	max-width: 45px;
	animation: pulse 2s ease-in-out infinite;
}

.home-ico:hover {
	transform: scale(1.1);
}

@keyframes pulse {

	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.12);
	}
}

.floating-icon {
	position: fixed;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 100;
	max-width: 180px;
	animation: floatIn 1s ease-out, float 3s ease-in-out infinite;
}

.floating-icon a {
	display: block;
}

.floating-icon img {
	width: 100%;
	height: auto;
	display: block;
}

@keyframes floatIn {
	0% {
		opacity: 0;
		transform: translateY(calc(-50% + 100px)) scale(0.8);
	}
	100% {
		opacity: 1;
		transform: translateY(-50%) scale(1);
	}
}

@keyframes float {
	0%, 100% {
		transform: translateY(-50%);
	}
	50% {
		transform: translateY(calc(-50% - 10px));
	}
}

/* Layout */
.t-body {
	overflow: hidden;
}

.max-container {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

.top-sec {
	padding: 15px 0 60px;
	text-align: center;
}

/* Particles */
#particles-js {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

/* Logo */
.logo {
	max-width: 320px;
	margin: 0 auto 10px;
}

/* Hero Section */
.hero-wrap {
	position: relative;
	max-width: 1100px;
	margin: 0 auto;
}

.hero-img {
	position: relative;
	z-index: 2;
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
}

.character {
	position: absolute;
	z-index: 3;
}

.char-left img {
	animation: float-left 3s ease-in-out infinite;
}

.char-right img {
	animation: float-right 3.5s ease-in-out infinite;
}

@keyframes float-left {

	0%,
	100% {
		transform: translateY(0) rotate(0deg);
	}

	50% {
		transform: translateY(-12px) rotate(1deg);
	}
}

@keyframes float-right {

	0%,
	100% {
		transform: translateY(0) rotate(0deg);
	}

	50% {
		transform: translateY(-10px) rotate(-1deg);
	}
}

.char-left {
	left: 0;
	top: -15%;
	max-width: 30%;
}

.char-right {
	right: 0;
	top: -15%;
	max-width: 30%;
}

.hero-text {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 6%;
	z-index: 3;
	text-align: center;
	display: flex;
	flex-direction: column;
	grid-gap: 19px;
}

.hero-subtitle {
	display: inline-block;
	font-size: 20px;
	font-weight: 700;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 151, 108, 1) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	padding: 6px 30px;
	letter-spacing: 1px;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
	margin-bottom: 15px;
}

.hero-date {
	display: inline-block;
	font-size: 17px;
	font-weight: 800;
	color: #000000;
	padding: 5px 25px;
	margin-top: 5px;
	letter-spacing: 0.5px;
	text-shadow: 0 0px 4px rgb(255 255 255 / 80%);
}

.hero-date sup {
	font-size: 0.6em;
}

/* Prize Pool */
.prize-pool {
	max-width: 600px;
	margin: 20px auto 0;
}

/* Rules Section */
.rules-section {
	max-width: 700px;
	margin: 30px auto 0;
}

.rules-frame {
	position: relative;
}

.rules-bg-img {
	width: 100%;
	display: block;
}

.rules-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding: 0 7% 6%;
}

.rules-ttl {
	max-width: 55%;
	margin-bottom: 3%;
}

.rules-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 5px;
	width: 85%;
	align-items: start;
}

.rule-item {
	text-align: center;
}

.rule-item img {
	max-width: 90%;
}

/* Show/Hide */
.mobile-only { display: none; }
.desktop-only { display: flex; }

/* Process Section */
.process-section {
	max-width: 750px;
	margin: 30px auto 0;
}

.process-ttl {
	margin-bottom: 20px;
}

.process-grid {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
}

.process-item {
	flex: 1;
	max-width: 256px;
	position: relative;
}

.proc-text {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 5%;
	padding: 0 12%;
	text-align: center;
	height: 38%;
}

.proc-text h4 {
	font-size: 14px;
	font-weight: 700;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 151, 108, 1) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	margin: 0 0 4px;
}

.proc-text p {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
	line-height: 1.4;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.process-arrow {
	max-width: 55px;
	flex-shrink: 0;
	margin: 0 -30px;
	z-index: 2;
	align-self: center;
}

/* T&C Section */
.tnc-section {
	max-width: 700px;
	margin: 35px auto 0;
}

.tnc-btn {
	max-width: 400px;
	margin: 0 auto;
	cursor: pointer;
	transition: 0.3s;
}

.tnc-btn:hover {
	transform: scale(1.03);
	filter: drop-shadow(0 0 8px rgba(255, 180, 80, 0.5));
}

/* T&C Modal */
.tnc-modal-content {
	background: none;
	border: none;
}

.tnc-modal-content .close-x {
	position: absolute;
	right: 15px;
	top: 10px;
	z-index: 5;
	color: #c9a96e;
	font-size: 30px;
	line-height: 1;
	opacity: 0.85;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.tnc-modal-content .close-x:hover {
	opacity: 1;
	color: #fff;
}

.tnc-modal-body {
	background: url("/event/images/tnc-frame.png") no-repeat center;
	background-size: 100% 100%;
	min-height: 70vh;
	max-height: 85vh;
	overflow-y: auto;
	padding: 40px 45px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 12px;
	line-height: 1.55;
}

.tnc-heading {
	text-align: center;
	font-size: 20px;
	font-weight: 700;
	color: #e8c980;
	margin: 0 0 12px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.tnc-list {
	padding-left: 18px;
	margin: 0;
	max-height: 530px;
	overflow-y: auto;
}
.tnc-list::-webkit-scrollbar {
	width: 4px;
}
.tnc-list::-webkit-scrollbar-track {
	background: transparent;
}
.tnc-list::-webkit-scrollbar-thumb {
	background: rgba(200, 160, 80, 0.4);
	border-radius: 2px;
}

.tnc-list li {
	padding: 2px 0;
}
.tnc-list a {
	color: #e8c980;
	text-decoration: underline;
}
.tnc-list a:hover {
	color: #fff;
}

.tnc-list ul {
	padding-left: 18px;
	margin: 3px 0;
}

.tnc-modal-body::-webkit-scrollbar {
	width: 4px;
}

.tnc-modal-body::-webkit-scrollbar-track {
	background: transparent;
}

.tnc-modal-body::-webkit-scrollbar-thumb {
	background: rgba(200, 160, 80, 0.4);
	border-radius: 2px;
}

/* ========== Responsive ========== */
@media (max-width: 1100px) {
	.logo {
		max-width: 28%;
	}

	.hero-img {
		max-width: 55%;
	}

	.char-left {
		max-width: 28%;
	}

	.char-right {
		max-width: 28%;
	}
}

@media (max-width: 767px) {
	.desktop-only {
		display: none;
	}

	body {
		background-image: url("/event/images/bg-m.jpg");
	}

	.home-ico {
		max-width: 35px;
		top: 10px;
		left: 10px;
	}

	.logo {
		max-width: 60%;
	}

	.hero-wrap {
		max-width: 100%;
	}

	.hero-img {
		max-width: 75%;
	}

	.hero-subtitle {
		font-size: 12px;
		padding: 4px 20px;
		margin-bottom: 14px;
	}

	.hero-date {
		font-size: 11px;
		padding: 3px 18px;
	}

	.char-left {
		max-width: 28%;
	}

	.char-right {
		max-width: 28%;
	}

	.prize-pool {
		max-width: 90%;
		margin-top: 15px;
	}

	.rules-section {
		max-width: 90%;
		margin-top: 20px;
	}

	.rules-overlay {
		padding: 6% 6%;
	}

	.rules-ttl {
		max-width: 70%;
	}

	.desktop-only { display: none !important; }
	.mobile-only { display: block !important; }
	.process-section {
		max-width: 100%;
		margin-top: 20px;
	}
	.process-swiper {
		padding: 0 10px;
	}
	.process-swiper .swiper-wrapper {
		overflow: visible;
	}
	.process-swiper .swiper-slide {
		text-align: center;
		overflow: visible;
		position: relative;
	}
	.process-swiper .swiper-slide:nth-child(1) {
		z-index: 53;
	}
	.process-swiper .swiper-slide:nth-child(2) {
		z-index: 52;
	}
	.process-swiper .swiper-slide:nth-child(3) {
		z-index: 51;
	}
	.slide-inner {
		position: relative;
		display: inline-block;
	}
	.slide-inner > img:first-child {
		max-width: 100%;
	}
	.slide-arrow {
		position: absolute;
		right: -18%;
		top: 45%;
		transform: translateY(-50%);
		width: 25%;
		z-index: 999;
		pointer-events: none;
	}
	.process-swiper .proc-text h4 {
		font-size: 13px;
	}
	.process-swiper .proc-text p {
		font-size: 10px;
	}

	.tnc-section {
		max-width: 90%;
		margin-top: 25px;
	}
	.hero-text{
		grid-gap: 10px;
		bottom: 4%;
	}

	.floating-icon {
		max-width: 130px;
		left: 5px;
	}
}

@media (max-width: 480px) {
	.logo {
		max-width: 70%;
	}

	.hero-img {
		max-width: 100%;
	}

	.char-left {
		max-width: 30%;
		left: -3%;
	}

	.char-right {
		max-width: 30%;
		right: -3%;
	}

	.rules-overlay {
		padding: 8% 5%;
	}

	.rules-ttl {
		max-width: 75%;
		margin-bottom: 3%;
	}

	.rules-grid {
		gap: 5px;
	}

	.tnc-btn {
		max-width: 70%;
	}
}
@media (max-width: 375px) {
	.hero-subtitle{
		margin-bottom: 8px;
		font-size: 12px;
	}
}