@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@100;300;400&family=Cookie&family=Outfit:wght@300;400;600&display=swap");

/* Ensure background extends behind Safari bars */
html {
	background: #2c0e0e;
}

body {
	margin: 0;
	font-family: "JetBrains Mono", monospace;
	font-weight: 100;
	color: #c6b3b4;

	display: flex;
	justify-content: center;
	align-items: center;

	min-height: 100vh;
	min-height: 100dvh;

	background: linear-gradient(140deg, #5a1c1c, #2c0e0e);

	z-index: -1;

	overflow-x: hidden;
	padding: calc(40px + env(safe-area-inset-top)) 16px calc(40px + env(safe-area-inset-bottom));
	box-sizing: border-box;
}

/* container */

.container {
	position: relative;
	width: 100%;
	max-width: 360px;
	text-align: center;
	z-index: 10;
}

/* title */

h1 {
	font-family: "Cookie", cursive;
	font-size: 3rem;
	font-weight: 400;
	margin-bottom: 4px;
	line-height: 1.1;
}

.subtitle {
	opacity: 0.8;

	margin-bottom: 30px;
}

/* --- Loader --- */
#loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #0a0a0a;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	transition: opacity 0.8s ease, visibility 0.8s;
}

#loader img {
	width: 120px;
	height: 120px;
	animation: pulse 2s infinite ease-in-out;
}

#loader.fade-out {
	opacity: 0;
	visibility: hidden;
}

@keyframes pulse {
	0%,
	100% {
		transform: scale(0.8);
		opacity: 0.7;
	}
	50% {
		transform: scale(1.1);
		opacity: 1;
	}
}

/* --- Lang Toggle --- */
.lang-toggle {
	position: fixed;
	top: 20px;
	right: 20px;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	padding: 5px;
	border-radius: 20px;
	display: flex;
	gap: 5px;
	z-index: 100;
	cursor: pointer;
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: transform 0.3s ease;
}

.lang-toggle:hover {
	transform: scale(1.05);
}

.lang-toggle span {
	font-size: 10px;
	font-weight: 600;
	padding: 5px 10px;
	border-radius: 15px;
	color: rgba(198, 179, 180, 0.5);
	transition: all 0.3s ease;
}

.lang-toggle span.active {
	background: rgba(198, 179, 180, 0.2);
	color: #c6b3b4;
}

/* --- Main Content Revelation --- */
.main-content {
	opacity: 0;
	transition: opacity 1s ease;
}

.main-content.visible {
	opacity: 1;
}

/* profile logo */

.profile-logo {
	width: 90px;
	height: 90px;
	border-radius: 50%;
	margin-bottom: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	border: 2px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(5px);
	transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile-logo:hover {
	transform: rotate(5deg) scale(1.1);
	box-shadow: 0 15px 40px rgba(198, 179, 180, 0.2);
}

/* watermark */

.watermark {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100vw;
	max-width: 800px;
	opacity: 0.045;
	z-index: 1;
	pointer-events: none;
	user-select: none;
}

.watermark img {
	width: 100%;
	height: auto;
}

/* links */

.links {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* glass buttons */

.glass-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px;
	border-radius: 14px;
	text-decoration: none;
	color: #c6b3b4;
	font-family: "JetBrains Mono", monospace;
	font-size: 14px;
	font-weight: 300;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(18px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	transition:
		all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275),
		background 0.25s,
		box-shadow 0.25s;
	position: relative;
	overflow: hidden;
	z-index: 1;
}

/* --- Copy Tooltip --- */
.copy-tooltip {
	position: absolute;
	top: -30px;
	right: 10px;
	background: #c6b3b4;
	color: #0a0a0a;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 600;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.copy-tooltip.show {
	opacity: 1;
}

/* --- Staggered Buttons --- */
.btn-stagger {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-stagger.reveal {
	opacity: 1;
	transform: translateY(0);
}

/* --- Testimonials --- */
.testimonial-container {
	margin-top: 40px;
	height: 80px;
	position: relative;
	overflow: hidden;
}

.testimonial {
	position: absolute;
	width: 100%;
	opacity: 0;
	transform: translateY(10px);
	transition: all 0.8s ease;
}

.testimonial.active {
	opacity: 0.7;
	transform: translateY(0);
}

.testimonial p {
	font-size: 13px;
	font-style: italic;
	margin-bottom: 5px;
}

.testimonial span {
	font-size: 11px;
	font-weight: 300;
	opacity: 0.8;
}

/* premium effects */
.glass-btn::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url("https://grainy-gradients.vercel.app/noise.svg");
	opacity: 0.03;
	pointer-events: none;
	z-index: -1;
}

.glass-btn::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(
		600px circle at var(--x, 50%) var(--y, 50%),
		rgba(198, 179, 180, 0.1),
		transparent 40%
	);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.5s ease;
	z-index: -1;
}

.glass-btn:hover::after {
	opacity: 1;
}

/* liquid hover */

.glass-btn:hover {
	background: rgba(255, 255, 255, 0.15);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

/* liquid press */

.glass-btn:active {
	transform: scale(0.95);
}


/* icons */

.glass-btn i {
	font-size: 18px;
}

/* glass blobs */

.blob {
	position: fixed;
	width: 250px;
	height: 250px;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.6;
	z-index: 0;
	animation: float 16s infinite linear;
	pointer-events: none;
}

.blob1 {
	background: #9e3a3a;

	top: -100px;

	left: -100px;
}

.blob2 {
	background: #6d2323;

	bottom: -120px;

	right: -120px;

	animation-duration: 20s;
}

.blob3 {
	background: #3c1111;

	top: 40%;

	left: 60%;

	animation-duration: 25s;
}

/* blob animation */

@keyframes float {
	0% {
		transform: translate(0, 0);
	}

	50% {
		transform: translate(40px, -60px);
	}

	100% {
		transform: translate(0, 0);
	}
}
