* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
}

body {
	background: #07101a;
	color: #e9f0f8;
	overflow-x: hidden;
}

body:before {
	content: '';
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(rgba(4,8,12,.78), rgba(6,12,18,.86)), url('assets/background.jpg');
	background-size: cover;
	background-position: center;
	z-index: -2;
}

body:after {
	content: '';
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at top, rgba(44,140,255,0.08), transparent 60%);
	z-index: -1;
}

nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 14px 0;
	background: rgba(8,12,16,0.88);
	backdrop-filter: blur(6px);
	box-shadow: 0 1px 0 rgba(255,255,255,0.02) inset;
	z-index: 999;
}

.nav-wrap {
	width: 1200px;
	max-width: 95%;
	margin: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.name {
	font-size: 28px;
	font-weight: 700;
	color: #58a0e6;
}

.logo-img {
	height: 36px;
	display: block;
	object-fit: contain;
}

.links {
	display: flex;
	gap: 30px;
}

.links a {
	text-decoration: none;
	color: white;
	transition: .3s;
}

.links a:hover {
	color: #5ca7ff;
}

footer {
	padding: 45px;
	text-align: center;
	background: #06090d;
	border-top: 1px solid rgba(255,255,255,.05);
}

footer p {
	opacity: .6;
}

.container {
	width: 1200px;
	max-width: 95%;
	margin: auto;
}

.hero {
	padding: 140px 0 120px;
	text-align: center;
	margin-bottom: 0;
}

.logo {
	font-size: 65px;
	font-weight: 700;
	color: #5ca7ff;
}

.subtitle {
	margin-top: 15px;
	font-size: 20px;
	opacity: .8;
}

.players {
	display: inline-block;
	margin-top: 36px;
	padding: 14px 36px;
	border-radius: 12px;
	background: rgba(255,255,255,0.03);
	border: 1px solid rgba(255,255,255,0.04);
	font-size: 28px;
	font-weight: 700;
}

.players small {
	display: block;
	font-size: 14px;
	font-weight: 400;
	opacity: .7;
}

.ip {
	margin-top: 35px;
}

.ip button {
	padding: 16px 35px;
	border: none;
	background: #3b8dff;
	color: white;
	font-size: 17px;
	border-radius: 12px;
	cursor: pointer;
	transition: .3s;
}

.ip button:hover {
	background: #63a8ff;
	transform: translateY(-3px);
}

.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px;
	margin-top: 100px;
	margin-bottom: 80px;
}

.card {
	padding: 28px;
	border-radius: 14px;
	background: rgba(8,12,16,0.55);
	border: 1px solid rgba(255,255,255,0.03);
	transition: .25s;
}

.card:hover {
	transform: translateY(-6px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}

.card h1 {
	font-size: 42px;
	color: #59a5ff;
}

.card p {
	margin-top: 10px;
	opacity: .7;
}

.about {
	margin: 60px 0 120px;
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 50px;
}

.panel {
	padding: 28px;
	border-radius: 12px;
	background: rgba(12,18,24,0.6);
	border: 1px solid rgba(255,255,255,0.03);
}

.panel h2 {
	margin-bottom: 20px;
	color: #58a5ff;
}

ul {
	margin-left: 25px;
	line-height: 2;
}

.quick {
	display: grid;
	gap: 15px;
}

.quick a {
	padding: 12px;
	text-decoration: none;
	background: rgba(14,18,22,0.6);
	color: #eaf4ff;
	border-radius: 10px;
	transition: .18s;
}

.quick a:hover {
	background: rgba(46,126,213,0.12);
	color: #cfeeff;
}

.page {
	width: 1200px;
	max-width: 95%;
	margin: auto;
	padding: 140px 0 80px;
}

.rules {
	display: grid;
	gap: 22px;
}

.rule {
	display: flex;
	gap: 25px;
	align-items: flex-start;
	padding: 28px;
	background: rgba(255,255,255,.05);
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 18px;
	backdrop-filter: blur(15px);
	transition: .3s;
}

.rule:hover {
	transform: translateY(-6px);
	border-color: #4a98ff;
	box-shadow: 0 15px 35px rgba(45,135,255,.20);
}

.icon {
	width: 60px;
	height: 60px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #101722;
	border-radius: 14px;
	font-size: 28px;
	flex-shrink: 0;
}

.rule h2 {
	margin-bottom: 8px;
	font-size: 24px;
}

.rule p {
	line-height: 1.8;
	opacity: .75;
}

.notice {
	margin-top: 60px;
	padding: 28px;
	border-radius: 12px;
	background: linear-gradient(180deg, rgba(85,22,22,0.25), rgba(45,12,12,0.18));
	border: 1px solid rgba(255,92,92,0.12);
	text-align: center;
}

.notice h2 {
	color: #ff8080;
	margin-bottom: 15px;
}

.notice p {
	line-height: 1.8;
	opacity: .9;
}

.leaderboard-box {
	margin-top: 20px;
	background: rgba(6,10,14,0.52);
	border-radius: 10px;
	padding: 14px;
	max-width: 720px;
}

.leaderboard-header {
	display:flex;
	align-items:center;
	justify-content:space-between;
	margin-bottom:10px;
}

.leaderboard-title {
	font-size:18px;
	letter-spacing:1px;
	color: #cfeeff;
}

.leaderboard-list { list-style:none; padding:0; margin:0; }

.leaderboard-item {
	display:flex;
	align-items:center;
	gap:12px;
	padding:10px 12px;
	border-radius:8px;
	background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
	margin-bottom:8px;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.leaderboard-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.5);
	background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.005));
}

.rank-badge {
	width:44px;
	height:44px;
	border-radius:8px;
	display:flex;
	align-items:center;
	justify-content:center;
	font-weight:800;
	color:#04202b;
	background: #9ad0ff;
}

.leaderboard-item.rank-1 .rank-badge { background: linear-gradient(180deg,#ffd93b,#e6b800); color:#111; }
.leaderboard-item.rank-2 .rank-badge { background: linear-gradient(180deg,#dfe7ef,#c0cbd6); color:#111; }
.leaderboard-item.rank-3 .rank-badge { background: linear-gradient(180deg,#e6b293,#c88a57); color:#111; }

.player-name { font-weight:700; color:#e6f6ff; }
.player-meta { opacity:.8; font-size:13px; color:#cfeeff; }

.leader-score {
	color: #9ad0ff;
	min-width: 36px;
	text-align: right;
	font-weight: 700;
}

.leaderboard-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	border-bottom: 1px solid rgba(255,255,255,0.03);
}

.leaderboard-row:last-child { border-bottom: none; }

.leader-rank {
	color: #59a5ff;
	width: 48px;
	font-weight: 700;
}

.leader-name {
	flex: 1;
	padding-left: 10px;
	opacity: .95;
}

@media (max-width: 900px) {
	.stats {
		grid-template-columns: 1fr 1fr;
	}


.leaderboard-box {
		margin-top: 20px;
		background: rgba(6,10,14,0.52);
		border-radius: 10px;
		padding: 14px;
		max-width: 480px;
}

.leaderboard-header {
	display:flex;
	align-items:center;
	justify-content:space-between;
	margin-bottom:10px;
}

.leaderboard-title {
	font-size:18px;
	letter-spacing:1px;
	color: #cfeeff;
}

.leaderboard-list { list-style:none; padding:0; margin:0; }

.leaderboard-item {
	display:flex;
	align-items:center;
	gap:12px;
	padding:10px 12px;
	border-radius:8px;
	background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
	margin-bottom:8px;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.leaderboard-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.5);
	background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.005));
}

.rank-badge {
	width:44px;
	height:44px;
	border-radius:8px;
	display:flex;
	align-items:center;
	justify-content:center;
	font-weight:800;
	color:#04202b;
	background: #9ad0ff; /* default pale blue */
}

.leaderboard-item.rank-1 .rank-badge { background: linear-gradient(180deg,#ffd93b,#e6b800); color:#111; }
.leaderboard-item.rank-2 .rank-badge { background: linear-gradient(180deg,#dfe7ef,#c0cbd6); color:#111; }
.leaderboard-item.rank-3 .rank-badge { background: linear-gradient(180deg,#e6b293,#c88a57); color:#111; }

.player-name { font-weight:700; color:#e6f6ff; }
.player-meta { opacity:.8; font-size:13px; color:#cfeeff; }

.leader-score {
	color: #9ad0ff;
	min-width: 36px;
	text-align: right;
	font-weight: 800;
	font-size: 15px;
}

@media (max-width:600px) {
	.leaderboard-box { max-width: 100%; }
	.rank-badge { width:36px; height:36px; }
}

.leaderboard-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	border-bottom: 1px solid rgba(255,255,255,0.03);
}

.leaderboard-row:last-child {
	border-bottom: none;
}

.leader-rank {
	color: #59a5ff;
	width: 48px;
	font-weight: 700;
}

.leader-name {
	flex: 1;
	padding-left: 10px;
	opacity: .95;
}

.leader-score {
	color: #9ad0ff;
	min-width: 36px;
	text-align: right;
	font-weight: 700;
}

.events-box {
	margin-top: 20px;
	background: rgba(0,0,0,0.35);
	border-radius: 12px;
	padding: 12px;
	max-width: 720px;
}

.event-row {
	display: flex;
	gap: 18px;
	padding: 12px;
	border-bottom: 1px solid rgba(255,255,255,0.03);
	align-items: flex-start;
}

.event-row:last-child { border-bottom: none; }

.event-date {
	color: #59a5ff;
	min-width: 100px;
	font-weight: 700;
}

.event-content h3 { margin: 0 0 6px 0; }

.event-content p { margin: 0; opacity: .9; }
	.about {
		grid-template-columns: 1fr;
	}

	.logo {
		font-size: 45px;
	}

	.hero h1 {
		font-size: 42px;
	}

	.rule {
		flex-direction: column;
	}
}

@media (max-width: 600px) {
	.stats {
		grid-template-columns: 1fr;
	}
}
