/*! VegasX — Single sports event / odds feed */

.vx-event-page {
	overflow-x: clip;
	width: 100%;
	max-width: 100%;
	padding-bottom: 0;
}

/* —— Hero (same system as provider) —— */
.vx-event-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: clamp(28px, 4vw, 48px) 0 clamp(20px, 3vw, 32px);
	background: linear-gradient(180deg, rgba(8, 10, 28, .98), rgba(5, 6, 18, .35));
}

.vx-event-hero__bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	contain: paint;
	pointer-events: none;
	z-index: 0;
}

/* Soft radial glows — no filter:blur (iPad Safari expands scroll past footer) */
.vx-event-hero__glow {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.vx-event-hero__glow--pink {
	width: min(380px, 70%);
	height: min(380px, 70%);
	top: -8%;
	right: -6%;
	background: radial-gradient(circle, rgba(255, 0, 128, .45) 0%, transparent 70%);
	opacity: .55;
}

.vx-event-hero__glow--cyan {
	width: min(340px, 65%);
	height: min(340px, 65%);
	bottom: -6%;
	left: -4%;
	background: radial-gradient(circle, rgba(0, 229, 255, .4) 0%, transparent 70%);
	opacity: .5;
}

.vx-event-hero__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: radial-gradient(ellipse 75% 70% at 30% 30%, #000 18%, transparent 72%);
}

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

.vx-event-hero__eyebrow {
	margin-bottom: clamp(16px, 2.5vw, 24px);
}

.vx-event-hero__eyebrow .vx-breadcrumbs--events {
	margin-bottom: 0;
}

.vx-breadcrumbs--events {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: clamp(16px, 2.5vw, 24px);
	flex-wrap: wrap;
}

.vx-breadcrumbs--events .vx-breadcrumbs__pulse {
	flex-shrink: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #ff0080;
	box-shadow: 0 0 0 0 rgba(255, 0, 128, .55);
	animation: vx-bc-pulse 2s ease-out infinite;
}

.vx-breadcrumbs--events .vx-breadcrumbs__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-family: var(--vx-font-head);
	font-size: .66rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #ff9fd0;
}

.vx-event-hero__card {
	position: relative;
	padding: clamp(20px, 3vw, 28px);
	border-radius: calc(var(--vx-radius-lg) + 6px);
	border: 1px solid rgba(255, 255, 255, .12);
	background:
		linear-gradient(165deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, .02) 42%, transparent 72%),
		rgba(10, 12, 30, .88);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, .04) inset,
		0 28px 64px rgba(0, 0, 0, .42);
	overflow: hidden;
	isolation: isolate;
}

.vx-event-hero__card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 2px;
	background: linear-gradient(90deg, rgba(255, 0, 128, .75), rgba(0, 229, 255, .65), rgba(255, 0, 128, .75));
	opacity: .65;
	pointer-events: none;
}

.vx-event-hero__card-shine {
	position: absolute;
	inset: -40% auto auto -20%;
	width: 45%;
	height: 140%;
	background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .07) 50%, transparent 65%);
	transform: rotate(12deg);
	pointer-events: none;
	opacity: .55;
}

.vx-event-hero__layout {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 36px);
	align-items: center;
}

.vx-event-hero__panel {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(160px, 20vw, 200px);
	padding: clamp(18px, 2.5vw, 26px);
	border-radius: calc(var(--vx-radius-lg) + 2px);
	border: 1px solid rgba(255, 255, 255, .1);
	background:
		radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .07), transparent 62%),
		rgba(8, 12, 30, .94);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
	overflow: hidden;
	isolation: isolate;
}

.vx-event-hero__panel-shine {
	position: absolute;
	inset: -40% auto auto -30%;
	width: 55%;
	height: 140%;
	background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .1) 50%, transparent 65%);
	transform: rotate(12deg);
	pointer-events: none;
	opacity: .6;
}

.vx-event-hero__clash {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(10px, 1.8vw, 16px);
}

.vx-event-hero__crest {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: clamp(64px, 9vw, 84px);
	height: clamp(64px, 9vw, 84px);
	border-radius: 50%;
	background: rgba(10, 12, 30, .8);
	border: 1px solid rgba(255, 255, 255, .1);
	flex-shrink: 0;
}

.vx-event-hero__crest--home {
	box-shadow: 0 0 24px rgba(0, 229, 255, .14);
}

.vx-event-hero__crest--away {
	box-shadow: 0 0 24px rgba(255, 0, 128, .12);
}

.vx-event-hero__vs {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	font-family: var(--vx-font-head);
	font-size: .58rem;
	font-weight: 900;
	letter-spacing: .1em;
	color: rgba(233, 236, 255, .75);
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .12);
	flex-shrink: 0;
}

.vx-event-hero__copy {
	min-width: 0;
}

.vx-event-hero__title {
	margin: 0 0 10px;
	font-family: var(--vx-font-head);
	font-size: clamp(1.75rem, 4vw, 2.65rem);
	font-weight: 900;
	line-height: 1.08;
	letter-spacing: -.02em;
	color: #fff;
}

.vx-event-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 clamp(18px, 2.5vw, 24px);
	font-family: var(--vx-font-head);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(0, 229, 255, .78);
}

.vx-event-hero__meta-sep {
	opacity: .45;
	letter-spacing: 0;
}

.vx-event-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* —— Body —— */
.vx-event-body {
	position: relative;
	margin-top: clamp(-12px, -1.5vw, -8px);
	padding: clamp(24px, 4vw, 40px) 0 0;
}

.vx-event-page .vx-layout--event {
	gap: clamp(24px, 3vw, 36px);
	align-items: start;
}

@media (min-width: 1100px) {
	.vx-event-page .vx-layout--event.vx-layout--with-sidebar {
		grid-template-columns: minmax(0, 1fr) minmax(252px, 292px);
	}
}

.vx-event-main {
	min-width: 0;
	display: grid;
	gap: clamp(18px, 2.5vw, 24px);
}

.vx-event-section__head {
	margin-bottom: clamp(16px, 2.5vw, 22px);
}

.vx-event-section__head--row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
}

.vx-event-section__kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	font-family: var(--vx-font-head);
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(0, 229, 255, .85);
}

.vx-event-section__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--vx-c-secondary);
	box-shadow: 0 0 10px rgba(0, 229, 255, .5);
}

.vx-event-section__title {
	margin: 0;
	font-family: var(--vx-font-head);
	font-size: clamp(1.35rem, 2.6vw, 1.75rem);
	font-weight: 800;
	line-height: 1.2;
	color: #fff;
}

.vx-event-section__meta {
	margin: 6px 0 0;
	font-size: .88rem;
	font-weight: 600;
	color: rgba(233, 236, 255, .48);
}

.vx-event-section__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--vx-font-head);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .04em;
	color: rgba(255, 159, 208, .9);
	text-decoration: none;
	transition: color var(--vx-transition);
}

.vx-event-section__link:hover {
	color: #fff;
}

.vx-event-panel {
	position: relative;
	padding: clamp(22px, 3vw, 28px);
	border-radius: 20px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .008)),
		rgba(10, 12, 30, .72);
	border: 1px solid rgba(255, 255, 255, .08);
	overflow: hidden;
}

.vx-event-prose {
	max-width: 72ch;
	font-size: 1rem;
	line-height: 1.75;
	color: rgba(233, 236, 255, .72);
}

.vx-event-prose > :first-child {
	margin-top: 0;
	font-size: clamp(1rem, 1.6vw, 1.08rem);
	line-height: 1.7;
	color: rgba(233, 236, 255, .82);
}

.vx-event-prose > :last-child { margin-bottom: 0; }

/* Odds badges — near original size, slightly trimmed, VS between duo */
.vx-event-odds {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	align-items: center;
}

.vx-event-odds--duo {
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	width: 100%;
	max-width: none;
	gap: 12px;
}

.vx-event-odds__cell {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 10px 12px;
	min-width: 0;
	padding: 12px 14px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, .09);
	background: rgba(255, 255, 255, .03);
	color: inherit;
	text-decoration: none;
	transition: border-color var(--vx-transition), background var(--vx-transition), box-shadow var(--vx-transition);
}

a.vx-event-odds__cell:hover {
	border-color: rgba(255, 0, 128, .35);
	background: rgba(255, 0, 128, .05);
}

.vx-event-odds__cell.is-best {
	border-color: rgba(182, 255, 0, .35);
	background: linear-gradient(165deg, rgba(182, 255, 0, .08), rgba(182, 255, 0, .02));
	box-shadow: 0 0 24px rgba(182, 255, 0, .1);
}

.vx-event-odds__tag {
	position: absolute;
	top: -9px;
	right: 12px;
	padding: 3px 9px;
	border-radius: 999px;
	font-family: var(--vx-font-head);
	font-size: .56rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #041018;
	background: var(--vx-c-tertiary);
	white-space: nowrap;
}

.vx-event-odds__key {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	padding: 0 8px;
	border-radius: 8px;
	font-family: var(--vx-font-head);
	font-size: .72rem;
	font-weight: 900;
	color: #041018;
	background: linear-gradient(120deg, #00e5ff, #7fd7ff);
}

.vx-event-odds__team {
	font-family: var(--vx-font-head);
	font-size: .88rem;
	font-weight: 700;
	color: rgba(233, 236, 255, .82);
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vx-event-odds__val {
	font-family: var(--vx-font-head);
	font-size: clamp(1.1rem, 2vw, 1.3rem);
	font-weight: 900;
	line-height: 1;
	color: #fff;
}

.vx-event-odds__cell.is-best .vx-event-odds__val {
	color: var(--vx-c-tertiary);
}

.vx-event-odds__vs {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-family: var(--vx-font-head);
	font-size: .6rem;
	font-weight: 900;
	letter-spacing: .1em;
	color: rgba(233, 236, 255, .7);
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .12);
}

.vx-event-related__table {
	--odds-grid-cols: minmax(0, 1.4fr) repeat(3, minmax(72px, 80px)) minmax(92px, 110px);
	padding: 0;
	margin: 0 -6px;
}

/* Sidebar */
.vx-event-sidebar {
	align-self: start;
}

@media (min-width: 1100px) {
	.vx-event-sidebar {
		position: sticky;
		top: calc(var(--vx-header-h, 72px) + 16px);
	}
}

.vx-event-sidebar__card {
	padding: clamp(20px, 2.5vw, 26px);
	border-radius: 20px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .008)),
		rgba(10, 12, 30, .72);
	border: 1px solid rgba(255, 255, 255, .08);
}

.vx-event-sidebar__title {
	margin: 0 0 16px;
	font-family: var(--vx-font-head);
	font-size: 1rem;
	font-weight: 800;
	color: #fff;
}

.vx-event-sidebar__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 14px;
}

.vx-event-sidebar__list li {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 12px;
	align-items: start;
}

.vx-event-sidebar__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	color: var(--vx-c-secondary);
	background: rgba(0, 229, 255, .08);
	border: 1px solid rgba(0, 229, 255, .18);
}

.vx-event-sidebar__list strong {
	display: block;
	margin-bottom: 2px;
	font-family: var(--vx-font-head);
	font-size: .82rem;
	font-weight: 800;
	color: #fff;
}

.vx-event-sidebar__list p {
	margin: 0;
	font-size: .76rem;
	line-height: 1.5;
	color: rgba(233, 236, 255, .52);
}

.vx-event-sidebar__note {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, .07);
}

.vx-event-sidebar__badge {
	flex-shrink: 0;
	padding: 4px 8px;
	border-radius: 6px;
	font-family: var(--vx-font-head);
	font-size: .62rem;
	font-weight: 800;
	color: #fff;
	background: rgba(255, 0, 128, .2);
	border: 1px solid rgba(255, 0, 128, .35);
}

.vx-event-sidebar__note p {
	margin: 0;
	font-size: .7rem;
	line-height: 1.55;
	color: rgba(233, 236, 255, .5);
}

.vx-site__content:has(.vx-event-page) + .vx-footer {
	margin-top: clamp(24px, 4vw, 40px);
}

/* —— Responsive (same idea as provider) —— */
@media (max-width: 1024px) {
	.vx-event-hero__layout {
		grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
		gap: clamp(18px, 2.5vw, 28px);
	}

	.vx-event-hero__title {
		font-size: clamp(1.55rem, 3.5vw, 2.1rem);
	}
}

@media (max-width: 640px) {
	.vx-event-hero__card {
		padding: clamp(14px, 3.5vw, 18px);
	}

	.vx-event-hero__layout {
		grid-template-columns: minmax(88px, 34vw) minmax(0, 1fr);
		gap: clamp(12px, 3vw, 16px);
	}

	.vx-event-hero__panel {
		min-height: auto;
		padding: clamp(10px, 2.5vw, 14px);
	}

	.vx-event-hero__crest {
		width: clamp(40px, 11vw, 52px);
		height: clamp(40px, 11vw, 52px);
	}

	.vx-event-hero__vs {
		width: 28px;
		height: 28px;
		font-size: .5rem;
	}

	.vx-event-hero__title {
		font-size: clamp(1.25rem, 5vw, 1.6rem);
		margin-bottom: 6px;
	}

	.vx-event-hero__meta {
		margin-bottom: 12px;
		font-size: .66rem;
	}

	.vx-event-hero__actions {
		flex-wrap: nowrap;
		gap: 8px;
	}

	.vx-event-hero__actions .vx-btn {
		flex: 1 1 0;
		min-width: 0;
		justify-content: center;
		padding: 10px 8px;
		font-size: .78rem;
	}

	.vx-event-odds,
	.vx-event-odds--duo {
		max-width: none;
		grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	}

	.vx-event-section__head--row {
		flex-direction: column;
		align-items: flex-start;
	}
}

@keyframes vx-bc-pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 0, 128, .45); }
	70% { box-shadow: 0 0 0 8px rgba(255, 0, 128, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 0, 128, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.vx-breadcrumbs--events .vx-breadcrumbs__pulse {
		animation: none;
	}
}
