/* Dooni — "Muy pronto" landing page
   Ported from the Claude Design source (Dooni Landing.dc.html) into
   plain, framework-free HTML/CSS/JS. */

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	background: #0b1d20;
	height: 100%;
}

body {
	font-family: 'Nunito', sans-serif;
}

.scene {
	position: relative;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(ellipse 120% 90% at 50% 20%, #123338 0%, #0b1d20 55%, #060f11 100%);
}

/* Ambient background glows */
.glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(10px);
}

.glow--top {
	top: -10%;
	left: -10%;
	width: 60vw;
	height: 60vw;
	max-width: 800px;
	max-height: 800px;
	background: radial-gradient(circle, rgba(20, 99, 107, 0.45) 0%, rgba(20, 99, 107, 0) 70%);
	animation: drift1 22s ease-in-out infinite;
}

.glow--bottom {
	bottom: -15%;
	right: -10%;
	width: 55vw;
	height: 55vw;
	max-width: 700px;
	max-height: 700px;
	background: radial-gradient(circle, rgba(74, 144, 66, 0.35) 0%, rgba(74, 144, 66, 0) 70%);
	animation: drift2 26s ease-in-out infinite;
}

/* Twinkling star field */
.stars {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.star {
	position: absolute;
	border-radius: 50%;
}

/* Main content */
.content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 32px;
	opacity: 0;
	animation: fadeUp 1.2s ease-out 0.2s forwards;
}

.logo-wrap {
	position: relative;
	width: min(30vw, 200px);
	animation: floatLogo 5s ease-in-out infinite;
}

.logo-glow {
	position: absolute;
	inset: 8%;
	border-radius: 38%;
	background: radial-gradient(circle, rgba(20, 99, 107, 0.55) 0%, rgba(20, 99, 107, 0) 72%);
	filter: blur(24px);
	animation: glowPulse 4s ease-in-out infinite;
}

.logo {
	position: relative;
	width: 100%;
	display: block;
}

.title {
	margin: 22px 0 0;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: clamp(40px, 7vw, 72px);
	color: #eaf3f1;
	letter-spacing: -0.01em;
}

.tagline {
	margin: 2px 0 0;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: clamp(14px, 2.2vw, 22px);
	color: #6fb75f;
	white-space: nowrap;
}

.badge {
	margin-top: 34px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.badge-line {
	width: 34px;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(230, 240, 238, 0.35));
}

.badge-line--right {
	background: linear-gradient(90deg, rgba(230, 240, 238, 0.35), transparent);
}

.badge-text {
	margin: 0;
	font-family: 'Poppins', sans-serif;
	font-size: clamp(13px, 1.6vw, 16px);
	font-weight: 500;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	background: linear-gradient(90deg, #9fd8c9 0%, #e8f3ef 50%, #9fd8c9 100%);
	background-size: 200% auto;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: shimmer 5s linear infinite;
}

.description {
	margin: 14px 0 0;
	max-width: 420px;
	color: rgba(226, 238, 235, 0.55);
	font-size: clamp(13px, 1.5vw, 15px);
	line-height: 1.6;
}

/* Animations */
@keyframes floatLogo {
	0%,
	100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-16px);
	}
}

@keyframes drift1 {
	0% {
		transform: translate(-5%, -5%) scale(1);
	}
	50% {
		transform: translate(4%, 6%) scale(1.12);
	}
	100% {
		transform: translate(-5%, -5%) scale(1);
	}
}

@keyframes drift2 {
	0% {
		transform: translate(4%, 5%) scale(1.05);
	}
	50% {
		transform: translate(-6%, -4%) scale(0.95);
	}
	100% {
		transform: translate(4%, 5%) scale(1.05);
	}
}

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

@keyframes glowPulse {
	0%,
	100% {
		opacity: 0.55;
	}
	50% {
		opacity: 0.9;
	}
}

@keyframes twinkle {
	0%,
	100% {
		opacity: 0.15;
		transform: scale(0.8);
	}
	50% {
		opacity: 0.8;
		transform: scale(1.1);
	}
}

@keyframes shimmer {
	0% {
		background-position: -200% center;
	}
	100% {
		background-position: 200% center;
	}
}
