/* ==========================================================================
   LINKS PAGE (Instagram Bio Links)
   ========================================================================== */

.links-page .site-header,
.links-page .site-footer {
	display: none !important; /* Ocultar el header y footer en la página de links */
}

.links-hero {
	position: relative;
	min-height: 100vh;
	max-height: 100vh; /* Forzar altura exacta de viewport */
	display: flex;
	align-items: center;
	justify-content: center;
	background: #89aeff;
	overflow: hidden;
	padding: clamp(20px, 3vh, 30px) clamp(20px, 5vw, 40px); /* Reducir padding para mobile */
}

.links-decorations {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
}

.links-decoration {
	position: absolute;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	opacity: 0.9;
}

/* Trébol verde agua - arriba izquierda */
.links-clover {
	top: 8%;
	left: 15%;
	width: 80px;
	height: 80px;
	background-image: url('https://vrottacreators.com/wp-content/uploads/2026/01/icono-trebol-verde-agua.png');
	animation: float 4s ease-in-out infinite;
}

/* Triángulo naranja - arriba derecha */
.links-triangle {
	top: 15%;
	right: 30%;
	width: 40px;
	height: 40px;
	background-image: url('https://vrottacreators.com/wp-content/uploads/2026/01/icono-triangulo-roja.png');
	animation: float 3s ease-in-out infinite 0.5s;
}

/* Círculo azul - derecha */
.links-circle {
	top: 30%;
	right: -40px;
	width: 200px;
	height: 200px;
	background-image: url('https://vrottacreators.com/wp-content/uploads/2026/01/icono-circulo-azul.png');
}

/* Sol/estrella naranja - abajo izquierda */
.links-sun {
	bottom: 15%;
	left: -30px;
	width: 120px;
	height: 120px;
	background-image: url('https://vrottacreators.com/wp-content/uploads/2026/01/icono-estrella-roja.png');
	animation: rotate 20s linear infinite;
}

/* Estrella - abajo derecha */
.links-star {
	bottom: 10%;
	right: 20%;
	width: 50px;
	height: 50px;
	background-image: url('https://vrottacreators.com/wp-content/uploads/2026/01/icono-estrella-roja.png');
	animation: float 3.5s ease-in-out infinite 1s;
}

.links-container {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 500px;
	height: 100%; /* Ocupar toda la altura disponible */
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between; /* Distribuir elementos uniformemente */
	gap: clamp(20px, 4vh, 40px); /* Gap más pequeño en mobile */
}

/* Logo */
.links-logo {
	text-align: center;
	flex-shrink: 0; /* No permitir que se encoja */
}

.links-logo h1 {
	margin: 0;
	line-height: 1;
}

.links-logo-img {
	width: auto;
	height: clamp(80px, 20vw, 150px); /* Logo más grande: de 80px a 150px */
	max-width: 90vw; /* Máximo 90% del ancho de la pantalla */
	object-fit: contain;
	filter: brightness(0) invert(1); /* Convertir a blanco */
}

/* Botones */
.links-buttons {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: clamp(12px, 3vh, 20px); /* Gap más pequeño entre botones */
	flex: 1; /* Ocupar espacio disponible */
	justify-content: center; /* Centrar botones verticalmente */
}

.links-button-wrapper {
	width: 100%;
	animation: fadeInUp 0.6s ease-out backwards;
}

.links-button-wrapper:nth-child(1) {
	animation-delay: 0.2s;
}

.links-button-wrapper:nth-child(2) {
	animation-delay: 0.4s;
}

.links-button-wrapper:nth-child(3) {
	animation-delay: 0.6s;
}

.links-button {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 20px 30px;
	background: #d7ff61;
	border: none;
	border-radius: 50px;
	text-decoration: none;
	text-align: center;
	transition: all 0.3s ease;
	box-shadow: 0 6px 0 #0d0f2c;
	position: relative;
	overflow: hidden;
}

.links-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 9px 0 #0d0f2c;
}

.links-button:active {
	transform: translateY(2px);
	box-shadow: 0 4px 0 #0d0f2c;
}

/* Botón primario especial */
.links-button-primary {
	padding: 24px 30px;
	background: #d7ff61;
	box-shadow: 0 8px 0 #0d0f2c;
}

.links-button-primary:hover {
	box-shadow: 0 11px 0 #0d0f2c;
}

.links-button-text {
	font-size: clamp(16px, 4vw, 20px);
	font-family: 'Brandon Grotesque', var(--font-family-display);
	font-weight: 600;
	color: #1b1f3b;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.links-button-subtext {
	font-size: clamp(14px, 3.5vw, 18px);
	font-family: var(--font-family-primary);
	font-weight: 400;
	color: #1b1f3b;
	margin-top: 4px;
	text-transform: uppercase;
	border: 2px solid #1b1f3b;
	padding: 8px 24px;
	border-radius: 50px;
	margin-top: 12px;
}

/* Footer text */
.links-footer {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	z-index: 3;
}

.links-footer p {
	margin: 0;
	font-size: clamp(14px, 3vw, 16px);
	font-family: var(--font-family-primary);
	color: rgba(255, 255, 255, 0.9);
	font-weight: 400;
}

/* Animaciones */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes float {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-15px);
	}
}

@keyframes rotate {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

/* Responsive */
@media (max-width: 480px) {
	.links-hero {
		padding: clamp(30px, 4vh, 40px) 20px;
	}
	
	.links-container {
		gap: 30px;
	}
	
	.links-clover {
		width: 60px;
		height: 60px;
		left: 10%;
	}
	
	.links-triangle {
		width: 30px;
		height: 30px;
	}
	
	.links-circle {
		width: 150px;
		height: 150px;
	}
	
	.links-sun {
		width: 80px;
		height: 80px;
	}
	
	.links-star {
		width: 35px;
		height: 35px;
	}
	
	.links-button {
		padding: 18px 25px;
	}
	
	.links-button-primary {
		padding: 20px 25px;
	}
}
