:root {
	--orange: #ff6200;
	--ink: #000000;
	--paper: #ffffff;
	--night: #07090c;
}

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

html, body { margin: 0; min-height: 100%; }

html { background: var(--night); }

body {
	color: var(--paper);
	font-family: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-weight: 500;
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* -- Background --
   Two fixed layers behind the content: the stadium on ::before (slow push-in),
   and a floodlight glow on ::after that breathes. Pseudo-elements so they can
   move without the content moving with them. */

body::before,
body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

body::before {
	/* Black 0.5 mask over the photo, as a layer on top of it. */
	background:
		linear-gradient(rgb(0 0 0 / 0.5), rgb(0 0 0 / 0.5)),
		url("/ui/images/bg.webp") center 62% / cover no-repeat;
	animation:
		bg-in 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) both,
		bg-drift 28s ease-in-out 2.4s infinite alternate;
}

body::after {
	background:
		radial-gradient(ellipse 30% 25% at 10% 5%, rgb(255 140 40 / 0.35), transparent 70%),
		radial-gradient(ellipse 30% 25% at 90% 5%, rgb(255 140 40 / 0.35), transparent 70%),
		radial-gradient(ellipse 40% 20% at 50% 30%, rgb(255 120 30 / 0.18), transparent 70%);
	mix-blend-mode: screen;
	animation: floodlights 6s ease-in-out infinite;
}

@keyframes bg-in {
	from { opacity: 0; transform: scale(1.12); }
	to   { opacity: 1; transform: scale(1.02); }
}

@keyframes bg-drift {
	from { transform: scale(1.02); }
	to   { transform: scale(1.08) translateY(-1%); }
}

@keyframes floodlights {
	0%, 100% { opacity: 0.35; }
	45%      { opacity: 0.9; }
	50%      { opacity: 0.7; }
	55%      { opacity: 1; }
}

.holding {
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2rem 16px;
	text-align: center;
	/* Darken the stadium behind the content (floodlights sit right behind
	   the logo) while leaving the edges and the pitch to read through. */
	background:
		radial-gradient(ellipse 60% 55% at 50% 45%, rgb(0 0 0 / 0.6), rgb(0 0 0 / 0) 100%),
		linear-gradient(to bottom, rgb(0 0 0 / 0.55), rgb(0 0 0 / 0.15) 45%, rgb(0 0 0 / 0.5));
	text-shadow: 0 2px 18px rgb(0 0 0 / 0.6);
}

/* -- Logo -- */

.holding__logo {
	width: min(260px, 56vw);
	margin-bottom: 1.75rem;
	filter: drop-shadow(0 0 24px rgb(255 98 0 / 0.35)) drop-shadow(0 4px 14px rgb(0 0 0 / 0.7));
	animation:
		rise 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s both,
		glow 5s ease-in-out 1.5s infinite;
}

.holding__logo svg {
	display: block;
	width: 100%;
	height: auto;
}

.holding__logo ._solid {
	fill: var(--ink);
	opacity: 0.3;
}

.holding__logo ._outline {
	fill: var(--orange);
}

/* -- Wording -- */

.holding__title {
	margin: 0;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-weight: 800;
	font-size: clamp(2.5rem, 9vw, 4.5rem);
	line-height: 0.95;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	/* Chrome: the gradient is clipped to the letters. A sheen layer sits on
	   top and sweeps across. text-shadow would paint over a clipped
	   background, so the shadow comes from filter instead. */
	color: #d9d9d9;
	background:
		linear-gradient(105deg, transparent 40%, rgb(255 255 255 / 0.9) 50%, transparent 60%) -150% 0 / 200% 100% no-repeat,
		linear-gradient(180deg, #ffffff 0%, #f0f0f0 25%, #c4c4c4 50%, #e6e6e6 75%, #a6a6a6 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: none;
	filter: drop-shadow(0 2px 10px rgb(0 0 0 / 0.65));
	opacity: 0.7;
}

.holding__lede {
	margin: 0.75rem 0 0;
	color: rgb(255 255 255 / 0.88);
	font-size: clamp(1rem, 3.2vw, 1.25rem);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.holding__launch {
	margin: 1.25rem 0 0;
	padding: 0.3em 1em;
	border: 1px solid var(--orange);
	border-radius: 10px;
	color: var(--orange);
	background: rgb(0 0 0 / 0.35);
	text-shadow: none;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-weight: 500;
	font-size: clamp(1rem, 3vw, 1.2rem);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* -- Register button -- */

.holding__cta {
	display: inline-block;
	margin: 1.75rem 0 0;
	padding: 0.75em 1.6em;
	border-radius: 10px;
	background: var(--orange);
	color: var(--ink);
	text-decoration: none;
	text-shadow: none;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-weight: 700;
	font-size: clamp(1.05rem, 3.2vw, 1.25rem);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.75;
	transition: opacity 0.15s, background-color 0.15s, color 0.15s;
}

.holding__cta:hover,
.holding__cta:focus-visible {
	opacity: 1;
}

.holding__cta:focus-visible {
	outline: 1px solid var(--paper);
	outline-offset: 3px;
}

/* -- Icons -- */

.holding__links {
	display: flex;
	gap: 0.75rem;
	margin: 2.25rem 0 0;
	padding: 0;
	list-style: none;
}

.holding__links a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--orange);
	border-radius: 10px;
	background: rgb(0 0 0 / 0.35);
	color: var(--orange);
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.holding__links a:hover,
.holding__links a:focus-visible {
	background: var(--orange);
	color: var(--paper);
}

.holding__links a:focus-visible {
	outline: 1px solid var(--paper);
	outline-offset: 3px;
}

.holding__links svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.holding__links svg .fill {
	fill: currentColor;
	stroke: none;
}

/* -- Entrance -- */

.holding__title  {
	animation:
		rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.8s both,
		sheen 7s ease-in-out 2s infinite;
}
.holding__lede   { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 1.0s both; }
.holding__launch { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 1.2s both; }
.holding__cta    { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 1.4s both; }
.holding__links  { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 1.6s both; }

/* No opacity in `to`, so each element settles at its own opacity. */
@keyframes rise {
	from { opacity: 0; transform: translateY(16px); }
	to   { transform: none; }
}

@keyframes sheen {
	0%        { background-position: -150% 0, 0 0; }
	30%, 100% { background-position: 250% 0, 0 0; }
}

@keyframes glow {
	0%, 100% { filter: drop-shadow(0 0 20px rgb(255 98 0 / 0.3))  drop-shadow(0 4px 14px rgb(0 0 0 / 0.7)); }
	50%      { filter: drop-shadow(0 0 34px rgb(255 98 0 / 0.55)) drop-shadow(0 4px 14px rgb(0 0 0 / 0.7)); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
	}
}

/* -- Register (embedded Microsoft Form) --
   Site header on top, the form fills the rest of the screen edge to edge.
   The form's own colours come from its theme in Microsoft Forms. */

.page-register {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}

.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 14px 16px;
	background: rgb(7 9 12 / 0.82);
	border-bottom: 1px solid rgb(255 98 0 / 0.5);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.site-header__brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.site-header__logo {
	display: block;
	width: 40px;
}

.site-header__logo svg { display: block; width: 100%; height: auto; }
.site-header__logo ._solid { fill: transparent; opacity: 0; }
.site-header__logo ._outline { fill: var(--orange); }

.site-header__name,
.site-header__title {
	margin: 0;
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	text-transform: uppercase;
	line-height: 1;
}

.site-header__name {
	font-weight: 800;
	font-size: 1.5rem;
	letter-spacing: 0.02em;
	color: var(--paper);
}

.site-header__title {
	font-weight: 500;
	font-size: 1.1rem;
	letter-spacing: 0.08em;
	color: var(--orange);
}

.site-header__brand:focus-visible {
	outline: 1px solid var(--paper);
	outline-offset: 4px;
}

.register {
	display: flex;
	flex: 1;
	animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s both;
}

.register__form {
	display: block;
	flex: 1;
	width: 100%;
	min-height: 600px;
	border: 0;
	background: var(--night);
}

@media (max-width: 480px) {
	.site-header__name { font-size: 1.2rem; }
	.site-header__logo { width: 32px; }
}
