/*
 * /go/ landing — premium dark glass Linktree feel.
 * @package Noxora\Apps\Main
 */

.nx-go-landing {
	--nx-go-glow: var(--nx-accent, #e10600);
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	padding: clamp(1rem, 4vw, 2.5rem);
}

.nx-go-landing__head {
	text-align: center;
	padding: clamp(1.5rem, 5vw, 3rem);
	border-radius: 24px;
	margin-bottom: 2rem;
	border: 1px solid var(--nx-border, rgba(255,255,255,0.08));
	background: var(--nx-surface, rgba(18,18,18,0.72));
	backdrop-filter: blur(var(--nx-glass-blur, 18px));
	-webkit-backdrop-filter: blur(var(--nx-glass-blur, 18px));
}

.nx-go-landing__kicker {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--nx-accent, #e10600);
	margin-bottom: 0.75rem;
}

.nx-go-landing__title {
	font-size: clamp(1.6rem, 5vw, 2.8rem);
	font-weight: 800;
	margin: 0 0 0.5rem;
	color: var(--nx-text, #f5f5f5);
}

.nx-go-landing__subtitle {
	font-size: 1rem;
	color: var(--nx-muted, #9a9a9a);
	margin: 0;
}

.nx-go-landing__grid {
	display: grid;
	gap: 1rem;
}

.nx-go-landing__empty {
	padding: 2rem;
	text-align: center;
	border-radius: 20px;
}

.nx-go-card {
	position: relative;
	display: grid;
	grid-template-columns: 64px 1fr auto;
	align-items: center;
	gap: 1rem;
	padding: 1rem;
	border-radius: 20px;
	border: 1px solid var(--nx-border, rgba(255,255,255,0.08));
	background: var(--nx-surface, rgba(18,18,18,0.72));
	backdrop-filter: blur(var(--nx-glass-blur, 18px));
	-webkit-backdrop-filter: blur(var(--nx-glass-blur, 18px));
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

@media (max-width: 600px) {
	.nx-go-card {
		grid-template-columns: 52px 1fr;
		grid-template-rows: auto auto;
	}

	.nx-go-card__cta {
		grid-column: 1 / -1;
		justify-self: stretch;
	}
}

.nx-go-card:hover,
.nx-go-card:focus-within {
	transform: translateY(-3px);
	border-color: var(--nx-go-glow);
	box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 24px var(--nx-accent-soft, rgba(225,6,0,0.18));
}

.nx-go-card__media {
	position: relative;
	grid-column: 1 / -1;
	margin: -1rem -1rem 0.75rem;
	border-radius: 20px 20px 0 0;
	overflow: hidden;
}

.nx-go-card__media iframe,
.nx-go-card__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16/9;
	object-fit: cover;
	border: none;
}

.nx-go-card__icon {
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--nx-surface, rgba(255,255,255,0.06)), transparent);
	border: 1px solid var(--nx-border, rgba(255,255,255,0.08));
	color: var(--nx-accent, #e10600);
}

.nx-go-card__icon svg {
	width: 28px;
	height: 28px;
}

.nx-go-card__body {
	min-width: 0;
}

.nx-go-card__title {
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0 0 0.25rem;
	color: var(--nx-text, #f5f5f5);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nx-go-card__desc {
	font-size: 0.85rem;
	color: var(--nx-muted, #9a9a9a);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nx-go-card__cta {
	justify-self: end;
	display: inline-flex;
	align-items: center;
	padding: 0.7rem 1.25rem;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
	color: #050505;
	background: linear-gradient(135deg, var(--nx-accent, #e10600), #ff4d4d);
	border: none;
	cursor: pointer;
	transition: filter 0.2s ease, transform 0.2s ease;
	white-space: nowrap;
}

@media (max-width: 600px) {
	.nx-go-card__cta {
		justify-self: stretch;
		justify-content: center;
	}
}

.nx-go-card__cta:hover {
	filter: brightness(1.15);
	transform: scale(1.03);
}

.nx-go-card__meta {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
	border-radius: 20px;
}

.nx-go-card__glow {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, var(--nx-accent-soft, rgba(225,6,0,0.1)) 0%, transparent 60%);
	transform: translate(-50%, -50%);
	opacity: 0;
	transition: opacity 0.4s ease;
}

.nx-go-card:hover .nx-go-card__glow {
	opacity: 1;
}

.nx-go-card__clicks {
	position: absolute;
	bottom: 0.6rem;
	right: 0.8rem;
	font-size: 0.7rem;
	color: var(--nx-muted, #9a9a9a);
	pointer-events: none;
}

/* ── v5.3.45 AdRouter premium refresh ── */
.nx-go-landing__head {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(18, 18, 26, 0.92) 0%, rgba(26, 22, 40, 0.85) 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.nx-go-landing__head::before {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(circle at 80% 10%, rgba(212, 175, 55, 0.15) 0%, transparent 45%),
	            radial-gradient(circle at 20% 90%, rgba(138, 43, 226, 0.1) 0%, transparent 40%);
	opacity: 0.8;
}

.nx-go-landing__kicker {
	position: relative;
	color: var(--nx-gold, #d4af37);
	background: none;
	-webkit-text-fill-color: currentColor;
}

.nx-go-landing__title {
	position: relative;
	background: linear-gradient(90deg, #ffffff 0%, #f6e6b8 55%, #d4af37 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.nx-go-card {
	position: relative;
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.nx-go-card:hover,
.nx-go-card:focus-within {
	transform: translateY(-5px) scale(1.01);
	border-color: var(--nx-gold, #d4af37);
	box-shadow:
		0 22px 56px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(212, 175, 55, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nx-go-card__icon {
	background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
	border-color: rgba(212, 175, 55, 0.22);
	color: var(--nx-gold, #d4af37);
}

.nx-go-card__cta {
	background: linear-gradient(135deg, #d4af37, #f8f6ef);
	color: #08080a;
}

.nx-go-card__cta:hover {
	filter: brightness(1.1);
	transform: scale(1.05);
}

.nx-go-card__glow {
	background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 60%);
}
