@font-face {
	font-family: "Acumin";
	src: url("https://raw.githubusercontent.com/Julibe/Guau/master/public/fonts/acumin.woff2")
		format("woff2");
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: "Pulsar";
	src: url("https://raw.githubusercontent.com/Julibe/Guau/master/public/fonts/pulsar.woff2")
		format("woff2");
	font-weight: bold;
	font-style: normal;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	cursor: none;
	box-shadow: none !important;
	text-shadow: none !important;
	transition: background 0.5s, color 0.5s, border 0.5s, opacity 0.5s, transform 0.5s;
}

:root {
	--font-title: "Pulsar", sans-serif;
	--font-body: "Acumin", sans-serif;
	--header-height: 90px;

	--ui-theme: rgb(10, 12, 18);
	--ui-text: rgb(120, 255, 200);

	--ease-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

a,
button {
	text-decoration: none;
	color: inherit;
	font-family: var(--font-title);
	background-color: transparent;
	color: var(--ui-text);
	border: none;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	position: relative;
	user-select: none;
}

a::after,
button::after {
	content: "";
	position: absolute;
	bottom: -6px;
	left: 0;
	width: 0%;
	height: 2px;
	background-color: currentColor;
	transition: all 0.6s ease;
}

a:hover::after,
button:hover::after {
	width: 100%;
}

button {
	padding: 10px 16px;
	border: 1.5px solid var(--ui-text);
	border-radius: 8px;
	background-color: transparent;
}

main {
	overflow: hidden;
}

body {
	font-family: var(--font-body);
	overflow: hidden;
	background-color: #0a0c12;
	color: var(--ui-text);
}

::selection {
	background-color: var(--ui-text);
	color: var(--ui-theme);
}

/* Scrollbars */
::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}
::-webkit-scrollbar-track {
	background: transparent;
}
::-webkit-scrollbar-thumb {
	background: var(--ui-text);
	border-radius: 10px;
}

/* Background canvases */
#bg-canvas,
#confetti-canvas {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	pointer-events: none;
	z-index: 1;
}
#confetti-canvas {
	z-index: 9999;
}

/* Custom Cursor */
.cursor-dot {
	position: fixed;
	top: 0;
	left: 0;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	z-index: 40000;
	pointer-events: none;
	width: 8px;
	height: 8px;
	background-color: var(--ui-text);
}

.cursor-outline {
	position: fixed;
	top: 0;
	left: 0;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	z-index: 40000;
	pointer-events: none;
	width: 40px;
	height: 40px;
	border: 2px solid var(--ui-text);
}

body.hovering .cursor-outline {
	width: 60px;
	height: 60px;
	background-color: var(--ui-text);
	mix-blend-mode: difference;
	border-color: transparent;
}

/* Header */
.fixed-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--header-height);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 3rem;
	z-index: 2000;
	background-color: var(--ui-theme);
	color: var(--ui-text);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.main-nav {
	display: flex;
	gap: 2.5rem;
	align-items: center;
}

/* Vertical Scroll */
.vertical-scroll-snap {
	height: 100vh;
	width: 100vw;
	overflow-y: scroll;
	scroll-snap-type: y mandatory;
	scroll-behavior: smooth;
}

/* Slides */
.slide {
	height: 100vh;
	width: 100vw;
	scroll-snap-align: start;
	position: relative;
	overflow: hidden;
}

/* Content */
.content-wrapper {
	display: flex;
	height: 100%;
	width: 100%;
}

.text-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 5vw;
	padding-top: var(--header-height);
	color: var(--ui-text);
	z-index: 2;
}

.category-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 4px;
	font-weight: 800;
	margin-bottom: 0.8rem;
	opacity: 0;
}

.title-container {
	position: relative;
	margin-bottom: 1.2rem;
}

h1 {
	font-family: var(--font-title);
	font-size: clamp(2.4rem, 4.5vw, 3.8rem);
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: -1px;
	opacity: 0;
}

h2.excerpt {
	font-size: 1.15rem;
	font-weight: bold;
	margin-bottom: 0.8rem;
	opacity: 0;
}

p {
	font-size: 1rem;
	line-height: 1.6;
	opacity: 0;
	margin-bottom: 1.2rem;
	max-width: 90%;
}

.image-content {
	flex: 2;
	height: calc(100% - var(--header-height));
	position: relative;
	top: var(--header-height);
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
}

.image-content img,
.image-content video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0;
	transform: scale(1.1);
}

/* Hero */
#intro {
	background-color: black;
	z-index: 10;
}

#intro .cover {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 20;
	pointer-events: none;
	background: radial-gradient(circle, transparent 20%, rgba(0, 0, 0, 0.85) 100%);
}

#intro .grid {
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	transform: rotate(-15deg);
}

#intro .grid .line {
	display: flex;
	gap: 20px;
	width: fit-content;
	white-space: nowrap;
}

#intro .grid .item {
	flex: 0 0 240px;
	height: 240px;
	border-radius: 12px;
	background: #111;
	overflow: hidden;
}

#intro .grid .item img {
	object-fit: cover;
}

.scroll-hint {
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 40;
	color: white;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-size: 0.75rem;
	font-weight: bold;
	animation: bounce 2s infinite;
	pointer-events: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.scroll-hint::after {
	content: "↓";
	font-size: 1.5rem;
}

/* Buttons */
button.main-btn {
	background: transparent;
	color: var(--ui-text);
	height: 52px;
	padding: 0 32px;
	font-size: 0.9rem;
	border: 1.5px solid var(--ui-text);
	border-radius: 8px;
	font-weight: 800;
	text-transform: uppercase;
}

button.main-btn:hover {
	background: var(--ui-text);
	color: var(--ui-theme) !important;
	transform: translateY(-4px);
}

.pill-container {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 1rem;
	opacity: 0;
}

.btn-pill {
	background: transparent;
	border: 1.5px solid var(--ui-text);
	color: var(--ui-text);
	border-radius: 8px;
	padding: 0 18px;
	font-weight: 700;
	font-size: 0.8rem;
}

.btn-pill:hover {
	background: var(--ui-text);
	color: var(--ui-theme) !important;
}

/* Emoji float */
.emoji-float {
	display: block;
	font-size: 3.5rem;
	position: absolute;
	top: -50px;
	right: 0;
	animation: float 5s ease-in-out infinite;
	z-index: 5;
	pointer-events: none;
}

/* Vertical nav dots */
.vertical-nav {
	justify-content: center;
	align-items: center;
	position: fixed;
	right: 30px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 18px;
	z-index: 1500;
}

.dot {
	width: 9px;
	height: 9px;
	padding: 0;
	background: transparent;
	border: 2px solid var(--ui-text);
	border-radius: 50%;
}

.dot.active {
	background: var(--ui-text);
	height: 28px;
	border-radius: 20px;
}

/* Modal */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.92);
	z-index: 35000;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	pointer-events: none;
}

.modal-overlay.active {
	opacity: 1;
	pointer-events: auto;
}

.modal-card {
	background: var(--ui-theme);
	border: 1.5px solid var(--ui-text);
	padding: 40px;
	border-radius: 12px;
	width: 90%;
	max-width: 480px;
	text-align: center;
	transform: scale(0.9);
}

.modal-overlay.active .modal-card {
	transform: scale(1);
}

.modal-title {
	font-family: var(--font-title);
	font-size: 2rem;
	margin-bottom: 1rem;
}

.modal-desc {
	font-size: 1rem;
	line-height: 1.6;
}

.modal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 44px;
	height: 44px;
	background: transparent;
	border: 1.5px solid var(--ui-text);
	color: var(--ui-text);
	border-radius: 50%;
	font-size: 1.5rem;
}

/* Animations */
@keyframes float {
	0%,
	100% {
		transform: translateY(0) rotate(0);
	}
	50% {
		transform: translateY(-16px) rotate(8deg);
	}
}

@keyframes bounce {
	0%,
	20%,
	50%,
	80%,
	100% {
		transform: translateX(-50%) translateY(0);
	}
	40% {
		transform: translateX(-50%) translateY(-10px);
	}
	60% {
		transform: translateX(-50%) translateY(-5px);
	}
}

/* Mobile */
@media screen and (max-width: 768px) {
	* {
		cursor: auto;
	}
	.cursor-dot,
	.cursor-outline {
		display: none !important;
	}

	.content-wrapper {
		flex-direction: column;
	}

	.image-content {
		flex: 1;
		top: 0;
		height: 40vh;
	}

	.text-content {
		padding: 0 6vw;
		padding-top: calc(var(--header-height) + 10px);
	}
}