@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css');

/* Base Styles */
body {
	margin: 0;
	padding: 0;
	background-color: #000;
	font-family: 'DM Sans', sans-serif;
	overflow-x: hidden;
	color: #ffffff;
	min-height: 100vh;
	position: relative;
}

/* Background Grid */
.background-grid {
	position: fixed;
	top: 0;
	left: 0;
	width: 30%;
	height: 100%;
	z-index: -1;
	overflow: visible;
	background-color: #00000000;
	transform: rotate(45deg);
	transform-origin: center center;
}
.grid-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 200%;
	height: 100%;
	will-change: transform;
	overflow: visible;
}

.grid-row {
	position: absolute;
	display: flex;
	gap: 200px;
	padding: 0;
	width: 200%;
	will-change: transform;
	opacity: 1;
	left: 0;
	transform: translateX(0);
}

.grid-logo {
	width: 90px;
	height: 90px;
	object-fit: contain;
	opacity: 0.35;
	filter: brightness(0.8) saturate(0.8) drop-shadow(0 0 10px rgba(255, 102, 0, 0.1));
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	flex-shrink: 0;
	transform: rotate(-45deg);
}

.grid-logo:hover {
	opacity: 0.25;
	filter: brightness(1) saturate(1.2) drop-shadow(0 0 20px rgba(255, 102, 0, 0.2));
}

@keyframes moveRow {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* Vignette Effect */
.background-grid::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	pointer-events: none;
}

/* Main Container */
.main-container {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Hero Section */
.hero-section {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding: 0 20px;
}

.hero-content {
	text-align: left;
	max-width: 1200px;
	width: 100%;
	padding: 0 40px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.hero-left {
	position: relative;
}

.hero-right {
	position: relative;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.logo-container {
	position: relative;
	width: 320px;
	height: 320px;
	transform: translateZ(20px);
}

.hero-logo {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 0 20px rgba(255, 102, 0, 0.3));
}

.logo-glow {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 150%;
	height: 150%;
	background: radial-gradient(circle, rgba(255,102,0,0.15) 0%, rgba(255,102,0,0) 70%);
	filter: blur(30px);
	z-index: -1;
	animation: pulseGlow 4s ease-in-out infinite;
}

.hero-title {
	font-size: 5rem;
	font-weight: 800;
	line-height: 1.1;
	margin: 0;
	background: linear-gradient(135deg, #ffffff 0%, #ff6600 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	transform: translateZ(30px);
}

.hero-subtitle {
	font-size: 2.5rem;
	font-weight: 700;
	margin: 20px 0;
	color: rgba(255, 255, 255, 0.9);
	transform: translateZ(25px);
}

.hero-description {
	font-size: 1.25rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.7);
	margin: 30px 0;
	max-width: 500px;
	transform: translateZ(20px);
}

/* Modern Button */
.modern-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 18px 36px;
	font-size: 1.1rem;
	font-weight: 600;
	color: #1a1a1a;
	background: linear-gradient(135deg, #ff8533 0%, #ff6600 100%);
	border: none;
	border-radius: 12px;
	cursor: pointer;
	overflow: hidden;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 20px rgba(255, 102, 0, 0.2);
}

.modern-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
	transform: translateX(-100%);
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(255, 102, 0, 0.3);
	background: linear-gradient(135deg, #ff944d 0%, #ff751a 100%);
}

.modern-button:hover::before {
	transform: translateX(100%);
}

.modern-button:active {
	transform: translateY(1px);
	box-shadow: 0 2px 15px rgba(255, 102, 0, 0.2);
}

.button-content {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 12px;
}

.button-icon {
	width: 24px;
	height: 24px;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-button:hover .button-icon {
	transform: rotate(180deg) scale(1.1);
}

/* Navbar Logo */
.navbar .logo-icon {
	width: 24px;
	height: 24px;
	opacity: 0.8;
	transition: all 0.3s ease;
}

.navbar .logo-icon:hover {
	opacity: 1;
	transform: scale(1.1);
}

/* Announcement Banner */
.announcement-banner {
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(20, 20, 20, 0.95);
	border: 1px solid rgba(255, 102, 0, 0.3);
	border-radius: 16px;
	padding: 14px 28px;
	display: flex;
	align-items: center;
	gap: 16px;
	backdrop-filter: blur(12px);
	z-index: 1000;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.announcement-banner:hover {
	transform: translateX(-50%) translateY(-2px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
	border-color: rgba(255, 102, 0, 0.5);
}

.pulse-dot {
	width: 10px;
	height: 10px;
	background-color: #ff6600;
	border-radius: 50%;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.7);
	}
	70% {
		box-shadow: 0 0 0 12px rgba(255, 102, 0, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(255, 102, 0, 0);
	}
}

.announcement-content {
	display: flex;
	align-items: center;
	gap: 14px;
}

.announcement-text a {
	color: #ffffff;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 500;
	transition: color 0.3s ease;
}

.announcement-text a:hover {
	color: #ff6600;
}

.announcement-date {
	padding-left: 16px;
	border-left: 1px solid rgba(255, 255, 255, 0.2);
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.6);
}

/* Modal Styles */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	backdrop-filter: blur(12px);
}

.modal-overlay.active {
	opacity: 1;
	visibility: visible;
}

.modal {
	background: rgba(30, 30, 30, 0.95);
	border-radius: 24px;
	padding: 40px;
	width: 90%;
	max-width: 420px;
	transform: translateY(-20px) scale(0.95);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	border: 1px solid rgba(255, 102, 0, 0.3);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.modal-overlay.active .modal {
	transform: translateY(0) scale(1);
}

.modal-header {
	text-align: center;
	margin-bottom: 32px;
}

.login-logo {
	width: 80px;
	margin-bottom: 24px;
	filter: drop-shadow(0 0 20px rgba(255, 102, 0, 0.2));
}

.modal-header h2 {
	color: #ffffff;
	font-size: 2rem;
	margin: 0 0 12px;
	font-weight: 700;
}

.modal-header p {
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
	font-size: 1.1rem;
}

.modal-buttons {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.modal-button {
	padding: 16px 24px;
	border-radius: 14px;
	font-weight: 600;
	font-size: 1.1rem;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	text-decoration: none;
}

.login-button {
	background: linear-gradient(135deg, #ff6600 0%, #ff8c00 100%);
	color: white;
	border: none;
	box-shadow: 0 8px 24px rgba(255, 102, 0, 0.2);
}

.login-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(255, 102, 0, 0.3);
}

.signup-button {
	background: transparent;
	color: #ff6600;
	border: 2px solid #ff6600;
}

.signup-button:hover {
	background: rgba(255, 102, 0, 0.1);
	transform: translateY(-2px);
}

.modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 1.4rem;
	cursor: pointer;
	transition: all 0.3s ease;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
}

.modal-close:hover {
	color: #ff6600;
	background: rgba(255, 255, 255, 0.1);
	transform: rotate(90deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
	.hero-content {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 40px;
	}

	.hero-right {
		order: -1;
		justify-content: center;
	}

	.logo-container {
		width: 240px;
		height: 240px;
		margin: 0 auto;
	}

	.hero-description {
		margin: 30px auto;
	}

	.grid-container {
		width: 300%;
		height: 100%;
	}

	.grid-row {
		width: 300%;
		gap: 150px;
	}

	.grid-logo {
		width: 80px;
		height: 80px;
	}
}

@media (max-width: 768px) {
	.hero-title {
		font-size: 3rem;
	}

	.hero-subtitle {
		font-size: 1.75rem;
	}

	.hero-description {
		font-size: 1.1rem;
	}

	.modern-button {
		padding: 16px 32px;
		font-size: 1rem;
	}

	.announcement-date {
		display: none;
	}

	.modal {
		padding: 30px 20px;
	}

	.grid-container {
		width: 400%;
		height: 100%;
	}

	.grid-row {
		width: 400%;
		gap: 100px;
	}

	.grid-logo {
		width: 60px;
		height: 60px;
	}
}

@media (max-width: 480px) {
	.hero-title {
		font-size: 2.5rem;
	}

	.hero-subtitle {
		font-size: 1.5rem;
	}

	.logo-container {
		width: 140px;
		height: 140px;
	}

	.modern-button {
		padding: 14px 28px;
		font-size: 0.95rem;
	}

	.grid-container {
		width: 500%;
		height: 100%;
	}

	.grid-row {
		width: 500%;
		gap: 80px;
	}

	.grid-logo {
		width: 40px;
		height: 40px;
	}
}
