/* Magic Collectors — landing page
   Responsive layout built on top of Bootstrap 5.2.3 */

:root {
	--mc-navy: #122444;
	--mc-navy-deep: #0a1730;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
}

body {
	min-height: 100vh;
	font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	background-color: var(--mc-navy);
	overflow-x: hidden;
}

/* ---------- Hero / background ---------- */
.hero {
	position: relative;
	min-height: 100vh;
	padding: 3rem 0;
	background-image: url("img/v2/bg.webp");
	background-repeat: no-repeat;
	background-size: cover;
	/* keep the heroes on the right visible on wide screens */
	background-position: center right;
	background-color: var(--mc-navy);
	overflow: hidden;
}

/* readability veil so the logo/buttons stand out over the artwork */
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg,
			rgba(10, 23, 48, 0.85) 0%,
			rgba(10, 23, 48, 0.45) 38%,
			rgba(10, 23, 48, 0) 62%);
	pointer-events: none;
	z-index: 0;
}

.hero__inner {
	position: relative;
	z-index: 1;
}

/* ---------- Brand logo ---------- */
.brand-logo {
	width: 100%;
	height: auto;
	margin-bottom: 2.25rem;
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}

/* ---------- Call-to-action buttons ---------- */
.cta {
	max-width: 720px;
}

.cta-btn {
	display: block;
	width: 100%;
	max-width: 340px;
	margin-inline: auto;
	border-radius: 12px;
	transition: transform 0.18s ease, filter 0.18s ease;
	filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
	will-change: transform;
}

.cta-btn img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

.cta-btn:hover,
.cta-btn:focus-visible {
	transform: translateY(-4px);
	filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.5));
	outline: none;
}

/* ---------- Newsletter / Panini form ---------- */
label.required::after {
	content: '*';
	color: var(--bs-danger);
	vertical-align: baseline;
	line-height: 0;
	position: relative;
	top: -0.25em;
}

/* ---------- Social media row ---------- */
.social {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}

.social__list {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social__link {
	display: block;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	transition: transform 0.18s ease, filter 0.18s ease;
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.social__link img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
}

.social__link:hover,
.social__link:focus-visible {
	transform: translateY(-3px) scale(1.06);
	filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.55));
	outline: none;
}

/* ---------- Responsive tuning ---------- */

/* Small / medium: shift the artwork so the heroes recede a little,
   giving the stacked buttons more breathing room, and switch the veil
   to a top-down gradient that suits a centred column. */
@media (max-width: 991.98px) {
	.hero {
		background-position: 74% center;
	}

	.hero::before {
		background: linear-gradient(180deg,
				rgba(10, 23, 48, 0.55) 0%,
				rgba(10, 23, 48, 0.35) 45%,
				rgba(10, 23, 48, 0.65) 100%);
	}

	.brand-logo {
		margin-bottom: 1.75rem;
	}
}

/* Large screens: hug the buttons to the left of each column so they read
   as the left-hand cluster from the artwork, with the heroes on the right. */
@media (min-width: 992px) {
	.cta-btn {
		margin-inline: 0;
	}
}

@media (max-width: 575.98px) {
	.hero {
		padding: 2.25rem 0;
		background-position: 70% center;
	}

	.brand-logo {
		max-width: 260px;
	}
}
