/* Modern Design System - Blue & Gold Theme */
:root {
	--primary: #3b82f6;       /* Blue */
	--primary-dark: #2563eb;  /* Deep Blue */
	--secondary: #fbbf24;    /* Goldish Yellow */
	--success: #10b981;
	--danger: #ef4444;
	--warning: #f59e0b;
	--dark: #0f172a;
	--dark-light: #1e293b;
	--dark-lighter: #334155;
	--text: #f1f5f9;
	--text-muted: #94a3b8;
	--border: rgba(255, 255, 255, 0.1);
	--shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
	--shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	background: linear-gradient(135deg, var(--dark) 0%, #1a1a2e 100%);
	color: var(--text);
	line-height: 1.6;
	min-height: 100vh;
}

/* Hero Section */
.hero {
	height: 100vh;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: url('images/1.png') center/cover no-repeat;
	overflow: hidden;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.85) 100%);
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 800px;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hero-title {
	font-size: clamp(4rem, 15vw, 8rem);
	font-weight: 900;
	margin-bottom: 1rem;
	letter-spacing: 0.05em;
	animation: fadeInUp 1s ease;
	line-height: 0.9;
	text-align: left;
	align-self: center;
	font-family: 'Minecraft', monospace;
	text-shadow:
	2px 2px 0px rgba(0, 0, 0, 0.4),
	4px 4px 0px rgba(0, 0, 0, 0.3),
	6px 6px 0px rgba(0, 0, 0, 0.2),
	8px 8px 0px rgba(0, 0, 0, 0.1);
	image-rendering: pixelated;
	-webkit-font-smoothing: none;
	-moz-osx-font-smoothing: grayscale;
}

.hero-title-indent {
	padding-left: 0.1em;
}

.hero-subtitle {
	font-size: clamp(1.25rem, 3vw, 1.75rem);
	color: var(--text-muted);
	margin-bottom: 2rem;
	animation: fadeInUp 1s ease 0.2s both, float 3s ease-in-out infinite;
	white-space: pre-line;
	line-height: 1.3;
	text-align: left;
	align-self: center;
}

.server-ip {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	background: rgba(59, 130, 246, 0.1);
	backdrop-filter: blur(10px);
	border: 1px solid var(--border);
	padding: 1rem 2rem;
	border-radius: 100px;
	animation: fadeInUp 1s ease 0.4s both;
	box-shadow: var(--shadow);
}

.ip-label {
	color: var(--text-muted);
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.ip-address {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary);
}

.copy-btn {
	padding: 0.5rem 1.5rem;
	background: var(--primary);
	color: white;
	border: none;
	border-radius: 50px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
}

.copy-btn:hover {
	background: var(--primary-dark);
	transform: scale(1.05);
}

.scroll-indicator {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	font-size: 2rem;
	animation: bounce 2s infinite;
	color: var(--text-muted);
}

/* Navigation */
.navbar {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(15, 23, 42, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border);
}

.nav-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1rem 2rem;
	display: flex;
	gap: 2rem;
	justify-content: center;
}

.nav-link {
	color: var(--text-muted);
	text-decoration: none;
	font-weight: 500;
	padding: 0.5rem 1rem;
	border-radius: 8px;
	transition: all 0.3s;
	position: relative;
}

.nav-link:hover,
.nav-link.active {
	color: var(--text);
	background: rgba(59, 130, 246, 0.1);
}

.nav-link.active::after {
	content: '';
	position: absolute;
	bottom: -1rem;
	left: 50%;
	transform: translateX(-50%);
	width: 4px;
	height: 4px;
	background: var(--primary);
	border-radius: 50%;
}

/* Container */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 4rem 2rem;
}

.section {
	margin-bottom: 4rem;
}

.section-title {
	font-size: 2.5rem;
	margin-bottom: 2rem;
	background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Cards */
.card {
	background: rgba(30, 41, 59, 0.5);
	backdrop-filter: blur(10px);
	border: 1px solid var(--border);
	border-radius: 24px;
	padding: 2rem;
	margin-bottom: 2rem;
	box-shadow: var(--shadow);
	transition: all 0.3s;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
	border-color: var(--primary);
}

.card h2 {
	color: var(--text);
	margin-bottom: 1rem;
	font-size: 1.75rem;
}

.card p {
	color: var(--text-muted);
	line-height: 1.8;
}

/* Status Card */
.status-card {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
	backdrop-filter: blur(10px);
	border: 1px solid var(--border);
	border-radius: 24px;
	padding: 2rem;
	box-shadow: var(--shadow-lg);
}

.status-card h2 {
	margin-bottom: 1.5rem;
	font-size: 1.75rem;
}

.status-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
}

.status-item {
	background: rgba(15, 23, 42, 0.5);
	padding: 1.5rem;
	border-radius: 16px;
	border: 1px solid var(--border);
}

.status-item.full-width {
	grid-column: 1 / -1;
}

.status-label {
	display: block;
	color: var(--text-muted);
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.5rem;
}

.status-value {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
}

.status-value.online {
	color: var(--success);
}

.status-value.offline {
	color: var(--danger);
}

/* Player Grid */
.player-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
	gap: 1rem;
	margin-top: 1rem;
}

.player-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.player-head {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	border: 2px solid var(--primary);
	margin-bottom: 0.5rem;
	image-rendering: pixelated;
}

.player-name {
	font-size: 0.75rem;
	color: var(--text-muted);
	word-break: break-word;
}

/* Stats Grid */
.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.stat {
	text-align: center;
}

.stat-value {
	font-size: 3rem;
	font-weight: 900;
	background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	display: block;
}

.stat-label {
	color: var(--text-muted);
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-top: 0.5rem;
}

/* Hardware List */
.hardware-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 1rem;
}

.hardware-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem;
	background: rgba(15, 23, 42, 0.5);
	border-radius: 12px;
	border: 1px solid var(--border);
}

.hw-label {
	color: var(--primary);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.875rem;
}

.hw-value {
	color: var(--text);
}

/* News Grid */
.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
}

.news-card {
	background: rgba(30, 41, 59, 0.5);
	backdrop-filter: blur(10px);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 1.5rem;
	transition: all 0.3s;
	cursor: pointer;
}

.news-card:hover {
	transform: translateY(-5px);
	border-color: var(--primary);
	box-shadow: var(--shadow);
}

.news-date {
	color: var(--primary);
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.news-card h3 {
	color: var(--text);
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
}

.news-card p {
	color: var(--text-muted);
	font-size: 0.95rem;
	line-height: 1.6;
}

/* Gallery */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 1.5rem;
}

.gallery-item {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 16/9;
	cursor: pointer;
	transition: transform 0.3s;
}

.gallery-item:hover {
	transform: scale(1.05);
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Donation Card */
.donation-card {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(251, 191, 36, 0.1) 100%);
	text-align: center;
}

.donation-progress {
	margin: 2rem 0;
}

.progress-bar {
	width: 100%;
	height: 12px;
	background: rgba(15, 23, 42, 0.5);
	border-radius: 100px;
	overflow: hidden;
	margin-bottom: 0.5rem;
}

.progress-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
	transition: width 0.5s ease;
}

.progress-text {
	color: var(--text-muted);
	font-size: 0.875rem;
}

.donation-info {
	margin: 1.5rem 0;
	color: var(--text-muted);
	line-height: 1.8;
}

.donate-btn {
	padding: 1rem 3rem;
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	color: white;
	border: none;
	border-radius: 100px;
	font-size: 1.125rem;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s;
	box-shadow: var(--shadow);
	margin: 1rem 0;
}

.donate-btn:hover {
	transform: scale(1.05);
	box-shadow: var(--shadow-lg);
}

.perks {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--border);
}

.perks h3 {
	margin-bottom: 1rem;
}

.perks small {
	color: var(--text-muted);
	display: block;
	margin-top: 0.5rem;
}

/* Links Grid */
.links-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
}

.link-card {
	background: rgba(30, 41, 59, 0.5);
	backdrop-filter: blur(10px);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 2rem;
	text-align: center;
	text-decoration: none;
	color: var(--text);
	transition: all 0.3s;
}

.link-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
}

.link-card.discord:hover {
	border-color: #5865f2;
	background: rgba(88, 101, 242, 0.1);
}

.link-card.discord:hover .link-icon {
	color: #5865f2;
}

.link-card.youtube:hover {
	border-color: #ff0000;
	background: rgba(255, 0, 0, 0.1);
}

.link-card.youtube:hover .link-icon {
	color: #ff0000;
}

.link-card.email:hover {
	border-color: var(--primary);
	background: rgba(59, 130, 246, 0.1);
}

.link-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: color 0.3s;
}

.link-icon svg {
	width: 48px;
	height: 48px;
	transition: fill 0.3s;
}

.link-card h3 {
	margin-bottom: 0.5rem;
	font-size: 1.25rem;
}

.link-card p {
	color: var(--text-muted);
	font-size: 0.875rem;
}

/* Footer */
.footer {
	background: rgba(15, 23, 42, 0.95);
	border-top: 1px solid var(--border);
	padding: 3rem 2rem;
	text-align: center;
}

.footer-content p {
	color: var(--text-muted);
	margin: 0.5rem 0;
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes bounce {
	0%, 100% {
		transform: translateX(-50%) translateY(0);
	}
	50% {
		transform: translateX(-50%) translateY(-10px);
	}
}

@keyframes float {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}

/* Live Chat Styles - Minecraft Console */
.chat-card {
	max-width: 1000px;
	margin: 0 auto;
}

.chat-description {
	color: var(--text-muted);
	margin-bottom: 1rem;
	font-size: 0.875rem;
}

.chat-container {
	background: #000000;
	border-radius: 8px;
	padding: 1rem;
	max-height: 500px;
	overflow-y: auto;
	border: 2px solid #333333;
	font-family: 'Courier New', Consolas, monospace;
	font-size: 0.875rem;
	line-height: 1.5;
}

.chat-message {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	padding: 0.25rem 0;
	transition: background 0.1s;
	white-space: pre-wrap;
	word-wrap: break-word;
}

.chat-message:hover {
	background: rgba(255, 255, 255, 0.05);
}

.chat-time {
	font-size: 0.75rem;
	color: #888888;
	min-width: 60px;
	font-family: 'Courier New', Consolas, monospace;
}

.chat-head {
	width: 16px;
	height: 16px;
	border-radius: 2px;
	image-rendering: pixelated;
	margin-top: 2px;
}

.chat-player {
	font-weight: 600;
	color: #55FFFF;
	font-family: 'Courier New', Consolas, monospace;
}

.chat-text {
	color: #FFFFFF;
	word-wrap: break-word;
	flex: 1;
	font-family: 'Courier New', Consolas, monospace;
}

/* Console prefix styling */
.chat-message::before {
	content: '[INFO] ';
	color: #AAAAAA;
	font-weight: normal;
}

/* Scrollbar styling for chat - console theme */
.chat-container::-webkit-scrollbar {
	width: 10px;
}

.chat-container::-webkit-scrollbar-track {
	background: #1a1a1a;
	border-radius: 4px;
}

.chat-container::-webkit-scrollbar-thumb {
	background: #444444;
	border-radius: 4px;
}

.chat-container::-webkit-scrollbar-thumb:hover {
	background: #555555;
}

/* Responsive Design */
@media (max-width: 768px) {
	.container {
		padding: 2rem 1rem;
	}

	.hero-title {
		font-size: 3rem;
	}

	.nav-container {
		flex-wrap: wrap;
		gap: 0.5rem;
	}

	.nav-link {
		padding: 0.5rem;
		font-size: 0.875rem;
	}

	.stats-grid {
		grid-template-columns: 1fr;
	}

	.status-grid {
		grid-template-columns: 1fr;
	}

	.news-grid {
		grid-template-columns: 1fr;
	}

	.gallery-grid {
		grid-template-columns: 1fr;
	}
}
