/* ========================================
   RESET & BASE STYLES
   ======================================== */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary-bg: #0a0e27;
	--secondary-bg: #111827;
	--card-bg: #1a1f35;
	--accent-color: #ff4655;
	--accent-hover: #ff6b77;
	--text-primary: #ffffff;
	--text-secondary: #9ca3af;
	--border-color: rgba(255, 255, 255, 0.1);
	--transition: all 0.3s ease;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	background-color: var(--primary-bg);
	color: var(--text-primary);
	line-height: 1.6;
	overflow-x: hidden;
}

@font-face {
	font-family: "BebasNeueRegular";
	src: url('BebasNeue-Regular.ttf');
}

@font-face {
	font-family: "NotoSans-Thin";
	src: url('NotoSans-Thin.ttf');
}

a {
	color: inherit;
	text-decoration: none;
}

.container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ========================================
   HEADER
   ======================================== */

.main-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background-color: rgba(10, 14, 39, 0.8);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border-color);
	transition: var(--transition);
}

.main-header.scrolled {
	background-color: rgba(10, 14, 39, 0.95);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 15px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo-section {
	display: flex;
	align-items: center;
	gap: 12px;
}

.header-logo {
	height: 40px;
	width: auto;
}

.logo-text {
	font-family: BebasNeueRegular;
	font-size: 24px;
	letter-spacing: 2px;
	color: var(--text-primary);
}

.main-nav {
	display: flex;
	gap: 30px;
	align-items: center;
}

.nav-link {
	font-size: 14px;
	font-weight: 500;
	color: var(--text-secondary);
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: var(--transition);
	padding: 8px 0;
	position: relative;
}

.nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--accent-color);
	transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
	color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
	width: 100%;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 20px;
}

.server-status {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--text-secondary);
}

.status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #10b981;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%, 100% {
		opacity: 1;
		box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
	}
	50% {
		opacity: 0.8;
		box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
	}
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	overflow: hidden;
	padding-top: 120px;
}

#particles-js {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
}

.hero-background {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(26, 31, 53, 0.9) 100%),
				url('background-v2.png') center/cover;
	z-index: 0;
}

.hero-background::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 200px;
	background: linear-gradient(to top, var(--primary-bg), transparent);
}

.hero-content {
	position: relative;
	z-index: 10;
	text-align: center;
	max-width: 900px;
	padding: 0 20px;
}

.hero-badge {
	display: inline-block;
	padding: 8px 20px;
	background-color: var(--accent-color);
	color: var(--text-primary);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 20px;
	border-radius: 2px;
}

.hero-title {
	font-family: BebasNeueRegular;
	font-size: clamp(48px, 8vw, 96px);
	letter-spacing: 4px;
	line-height: 1;
	margin-bottom: 20px;
	text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
	font-size: clamp(16px, 2vw, 20px);
	color: var(--text-secondary);
	margin-bottom: 40px;
	font-weight: 300;
}

.hero-actions {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 30px;
}

.platform-links {
	display: flex;
	gap: 30px;
	justify-content: center;
	margin-top: 20px;
}

.platform-link {
	color: var(--text-secondary);
	font-size: 14px;
	transition: var(--transition);
	display: flex;
	align-items: center;
	gap: 8px;
}

.platform-link:hover {
	color: var(--text-primary);
	cursor: pointer;
}

.hero-video {
	position: relative;
	margin-top: 60px;
	z-index: 10;
	max-width: 1200px;
	width: 95%;
	margin-left: auto;
	margin-right: auto;
	border: 2px solid var(--border-color);
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.hero-video video {
	width: 100%;
	height: auto;
	display: block;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 14px 32px;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	border: none;
	border-radius: 2px;
	cursor: pointer;
	transition: var(--transition);
	position: relative;
	overflow: hidden;
}

.btn-primary {
	background-color: var(--accent-color);
	color: var(--text-primary);
}

.btn-primary:hover {
	background-color: var(--accent-hover);
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(255, 70, 85, 0.4);
}

.btn-secondary {
	background-color: transparent;
	color: var(--text-primary);
	border: 2px solid var(--border-color);
}

.btn-secondary:hover {
	border-color: var(--text-primary);
	transform: translateY(-2px);
}

.btn-large {
	padding: 18px 40px;
	font-size: 16px;
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-section {
	padding: 100px 0;
	background-color: var(--secondary-bg);
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
}

.feature-card {
	background-color: var(--card-bg);
	border: 1px solid var(--border-color);
	padding: 40px 30px;
	text-align: center;
	transition: var(--transition);
}

.feature-card:hover {
	transform: translateY(-5px);
	border-color: var(--accent-color);
	box-shadow: 0 10px 40px rgba(255, 70, 85, 0.2);
}

.feature-icon {
	width: 60px;
	height: 60px;
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	color: var(--accent-color);
	background-color: rgba(255, 70, 85, 0.1);
	border-radius: 50%;
}

.feature-title {
	font-family: BebasNeueRegular;
	font-size: 20px;
	letter-spacing: 1px;
	margin-bottom: 12px;
	text-transform: uppercase;
}

.feature-description {
	font-size: 14px;
	color: var(--text-secondary);
	line-height: 1.6;
}

/* ========================================
   NEWS SECTION
   ======================================== */

.news-section {
	padding: 100px 0;
	background-color: var(--primary-bg);
}

.section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 50px;
}

.section-title {
	font-family: BebasNeueRegular;
	font-size: 48px;
	letter-spacing: 3px;
}

.section-subtitle {
	font-size: 18px;
	color: var(--text-secondary);
	text-align: center;
	margin-bottom: 50px;
}

.section-link {
	color: var(--text-secondary);
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: var(--transition);
	display: flex;
	align-items: center;
	gap: 8px;
}

.section-link:hover {
	color: var(--accent-color);
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 30px;
}

.news-preview-card {
	background-color: var(--card-bg);
	border: 1px solid var(--border-color);
	overflow: hidden;
	transition: var(--transition);
	cursor: pointer;
}

.news-preview-card:hover {
	transform: translateY(-5px);
	border-color: var(--accent-color);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.news-preview-image {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
}

.news-preview-content {
	padding: 25px;
}

.news-preview-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	font-size: 12px;
	color: var(--text-secondary);
}

.news-preview-category {
	background-color: var(--accent-color);
	padding: 4px 12px;
	border-radius: 2px;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 1px;
	font-weight: 600;
}

.news-preview-title {
	font-family: BebasNeueRegular;
	font-size: 24px;
	letter-spacing: 1px;
	margin-bottom: 12px;
	line-height: 1.3;
	text-transform: uppercase;
}

.news-preview-excerpt {
	font-size: 14px;
	color: var(--text-secondary);
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ========================================
   DOWNLOAD SECTION
   ======================================== */

.download-section {
	padding: 100px 0;
	background-color: var(--secondary-bg);
	text-align: center;
}

.download-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 50px;
}

.download-card {
	background-color: var(--card-bg);
	border: 2px solid var(--border-color);
	padding: 40px 30px;
	display: flex;
	align-items: center;
	gap: 20px;
	transition: var(--transition);
	cursor: pointer;
	text-align: left;
}

.download-card:hover {
	border-color: var(--accent-color);
	transform: translateY(-5px);
	box-shadow: 0 10px 40px rgba(255, 70, 85, 0.2);
}

.download-icon {
	font-size: 48px;
	color: var(--accent-color);
}

.download-info {
	flex: 1;
}

.download-info h3 {
	font-family: BebasNeueRegular;
	font-size: 24px;
	letter-spacing: 1px;
	margin-bottom: 5px;
}

.download-info p {
	font-size: 13px;
	color: var(--text-secondary);
}

.download-arrow {
	font-size: 24px;
	color: var(--text-secondary);
	transition: var(--transition);
}

.download-card:hover .download-arrow {
	color: var(--accent-color);
	transform: translateX(5px);
}

/* ========================================
   FOOTER
   ======================================== */

.main-footer {
	background-color: #06091a;
	padding: 60px 0 20px;
	border-top: 1px solid var(--border-color);
}

.footer-content {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 60px;
	margin-bottom: 40px;
}

.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.footer-logo {
	height: auto;
	width: 100px;
	max-width: 100px;
}

.footer-tagline {
	font-size: 14px;
	color: var(--text-secondary);
}

.footer-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 40px;
}

.footer-column h4 {
	font-family: BebasNeueRegular;
	font-size: 16px;
	letter-spacing: 1px;
	margin-bottom: 15px;
	text-transform: uppercase;
}

.footer-column a {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--text-secondary);
	margin-bottom: 10px;
	transition: var(--transition);
}

.footer-column a:hover {
	color: var(--accent-color);
}

.footer-bottom {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid var(--border-color);
}

.footer-bottom p {
	font-size: 13px;
	color: var(--text-secondary);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
	.main-nav {
		gap: 20px;
	}

	.hero-video {
		position: relative;
		bottom: auto;
		left: auto;
		transform: none;
		margin-top: 60px;
	}

	.hero-section {
		min-height: auto;
		padding: 120px 0 60px;
	}
}

@media (max-width: 768px) {
	.main-nav {
		display: none;
	}

	.header-container {
		justify-content: space-between;
	}

	.hero-title {
		font-size: 48px;
	}

	.hero-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.btn {
		justify-content: center;
	}

	.features-grid {
		grid-template-columns: 1fr;
	}

	.news-grid {
		grid-template-columns: 1fr;
	}

	.download-grid {
		grid-template-columns: 1fr;
	}

	.footer-content {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.section-header {
		flex-direction: column;
		gap: 20px;
		align-items: flex-start;
	}
}
