:root {
	--primary-color: #2196f3;
	--secondary-color: #00bcd4;
	--accent-color: #81d4fa;
	--dark-bg: #0a1929;
	--card-bg: rgba(10, 25, 41, 0.7);
	--text-color: #ffffff;
	--border-color: rgba(0, 188, 212, 0.2);
	--reward-color: #ffd700;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Minecraft', Arial, sans-serif;
	background-image: url('./bg.png');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	color: var(--text-color);
	min-height: 100vh;
	line-height: 1.6;
}

body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
	z-index: -1;
}

.particles {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0;
}

.particle {
	position: absolute;
	width: 4px;
	height: 4px;
	background: var(--accent-color);
	border-radius: 50%;
	animation: fall linear infinite;
	opacity: 0.3;
}

@keyframes fall {
	0% { transform: translateY(-100vh); }
	100% { transform: translateY(100vh); }
}

.navbar {
	background: rgba(13, 17, 23, 0.8);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(79, 195, 247, 0.2);
	padding: 1rem 0;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.nav-left, .nav-center, .nav-right {
	flex: 1;
	display: flex;
	align-items: center;
}

.nav-center {
	justify-content: center;
}

.nav-right {
	justify-content: flex-end;
}

.nav-link {
	color: var(--text-color);
	text-decoration: none;
	padding: 0.8rem 1.5rem;
	border-radius: 8px;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: all 0.3s ease;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link:hover {
	background: var(--primary-color);
	transform: translateY(-2px);
	border-color: var(--primary-color);
	box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.nav-link i {
	font-size: 1.2rem;
}

.nav-title {
	color: var(--primary-color);
	font-size: 1.8rem;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 12px;
}

.nav-title i {
	animation: pulse 2s infinite;
}

.server-status {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0.5rem 1rem;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	font-size: 0.9rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-dot {
	width: 8px;
	height: 8px;
	background: #4CAF50;
	border-radius: 50%;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.1); opacity: 0.8; }
	100% { transform: scale(1); opacity: 1; }
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem;
	position: relative;
	z-index: 1;
}

.vote-content {
	background: var(--card-bg);
	border-radius: 15px;
	padding: 2rem;
	backdrop-filter: blur(10px);
	border: 1px solid var(--border-color);
}

.vote-header {
	text-align: center;
	margin-bottom: 2rem;
}

.vote-header h2 {
	color: var(--primary-color);
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

.vote-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
	margin: 2rem 0;
}

.vote-card {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 10px;
	padding: 1.5rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	text-decoration: none;
	color: var(--text-color);
	transition: all 0.3s ease;
	border: 1px solid var(--border-color);
}

.vote-card:hover {
	transform: translateY(-5px);
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--primary-color);
}

.vote-icon {
	font-size: 2rem;
	color: var(--primary-color);
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.2);
	border-radius: 50%;
	transition: all 0.3s ease;
}

.vote-card:hover .vote-icon {
	transform: scale(1.1);
	color: var(--accent-color);
}

.vote-info {
	flex: 1;
}

.vote-info h3 {
	color: var(--primary-color);
	margin-bottom: 0.25rem;
}

.vote-info p {
	font-size: 0.9rem;
	opacity: 0.8;
}

.reward {
	display: block;
	color: var(--reward-color);
	font-size: 0.9rem;
	margin-top: 0.25rem;
}

.vote-arrow {
	font-size: 1.2rem;
	opacity: 0;
	transform: translateX(-10px);
	transition: all 0.3s ease;
}

.vote-card:hover .vote-arrow {
	opacity: 1;
	transform: translateX(0);
}

.vote-footer {
	text-align: center;
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--border-color);
}

.total-reward {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1rem;
	padding: 0.5rem 1rem;
	background: rgba(0, 0, 0, 0.2);
	border-radius: 5px;
	color: var(--reward-color);
}

@media (max-width: 768px) {
	.container {
		padding: 1rem;
	}

	.vote-grid {
		grid-template-columns: 1fr;
	}

	.vote-card {
		padding: 1rem;
	}

	.vote-icon {
		width: 50px;
		height: 50px;
		font-size: 1.5rem;
	}

	.nav-content {
		flex-direction: column;
		gap: 1rem;
		padding: 1rem;
	}

	.nav-left, .nav-center, .nav-right {
		width: 100%;
		justify-content: center;
	}

	.nav-title {
		font-size: 1.5rem;
	}

	.nav-link {
		width: fit-content;
	}
}

@media (max-width: 480px) {
	.vote-header h2 {
		font-size: 1.5rem;
	}

	.vote-card {
		flex-direction: column;
		text-align: center;
	}

	.vote-info {
		text-align: center;
	}

	.vote-arrow {
		display: none;
	}
}