/* Landing mosaic teaser — home guest slot A */

.fnc-wgt--landing-mosaic {
	margin: 0;
}

.fnc-wgt--landing-mosaic .fnc-wgt__body {
	padding: 0;
	margin: 0;
}

.fnc-landing-mosaic {
	--lm-gap: 10px;
	--lm-ink: #07090f;
	--lm-accent: #6ee7ff;
	--lm-accent-2: #a78bfa;
	position: relative;
	width: 100%;
	isolation: isolate;
	border-radius: 18px;
	overflow: hidden;
	background: var(--lm-ink);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.06),
		0 24px 60px rgba(0, 0, 0, 0.45);
}

.fnc-landing-mosaic__glow {
	pointer-events: none;
	position: absolute;
	inset: -20% -10% auto;
	height: 55%;
	z-index: 0;
	background:
		radial-gradient(ellipse 60% 50% at 20% 0%, rgba(110, 231, 255, 0.18), transparent 70%),
		radial-gradient(ellipse 50% 45% at 85% 10%, rgba(167, 139, 250, 0.16), transparent 70%);
	animation: lm-glow 9s ease-in-out infinite alternate;
}

@keyframes lm-glow {
	from { opacity: 0.7; transform: translateY(0); }
	to   { opacity: 1; transform: translateY(8px); }
}

.fnc-landing-mosaic__stage {
	position: relative;
	z-index: 1;
	max-height: min(78vh, 860px);
	overflow: hidden;
}

.fnc-landing-mosaic__mosaic {
	column-count: 5;
	column-gap: var(--lm-gap);
	padding: var(--lm-gap);
	box-sizing: border-box;
}

@media (max-width: 1400px) { .fnc-landing-mosaic__mosaic { column-count: 4; } }
@media (max-width: 1000px) { .fnc-landing-mosaic__mosaic { column-count: 3; } }
@media (max-width: 640px)  {
	.fnc-landing-mosaic__mosaic { column-count: 2; }
	.fnc-landing-mosaic__stage { max-height: min(70vh, 640px); }
}
@media (max-width: 380px)  { .fnc-landing-mosaic__mosaic { column-count: 1; } }

.fnc-landing-mosaic__tile {
	position: relative;
	display: block;
	break-inside: avoid;
	margin: 0 0 var(--lm-gap);
	overflow: hidden;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	opacity: 0;
	transform: translateY(14px) scale(0.985);
	animation: lm-tile-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	animation-delay: var(--lm-delay, 0s);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

@keyframes lm-tile-in {
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.fnc-landing-mosaic__photo {
	display: block;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
}

.fnc-landing-mosaic__photo img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: top;
	transform: scale(1);
	transform-origin: center center;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
	will-change: transform;
}

.fnc-landing-mosaic__tile:hover {
	z-index: 4;
	filter: brightness(1.06);
}

.fnc-landing-mosaic__tile:hover .fnc-landing-mosaic__photo img {
	transform: scale(1.06);
}

.fnc-landing-mosaic__meta {
	position: absolute;
	inset: auto 0 0;
	padding: 2.2rem 0.65rem 0.55rem;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.22s ease, transform 0.22s ease;
	pointer-events: none;
}

.fnc-landing-mosaic__tile:hover .fnc-landing-mosaic__meta {
	opacity: 1;
	transform: translateY(0);
}

.fnc-landing-mosaic__artist {
	pointer-events: auto;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-width: 0;
	max-width: 100%;
	text-decoration: none;
	color: #fff;
	font-size: 0.78rem;
	font-weight: 650;
}

.fnc-landing-mosaic__artist:hover {
	color: #fff;
}

.fnc-landing-mosaic__ava {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	object-fit: cover;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.1);
}

.fnc-landing-mosaic__ava--empty {
	display: inline-block;
	background: linear-gradient(135deg, rgba(110, 231, 255, 0.35), rgba(167, 139, 250, 0.35));
}

.fnc-landing-mosaic__name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

/* Soft darkening of the lower art (visual FOMO). */
.fnc-landing-mosaic__veil {
	pointer-events: none;
	position: absolute;
	inset: auto 0 0;
	height: 58%;
	z-index: 2;
	background: linear-gradient(
		180deg,
		rgba(7, 9, 15, 0) 0%,
		rgba(7, 9, 15, 0.35) 28%,
		rgba(7, 9, 15, 0.78) 58%,
		rgba(7, 9, 15, 0.96) 82%,
		#07090f 100%
	);
}

/* Blocks clicks on darkened tiles so the CTA owns the bottom zone. */
.fnc-landing-mosaic__shield {
	position: absolute;
	inset: auto 0 0;
	height: 42%;
	z-index: 3;
	background: transparent;
}

.fnc-landing-mosaic__cta {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 4;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 0.85rem;
	padding: 0 1.25rem 2rem;
	text-align: center;
	animation: lm-cta-in 0.7s ease 0.35s both;
}

@keyframes lm-cta-in {
	from { opacity: 0; transform: translateY(18px); }
	to   { opacity: 1; transform: translateY(0); }
}

.fnc-landing-mosaic__lead {
	margin: 0;
	max-width: 28rem;
	font-size: clamp(1.05rem, 2.4vw, 1.45rem);
	font-weight: 750;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: #f4f7ff;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

/* Override tema base button styles — CTA propio. */
.fnc-landing-mosaic a.fnc-landing-mosaic__btn,
.fnc-landing-mosaic .fnc-landing-mosaic__btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	flex: 0 0 auto;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0.95rem 1.6rem !important;
	border: 0 !important;
	border-radius: 999px !important;
	font-size: 1rem;
	font-weight: 750;
	line-height: 1.1;
	letter-spacing: 0.01em;
	text-decoration: none;
	color: #061018 !important;
	background: linear-gradient(135deg, #7ef0ff 0%, #c4b5fd 55%, #f0abfc 100%) !important;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.25) inset,
		0 12px 32px rgba(110, 231, 255, 0.28),
		0 8px 24px rgba(0, 0, 0, 0.35);
	appearance: none;
	-webkit-appearance: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.fnc-landing-mosaic a.fnc-landing-mosaic__btn:hover,
.fnc-landing-mosaic .fnc-landing-mosaic__btn:hover {
	transform: translateY(-2px) scale(1.02);
	filter: brightness(1.05);
	color: #061018 !important;
	background: linear-gradient(135deg, #9af5ff 0%, #d4c8ff 55%, #f7c6fd 100%) !important;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.3) inset,
		0 16px 40px rgba(110, 231, 255, 0.35),
		0 10px 28px rgba(0, 0, 0, 0.4);
}

.fnc-landing-mosaic a.fnc-landing-mosaic__btn:active {
	transform: translateY(0) scale(0.99);
}

.fnc-landing-mosaic a.fnc-landing-mosaic__btn i {
	font-size: 0.85em;
	transition: transform 0.18s ease;
}

.fnc-landing-mosaic a.fnc-landing-mosaic__btn:hover i {
	transform: translateX(3px);
}

.fnc-landing-mosaic a.fnc-landing-mosaic__login,
.fnc-landing-mosaic .fnc-landing-mosaic__login {
	display: inline-block !important;
	flex: 0 0 auto;
	width: auto;
	margin: 0;
	padding: 0.25rem 0.5rem !important;
	border: 0 !important;
	border-radius: 0 !important;
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
	color: rgba(230, 236, 255, 0.78) !important;
	background: transparent !important;
	box-shadow: none !important;
	appearance: none;
	-webkit-appearance: none;
	transition: color 0.15s ease;
}

.fnc-landing-mosaic a.fnc-landing-mosaic__login:hover {
	color: #fff !important;
	background: transparent !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.fnc-landing-mosaic__glow,
	.fnc-landing-mosaic__tile,
	.fnc-landing-mosaic__cta {
		animation: none !important;
	}
	.fnc-landing-mosaic__tile {
		opacity: 1;
		transform: none;
	}
}
