:root {

	/* --------------------------------------------------
	   Colours
	-------------------------------------------------- */

	--color-white: #ffffff;

	--color-navy: #0b1028;
	--color-navy-light: #0d112b;

	--color-purple: #7926ff;
	--color-purple-dark: #5628ff;
	--color-purple-light: #a524ff;

	--color-yellow: #ffd92f;

	--color-text: #ffffff;
	--color-text-muted: #c9c9dc;

	--color-border-light: rgba(255, 255, 255, 0.08);


	/* --------------------------------------------------
	   Typography
	-------------------------------------------------- */

	--font-display: "Montserrat", Arial, sans-serif;
	--font-ui: "Poppins", Arial, sans-serif;
	--font-body: "Inter", Arial, sans-serif;


	/* --------------------------------------------------
	   Layout
	-------------------------------------------------- */

	--content-width: 1440px;
	--site-padding: clamp(28px, 3vw, 52px);


	/* --------------------------------------------------
	   Borders / Radius
	-------------------------------------------------- */

	--radius-small: 6px;
	--radius-medium: 12px;
	--radius-large: 20px;


	/* --------------------------------------------------
	   Transitions
	-------------------------------------------------- */

	--transition-fast: 0.2s ease;

}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--font-body);

	color: var(--color-text);

	background: var(--color-navy);
}

img {
	display: block;

	max-width: 100%;
}

a {
	color: inherit;
}

.container {
	width: min(
		calc(100% - (var(--site-padding) * 2)),
		var(--content-width)
	);

	margin-inline: auto;
}

/* --------------------------------------------------
   Header
-------------------------------------------------- */

.site-header {
	position: relative;
	z-index: 100;

	width: 100%;
	height: 80px;

	background:
	linear-gradient(
		90deg,
		var(--color-navy) 0%,
		var(--color-navy-light) 50%,
		var(--color-navy) 100%
	);

	border-bottom: 1px solid var(--color-border-light);
}


/* --------------------------------------------------
   Header Inner
-------------------------------------------------- */

.site-header__inner {
	display: grid;
	grid-template-columns: 190px 1fr auto;
	align-items: center;

	width: 100%;
	height: 100%;

	padding: 0 var(--site-padding);
}


/* --------------------------------------------------
   Logo
-------------------------------------------------- */

.site-header__branding {
	display: flex;
	align-items: center;
	justify-content: flex-start;

	height: 100%;
}

.site-header__logo-link {
	display: flex;
	align-items: center;

	height: 100%;

	text-decoration: none;
}

.site-header__logo {
	display: block;

	width: auto;
	height: 64px;
}


/* --------------------------------------------------
   Navigation
-------------------------------------------------- */

.site-header__navigation {
	height: 100%;
}

.site-header__menu {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 38px;

	height: 100%;

	margin: 0;
	padding: 0;

	list-style: none;
}

.site-header__menu-item {
	position: relative;

	display: flex;
	align-items: center;

	height: 100%;
}

.site-header__menu-item a {
	display: flex;
	align-items: center;

	height: 100%;

	color: var(--color-white);

	font-family: var(--font-ui);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;

	transition:
		color 0.2s ease;
}

.site-header__menu-item a:hover,
.site-header__menu-item a:focus-visible {
	color: #ddddff;
}


/* Active underline */

.site-header__menu-item.is-current::after {
	content: '';

	position: absolute;
	left: 50%;
	bottom: 15px;

	width: 36px;
	height: 3px;

	background: var(--color-yellow);
	border-radius: 999px;

	transform: translateX(-50%);
}


/* --------------------------------------------------
   Header Actions
-------------------------------------------------- */

.site-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;

	height: 100%;
}


/* --------------------------------------------------
   Play on Roblox
-------------------------------------------------- */

.site-header__play {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;

	min-width: 200px;
	height: 48px;

	padding: 0 22px;

	border: 1px solid rgba(204, 123, 255, 0.95);
	border-radius: 11px;

	background:
		linear-gradient(
			135deg,
			#5628ff 0%,
			#7926ff 48%,
			#a524ff 100%
		);

	box-shadow:
		0 0 8px rgba(134, 53, 255, 0.75),
		0 0 20px rgba(115, 38, 255, 0.45),
		inset 0 1px 1px rgba(255, 255, 255, 0.35);

	color: #ffffff;

	font-size: 17px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;

	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		filter 0.2s ease;
}

.site-header__play-icon {
	display: flex;
	align-items: center;
	justify-content: center;

	flex: 0 0 auto;
}

.site-header__play-icon svg {
	display: block;

	width: 25px;
	height: 25px;
}

.site-header__play:hover,
.site-header__play:focus-visible {
	transform: translateY(-1px);

	filter: brightness(1.08);

	box-shadow:
		0 0 10px rgba(159, 75, 255, 0.9),
		0 0 28px rgba(118, 36, 255, 0.6),
		inset 0 1px 1px rgba(255, 255, 255, 0.4);
}


/* --------------------------------------------------
   Responsive - temporary
-------------------------------------------------- */

@media (max-width: 1000px) {

	.site-header__inner {
		grid-template-columns: 1fr auto;

		padding: 0 24px;
	}

	.site-header__navigation {
		display: none;
	}

}


@media (max-width: 600px) {

	.site-header {
		height: 68px;
	}

	.site-header__inner {
		padding: 0 18px;
	}

	.site-header__logo {
		height: 54px;
	}

	.site-header__play {
		min-width: auto;
		height: 44px;

		padding: 0 16px;

		font-size: 14px;
	}

	.site-header__play-icon svg {
		width: 21px;
		height: 21px;
	}

}

/* --------------------------------------------------
   Home Hero
-------------------------------------------------- */

.home-hero {
	position: relative;

	min-height: clamp(560px, 68vh, 700px);

	overflow: hidden;

	background:
		url('../images/home-hero.jpg')
		center center / cover
		no-repeat;

	color: var(--color-white);
}


/* Darkening / readability */

.home-hero::before {
	content: '';

	position: absolute;
	inset: 0;

	background:
		linear-gradient(
			90deg,
			rgba(7, 10, 31, 0.96) 0%,
			rgba(7, 10, 31, 0.84) 27%,
			rgba(7, 10, 31, 0.38) 52%,
			rgba(7, 10, 31, 0.05) 76%
		),
		linear-gradient(
			0deg,
			rgba(7, 10, 31, 0.7) 0%,
			rgba(7, 10, 31, 0) 35%
		);

	pointer-events: none;
}


/* --------------------------------------------------
   Hero Inner
-------------------------------------------------- */

.home-hero__inner {
	position: relative;
	z-index: 1;

	display: flex;
	flex-direction: column;
	justify-content: space-between;

	width: 100%;
	min-height: inherit;

	padding:
		clamp(70px, 7vh, 100px)
		var(--site-padding)
		36px;
}


/* --------------------------------------------------
   Content
-------------------------------------------------- */

.home-hero__content {
	width: min(100%, 620px);
}


/* --------------------------------------------------
   Heading
-------------------------------------------------- */

.home-hero__title {
	margin: 0;

	font-family: var(--font-display);
	font-size: clamp(48px, 5vw, 78px);
	font-weight: 900;
	line-height: 0.92;
	letter-spacing: -0.045em;
	text-transform: uppercase;

	text-shadow:
		0 4px 18px rgba(0, 0, 0, 0.25);
}

.home-hero__title > span {
	display: block;
}

.home-hero__title--yellow {
	color: var(--color-yellow);
}

.home-hero__title--purple {
	color: #7560ff;
}


/* --------------------------------------------------
   Introduction
-------------------------------------------------- */

.home-hero__intro {
	max-width: 480px;

	margin: 22px 0 0;

	color: rgba(255, 255, 255, 0.92);

	font-family: var(--font-body);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.45;
}


/* --------------------------------------------------
   Actions
-------------------------------------------------- */

.home-hero__actions {
	display: flex;
	align-items: center;
	gap: 14px;

	margin-top: 24px;
}


/* --------------------------------------------------
   Buttons
-------------------------------------------------- */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;

	min-height: 52px;

	padding: 0 24px;

	border-radius: var(--radius-medium);

	font-family: var(--font-ui);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;

	transition:
		transform var(--transition-fast),
		background var(--transition-fast),
		border-color var(--transition-fast),
		box-shadow var(--transition-fast);
}

.button:hover,
.button:focus-visible {
	transform: translateY(-2px);
}


/* Primary */

.button--primary {
	min-width: 170px;

	border: 1px solid #ffe367;

	background:
		linear-gradient(
			135deg,
			#ffd829 0%,
			#ffbd14 100%
		);

	box-shadow:
		0 5px 18px rgba(255, 196, 19, 0.28),
		inset 0 1px 1px rgba(255, 255, 255, 0.65);

	color: #111525;
}

.button--primary:hover,
.button--primary:focus-visible {
	box-shadow:
		0 7px 24px rgba(255, 196, 19, 0.4),
		inset 0 1px 1px rgba(255, 255, 255, 0.65);
}


/* Secondary */

.button--secondary {
	min-width: 180px;

	border: 2px solid #9d58ff;

	background: rgba(9, 11, 35, 0.48);

	color: var(--color-white);

	backdrop-filter: blur(5px);
}

.button--secondary:hover,
.button--secondary:focus-visible {
	background: rgba(121, 38, 255, 0.18);

	border-color: #b67aff;
}


/* Button icon */

.button__icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

.button__icon svg {
	width: 22px;
	height: 22px;
}

.button__arrow {
	margin-left: 4px;

	font-size: 22px;
	font-weight: 400;
}


/* --------------------------------------------------
   Responsive
-------------------------------------------------- */

@media (max-width: 900px) {

	.home-hero {
		min-height: 650px;

		background-position: 60% center;
	}

	.home-hero::before {
		background:
			linear-gradient(
				90deg,
				rgba(7, 10, 31, 0.95) 0%,
				rgba(7, 10, 31, 0.78) 50%,
				rgba(7, 10, 31, 0.25) 100%
			),
			linear-gradient(
				0deg,
				rgba(7, 10, 31, 0.85) 0%,
				rgba(7, 10, 31, 0) 45%
			);
	}

	.home-hero__content {
		width: min(100%, 560px);
	}

}


@media (max-width: 650px) {

	.home-hero {
		min-height: 680px;

		background-position: 65% center;
	}

	.home-hero__inner {
		padding-top: 60px;
		padding-bottom: 28px;
	}

	.home-hero__title {
		font-size: clamp(42px, 12vw, 60px);
	}

	.home-hero__intro {
		font-size: 16px;
	}

	.home-hero__actions {
		align-items: stretch;
		flex-direction: column;

		max-width: 280px;
	}

	.button {
		width: 100%;
	}

	.home-hero__highlights {
		flex-wrap: wrap;
		gap: 22px 32px;

		margin-top: 44px;
	}

}