* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Gloria+Hallelujah&display=swap');

:root {
	--background-color-light: hsla(230, 80%, 98%, 1);
	--toggle-light: hsla(230, 25%, 10%, 1);
	--line-light: hsla(230, 35%, 92.5%, 1);
	--dot-light: hsla(230, 25%, 75%, 1);
	--text-top-light: hsla(240, 25%, 10%, 1);
	--text-bottom-light: hsla(240, 25%, 25%, 1);
	--text-circle-light: hsla(240, 25%, 25%, 1);

	--background-color-dark: hsla(230, 55%, 4%, 1);
	--toggle-dark: hsla(230, 25%, 75%, 1);
	--line-dark: hsla(230, 25%, 15%, .75);
	--dot-dark: hsla(230, 25%, 90%, 1);
	--text-top-dark: hsla(240, 60%, 90%, 1);
	--text-bottom-dark: hsla(240, 60%, 95%, 1);
	--text-circle-dark: hsla(240, 60%, 95%, .15);

	color-scheme: light;
	--x: 50%;
	--y: 50%;
}

html {
	--background-color: var(--background-color-light);
	--toggle-color: var(--toggle-light);
	--line-color: var(--line-light);
	--dot-color: var(--dot-light);
	--text-color-top: var(--text-top-light);
	--text-color-bottom: var(--text-bottom-light);
	--text-color-circle: var(--text-circle-light);
}

html.dark {
	color-scheme: dark;
	--background-color: var(--background-color-dark);
	--toggle-color: var(--toggle-dark);
	--line-color: var(--line-dark);
	--dot-color: var(--dot-dark);
	--text-color-top: var(--text-top-dark);
	--text-color-bottom: var(--text-bottom-dark);
	--text-color-circle: var(--text-circle-dark);
}

body {
	min-height: 100vh;
	font-family: "Instrument Sans", sans-serif;
	transition: background-color 0.3s ease, color 0.3s ease;
	background-color: var(--background-color);
	display: flex;
	flex-direction: column;
}

@keyframes reveal-in {
	from {
		clip-path: circle(0% at var(--x) var(--y));
	}
	to {
		clip-path: circle(150% at var(--x) var(--y));
	}
}

@keyframes reveal-out {
	from {
		clip-path: circle(150% at var(--x) var(--y));
	}
	to {
		clip-path: circle(0% at var(--x) var(--y));
	}
}

::view-transition-new(root) {
	animation: reveal-in 0.5s ease-in-out forwards;
	z-index: 1;
	mix-blend-mode: normal;
}

::view-transition-old(root) {
	animation: reveal-out 0.5s ease-in-out forwards;
	animation-delay: .5s;
	z-index: 0;
	mix-blend-mode: normal;
}

::view-transition-image-pair(root) {
	isolation: isolate;
}

.loading {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	z-index: 9999;
	display: none;
}

.loading.active {
	display: block;
}

.loading-text {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	text-align: center;
	width: 100%;
	height: 100px;
	line-height: 100px;
}

.loading-text span {
	display: inline-block;
	margin: 0 5px;
	color: #fff;
	font-family: 'Quattrocento Sans', sans-serif;
	font-size: 2rem;
}

.loading-text span:nth-child(1) {
	animation: blur-text 1.5s 0s infinite linear alternate;
}

.loading-text span:nth-child(2) {
	animation: blur-text 1.5s 0.2s infinite linear alternate;
}

.loading-text span:nth-child(3) {
	animation: blur-text 1.5s 0.4s infinite linear alternate;
}

.loading-text span:nth-child(4) {
	animation: blur-text 1.5s 0.6s infinite linear alternate;
}

.loading-text span:nth-child(5) {
	animation: blur-text 1.5s 0.8s infinite linear alternate;
}

.loading-text span:nth-child(6) {
	animation: blur-text 1.5s 1s infinite linear alternate;
}

.loading-text span:nth-child(7) {
	animation: blur-text 1.5s 1.2s infinite linear alternate;
}

@keyframes blur-text {
	0% { filter: blur(0px); }
	100% { filter: blur(4px); }
}

.team-name {
	position: fixed;
	top: 1.5rem;
	left: 2rem;
	z-index: 10;
	text-decoration: none;
}

.team-name h2 {
	font-optical-sizing: auto;
	font-weight: 700;
	font-style: normal;
	font-variation-settings: "wdth" 95;
	font-size: 24px;
	line-height: 1.05;
	margin: 0;
}

.team-name h2 span {
	background-image: linear-gradient(180deg, var(--text-color-top) 0%, var(--text-color-bottom) 100%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.team-name h2 strong {
	display: inline-block;
	color: transparent;
	background-image: url('https://assets.codepen.io/165585/circle-bg_1.svg');
	background-color: var(--text-color-circle);
	background-size: 200px;
	background-position: 50% 80%;
	background-blend-mode: overlay;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	letter-spacing: 0.015em;
}

.toggle {
	position: fixed;
	top: 12px;
	left: 50%;
	transform: translateX(-50%) scale(.5);
	cursor: pointer;
	z-index: 10;
}

.toggle input {
	display: none;
}

.toggle input + div {
	border-radius: 50%;
	width: 36px;
	height: 36px;
	position: relative;
	box-shadow: inset 16px -16px 0 0 var(--toggle-color);
	transform: scale(1) rotate(-2deg);
	transition: box-shadow .5s ease 0s, transform .4s ease .1s;
}

.toggle input + div:before {
	content: '';
	width: inherit;
	height: inherit;
	border-radius: inherit;
	position: absolute;
	left: 0;
	top: 0;
	background: light-dark(transparent, var(--toggle-color));
	transition: background .3s ease;
}

.toggle input + div:after {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin: -4px 0 0 -4px;
	position: absolute;
	top: 50%;
	left: 50%;
	box-shadow: 0 -23px 0 var(--toggle-color), 0 23px 0 var(--toggle-color), 23px 0 0 var(--toggle-color), -23px 0 0 var(--toggle-color), 15px 15px 0 var(--toggle-color), -15px 15px 0 var(--toggle-color), 15px -15px 0 var(--toggle-color), -15px -15px 0 var(--toggle-color);
	transform: scale(0);
	transition: all .3s ease;
}

.toggle input:checked + div {
	box-shadow: inset 32px -32px 0 0 var(--background-color);
	transform: scale(.5) rotate(0deg);
	transition: transform .3s ease .1s, box-shadow .2s ease 0s;
}

.toggle input:checked + div:before {
	background: var(--toggle-color);
	transition: background .3s ease .1s;
}

.toggle input:checked + div:after {
	transform: scale(1.5);
	transition: transform .5s ease .15s;
}

.form-container {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
}

main {
	width: 100%;
}

section {
	width: clamp(360px, 60vw, 780px);
	aspect-ratio: 1.55 / .5;
	min-height: 200px;
	margin: auto;
	text-align: center;
	place-items: center;
	display: grid;
	position: relative;
}

.dot {
	height: 5px;
	width: 5px;
	background-color: var(--dot-color);
	position: absolute;
	z-index: 1;
	border-radius: 50%;
	box-shadow: 0 0 0 3px var(--background-color);
}

.dot:nth-child(1) {
	top: -2px;
	left: -2px;
}

.dot:nth-child(2) {
	top: -2px;
	right: -2px;
}

.dot:nth-child(3) {
	bottom: -2px;
	right: -2px;
}

.dot:nth-child(4) {
	bottom: -2px;
	left: -2px;
}

section:before,
section:after {
	content: '';
	position: absolute;
	height: 100vh;
	width: 1px;
	background-color: var(--line-color);
}

section:before {
	left: 0;
}

section:after {
	right: 0;
}

main hr {
	border: none;
	height: 1px;
	width: 100%;
	margin: 0;
	background-color: var(--line-color);
}

.form-content {
	max-width: 500px;
	width: 100%;
}

h1 {
	font-optical-sizing: auto;
	font-weight: 700;
	font-style: normal;
	font-variation-settings: "wdth" 95;
	font-size: clamp(32px, 6vw, 48px);
	line-height: 1.05;
	margin: 0 0 1rem;
	text-align: center;
}

h1 span {
	background-image: linear-gradient(180deg, var(--text-color-top) 0%, var(--text-color-bottom) 100%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

h1 strong {
	display: inline-block;
	color: transparent;
	background-image: url('https://assets.codepen.io/165585/circle-bg_1.svg');
	background-color: var(--text-color-circle);
	background-size: 400px;
	background-position: 50% 80%;
	background-blend-mode: overlay;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	letter-spacing: 0.015em;
}

.subtitle {
	background-image: linear-gradient(180deg, var(--text-color-top) 0%, var(--text-color-bottom) 100%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-size: 16px;
	margin-bottom: 2rem;
	text-align: center;
}

.form-step.active {
	display: block;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

label {
	display: block;
	background-image: linear-gradient(180deg, var(--text-color-top) 0%, var(--text-color-bottom) 100%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 0.5rem;
	text-align: center;
}

input {
	width: 100%;
	padding: 1rem;
	font-family: "Instrument Sans", sans-serif;
	font-size: 16px;
	border: 2px solid var(--text-color-top);
	border-radius: 8px;
	background: var(--background-color);
	color: var(--text-color-top);
	margin-bottom: 1.5rem;
	transition: border-color 0.3s ease;
}

input:focus {
	outline: none;
	border-color: var(--dot-color);
}

.form-step {
	display: none;
	text-align: center;
}

button {
	padding: 0.875rem 2rem;
	font-family: "Inter", sans-serif;
	font-size: 16px;
	font-weight: 500;
	border: none;
	border-radius: 360px;
	cursor: pointer;
	transition: all 0.3s ease;
	margin: 0 0.25rem;
}

.next-btn, .submit-btn {
	background: var(--text-color-top);
	color: var(--background-color);
}

.next-btn:hover, .submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.prev-btn {
	background: transparent;
	color: var(--text-color-top);
	border: 2px solid var(--text-color-top);
}

.prev-btn:hover {
	background: var(--text-color-top);
	color: var(--background-color);
}

/* Country Selector Styling */
.country-selector {
	margin-bottom: 2rem;
	text-align: center;
}

.country-selector label {
	display: block;
	font-size: 1.125rem;
	margin-bottom: 1rem;
	color: var(--text-color-top);
	font-weight: 600;
}

.morphing-disclosure {
	transform-style: preserve-3d;
	perspective: 120px;
	width: 100%;
	max-width: 350px;
	margin: 0 auto;
	letter-spacing: -0.025em;
	line-height: 1.5;
	font-size: 0.875rem;
}

.morphing-disclosure details {
	border: 1px solid var(--line-color);
	border-radius: 8px;
	background: linear-gradient(to right, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
	background-color: var(--background-color);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
	transition-property: border-radius, margin, background-color, border-color, border-width, transform, translate, opacity, color, box-shadow;
	transition-duration: 0.26s;
	transition-timing-function: ease;
	transform: translateZ(0);
}

.morphing-disclosure details[open] {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
	border-bottom-color: transparent;
}

.morphing-disclosure summary {
	display: grid;
	grid-template-columns: 20px 1fr 20px;
	gap: 0.75rem;
	align-items: center;
	padding: 1rem 1.25rem;
	outline-color: hsl(10 90% 50%);
	cursor: pointer;
	list-style: none;
	color: var(--text-color-top);
	transition: all 0.3s ease;
	min-height: 50px;
	border-radius: 8px;
}

.morphing-disclosure summary:hover {
	border: 1px solid #0d6efd;
	background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(13, 110, 253, 0.03));
	box-shadow: 0 8px 20px rgba(13, 110, 253, 0.18), 0 2px 8px rgba(13, 110, 253, 0.12);
}

.morphing-disclosure summary:focus {
	outline: none;
	border: 1px solid #0d6efd;
	box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1), 0 8px 20px rgba(13, 110, 253, 0.2);
}}

.morphing-disclosure summary::-webkit-details-marker {
	display: none;
}

.morphing-disclosure summary::marker {
	font-size: 0px;
}

.morphing-disclosure summary svg {
	width: 20px;
	height: 20px;
	opacity: 0.7;
	transition-property: rotate, opacity;
	transition-duration: 0.26s;
	transition-timing-function: ease;
	flex-shrink: 0;
}

.morphing-disclosure summary svg:first-of-type {
	width: 20px;
	height: 20px;
}

.morphing-disclosure details[open] summary svg:last-of-type {
	rotate: 225deg;
}

.morphing-disclosure .content {
	padding: 1rem;
	padding-top: 0.75rem;
	translate: 0 1rem;
	opacity: 0.4;
	filter: blur(10px);
	color: color-mix(in hsl, currentColor, #0000 30%);
	background: linear-gradient(to right, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
	border-top: 1px solid var(--line-color);
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
	transition-property: translate, opacity, filter;
	transition-duration: 0.26s;
	transition-timing-function: ease;
	transform: translateZ(0);
}

.morphing-disclosure details[open] .content {
	translate: 0 0;
	opacity: 1;
	filter: blur(0);
}

.country-options {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.country-option {
	padding: 0.875rem 1rem;
	border: none;
	background: transparent;
	color: var(--text-color-top);
	cursor: pointer;
	text-align: left;
	font-family: "Instrument Sans", sans-serif;
	font-size: 1rem;
	border-radius: 8px;
	transition: all 0.25s ease;
	width: 100%;
	min-height: 44px;
	display: flex;
	align-items: center;
	position: relative;
}

.country-option::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(13, 110, 253, 0.12), rgba(13, 110, 253, 0.06));
	border-radius: 8px;
	opacity: 0;
	transition: opacity 0.25s ease;
	z-index: -1;
}

.country-option:hover {
	color: #0d6efd;
	box-shadow: inset 0 0 0 1px rgba(13, 110, 253, 0.3), 0 4px 12px rgba(13, 110, 253, 0.15);
	background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(13, 110, 253, 0.04));
}

.country-option:hover::before {
	opacity: 1;
}

.country-option.selected {
	background: linear-gradient(135deg, rgba(13, 110, 253, 0.12), rgba(13, 110, 253, 0.06));
	color: #0d6efd;
	font-weight: 600;
	box-shadow: inset 0 0 0 1.5px rgba(13, 110, 253, 0.4);
}

/* Coming Soon Message - Removed */
