@import url('https://fonts.googleapis.com/css2?family=Freeman&family=Spline+Sans:wght@300..700&display=swap');

:root {
	--background: #15151a;
	/* --background: #111114; */
	--foreground: #EFEDE2;
	--column-gap: 32px;
	--row-width: 990px;
	--page-padding-desktop: 48px;
	--page-padding-mobile: clamp(14px,100vw - 332px,24px) 
}

html {
	  scroll-behavior: smooth;
}

h1, h2, h3  {
	font-family: "Freeman" ,sans-serif;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

p {
	margin: 0px;
}

/* Unvisited link */
a:link {
  color: inherit;
}

/* Visited link */
a:visited {
  color: inherit;
}

body {
	margin: 0;
	font-size: 16px;
	background-color: var(--background);
	color: var(--foreground);
	border-color: rgb(from var(--foreground) r g b / 0.3);
	outline-color: rgb(from var(--foreground) r g b / 0.15);
	font-family: "Spline Sans" ,sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	line-height: 1.4;
	/* font-size: 20px; */
}


* {
	border-color: inherit;
	outline-color: inherit;
}

.nav-bar-container {
	box-sizing: border-box;
	background-color: var(--background);
	top: 0;
	position: sticky;
	width: 100%;
	z-index: 1000;
	padding-left: var(--page-padding-desktop);
	padding-right: var(--page-padding-desktop);
	/* padding-left: 24px;
	padding-right: 24px; */
}

.nav-bar {
	margin: auto;
	display: flex;
	height: 88px;
	max-width: var(--row-width);
}

.logo {
	margin-top: auto;
	margin-bottom: auto;
	height: 22px;
}

.nav-links {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	height: 100%;
	gap: 32px;
	align-items: center;
	font-family: "Freeman", "Spline Sans", sans-serif;
	font-size: 18px;
}

.nav-links a {
	text-decoration: none;
}

.nav-links a:hover {
	color: white;
}

/* 1. The Wrapper */
.container {
	padding-left: var(--page-padding-desktop);
	padding-right: var(--page-padding-desktop);
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	justify-content: center;
	align-items: center;
	align-content: center;
	/* padding-top: 64px;
	padding-bottom: 96px; */
	/* padding-left: 24px; */
	/* padding-right: 24px; */
	width: 100%;
	margin: 0 auto;
}


/* 2. The Row */
.row {
	max-width: 990px;
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	/* margin-left: auto;
	margin-right: auto; */
	/* gap: 12px; */
	/* This handles your X and Y gutters natively */
}

.mobile-row {
	box-sizing: border-box;
	row-gap: 56px;
	column-gap: var(--column-gap);
}

.discord-icon  {
	display: block;
}


.info-card {
	/* margin-left: auto; */
	/* margin-right: auto; */
	position: relative;
	/* width: 100px; */
	box-sizing: border-box;
	height: 100%;

	padding: 40px 24px;

	display: flex;
	flex-direction: column;
	gap: 24px;
}

.info-card h1 {
	font-size: 48px;
	position: absolute;
	top: -66px;
	box-shadow: 0px 0px 10px 10px var(--background);
	background-color: var(--background);
}

.info-row {
	margin-top: 88px;
	row-gap: 88px;
	column-gap: var(--column-gap);
}

.desktop-card {
	padding: 64px;
}

.mobile-card {
	display: flex;
	max-width: 496px;
	/* padding: 4px; */
	gap: 16px;
}

.mobile-title {
	/* margin: 0; */
	margin-top: -6px;
	margin-bottom: -8px;
	overflow: hidden;
	font-size: 28px;

}

.mobile-data-container {
	display: flex;
	padding-top: 16px;
	padding-bottom: 16px;
	flex-direction: column;
	/* flex: 1; */
	gap: 12px;
	min-width: 0;
	flex: 1 0 calc(45% - 7.2px); 


	/* flex: 1 1 auto; */
	/* min-width: 0; */

}

.mobile-screenshot {
	border-radius: 14px;
	border-width: 4px;
	border-color: gray;
	border-style: solid;
	flex: 0 0 calc(55% - 8.8px); 
	height: auto;
	object-fit: cover;
	align-self: center;
	min-width: 0;
	max-width: 164px;
	aspect-ratio: 360 / 780;
	/* width: 164px; */
	/* height: 366px; */
}

.bordered {
	/* box-sizing: border-box; */
	/* height: 100%; */

	border-width: 1px;
	border-style: solid;

	outline-width: 1px;
	outline-style: solid;

	outline-offset: -6px;
	border-radius: 12px;
}

.mobile-buttons-container {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.mobile-game-icon {
	width: 64px;
	height: auto;
	border-radius: 12px;
	aspect-ratio: 1;
}

.pre-register {
	width: 100%;
}

.store-button-mobile {
	flex: 0 1 auto;
	min-width: 0;
	width: 100%;
	max-width: 144px;

	  /* Prevents text selection overlay */
  -webkit-user-select: none; /* Safari */
  user-select: none;         /* Standard */

  /* Disables the iOS Safari long-press popup menu (Save/Copy) */
  -webkit-touch-callout: none; 

  /* Disables Safari Live Text OCR and selection highlights */
  pointer-events: none; 

}

.mobile-note {
	font-size: 12px;
	font-weight: 500;
	opacity: 0.8;
	text-transform: uppercase;
}

.button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.discord-button {
	flex: 0 1 auto;
	min-width: 0;
	width: 100%;
	background-color: #5865F2;
	height: 40px;
	border-radius: 6px;
	border-width: 0;
	color: var(--foreground);
	font-size: 14px;
	/* font-family: "Freeman"; */
	text-decoration: none;
	font-weight: 600;
	text-transform: uppercase;
	gap: 8px;
}

.discord-button:hover {
	background-color: #4f5ad8;
}

.spacer-12 {
	display: block;
	width: 12px;
	min-width: 12px;
	min-height: 12px;
	height: 12px;
}

.section-start {
	scroll-margin-top: 136px;

}

.top-spacer {
	height: 32px;
}

.bottom-spacer {
	height: 96px;
}

.contact-mail {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.fill {
	flex-grow: 1;
}

.d-none {
	display: none;
}

/* 3. The Columns */
.col-3 {
	grid-column: span 3;
}

.col-4 {
	grid-column: span 4;
}

.col-6 {
	grid-column: span 6;
}

.col-8 {
	grid-column: span 8;
}

.col-12 {
	grid-column: span 12;
}

/* 4. Responsive Fallback (Stacks columns on mobile) */
@media (max-width: 768px) {

	.col-3,
	.col-4,
	.col-6,
	.col-8 {
		grid-column: span 12;
	}
}

/* 4. Responsive Fallback (Stacks columns on mobile) */
@media (max-width: 768px) {
	.row {
		max-width: 496px;
		margin-left: auto;
		margin-right: auto;
	}

	.nav-bar-container {
		/* display: none; */
		padding-left: var(--page-padding-mobile);
		padding-right: var(--page-padding-mobile);
	}

	.container {
		padding-left: var(--page-padding-mobile);
		padding-right: var(--page-padding-mobile);
	}

	.info-row {
		column-gap: 0px;
	}


	.nav-bar {
		max-width: 496px;
	}

	.mobile-row {
		column-gap: 0px;
	}

}

@media (max-width: 480px) {

	.mobile-title {
		font-size: 24px;
	}

	.mobile-data-container {
		padding-top: 0;
		padding-bottom: 0;
	}

	.discord-icon  {
		display: none;
	}
}


.info-body {
	background-color: var(--foreground);
	color: var(--background);
}

.info-page-container {
	padding: 48px;
	max-width: var(--row-width);
	margin-left: auto;
	margin-right: auto;
}

.info-page-container p {
	margin-top: 0.25em;
	margin-bottom: 0.25em;
}