* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root {
	--primary-color: #00d4ff;
	--secondary-color: #0099ff;
	--dark-bg: #0a0e17;
	--card-bg: #12161f;
	--card-hover: #1a1f2e;
	--text-primary: #ffffff;
	--text-secondary: #a0aec0;
	--success: #10b981;
	--warning: #f59e0b;
	--info: #3b82f6;
}

body {
	background: linear-gradient(135deg, #0a0e17 0%, #1a1f2e 100%);
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
	color: var(--text-primary);
	overflow-x: hidden;
	position: relative;
}

/* Background Effect */
body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url("../img/minecraft.jpg") no-repeat center center fixed;
	background-size: cover;
	opacity: 0.03;
	z-index: -1;
}

html {
	scroll-behavior: smooth;
}

/* Navigation */
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: rgba(10, 14, 23, 0.95);
	backdrop-filter: blur(10px);
	z-index: 1000;
	border-bottom: 1px solid rgba(0, 212, 255, 0.1);
	transition: all 0.3s ease;
}

.navbar.scrolled {
	background: rgba(10, 14, 23, 0.98);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-content {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 70px;
}

.nav-logo img {
	height: 40px;
	filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
	transition: transform 0.3s ease;
}

.nav-logo img:hover {
	transform: scale(1.05);
}

.nav-links {
	display: flex;
	gap: 35px;
}

.nav-links a {
	color: var(--text-secondary);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
	transition: all 0.3s ease;
	position: relative;
}

.nav-links a::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--primary-color);
	transition: width 0.3s ease;
}

.nav-links a:hover {
	color: var(--primary-color);
}

.nav-links a:hover::after {
	width: 100%;
}

/* Hero Section */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 100px 20px 60px;
	position: relative;
}

.hero-content {
	text-align: center;
	max-width: 900px;
	margin: 0 auto;
}

.logo-container {
	margin-bottom: 30px;
}

.hero-logo {
	width: 280px;
	max-width: 90%;
	filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.4));
	animation: float 6s ease-in-out infinite;
}

@keyframes float {
	0%, 100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-20px);
	}
}

.hero-title {
	font-size: 3rem;
	font-weight: 800;
	margin-bottom: 20px;
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	line-height: 1.2;
}

.hero-subtitle {
	font-size: 1.3rem;
	color: var(--text-secondary);
	margin-bottom: 50px;
	font-weight: 400;
}

/* Server Info */
.server-info {
	display: flex;
	gap: 20px;
	justify-content: center;
	align-items: stretch;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.server-ip-box {
	background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 255, 0.1));
	border: 2px solid rgba(0, 212, 255, 0.3);
	border-radius: 15px;
	padding: 20px 40px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
	min-width: 250px;
	max-width: 400px;
	transition: all 0.3s ease;
}

.server-ip-box:hover {
	border-color: var(--primary-color);
	transform: translateY(-2px);
	box-shadow: 0 8px 30px rgba(0, 212, 255, 0.2);
}

.server-label {
	font-size: 0.85rem;
	color: var(--text-secondary);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.server-ip {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--primary-color);
	cursor: pointer;
	transition: all 0.3s ease;
}

.server-ip:hover {
	color: var(--text-primary);
}

.join-button-wrapper {
	display: flex;
	align-items: center;
}

.join-btn {
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	color: var(--dark-bg);
	border: none;
	padding: 20px 50px;
	font-size: 1.1rem;
	font-weight: 700;
	border-radius: 15px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 1px;
	box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.join-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 35px rgba(0, 212, 255, 0.5);
}

/* Player Stats */
.player-stats {
	display: flex;
	gap: 30px;
	justify-content: center;
	flex-wrap: wrap;
}

.stat-box {
	background: rgba(18, 22, 31, 0.6);
	border: 1px solid rgba(0, 212, 255, 0.2);
	border-radius: 12px;
	padding: 20px 30px;
	min-width: 200px;
	backdrop-filter: blur(10px);
}

.stat-label {
	font-size: 0.85rem;
	color: var(--text-secondary);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.stat-value {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--success);
	margin-top: 8px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.status-dot {
	width: 10px;
	height: 10px;
	background: var(--success);
	border-radius: 50%;
	animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% {
		box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
	}
	50% {
		box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
	}
}

.stat-number {
	font-size: 2.5rem;
	font-weight: 800;
	color: var(--primary-color);
	line-height: 1;
	margin-bottom: 5px;
}

/* Game Modes Section */
.gamemodes-section {
	padding: 100px 20px;
	background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.02));
}

.section-container {
	max-width: 1400px;
	margin: 0 auto;
}

.section-title {
	font-size: 3rem;
	font-weight: 800;
	text-align: center;
	margin-bottom: 15px;
	background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.section-subtitle {
	text-align: center;
	font-size: 1.2rem;
	color: var(--text-secondary);
	margin-bottom: 60px;
}

.gamemodes-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 30px;
}

.gamemode-card {
	background: var(--card-bg);
	border: 2px solid rgba(0, 212, 255, 0.1);
	border-radius: 20px;
	padding: 35px;
	transition: all 0.4s ease;
	position: relative;
	overflow: hidden;
}

.gamemode-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), transparent);
	opacity: 0;
	transition: opacity 0.4s ease;
}

.gamemode-card:hover {
	border-color: var(--primary-color);
	transform: translateY(-10px);
	box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.gamemode-card:hover::before {
	opacity: 1;
}

.gamemode-card.active-mode {
	border-color: var(--success);
}

.card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 25px;
}

.card-icon {
	font-size: 3.5rem;
	filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.5));
}

.card-badge {
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.card-badge.available {
	background: var(--success);
	color: white;
}

.card-badge.coming-soon {
	background: var(--warning);
	color: white;
}

.card-badge.in-dev {
	background: var(--info);
	color: white;
}

.card-title {
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 15px;
	color: var(--primary-color);
}

.card-description {
	color: var(--text-secondary);
	line-height: 1.7;
	margin-bottom: 25px;
	font-size: 0.95rem;
}

.card-footer {
	padding-top: 20px;
	border-top: 1px solid rgba(0, 212, 255, 0.1);
	color: var(--text-secondary);
	font-size: 0.9rem;
}

.card-footer i {
	margin-right: 8px;
	color: var(--primary-color);
}

/* CTA Section */
.cta-section {
	padding: 100px 20px;
	background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 153, 255, 0.05));
	position: relative;
}

.cta-content {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}

.cta-content h2 {
	font-size: 2.5rem;
	font-weight: 800;
	margin-bottom: 20px;
}

.cta-content p {
	font-size: 1.2rem;
	color: var(--text-secondary);
	margin-bottom: 40px;
}

.cta-buttons {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
}

.cta-btn {
	padding: 18px 40px;
	border-radius: 12px;
	font-size: 1.1rem;
	font-weight: 700;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	transition: all 0.3s ease;
	border: 2px solid transparent;
	cursor: pointer;
}

.cta-btn.discord {
	background: linear-gradient(135deg, #5865F2, #404EED);
	color: white;
	box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
}

.cta-btn.discord:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 35px rgba(88, 101, 242, 0.5);
}

.cta-btn.secondary {
	background: transparent;
	border-color: var(--primary-color);
	color: var(--primary-color);
}

.cta-btn.secondary:hover {
	background: var(--primary-color);
	color: var(--dark-bg);
	transform: translateY(-3px);
}

/* Footer */
.footer {
	background: rgba(10, 14, 23, 0.95);
	border-top: 1px solid rgba(0, 212, 255, 0.1);
	padding: 60px 20px 20px;
}

.footer-content {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-section h4 {
	font-size: 1.2rem;
	margin-bottom: 15px;
	color: var(--primary-color);
}

.footer-section p,
.footer-section a {
	color: var(--text-secondary);
	line-height: 1.8;
	text-decoration: none;
	display: block;
	transition: color 0.3s ease;
}

.footer-section a:hover {
	color: var(--primary-color);
}

.footer-section a i {
	margin-right: 8px;
}

.footer-ip {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--primary-color);
	cursor: pointer;
}

.footer-ip:hover {
	color: var(--text-primary);
}

.footer-bottom {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(0, 212, 255, 0.1);
	color: var(--text-secondary);
	font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
	.nav-links {
		gap: 15px;
		font-size: 0.85rem;
	}

	.hero-title {
		font-size: 2rem;
	}

	.hero-subtitle {
		font-size: 1rem;
	}

	.hero-logo {
		width: 200px;
	}

	.server-info {
		flex-direction: column;
	}

	.server-ip-box,
	.join-button-wrapper {
		width: 100%;
		max-width: 100%;
	}

	.section-title {
		font-size: 2rem;
	}

	.section-subtitle {
		font-size: 1rem;
	}

	.gamemodes-grid {
		grid-template-columns: 1fr;
	}

	.cta-content h2 {
		font-size: 1.8rem;
	}

	.cta-buttons {
		flex-direction: column;
	}

	.cta-btn {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.nav-content {
		height: 60px;
	}

	.nav-logo img {
		height: 35px;
	}

	.nav-links a {
		font-size: 0.8rem;
	}

	.hero-title {
		font-size: 1.5rem;
	}

	.server-ip {
		font-size: 1.3rem;
	}

	.stat-number {
		font-size: 2rem;
	}
}

/* Utility Classes */
.extrapad {
	padding: 0 20px;
}
