@import url(https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap);
:root {
	--color: #0a0a0f;
	--color1: #87efff;
	--color1-dim: #4ab8cc;
	--trans: #f7dfff;
	--trans-dim: #d4a8e8;
	--accent-grad: linear-gradient(135deg, var(--trans), var(--color1));
	--accent-grad-225: linear-gradient(225deg, var(--color1), var(--trans));
	--accent-grad-r: linear-gradient(90deg, var(--trans), var(--color1));
	--trans2: rgba(255, 255, 255, 0.03);
	--trans25: rgba(135, 239, 255, 0.25);
	--trans3: rgba(255, 255, 255, 0.06);
	--transd: rgba(0, 0, 0, 0.5);
	--trans2d: rgba(10, 10, 20, 0.72);
	--color2: #0d1220;
	--color3: #c7c7c7;
	--color4: #212130;
	--glow-pink: 0 0 30px rgba(247, 223, 255, 0.12);
	--glow-cyan: 0 0 30px rgba(135, 239, 255, 0.12);
	--glow-mixed: 0 0 40px rgba(200, 210, 255, 0.1);
	--radius-sm: 10px;
	--radius-md: 16px;
	--radius-lg: 24px;
	--radius-xl: 40px;
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
	-ms-overflow-style: none;
	scrollbar-width: none;
}
html::-webkit-scrollbar {
	display: none;
}

body {
	font-family: Geist, -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 200;
	font-style: normal;
	background: var(--color);
	margin: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	width: 100%;
	height: 100%;
	color: #e8e8e8;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

#particles-js {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: -999;
	opacity: 0.5;
}

#sj-address {
	align-items: center;
	gap: 14px;
	padding: 16px 28px;
	background: rgba(13, 18, 32, 0.5);
	backdrop-filter: blur(28px) saturate(1.5);
	-webkit-backdrop-filter: blur(28px) saturate(1.5);
	border: 1.5px solid transparent;
	border-radius: 60px;
	max-width: 460px;
	margin: 0 auto;
	transition: all 0.4s var(--ease-out);
	top: 60%;
	left: 50%;
	transform: translate(-50%, -50%);
	position: fixed;
	width: 90%;
	color: #d0d0d8;
	font-size: 15px;
	letter-spacing: 0.01em;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
	background-image: linear-gradient(
			rgba(13, 18, 32, 0.5),
			rgba(13, 18, 32, 0.5)
		),
		var(--accent-grad-225);
	background-origin: border-box;
	background-clip: padding-box, border-box;
}
#sj-address::placeholder {
	color: rgba(255, 255, 255, 0.22);
	font-weight: 300;
}
#sj-address:focus {
	outline: none;
	color: #fff;
	box-shadow: 0 4px 50px var(--glow-mixed), 0 0 0 5px rgba(200, 210, 255, 0.06),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
	border-radius: 20px;
	transform: translate(-50%, -50%) scale(1.02);
	background-image: linear-gradient(
			rgba(13, 18, 32, 0.8),
			rgba(13, 18, 32, 0.8)
		),
		var(--accent-grad-225);
	background-origin: border-box;
	background-clip: padding-box, border-box;
}

.sidenav {
	z-index: 999;
	position: fixed;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	padding: 6px;
	backdrop-filter: blur(28px) saturate(1.8) brightness(1.15);
	-webkit-backdrop-filter: blur(28px) saturate(1.8) brightness(1.15);
	display: flex;
	flex-direction: column;
	gap: 4px;
	border-radius: 22px;
	background: linear-gradient(
				180deg,
				rgba(10, 10, 18, 0.6) 0%,
				rgba(10, 10, 18, 0.82) 100%
			)
			padding-box,
		var(--accent-grad) border-box;
	border: 1.5px solid transparent;
	box-shadow: 0 8px 48px rgba(0, 0, 0, 0.55),
		0 0 0 1px rgba(135, 239, 255, 0.04) inset, var(--glow-mixed);
	overflow: visible;
}

.sidenav::before {
	content: "";
	position: absolute;
	top: -30px;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 80px;
	background: radial-gradient(
		ellipse,
		rgba(247, 223, 255, 0.1),
		transparent 70%
	);
	pointer-events: none;
}

.sidenav::after {
	content: "";
	position: absolute;
	bottom: -30px;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 80px;
	background: radial-gradient(
		ellipse,
		rgba(135, 239, 255, 0.1),
		transparent 70%
	);
	pointer-events: none;
}

.nav-btn {
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.3);
	font-size: 18px;
	cursor: pointer;
	border-radius: 16px;
	transition: all 0.3s var(--ease-out);
	position: relative;
	overflow: hidden;
	margin-top: 4px;
	margin-bottom: 4px;
}
.nav-btn::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 16px;
	background: var(--accent-grad);
	opacity: 0;
	transition: opacity 0.3s ease;
}
.nav-btn:hover {
	color: #fff;
	transform: scale(1.1);
}
.nav-btn:hover::before {
	opacity: 0.1;
}
.nav-btn:active {
	transform: scale(0.95);
	transition-duration: 0.1s;
}
.nav-btn.active {
	color: #fff;
	background: transparent;
}
.nav-btn.active::before {
	opacity: 0.16;
	box-shadow: 0 0 16px rgba(200, 210, 255, 0.15),
		0 0 16px rgba(200, 210, 255, 0.1) inset;
}

.nav-btn.active::after {
	content: "";
	position: absolute;
	right: -3px;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 16px;
	border-radius: 4px;
	background: var(--accent-grad);
	box-shadow: 0 0 10px rgba(135, 239, 255, 0.5),
		0 0 10px rgba(247, 223, 255, 0.35);
	animation: indicator-in 0.4s var(--ease-spring) both;
}

@keyframes indicator-in {
	from {
		height: 0;
		opacity: 0;
	}
	to {
		height: 16px;
		opacity: 1;
	}
}

.nav-btn[data-tip] {
	overflow: visible;
}

.nav-btn img {
	fill: white;
	stroke: white;
	filter: invert(1) sepia(1) saturate(5) hue-rotate(200deg);
}
.nav-btn .tip {
	position: absolute;
	right: calc(100% + 14px);
	top: 50%;
	transform: translateY(-50%) translateX(6px);
	background: rgba(13, 18, 32, 0.92);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	color: #e0e0e8;
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.01em;
	padding: 6px 12px;
	border-radius: 8px;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transition: all 0.25s var(--ease-out);
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
	z-index: 10;
}
.nav-btn .tip::after {
	content: "";
	position: absolute;
	left: 100%;
	top: 50%;
	transform: translateY(-50%);
	border: 5px solid transparent;
	border-left-color: rgba(13, 18, 32, 0.92);
	border-right: none;
}
.nav-btn:hover .tip {
	opacity: 1;
	transform: translateY(-50%) translateX(0);
}

.nav-btn .ripple {
	position: absolute;
	border-radius: 50%;
	background: rgba(200, 220, 255, 0.15);
	transform: scale(0);
	animation: nav-ripple 0.5s var(--ease-out) forwards;
	pointer-events: none;
}
@keyframes nav-ripple {
	to {
		transform: scale(2.5);
		opacity: 0;
	}
}

#sj-nav {
	position: fixed;
	top: 50px;
	left: 100px;
	width: 100px;
	backdrop-filter: blur(28px) saturate(1.8) brightness(1.15);
	-webkit-backdrop-filter: blur(28px) saturate(1.8) brightness(1.15);
	height: calc(100% - 103px);
	background: radial-gradient(
			600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
			rgba(135, 239, 255, 0.06),
			transparent 40%
		),
		linear-gradient(
			180deg,
			rgba(247, 223, 255, 0.06) 0%,
			transparent 12%,
			transparent 88%,
			rgba(135, 239, 255, 0.06) 100%
		)
			padding-box,
		var(--accent-grad-r) border-box;
	border: 1.5px solid transparent;
	border-top-left-radius: 40px;
	border-bottom-left-radius: 40px;
	z-index: 10000;
	display: flex;
	flex-direction: column;
	box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5),
		0 0 0 1px rgba(135, 239, 255, 0.04) inset, var(--glow-mixed);
	overflow: hidden;
}

#sj-nav::before {
	content: "";
	position: absolute;
	top: 20px;
	right: 0;
	width: 2px;
	height: 80px;
	background: linear-gradient(180deg, rgba(247, 223, 255, 0.2), transparent);
	pointer-events: none;
	border-radius: 2px;
	animation: edge-fade 5s ease-in-out infinite alternate;
}

#sj-nav::after {
	content: "";
	position: absolute;
	bottom: 20px;
	right: 0;
	width: 2px;
	height: 80px;
	background: linear-gradient(0deg, rgba(135, 239, 255, 0.2), transparent);
	pointer-events: none;
	border-radius: 2px;
	animation: edge-fade 5s ease-in-out infinite alternate-reverse;
}

@keyframes edge-fade {
	0% {
		opacity: 0.4;
	}
	100% {
		opacity: 1;
	}
}

.sj-nav-btn {
	color: #fff;
	margin: 20px 25px;
	cursor: pointer;
	transition: all 0.25s var(--ease-out);
	position: relative;
	top: 15px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	border-radius: 16px;
	padding: 8px 4px;
}
.sj-nav-btn img {
	width: 48px;
	height: 48px;
	transition: all 0.3s var(--ease-out);
	border-radius: 14px;
	filter: brightness(0.75) saturate(0.6);
	opacity: 0.6;
}
.sj-nav-btn:hover img {
	transform: scale(1.15);
	filter: brightness(1.2) saturate(1.1);
	opacity: 1;
}
.sj-nav-btn:active img {
	transform: scale(1);
	transition-duration: 0.1s;
}

.sj-nav-btn .nav-label {
	font-size: 9.5px;
	font-weight: 400;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0);
	transition: all 0.25s var(--ease-out);
	white-space: nowrap;
	height: 0;
	overflow: hidden;
}
.sj-nav-btn:hover .nav-label {
	color: rgba(255, 255, 255, 0.45);
	height: 14px;
}

.sj-nav-btn.active img {
	filter: brightness(1.3) saturate(1.2);
	opacity: 1;
	box-shadow: 0 0 20px rgba(135, 239, 255, 0.2),
		0 0 20px rgba(247, 223, 255, 0.12);
}
.sj-nav-btn.active .nav-label {
	color: rgba(255, 255, 255, 0.55);
	height: 14px;
}
.sj-nav-btn.active::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 3px;
	height: 22px;
	border-radius: 0 3px 3px 0;
	background: var(--accent-grad-r);
	box-shadow: 0 0 14px rgba(135, 239, 255, 0.45),
		0 0 14px rgba(247, 223, 255, 0.3);
	animation: indicator-in 0.4s var(--ease-spring) both;
}

.sj-nav-btn::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 16px;
	background: radial-gradient(
		circle at 50% 30%,
		rgba(200, 210, 255, 0.08),
		transparent 70%
	);
	opacity: 0;
	transition: opacity 0.3s var(--ease-out);
	pointer-events: none;
}
.sj-nav-btn:hover::after {
	opacity: 1;
}

.fillerbtn {
	margin-bottom: 10px;
}
.homebtn {
	color: #fff;
	margin: 20px 25px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	border-radius: 16px;
	padding: 8px 4px;
	transform: scale(1.3);
}
.homebtn img {
	width: 48px;
	height: 48px;
	transition: all 0.3s var(--ease-out);
	border-radius: 14px;
}
.bottom {
	margin-top: auto;
	position: relative;
}

.game {
	width: 160px;
	height: 160px;
	overflow: hidden;
	margin: 0.781vw;
	border-radius: var(--radius-md);
	display: inline-block;
	transition: all 0.4s var(--ease-out);
	position: relative;
	text-align: center;
	border: 1.5px solid rgba(255, 255, 255, 0.04);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.game::before {
	content: "";
	position: absolute;
	inset: -1.5px;
	border-radius: calc(var(--radius-md) + 1.5px);
	background: var(--accent-grad);
	opacity: 0;
	z-index: -1;
	transition: opacity 0.4s ease;
}
.game::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: var(--radius-md);
	background: linear-gradient(
		180deg,
		transparent 30%,
		rgba(0, 0, 0, 0.65) 100%
	);
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
	z-index: 1;
}
.game:hover {
	transform: translateY(-6px) scale(1.03);
	margin-top: 0;
	margin-bottom: 1.563vw;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), var(--glow-mixed);
	border-color: transparent;
}
.game:hover::before {
	opacity: 1;
}
.game:hover::after {
	opacity: 1;
}
.game img {
	width: 100%;
	height: 100%;
	position: relative;
	transition: all 0.5s var(--ease-out);
	background-color: var(--color4);
	pointer-events: none;
	object-fit: cover;
	border-radius: calc(var(--radius-md) - 1.5px);
}
.game:hover img {
	filter: brightness(0.45) blur(1.5px);
	transform: scale(1.06);
}
.game h1 {
	bottom: 12px;
	opacity: 0;
	transition: all 0.4s var(--ease-out);
	position: absolute;
	color: #fff;
	text-align: center;
	width: 85%;
	margin: 0 auto;
	left: 0;
	right: 0;
	z-index: 2;
	transform: translateY(8px);
}
.game:hover h1 {
	opacity: 1;
	transform: translateY(0);
}
.gameh1 {
	font-size: 14px;
	font-family: Geist, sans-serif;
	font-weight: 400;
	font-style: normal;
	letter-spacing: 0.01em;
	line-height: 1.3;
	background: linear-gradient(135deg, var(--trans), var(--color1));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.book {
	text-align: center;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	position: relative;
	display: block;
	width: 200px;
	height: 200px;
	overflow: hidden;
	border-radius: var(--radius-md);
	box-shadow: 0 4px 20px var(--transd);
	border: 1.5px solid transparent;
	transition: all 0.4s var(--ease-out);
	background: linear-gradient(var(--color4), var(--color4)) padding-box,
		rgba(255, 255, 255, 0.04) border-box;
}
.book::before {
	content: "";
	position: absolute;
	inset: -1.5px;
	border-radius: calc(var(--radius-md) + 1.5px);
	background: var(--accent-grad);
	opacity: 0;
	z-index: -1;
	transition: opacity 0.4s ease;
}
.book:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), var(--glow-mixed);
	border-color: transparent;
}
.book:hover::before {
	opacity: 1;
}

#sj-frame {
	position: fixed;
	border-top-right-radius: 40px;
	border-bottom-right-radius: 40px;
	top: 50px;
	left: 200px;
	bottom: 0;
	right: 0;
	width: calc(100% - 300px);
	height: calc(100% - 100px);
	border: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	z-index: 999999;
	background: #1f1f1f;
}

.flex-center {
	display: flex;
	justify-content: center;
}
.header-center {
	align-items: center;
	flex-direction: column;
	margin-top: 10%;
}
.left-margin {
	margin: 0 16px;
}
.logo {
	height: 25vh;
}
.logo-wrapper .text {
	font-size: 75px;
	font-weight: 100;
	letter-spacing: -0.03em;
	background: var(--accent-grad);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.logo-wrapper h1 {
	font-weight: 200;
	background: var(--accent-grad);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

#sj-error {
	color: #f66 !important;
	white-space: pre-wrap;
}
#sj-error-code {
	font-size: 12px;
	color: #fff;
	font-family: "Courier New", Courier, monospace;
}

.container {
	display: block;
	position: relative;
	padding-left: 38px;
	margin-bottom: 14px;
	cursor: pointer;
	font-size: 15px;
	font-weight: 300;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	color: rgba(255, 255, 255, 0.6);
	transition: color 0.2s ease;
}
.container:hover {
	color: #fff;
}
.container input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}
.checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 22px;
	width: 22px;
	background-color: rgba(255, 255, 255, 0.04);
	border: 1.5px solid rgba(255, 255, 255, 0.1);
	border-radius: 6px;
	transition: all 0.3s var(--ease-out);
}
.container:hover input ~ .checkmark {
	background-color: rgba(255, 255, 255, 0.07);
	border-color: rgba(247, 223, 255, 0.25);
}
.container input:checked ~ .checkmark {
	background: var(--accent-grad);
	border-color: transparent;
	box-shadow: var(--glow-pink), var(--glow-cyan);
}
.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}
.container input:checked ~ .checkmark:after {
	display: block;
}
.container .checkmark:after {
	left: 7px;
	top: 3px;
	width: 5px;
	height: 11px;
	border: solid white;
	border-width: 0 2px 2px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

#app {
	scrollbar-width: none;
}

::selection {
	background: rgba(200, 210, 255, 0.18);
	color: #fff;
}

*:focus-visible {
	outline: 2px solid var(--color1);
	outline-offset: 2px;
	border-radius: 4px;
}

@media (prefers-reduced-motion: no-preference) {
	* {
		scroll-behavior: smooth;
	}
}
