.fc-collections-index {
	--fc-collections-text: #1d1d1f;
	--fc-collections-muted: #6e6e73;
	--fc-collections-border: rgba(29, 29, 31, 0.12);
	width: min(1320px, calc(100% - 40px));
	margin: 0 auto;
	padding: clamp(108px, 10vw, 138px) 0 96px;
	color: var(--fc-collections-text);
}

[data-theme="dark"] .fc-collections-index {
	--fc-collections-text: #f5f5f7;
	--fc-collections-muted: #a1a1a6;
	--fc-collections-border: rgba(255, 255, 255, 0.14);
}

.fc-collections-breadcrumb {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 34px;
	font-size: 13px;
	font-weight: 500;
	color: var(--fc-collections-muted);
}

.fc-collections-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.fc-collections-breadcrumb a:hover,
.fc-collections-breadcrumb a:focus-visible {
	color: var(--e-global-color-accent, #8224e3);
}

.fc-collections-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
	align-items: end;
	column-gap: clamp(28px, 6vw, 90px);
	row-gap: 14px;
	margin: 0 0 clamp(42px, 6vw, 72px);
}

.fc-collections-eyebrow {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--e-global-color-accent, #8224e3);
}

.fc-collections-hero h1 {
	margin: 0;
	max-width: 850px;
	font-size: clamp(42px, 6vw, 76px);
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: -0.055em;
	color: var(--fc-collections-text);
}

.fc-collections-hero > p:last-child {
	margin: 0 0 5px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--fc-collections-muted);
}

.fc-collections-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-auto-flow: dense;
	grid-auto-rows: 124px;
	gap: 18px;
}

.fc-collection-card {
	grid-column: span 4;
	grid-row: span 2;
	min-width: 0;
	margin: 0;
}

.fc-collection-card:nth-child(8n + 1) {
	grid-column: span 8;
	grid-row: span 3;
}

.fc-collection-card:nth-child(8n + 2) {
	grid-column: span 4;
	grid-row: span 3;
}

.fc-collection-card:nth-child(8n + 6) {
	grid-column: span 5;
	grid-row: span 3;
}

.fc-collection-card:nth-child(8n + 7) {
	grid-column: span 7;
	grid-row: span 3;
}

.fc-collection-card:nth-child(8n + 8) {
	grid-column: span 12;
	grid-row: span 2;
}

.fc-collection-card__link {
	position: relative;
	display: block;
	height: 100%;
	min-height: 0;
	overflow: hidden;
	border: 1px solid var(--fc-collections-border);
	border-radius: 26px;
	background: #111114;
	color: #ffffff;
	text-decoration: none;
	isolation: isolate;
	transition: transform 280ms cubic-bezier(0.2, 0.75, 0.25, 1), border-color 280ms ease, box-shadow 280ms ease;
}

.fc-collection-card__link::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 20%, rgba(0, 0, 0, 0.16) 55%, rgba(0, 0, 0, 0.82) 100%);
	pointer-events: none;
}

.fc-collection-card__link:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 255, 255, 0.28);
	box-shadow: 0 20px 48px rgba(15, 12, 19, 0.18);
}

[data-theme="dark"] .fc-collection-card__link:hover {
	box-shadow: 0 22px 54px rgba(0, 0, 0, 0.42);
}

.fc-collection-card__link:focus-visible {
	outline: 3px solid var(--e-global-color-accent, #8224e3);
	outline-offset: 3px;
}

.fc-collection-card__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	background: #17141d;
}

.fc-collections-index .fc-collection-card__media img {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	min-height: 100% !important;
	margin: 0 !important;
	object-fit: cover !important;
	object-position: center !important;
	transform: scale(1.002);
	transition: transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.fc-collection-card__link:hover .fc-collection-card__media img {
	transform: scale(1.045);
}

.fc-collection-card__media.is-placeholder {
	display: grid;
	place-items: center;
	background: linear-gradient(145deg, #25202d, #0d0b10);
}

.fc-collection-card__media.is-placeholder span {
	font-size: clamp(64px, 9vw, 130px);
	font-weight: 750;
	color: rgba(255, 255, 255, 0.12);
}

.fc-collection-card__content {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 14px;
	padding: clamp(20px, 2.4vw, 34px);
	color: #ffffff;
}

.fc-collections-index .fc-collection-card h2 {
	margin: 0;
	font-size: clamp(24px, 2.6vw, 38px);
	font-weight: 650;
	line-height: 1;
	letter-spacing: -0.035em;
	color: #ffffff !important;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
}

.fc-collection-card:nth-child(8n + 1) h2,
.fc-collection-card:nth-child(8n + 8) h2 {
	font-size: clamp(30px, 3.8vw, 52px);
}

.fc-collection-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.76);
}

.fc-collection-card__arrow {
	display: grid;
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	transition: transform 280ms ease, background-color 280ms ease;
}

.fc-collection-card__arrow svg {
	display: block;
	width: 18px;
	height: 18px;
}

.fc-collection-card__link:hover .fc-collection-card__arrow {
	transform: translate(2px, -2px);
	background: rgba(255, 255, 255, 0.22);
}

.fc-collections-empty {
	padding: 48px;
	border: 1px solid var(--fc-collections-border);
	border-radius: 24px;
	color: var(--fc-collections-muted);
	text-align: center;
}

@media (max-width: 1024px) {
	.fc-collections-grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		grid-auto-rows: 118px;
	}

	.fc-collection-card,
	.fc-collection-card:nth-child(8n + 1),
	.fc-collection-card:nth-child(8n + 2),
	.fc-collection-card:nth-child(8n + 6),
	.fc-collection-card:nth-child(8n + 7),
	.fc-collection-card:nth-child(8n + 8) {
		grid-column: span 6;
		grid-row: span 2;
	}

	.fc-collection-card:nth-child(5n + 1) {
		grid-column: span 12;
	}
}

@media (max-width: 700px) {
	.fc-collections-index {
		width: min(100% - 28px, 1320px);
		padding: 92px 0 68px;
	}

	.fc-collections-breadcrumb {
		margin-bottom: 26px;
	}

	.fc-collections-hero {
		display: block;
		margin-bottom: 36px;
	}

	.fc-collections-eyebrow {
		margin-bottom: 14px;
	}

	.fc-collections-hero h1 {
		font-size: clamp(38px, 12vw, 56px);
	}

	.fc-collections-hero > p:last-child {
		margin-top: 18px;
		font-size: 15px;
	}

	.fc-collections-grid {
		display: grid;
		grid-template-columns: 1fr;
		grid-auto-rows: auto;
		gap: 14px;
	}

	.fc-collection-card,
	.fc-collection-card:nth-child(n) {
		grid-column: 1;
		grid-row: auto;
		aspect-ratio: 16 / 11;
	}

	.fc-collection-card__link {
		border-radius: 22px;
	}

	.fc-collection-card h2,
	.fc-collection-card:nth-child(n) h2 {
		font-size: clamp(27px, 8vw, 36px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.fc-collection-card__link,
	.fc-collection-card__media img,
	.fc-collection-card__arrow {
		transition: none;
	}
}
