* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.hidden {
	display: none !important;
}

body {
	font-family: 'Trebuchet MS';
	overflow-y: scroll;
	color: white;
}

body.popup-open {
	overflow-y: hidden;
	border-right: 10px solid #1a181d;
	/* Avoid width reflow */
}

.blur {
	filter: blur(10px);
}

*::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
	background-color: #1a181d;
}

*::-webkit-scrollbar {
	width: 10px;
	background-color: #1a181d;
}

*::-webkit-scrollbar-thumb {
	background-color: #1a181d;
	border: 2px solid rgb(45 43 46);
}

.comfortaa-<uniquifier> {
	font-family: 'Comfortaa', sans-serif;
	font-optical-sizing: auto;
	font-weight: <weight>;
	font-style: normal;
}


#buy-popup-container {
	display: none;
	/* Hidden by default */
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	/* Background tint */
	justify-content: center;
	align-items: center;
	z-index: 2000;
}

#buy-popup {
	background-color: #1a181d;
	box-shadow: 0px 0px 15px rgb(45 43 46);
	margin: auto;
	top: 50%;
	transform: translateY(-50%);
	padding: 30px;
	border-radius: 10px;
	/* Rounded borders */
	height: 65%;
	width: 35%;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	position: relative;
	z-index: 2001;
}

#close-buy-popup {
	position: relative;
	top: 10px;
	right: 10px;
	cursor: pointer;
	font-size: 20px;
}

#open-buy-popup {
	margin: 20px;
	padding: 10px 20px;
	font-size: 16px;
}

#cart-popup-container {
	display: none;
	/* Hidden by default */
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	/* Background tint */
	justify-content: center;
	align-items: center;
	z-index: 2000;
}

#cart-popup {
	font-family: 'Comfortaa', sans-serif;
	background-color: #1a181d;
	box-shadow: 0px 0px 15px rgb(45 43 46);
	margin: auto;
	top: 50%;
	transform: translateY(-50%);
	padding: 30px;
	border-radius: 10px;
	height: 75%;
	width: 45%;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	position: relative;
	z-index: 2001;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
}

#close-cart-popup {
	position: relative;
	top: 10px;
	right: 10px;
	cursor: pointer;
	font-size: 20px;
}

#open-cart-popup {
	position: fixed;
	display: flex;
	justify-content: center;
	align-items: center;
	top: 85%;
	right: 5%;
	width: 55px;
	height: 55px;
	font-size: 26px;
	background-color: #d3851b;
	cursor: pointer;
	border-radius: 100%;
	box-shadow: 0px 0px 20px 10px rgb(45 43 46);
	z-index: 1500;
}

.empty-cart {
	margin: 0 auto;
	height: 80%;
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	opacity: 0.3;
}

.empty-cart img {
	height: 100px;
}

.cart-footer {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

.cart-footer .checkout {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 25px;
	align-self: stretch;
}

.cart-footer img {
	height: 120px;
}

.cart-footer .player-info {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/*.cart-footer .player-info input {
    height: 40px;
    width: 300px;
    background-color: #100f12;
    border-radius: 10px;
    border: none;
    padding-left: 12px;
    color: white;
    font-size: 18px;
    font-family: "Comfortaa", sans-serif;

}
*/
.cart-footer .player-info input:focus-visible {
	outline: unset;
}

.checkbox {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 15px;
}

.checkbox input:checked~.checkbox {
	background-color: #d3851b;
}

.checkbox input[type='checkbox'] {
	width: 20px;
	height: 20px;
	cursor: pointer;
}

.checkbox input[type='checkbox']:checked {
	background-color: #4caf50;
	border: 1px solid #4caf50;
	accent-color: #d3851b;
}

.checkbox input {
	height: 20px;
	width: 20px;
}

.checkbox a {
	color: #d3851b;
	text-decoration: none;
}

.checkbox a:hover {
	text-decoration: underline;
}

.cart-name {
	display: table;
	margin: 0 auto;
	font-size: 18px;
}

.cart-item {
	display: flex;
	justify-content: center;
	align-items: center;
}

.cart-total {
	font-weight: bold;
	display: flex;
	justify-content: space-between;
	font-size: 26px;
	margin: 12px 0 0 0;
	font-family: 'Comfortaa', sans-serif;
}

.cart-total div {
	display: flex;
	gap: 5px;
}

.cart-total .total-price {
	font-family: 'Trebuchet MS';
}

.remove-item-button {
	font-size: 30px;
}

.price span {
	font-size: 26px;
}

.name span {
	font-size: 26px;
}

.quantity {
	font-size: 28px;
}

.quantity-control {
	display: flex;
	justify-content: space-evenly;
	gap: 15px;
}

.plus-button,
.minus-button {
	font-size: 26px;
	color: #d3851b;
}

.cart-footer .buy-button {
	transition: all 0.2s;
	width: 240px;
	height: 60px;
	font-size: 25px;
	font-weight: bold;
	text-transform: uppercase;
	font-family: 'Comfortaa';
	background-color: transparent;
	border: 2px solid #d3851b;
	color: #d3851b;
}

.cart-footer .buy-button:hover {
	background-color: #d3851b;
	color: #1a181d;
}

.cart-items {
	height: 70%;
	overflow-x: hidden;
	overflow-y: auto;
	margin-top: 25px;
	margin-bottom: 25px;
	background-color: #100f12;
	border-radius: 10px;
}

.cart-item {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	border: 2px solid #232224;
	border-radius: 10px;
	padding: 15px;
	margin: 10px;
}

.cart-item .details {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	column-gap: 20px;
}

.cart-item img {
	height: 90px;
	max-width: 100%;
	object-fit: contain;
}

.header {
	position: fixed;
	width: 100%;
	top: 0;
	background-color: transparent;
	z-index: 1000;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
	transition: background-color 0.3s;
}

.header.scrolled {
	background-color: #1a181d;
	border-bottom: 1px solid #282729;
}

.header.expanded {
	transition: background-color 0.8s ease;
	background-color: #1a181d;
	border-bottom: 1px solid #282729;
}

.header.scrolled .logo {
	opacity: 1;
}

.header.expanded .logo {
	opacity: 1;
}

.nav-element {
	color: white;
	text-decoration: none;

	font-size: 20px;
	font-family: 'Comfortaa';
	padding: 6px 12px;
	transition: background-color 0.3s, color 0.3s;
	background-color: inherit;
	border-radius: 15px;
	border: none;
}

.nav-element:hover {
	color: #d3851b;
}

.nav-element.selected {
	color: black;
	background-color: #d3851b;
}

.nav-element.disabled {
	color: #7a7a7a;
	pointer-events: none;
}

.nav__logo {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text-color);
  letter-spacing: 0.5px;
}

.logo {
	transition: opacity 0.3s ease;
}

.logo img {
	max-height: 70px;
}

.container {
	background-color: #1a181d;
}

.info {
	position: relative;
	width: 100%;
	overflow: hidden;
	margin-bottom: 30px;
}

.info img {
	width: 100%;
	height: auto;
	display: block;
}

.info::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, rgba(26, 24, 29, 0) 50%, #1a181d 100%);
}

.socials {}

.shop-server-buttons {
	display: flex;
	align-items: center;
	position: relative;
	justify-content: center;
}

.shop-server-buttons::before {
	content: '';
	position: absolute;
	top: calc(50% - 2px);
	left: 0;
	right: 0;
	height: 4px;
	background-color: rgb(45 43 46);
}

.server-button {
	width: 160px;
	height: 65px;
	line-height: 65px;
	text-align: center;
	color: white;
	border: none;
	/* Border for the outline effect */
	cursor: pointer;
	position: relative;
	background-color: rgb(45 43 46);
	font-family: 'Comfortaa';
	transition: all 0.3s;
}

.server-button:hover {
	transform: scaleX(1.07);
	border-radius: 7px;
}

.server-button.selected {
	color: #d3851b;
	font-size: 1.1rem;
	transform: scaleX(1.07);
	border-radius: 7px;
}

.shop-server-buttons .server-button:first-child {
	clip-path: polygon(10% 0%, 100% 0%, 100% 50%, 100% 100%, 10% 100%, 0% 50%);
	margin-left: 0;
	/* Ensure no overlap for the first button */
}

.shop-server-buttons .server-button:not(:first-child):not(:last-child) {
	clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
	margin-left: -2px;
	/* Adjust the overlap */
}

.shop-server-buttons .server-button:last-child {
	clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%, 0% 50%);
	margin-left: -2px;
	/* Adjust the overlap */
}

.shop-category-name {
	width: 100%;
	height: 12vh;
	margin-top: 8vh;
	display: flex;
	font-family: 'Comfortaa';
	align-items: center;
	font-size: 28px;
	font-weight: bold;
	text-transform: uppercase;
	padding-left: 5%;
}

.shop-category {
	margin-left: 7%;
	margin-right: 7%;
}

.shop-item-container {
	transition: all 0.3s;
	border-radius: 10px;
	/*        border: 2px solid rgba(255, 255, 255, 0.1);*/
	box-shadow: 0px 0px 15px rgb(45 43 46);
	padding: 80px;

	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	column-gap: 25px;
	row-gap: 40px;
	justify-content: center;
	place-items: center;
	margin: auto;
}

.shop-item {
	width: 261px;
	height: 375px;
	border: 2px solid #232224;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 10px;
	transition: all 0.2s;
}

.shop-item:hover {
	border: 2px solid #d3851b;
}

.shop-icon-info {
	margin: 0 auto;
	color: #4cdede;
}

.shop-icon-info:hover {
	color: #1da8ec;
	cursor: pointer;
}

.shop-item-image {
	max-width: 100%;
	height: 200px;
	border-radius: 8px;
	margin-bottom: 10px;
}

.shop-item-info {
	display: flex;
	text-align: center;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: flex-start;
}

.shop-item-name {
	font-family: 'Comfortaa';
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 5px;
}

.shop-item-price {
	font-size: 16px;
	color: #d3851b;
}

.shop-item-buy {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	height: 28px;
}

.item-buy-cart {
	background-color: transparent;
	justify-content: center;
	align-items: center;
	display: flex;
	height: 100%;
	width: 20%;
	border: 2px solid #d3851b;
	color: #d3851b;
	transition: all 0.3s;
}

.item-buy-cart i {
	font-size: 17px;
}

.item-buy-cart:hover {
	background-color: #d3851b;
	color: #1a181d;
}

.gift-icon {
	border: 2px solid #d3851b;
	background: transparent;
	color: #d3851b;
	padding: 0.5rem 0.7rem;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
}

.gift-icon:hover {
	background-color: #d3851b;
	color: #1a181d;
}

.gift-icon i {
	font-size: 17px;
	display: inline-block;
	animation: gift-sequence 4s ease-in-out infinite;
	transform-origin: bottom center;
}

@keyframes gift-sequence {
	0% {
		transform: translateY(0) rotate(0deg);
	}

	10% {
		transform: translateY(-8px) rotate(0deg);
		/* первый прыжок */
	}

	20% {
		transform: translateY(0) rotate(0deg);
	}

	30% {
		transform: translateY(-8px) rotate(0deg);
		/* второй прыжок */
	}

	40% {
		transform: translateY(0) rotate(0deg);
	}

	50% {
		transform: translateX(-4px) rotate(-5deg);
		/* раскачка влево */
	}

	60% {
		transform: translateX(4px) rotate(5deg);
		/* раскачка вправо */
	}

	70% {
		transform: translateX(-3px) rotate(-3deg);
		/* чуть меньше */
	}

	80% {
		transform: translateX(3px) rotate(3deg);
	}

	90% {
		transform: translateX(0) rotate(0deg);
		/* возвращение в центр */
	}

	100% {
		transform: translateY(0) rotate(0deg);
	}
}

.item-buy-button {
	border: none;
	width: 75%;
	height: 100%;
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	font-family: 'Comfortaa';
	background-color: transparent;
	border: 2px solid #d3851b;
	color: #d3851b;
}

.item-buy-button:hover {
	background-color: #d3851b;
	color: #1a181d;
}

.footer {
	margin-top: 80px;
	height: 200px;
	width: 100%;
	background-color: rgb(45 43 46);

	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
}

.footer>div {
	display: flex;
	flex-direction: column;

	justify-content: center;
	gap: 20px;
}

.footer a {
	color: #d3851b;
	text-decoration: none;
}

.footer a:hover {
	text-decoration: underline;
}

.nav-trigger-container {
	width: 70px;
	display: none;
	position: absolute;
	justify-content: center;
}

.nav-trigger {
	display: none;
	cursor: pointer;
	width: 30px;
	height: 25px;
}

.nav-trigger i {
	background-color: #fff;
	border-radius: 2px;
	content: '';
	display: block;
	width: 100%;
	height: 4px;
}

.nav-trigger i:nth-child(1) {
	-webkit-animation: outT 0.8s backwards;
	animation: outT 0.8s backwards;
	-webkit-animation-direction: reverse;
	animation-direction: reverse;
}

.nav-trigger i:nth-child(2) {
	margin: 5px 0;
	-webkit-animation: outM 0.8s backwards;
	animation: outM 0.8s backwards;
	-webkit-animation-direction: reverse;
	animation-direction: reverse;
}

.nav-trigger i:nth-child(3) {
	-webkit-animation: outBtm 0.8s backwards;
	animation: outBtm 0.8s backwards;
	-webkit-animation-direction: reverse;
	animation-direction: reverse;
}

.nav-trigger.active i:nth-child(1) {
	-webkit-animation: inT 0.8s forwards;
	animation: inT 0.8s forwards;
}

.nav-trigger.active i:nth-child(2) {
	-webkit-animation: inM 0.8s forwards;
	animation: inM 0.8s forwards;
}

.nav-trigger.active i:nth-child(3) {
	-webkit-animation: inBtm 0.8s forwards;
	animation: inBtm 0.8s forwards;
}

#info-popup-container {
	color: #1da8ec;
	position: fixed;
	display: flex;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

#info-popup {
	background: #1a181d;
	padding: 20px;
	border-radius: 10px;
	text-align: center;
	width: 400px;
	position: relative;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-direction: column;
	align-items: center;
}

#close-info-popup {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 20px;
	font-weight: bold;
	cursor: pointer;
}

.info-popup-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.info-popup-image {
	width: 100%;
	height: 200px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	margin-bottom: 15px;
}

.info-popup-description {
	width: 360px;
	text-align: left;
	font-size: 16px;
	color: white;
}

.popup__container {
	display: none;
}

#description {
	display: none;
}

.flex {
	display: flex !important;
}

@-webkit-keyframes inM {
	50% {
		-webkit-transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(45deg);
	}
}

@keyframes inM {
	50% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(45deg);
	}
}

@-webkit-keyframes outM {
	50% {
		-webkit-transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(45deg);
	}
}

@keyframes outM {
	50% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(45deg);
	}
}

@-webkit-keyframes inT {
	0% {
		-webkit-transform: translateY(0px) rotate(0deg);
	}

	50% {
		-webkit-transform: translateY(9px) rotate(0deg);
	}

	100% {
		-webkit-transform: translateY(9px) rotate(135deg);
	}
}

@keyframes inT {
	0% {
		transform: translateY(0px) rotate(0deg);
	}

	50% {
		transform: translateY(9px) rotate(0deg);
	}

	100% {
		transform: translateY(9px) rotate(135deg);
	}
}

@-webkit-keyframes outT {
	0% {
		-webkit-transform: translateY(0px) rotate(0deg);
	}

	50% {
		-webkit-transform: translateY(9px) rotate(0deg);
	}

	100% {
		-webkit-transform: translateY(9px) rotate(135deg);
	}
}

@keyframes outT {
	0% {
		transform: translateY(0px) rotate(0deg);
	}

	50% {
		transform: translateY(9px) rotate(0deg);
	}

	100% {
		transform: translateY(9px) rotate(135deg);
	}
}

@-webkit-keyframes inBtm {
	0% {
		-webkit-transform: translateY(0px) rotate(0deg);
	}

	50% {
		-webkit-transform: translateY(-9px) rotate(0deg);
	}

	100% {
		-webkit-transform: translateY(-9px) rotate(135deg);
	}
}

@keyframes inBtm {
	0% {
		transform: translateY(0px) rotate(0deg);
	}

	50% {
		transform: translateY(-9px) rotate(0deg);
	}

	100% {
		transform: translateY(-9px) rotate(135deg);
	}
}

@-webkit-keyframes outBtm {
	0% {
		-webkit-transform: translateY(0px) rotate(0deg);
	}

	50% {
		-webkit-transform: translateY(-9px) rotate(0deg);
	}

	100% {
		-webkit-transform: translateY(-9px) rotate(135deg);
	}
}

@keyframes outBtm {
	0% {
		transform: translateY(0px) rotate(0deg);
	}

	50% {
		transform: translateY(-9px) rotate(0deg);
	}

	100% {
		transform: translateY(-9px) rotate(135deg);
	}
}

.mobile-nav {
	display: flex;
	flex-direction: column;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 1s ease, opacity 1s ease;
	position: absolute;
}

.mobile-nav.visible {
	max-height: 300px;
	opacity: 1;
	position: unset;
}

@media (max-width: 740px) {
	.nav {
		display: none;
	}

	.nav-trigger-container {
		display: flex;
		position: static;
	}

	.nav-trigger {
		display: block;
		cursor: pointer;
	}
}

@media (max-width: 2100px) or (max-height: 1165px) {
	#cart-popup {
		height: 90%;
	}

	.cart-items {
		height: 60%;
	}
}

@media (max-width: 1600px) {
	#cart-popup {
		height: 90%;
	}

	.cart-items {
		height: 60%;
	}

	.remove-item-button {
		font-size: 26px;
	}

	.price span {
		font-size: 22px;
	}

	.name span {
		font-size: 22px;
	}

	.quantity {
		font-size: 24px;
	}
}

@media (max-width: 1400px) {
	#cart-popup {
		height: 90%;
		width: 65%;
	}
}

@media (max-width: 1000px) {
	#cart-popup {
		height: 80%;
		width: 75%;
	}
}

@media (max-width: 890px) {
	#cart-popup {
		height: 80%;
		width: 75%;
	}

	.cart-item>.price {
		display: none;
		position: absolute;
	}

	.cart-item>.name {
		display: none;
		position: absolute;
	}

	.cart-item .vertical-details {
		display: flex !important;
		position: unset !important;

		flex-direction: column;
	}
}

@media (max-width: 820px) {
	.cart-item {
		gap: 10px;
	}

	#cart-popup {
		height: 80%;
		width: 80%;
	}
}

@media (max-width: 768px) {
	.player-info input {
		width: unset !important;
	}

	.player-info {
		align-self: stretch;
	}

	.cart-items {
		min-height: 20%;
		height: unset !important;
	}

	.cart-footer {
		flex-direction: column;
		gap: 20px;
	}

	.checkout {
		gap: 10px !important;
	}

	.checkbox span {
		font-size: 14px !important;
	}

	.buy-button {
		width: unset !important;
	}

	#cart-popup {
		height: 80%;
		width: 70%;
	}

	.remove-item-button {
		display: none !important;
		position: absolute;
	}

	.price span {
		font-size: 18px;
	}

	.name span {
		font-size: 18px;
	}

	.quantity {
		font-size: 18px;
	}
}

@media (max-width: 650px) {
	.logo {
		opacity: 0;
	}

	#cart-popup {
		height: 75%;
		width: 75%;
	}

	.cart-items {
		min-height: 0px;
	}

	.cart-footer .player-info input {
		width: 320px;
	}

	.cart-item img {
		height: 55px;
	}

	.price span {
		font-size: 14px;
	}

	.name span {
		font-size: 14px;
	}

	.quantity {
		font-size: 16px;
	}

	.plus-button,
	.minus-button {
		font-size: 16px;
	}

	.checkbox input {
		height: 25px;
		width: 25px;
	}

	.shop-category-name {
		justify-content: center;
	}
}

@media (max-width: 550px) {
	.server-button {
		width: 120px;
		height: 55px;
		line-height: 55px;
	}

	.server-button.selected {
		font-size: 14px;
	}
}

@media (max-width: 500px) {
	.cart-footer {
		gap: 20px;
	}

	.buy-button {
		height: 40px !important;
		font-size: 18px !important;
	}

	#cart-popup {
		height: 70%;
		padding: 15px;
	}

	.cart-name {
		font-size: 14px;
	}

	.quantity-control {
		gap: 3px;
	}
}

@media (max-width: 390px) {
	.cart-total {
		font-size: 18px;
	}

	#cart-popup {
		padding: 10px;
	}
}

@media (max-height: 540px) {
	#cart-popup {
		height: 80%;
	}

	.checkbox span {
		font-size: 12px !important;
	}
}