/*
 * Multicharts Universe — Explore the Market grid (v0.3)
 *
 * Six dark cards. Subtle gold border that intensifies on hover.
 * Geometric icon (Unicode shape) instead of fintech clip-art —
 * keeps the Celestial Luxury vibe.
 */

body.mcu-theme .mcu-explore {
	position: relative;
	padding-block: var(--space-3xl);
	background:
		radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.06) 0%, transparent 60%),
		linear-gradient(180deg, var(--color-void) 0%, var(--color-deep-space) 100%);
}

body.mcu-theme .mcu-section-head {
	max-width: 720px;
	margin: 0 auto var(--space-2xl);
	text-align: center;
}

body.mcu-theme .mcu-section-title {
	font-family: var(--font-display);
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	font-weight: var(--weight-light);
	line-height: var(--leading-tight);
	letter-spacing: var(--tracking-tight);
	color: var(--color-text-primary);
	margin: 0 0 var(--space-md);
}

body.mcu-theme .mcu-section-lead {
	font-family: var(--font-display);
	font-style: italic;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	color: var(--color-text-secondary);
	max-width: 56ch;
	margin-inline: auto;
}

body.mcu-theme .mcu-explore__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--space-md);
	list-style: none;
	padding: 0;
	margin: 0;
}

@media (min-width: 600px) {
	body.mcu-theme .mcu-explore__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (min-width: 960px) {
	body.mcu-theme .mcu-explore__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

body.mcu-theme .mcu-explore__item { margin: 0; padding: 0; list-style: none; }

body.mcu-theme .mcu-explore__card {
	display: flex;
	flex-direction: column;
	gap: var(--space-sm);
	height: 100%;
	padding: var(--space-lg);
	background: linear-gradient(180deg, var(--color-cosmic-night) 0%, var(--color-deep-space) 100%);
	border: 1px solid var(--color-border-subtle);
	border-radius: var(--radius-lg);
	color: var(--color-text-primary);
	text-decoration: none;
	position: relative;
	overflow: hidden;
	transition: transform var(--dur-base) var(--ease-celestial),
	            border-color var(--dur-base) var(--ease-celestial),
	            box-shadow var(--dur-base) var(--ease-celestial),
	            background var(--dur-base) var(--ease-celestial);
	background-size: 100% 100%;
}

body.mcu-theme .mcu-explore__card::before {
	content: '';
	position: absolute;
	inset: -2px;
	background: linear-gradient(135deg, transparent 0%, var(--color-gold-glow) 50%, transparent 100%);
	border-radius: var(--radius-lg);
	opacity: 0;
	transition: opacity var(--dur-base) var(--ease-celestial);
	z-index: -1;
}

body.mcu-theme .mcu-explore__card:hover,
body.mcu-theme .mcu-explore__card:focus-visible {
	transform: translateY(-4px);
	border-color: var(--color-gold);
	box-shadow: var(--shadow-lg), var(--glow-gold-sm);
}

body.mcu-theme .mcu-explore__card:hover::before,
body.mcu-theme .mcu-explore__card:focus-visible::before { opacity: 0.4; }

body.mcu-theme .mcu-explore__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	font-size: 2rem;
	color: var(--color-gold-bright);
	background: radial-gradient(circle at center, var(--color-gold-veil) 0%, transparent 70%);
	border: 1px solid var(--color-border-default);
	border-radius: var(--radius-circle);
	margin-bottom: var(--space-sm);
	transition: transform var(--dur-base) var(--ease-spring),
	            box-shadow var(--dur-base) var(--ease-celestial);
}

body.mcu-theme .mcu-explore__card:hover .mcu-explore__icon {
	transform: rotate(8deg) scale(1.05);
	box-shadow: var(--glow-gold-md);
}

body.mcu-theme .mcu-explore__label {
	font-family: var(--font-display);
	font-size: var(--text-2xl);
	font-weight: var(--weight-regular);
	letter-spacing: var(--tracking-tight);
	color: var(--color-text-primary);
	margin: 0;
	line-height: var(--leading-tight);
}

body.mcu-theme .mcu-explore__lead {
	font-family: var(--font-body);
	font-size: var(--text-base);
	line-height: var(--leading-relaxed);
	color: var(--color-text-secondary);
	margin: 0;
	flex: 1 1 auto;
}

body.mcu-theme .mcu-explore__arrow {
	display: inline-block;
	margin-top: var(--space-sm);
	font-size: var(--text-sm);
	font-weight: var(--weight-medium);
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	color: var(--color-gold-bright);
	transition: transform var(--dur-base) var(--ease-spring);
}

body.mcu-theme .mcu-explore__card:hover .mcu-explore__arrow {
	transform: translateX(6px);
}
