﻿* {
	box-sizing: border-box;
	z-index: 1;
}

body {
	/*Want to change background image?*/
	/*Upload a new one to the img folder.*/
	/*Make sure you name it 'minecraft.jpg'*/
	background: transparent;
	font-family: "Open Sans", Helvetica;
	margin: 0;
	position: relative;
}

/* Fixed background layer for reliable behavior on iOS Safari. */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	background: linear-gradient(rgba(24, 17, 36, 0.65), rgba(24, 17, 36, 0.65)),
		url("../img/minecraft.jpg") no-repeat center center;
	background-size: cover;
	z-index: -2;
	pointer-events: none;
}

html, body {
	width: 100vw;
	min-height: 100vh;
	overflow-x: hidden;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

a {
	text-decoration: none;
}

p {
	margin: 0;
	padding: 3px;
}

.container {
	text-align: center;
	position: relative;
	z-index: 5;
}

.logo {
	will-change: transform;
}

.logo img {
	width: 225px; /* Change image size for mobile */
	-webkit-animation-name: logo;
	        animation-name: logo;
	-webkit-animation-duration: 5s;
	        animation-duration: 5s;
	-webkit-animation-iteration-count: infinite;
	        animation-iteration-count: infinite;
	-webkit-animation-timing-function: ease-in-out;
	transform-origin: center bottom;
animation-timing-function: ease-in-out;
	transform-origin: center bottom;
}


@-webkit-keyframes logo {
	0% {
		-webkit-transform: scale(1.62);
		        transform: scale(1.62);
	}
	50% {
		-webkit-transform: scale(1.72);
		        transform: scale(1.72);
	}
	100% {
		-webkit-transform: scale(1.62);
		        transform: scale(1.62);
	}
}

@keyframes logo {
	0% {
		-webkit-transform: scale(1.62);
		        transform: scale(1.62);
	}
	50% {
		-webkit-transform: scale(1.72);
		        transform: scale(1.72);
	}
	100% {
		-webkit-transform: scale(1.62);
		        transform: scale(1.62);
	}
}

.playercount {
	display: inline-block;
	margin: 20px 15px 15px 15px;
	padding: 2px 0;
	background-color: rgba(165, 106, 255, 0.78);
	border: 1px solid rgba(122, 74, 199, 0.65);
	font-size: 0.98em;
	color: white;
	text-align: center;
	border-radius: 5px 0 5px 0;
	line-height: 25px;
}

.playercount > p > span {
	font-weight: bold;
	padding: 1px 4px;
	border-radius: 3px;
	background: rgba(122, 74, 199, 0.72);
	margin: 0 2px;
}

.extrapad {
	padding: 0;
}

#ip {
	cursor: pointer;
	text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.3);
	position: relative;
	display: inline-block;
}

#ip::after {
	content: attr(data-copy-hint);
	position: absolute;
	left: 50%;
	bottom: calc(100% + 8px);
	-webkit-transform: translateX(-50%) translateY(4px);
	        transform: translateX(-50%) translateY(4px);
	padding: 4px 8px;
	border-radius: 5px;
	font-size: 11px;
	line-height: 1.2;
	white-space: nowrap;
	color: #fff;
	background: rgba(28, 20, 48, 0.95);
	border: 1px solid rgba(165, 106, 255, 0.62);
	opacity: 0;
	pointer-events: none;
	-webkit-transition: opacity 0.2s ease, -webkit-transform 0.2s ease;
	transition: opacity 0.2s ease, -webkit-transform 0.2s ease;
	-o-transition: opacity 0.2s ease, transform 0.2s ease;
	transition: opacity 0.2s ease, transform 0.2s ease;
	transition: opacity 0.2s ease, transform 0.2s ease, -webkit-transform 0.2s ease;
}

#ip:hover::after {
	opacity: 1;
	-webkit-transform: translateX(-50%) translateY(0);
	        transform: translateX(-50%) translateY(0);
}

.items {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-pack: distribute;
	    justify-content: space-around;
	-ms-flex-preferred-size: 100px;
	    flex-basis: 100px;
	padding: 18px 0 10px 0;

}

.item {
	display: block;
	-webkit-transition: -webkit-transform 0.25s ease;
	transition: -webkit-transform 0.25s ease;
	-o-transition: transform 0.25s ease;
	transition: transform 0.25s ease;
	transition: transform 0.25s ease, -webkit-transform 0.25s ease;
	will-change: transform;
}

.item:hover,
.item:focus-visible {
	-webkit-transform: scale(1.06);
	        transform: scale(1.06);
}

.item img {
	-webkit-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	transition: all 0.2s ease;
	margin-bottom: 7px;
}


.img {
	width: 110px;
	height: 110px;
	display: block;
	margin: 0 auto 7px auto;
	object-fit: contain;
}

.title {
	font-weight: bold;
	font-size: 17px;
	color: white;
}

.subtitle {
	color: #cfcfcf;
	font-size: 12px;
}

.title,
.subtitle {
	margin: 0;
	padding: 0;
}

#tsparticles {
	z-index: 0; /* Ensures particles are under page contents */
	position: fixed;
	inset: 0;
	pointer-events: none;
}

.vote-modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	z-index: 30;
}

.vote-modal.is-open,
.vote-modal:target {
	display: flex;
}

.vote-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 5, 16, 0.72);
	-webkit-backdrop-filter: blur(3px);
	        backdrop-filter: blur(3px);
	z-index: 0;
}

.vote-modal__card {
	position: relative;
	z-index: 1;
	background: #1c1430;
	color: #fff;
	padding: 20px;
	width: min(92vw, 460px);
	border: 1px solid rgba(150, 193, 255, 0.72);
	border-radius: 14px;
	box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45);
}

.vote-modal__subtitle {
	margin: 0 0 14px 0;
	color: #d5e8ff;
	padding: 0;
}

#vote-modal .vote-modal__card {
	background:
		radial-gradient(circle at 100% -20%, rgba(188, 150, 255, 0.22), transparent 50%),
		radial-gradient(circle at -10% 110%, rgba(117, 210, 255, 0.23), transparent 45%),
		linear-gradient(175deg, rgba(30, 28, 58, 0.96), rgba(14, 18, 36, 0.96));
}

#vote-modal .vote-modal__topbar {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 10px;
}

#vote-modal .vote-modal__heading h2 {
	margin: 0;
	font-size: 24px;
	line-height: 1.1;
}

#vote-modal .vote-modal__actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.vote-modal__eyebrow {
	margin: 0 0 4px 0;
	padding: 0;
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #b9ddff;
}

#vote-modal .vote-modal__links {
	display: grid;
	gap: 10px;
	counter-reset: vote-link;
}

#vote-modal .vote-modal__links a {
	counter-increment: vote-link;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 44px;
	padding: 8px 12px 8px 54px;
	border-radius: 12px;
	color: #fff;
	background: linear-gradient(140deg, rgba(112, 186, 255, 0.34), rgba(116, 82, 206, 0.33));
	border: 1px solid rgba(164, 210, 255, 0.56);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 24px rgba(8, 5, 20, 0.36);
	overflow: hidden;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#vote-modal .vote-modal__links a.is-clicked {
	background: linear-gradient(140deg, rgba(102, 225, 146, 0.42), rgba(30, 112, 60, 0.56));
	border-color: rgba(173, 255, 203, 0.92);
}

#vote-modal .vote-modal__links a.is-clicked::before {
	background: linear-gradient(160deg, #e0ffe9, #92e4ae);
	color: #114729;
}

#vote-modal .vote-modal__links a.is-clicked .vote-modal__link-sub {
	border-color: rgba(191, 255, 213, 0.82);
	background: rgba(14, 78, 40, 0.66);
	color: #e8fff1;
}

#vote-modal .vote-modal__links a::before {
	content: counter(vote-link);
	position: absolute;
	left: 14px;
	top: 50%;
	-webkit-transform: translateY(-50%);
	        transform: translateY(-50%);
	width: 26px;
	height: 26px;
	border-radius: 999px;
	background: linear-gradient(160deg, #d7f0ff, #9ebfff);
	color: #1b2d4b;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
	line-height: 26px;
	box-shadow: 0 4px 8px rgba(18, 8, 36, 0.35);
}

#vote-modal .vote-modal__links a::after {
	content: "";
	position: absolute;
	top: -130%;
	left: -38%;
	width: 40%;
	height: 360%;
	background: linear-gradient(120deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0));
	-webkit-transform: rotate(24deg);
	        transform: rotate(24deg);
	transition: -webkit-transform 0.45s ease;
	transition: transform 0.45s ease;
	transition: transform 0.45s ease, -webkit-transform 0.45s ease;
	pointer-events: none;
}

#vote-modal .vote-modal__links a:hover,
#vote-modal .vote-modal__links a:focus-visible {
	-webkit-transform: translateY(-2px);
	        transform: translateY(-2px);
	border-color: rgba(199, 233, 255, 0.92);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 14px 28px rgba(8, 5, 20, 0.45);
}

#vote-modal .vote-modal__links a.is-clicked:hover,
#vote-modal .vote-modal__links a.is-clicked:focus-visible {
	border-color: rgba(211, 255, 227, 0.98);
}

#vote-modal .vote-modal__links a:hover::after,
#vote-modal .vote-modal__links a:focus-visible::after {
	-webkit-transform: translateX(260%) rotate(24deg);
	        transform: translateX(260%) rotate(24deg);
}

#vote-modal .vote-modal__link-main {
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	text-align: left;
	word-break: break-word;
}

#vote-modal .vote-modal__link-sub {
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 5px 8px;
	border-radius: 999px;
	border: 1px solid rgba(193, 224, 255, 0.55);
	background: rgba(21, 36, 70, 0.54);
	color: #dbedff;
	white-space: nowrap;
	flex-shrink: 0;
}


.vote-modal__close {
	border: 1px solid rgba(162, 208, 255, 0.62);
	background: rgba(84, 122, 206, 0.38);
	color: #fff;
	font-size: 22px;
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	cursor: pointer;
	line-height: 1;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.vote-modal__close:hover,
.vote-modal__close:focus-visible {
	background: rgba(108, 154, 237, 0.48);
	border-color: rgba(205, 231, 255, 0.9);
	-webkit-transform: translateY(-1px);
	        transform: translateY(-1px);
	outline: none;
}



.vote-modal__open-all {
	border: 1px solid rgba(165, 214, 255, 0.72);
	background: linear-gradient(140deg, rgba(110, 184, 255, 0.58), rgba(122, 88, 216, 0.5));
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 9px 12px;
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
	white-space: nowrap;
}

.vote-modal__open-all:hover,
.vote-modal__open-all:focus-visible {
	background: linear-gradient(140deg, rgba(142, 206, 255, 0.66), rgba(144, 110, 236, 0.58));
	border-color: rgba(212, 237, 255, 0.94);
	-webkit-transform: translateY(-1px);
	        transform: translateY(-1px);
	outline: none;
}

@media(max-width: 520px) {
	#vote-modal .vote-modal__topbar {
		flex-direction: column;
		align-items: stretch;
	}
	#vote-modal .vote-modal__actions {
		justify-content: space-between;
	}
	#vote-modal .vote-modal__heading h2 {
		font-size: 21px;
	}
	#vote-modal .vote-modal__link-sub {
		font-size: 10px;
		padding: 4px 7px;
	}
}



@media(min-width: 400px) {
	.logo img {
		width: 280px; /* Change image size for mid sized devices */
	}

	.playercount {
		margin-top: 30px;
		padding: 4px;
	}

	.playercount > p > span {
		padding: 2px 6px;
	}
}

@media(min-width: 1250px) {
	.title {
		font-size: 24px;
	}

	.subtitle {
		font-size: 15px;
	}

	.logo img {
		width: 470px; /* Change image size for desktop */
	}

	.logo {
		margin-bottom: 23px;
	}
	.img {
		width: 128px;
		height: 128px;
	}
	.items {
		padding: 30px 0 20px 0;
	}
	.playercount {
		font-size: 1.12em;
		padding: 7px;
	}

	.extrapad {
		padding: 0 42.5px;
	}

	.playercount > p > span {
		padding: 3px 6px;
	}
}

@media(min-width: 1000px) {
	.items {
		-webkit-box-pack: center;
		    -ms-flex-pack: center;
		        justify-content: center;
	}

	.item:not(:first-child) {
		margin-left: 90px;
	}
}












.map-modal__card {
	width: min(96vw, 1200px);
	height: min(88vh, 860px);
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	border-color: rgba(165, 106, 255, 0.74);
	background:
		radial-gradient(circle at 0% -40%, rgba(92, 197, 255, 0.2), transparent 48%),
		radial-gradient(circle at 100% 140%, rgba(192, 140, 255, 0.2), transparent 52%),
		linear-gradient(175deg, rgba(31, 22, 53, 0.96), rgba(18, 12, 33, 0.96));
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.48);
}

.map-modal__topbar {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	padding: 2px 2px 0 2px;
}

.map-modal__heading h2 {
	margin: 0;
	font-size: 24px;
	line-height: 1.1;
}

.map-modal__eyebrow {
	margin: 0 0 4px 0;
	padding: 0;
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #b8dfff;
}

.map-modal__actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.map-modal__external {
	display: inline-block;
	position: relative;
	padding: 9px 30px 9px 12px;
	border-radius: 10px;
	color: #fff;
	background: linear-gradient(140deg, rgba(111, 185, 255, 0.45), rgba(98, 125, 255, 0.35));
	border: 1px solid rgba(143, 201, 255, 0.62);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.map-modal__external::after {
	content: "\2197";
	position: absolute;
	right: 11px;
	top: 50%;
	-webkit-transform: translateY(-50%);
	        transform: translateY(-50%);
	font-size: 12px;
	opacity: 0.9;
}

.map-modal__external:hover,
.map-modal__external:focus-visible {
	background: linear-gradient(140deg, rgba(141, 204, 255, 0.56), rgba(118, 144, 255, 0.44));
	border-color: rgba(191, 229, 255, 0.92);
	-webkit-transform: translateY(-1px);
	        transform: translateY(-1px);
	outline: none;
}

.map-modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	line-height: 1;
	text-align: center;
	border-radius: 10px;
	color: #fff;
	border: 1px solid rgba(196, 155, 255, 0.62);
	background: rgba(118, 70, 194, 0.34);
	font-size: 22px;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.map-modal__close:hover,
.map-modal__close:focus-visible {
	background: rgba(154, 103, 236, 0.4);
	border-color: rgba(226, 197, 255, 0.86);
	-webkit-transform: translateY(-1px);
	        transform: translateY(-1px);
	outline: none;
}

.map-modal__viewport {
	position: relative;
	flex: 1;
	min-height: 0;
}

.map-modal__loading {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	border-radius: 12px;
	border: 1px solid rgba(160, 206, 255, 0.28);
	background:
		radial-gradient(circle at 20% 10%, rgba(109, 199, 255, 0.18), transparent 40%),
		radial-gradient(circle at 80% 90%, rgba(168, 118, 255, 0.15), transparent 45%),
		linear-gradient(180deg, rgba(13, 8, 28, 0.95), rgba(9, 6, 21, 0.95));
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.24s ease, visibility 0.24s ease;
	z-index: 1;
	pointer-events: none;
}

.map-modal.is-loading .map-modal__loading {
	opacity: 1;
	visibility: visible;
}

.map-modal__spinner {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 3px solid rgba(158, 209, 255, 0.28);
	border-top-color: rgba(180, 225, 255, 0.95);
	-webkit-animation: map-modal-spin 0.8s linear infinite;
	        animation: map-modal-spin 0.8s linear infinite;
}

.map-modal__loading p {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(205, 230, 255, 0.95);
}

.map-modal__frame {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 12px;
	border: 1px solid rgba(160, 206, 255, 0.35);
	background: #0b0616;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 12px 30px rgba(8, 5, 20, 0.5);
	opacity: 1;
	transition: opacity 0.24s ease;
}

.map-modal.is-loading .map-modal__frame {
	opacity: 0;
}

@-webkit-keyframes map-modal-spin {
	to {
		-webkit-transform: rotate(360deg);
		        transform: rotate(360deg);
	}
}

@keyframes map-modal-spin {
	to {
		-webkit-transform: rotate(360deg);
		        transform: rotate(360deg);
	}
}

@media(max-width: 700px) {
	.map-modal__topbar {
		flex-direction: column;
		align-items: stretch;
	}
	.map-modal__actions {
		justify-content: space-between;
	}
	.map-modal__heading h2 {
		font-size: 21px;
	}
	.map-modal__external {
		padding-right: 28px;
		font-size: 11px;
	}
	.map-modal__card {
		height: min(88vh, 820px);
	}
}


