/**
 * Whatnot Live Collectible Auctions page.
 */

.acc-whatnot-page {
	--acc-whatnot-primary: var(--apechain-primary, #0054d8);
	--acc-whatnot-secondary: var(--apechain-secondary, #002787);
	--acc-whatnot-surface: var(--apechain-surface-elevated, #f5f8fc);
	--acc-whatnot-text: var(--apechain-text, #0a1628);
	--acc-whatnot-muted: var(--apechain-text-muted, #5a6b7d);
	--acc-whatnot-radius: 0.75rem;
	--acc-whatnot-shadow: 0 4px 20px rgba(0, 39, 135, 0.08);
	max-width: 100%;
	margin: 0 auto 2rem;
}

.acc-whatnot-hero {
	background: linear-gradient(135deg, var(--acc-whatnot-secondary) 0%, var(--acc-whatnot-primary) 100%);
	border-radius: var(--acc-whatnot-radius);
	color: #fff;
	margin-bottom: 2.5rem;
	padding: 2.5rem 1.5rem;
}

.acc-whatnot-hero__content {
	max-width: 48rem;
	margin: 0 auto;
	text-align: center;
}

.acc-whatnot-hero__title {
	color: #fff;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 1rem;
}

.acc-whatnot-hero__subtitle {
	font-size: 1.05rem;
	line-height: 1.6;
	margin: 0 0 1.5rem;
	opacity: 0.95;
}

.acc-whatnot-hero__note {
	font-size: 0.9rem;
	margin: 1rem 0 0;
	opacity: 0.85;
}

.acc-whatnot-button {
	background: var(--acc-whatnot-primary);
	border: none;
	border-radius: 0.5rem;
	color: #fff;
	display: inline-block;
	font-weight: 600;
	padding: 0.65rem 1.25rem;
	text-align: center;
	text-decoration: none;
	transition: background 0.15s ease, transform 0.15s ease;
}

.acc-whatnot-button:hover,
.acc-whatnot-button:focus {
	background: var(--acc-whatnot-secondary);
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
}

.acc-whatnot-button--hero {
	background: #fff;
	color: var(--acc-whatnot-secondary);
	font-size: 1.05rem;
	padding: 0.75rem 1.5rem;
}

.acc-whatnot-button--hero:hover,
.acc-whatnot-button--hero:focus {
	background: #e2f0ff;
	color: var(--acc-whatnot-secondary);
}

.acc-whatnot-button--featured {
	font-size: 1.1rem;
	padding: 0.85rem 1.75rem;
}

.acc-whatnot-featured-live {
	background: linear-gradient(135deg, #1a0a2e 0%, var(--acc-whatnot-secondary) 55%, var(--acc-whatnot-primary) 100%);
	border-radius: var(--acc-whatnot-radius);
	box-shadow: var(--acc-whatnot-shadow);
	color: #fff;
	margin-bottom: 2.5rem;
	overflow: hidden;
}

.acc-whatnot-featured-live__inner {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	padding: 2rem 1.5rem;
}

.acc-whatnot-featured-live__content {
	flex: 1 1 280px;
}

.acc-whatnot-featured-live__badge {
	display: inline-block;
	margin-bottom: 0.75rem;
}

.acc-whatnot-featured-live__title {
	color: #fff;
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin: 0 0 0.75rem;
}

.acc-whatnot-featured-live__description {
	line-height: 1.6;
	margin: 0 0 1.25rem;
	max-width: 36rem;
	opacity: 0.95;
}

.acc-whatnot-featured-live__media {
	flex: 0 1 220px;
	max-width: 100%;
}

.acc-whatnot-featured-live__media img {
	border-radius: 0.5rem;
	display: block;
	height: auto;
	max-height: 200px;
	object-fit: cover;
	width: 100%;
}

.acc-whatnot-section {
	margin-bottom: 2.5rem;
}

.acc-whatnot-section__header {
	margin-bottom: 1.25rem;
}

.acc-whatnot-section__title {
	color: var(--acc-whatnot-secondary);
	font-size: 1.5rem;
	margin: 0 0 0.5rem;
}

.acc-whatnot-section__description {
	color: var(--acc-whatnot-muted);
	font-size: 1rem;
	line-height: 1.6;
	margin: 0;
	max-width: 52rem;
}

.acc-whatnot-section__browse {
	font-size: 0.95rem;
	margin: 0.75rem 0 0;
}

.acc-whatnot-section__browse-link {
	color: var(--acc-whatnot-primary);
	font-weight: 600;
	text-decoration: none;
}

.acc-whatnot-section__browse-link:hover,
.acc-whatnot-section__browse-link:focus {
	color: var(--acc-whatnot-secondary);
	text-decoration: underline;
}

.acc-whatnot-section__browse-sep {
	color: var(--acc-whatnot-muted);
	margin: 0 0.35rem;
}

.acc-whatnot-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(3, 1fr);
}

.acc-whatnot-card {
	background: var(--acc-whatnot-surface);
	border: 1px solid rgba(0, 39, 135, 0.08);
	border-radius: var(--acc-whatnot-radius);
	box-shadow: var(--acc-whatnot-shadow);
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.acc-whatnot-card:hover {
	box-shadow: 0 8px 28px rgba(0, 39, 135, 0.12);
	transform: translateY(-2px);
}

.acc-whatnot-card--placeholder {
	opacity: 0.92;
}

.acc-whatnot-card__badge-row {
	padding: 0.85rem 1rem 0;
}

.acc-whatnot-badge {
	border-radius: 999px;
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 0.25rem 0.65rem;
	text-transform: uppercase;
}

.acc-whatnot-badge--live {
	background: #e53935;
	color: #fff;
}

.acc-whatnot-badge--upcoming {
	background: #fff;
	border: 1px solid rgba(0, 39, 135, 0.15);
	color: var(--acc-whatnot-secondary);
}

.acc-whatnot-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 0.75rem 1rem 1.25rem;
}

.acc-whatnot-card__badge-row + .acc-whatnot-card__body {
	padding-top: 0.65rem;
}

.acc-whatnot-card__title {
	color: var(--acc-whatnot-secondary);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 0.5rem;
}

.acc-whatnot-card__meta {
	color: var(--acc-whatnot-muted);
	font-size: 0.85rem;
	line-height: 1.45;
	margin: 0 0 0.35rem;
}

.acc-whatnot-card__category {
	color: var(--acc-whatnot-primary);
	font-weight: 600;
}

.acc-whatnot-card__description {
	color: var(--acc-whatnot-text);
	flex-grow: 1;
	font-size: 0.9rem;
	line-height: 1.5;
	margin: 0 0 0.75rem;
}

.acc-whatnot-card__cta {
	margin-top: auto;
	width: 100%;
}

@media (max-width: 991.98px) {
	.acc-whatnot-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 575.98px) {
	.acc-whatnot-hero {
		padding: 2rem 1rem;
	}

	.acc-whatnot-featured-live__inner {
		padding: 1.5rem 1rem;
	}

	.acc-whatnot-grid {
		grid-template-columns: 1fr;
	}

	.acc-whatnot-button {
		display: block;
		width: 100%;
	}
}
