/*! VegasX — Live Casino (photo affiliate) */

.vx-live-page {
	overflow-x: clip;
	width: 100%;
	max-width: 100%;
	background: #050614;
	color: var(--vx-c-text);
	padding-bottom: clamp(28px, 4vw, 48px);
}

/* —— Photo hero —— */
.vx-live-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: min(68vh, 620px);
	display: flex;
	align-items: flex-end;
	padding: clamp(56px, 9vw, 96px) 0 clamp(36px, 5vw, 56px);
}

.vx-live-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	contain: paint;
}

.vx-live-hero__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 35%;
	transform: scale(1.04);
}

.vx-live-hero__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(100deg, rgba(5, 6, 20, .92) 0%, rgba(5, 6, 20, .72) 42%, rgba(5, 6, 20, .45) 70%, rgba(5, 6, 20, .7) 100%),
		linear-gradient(180deg, rgba(5, 6, 20, .35) 0%, rgba(5, 6, 20, .15) 40%, rgba(5, 6, 20, .92) 100%);
}

.vx-live-hero__glow {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.vx-live-hero__glow--pink {
	width: min(380px, 60%);
	height: min(380px, 60%);
	top: -10%;
	right: -5%;
	background: radial-gradient(circle, rgba(255, 0, 128, .35) 0%, transparent 70%);
	opacity: .55;
}

.vx-live-hero__glow--cyan {
	width: min(340px, 55%);
	height: min(340px, 55%);
	bottom: -12%;
	left: 8%;
	background: radial-gradient(circle, rgba(0, 229, 255, .3) 0%, transparent 70%);
	opacity: .5;
}

.vx-live-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
}

.vx-live-hero__copy {
	max-width: 36rem;
}

.vx-live-hero__live {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid rgba(0, 229, 255, .32);
	background: rgba(0, 229, 255, .12);
	backdrop-filter: blur(8px);
	font-family: var(--vx-font-head);
	font-size: .66rem;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #9ef6ff;
}

.vx-live-hero__pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #00e5ff;
	box-shadow: 0 0 0 0 rgba(0, 229, 255, .55);
	animation: vx-live-pulse 2s ease-out infinite;
}

.vx-live-hero__title {
	margin: 0 0 14px;
	font-family: var(--vx-font-head);
	font-size: clamp(2.4rem, 5.8vw, 3.8rem);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -.02em;
	color: #fff;
	text-shadow: 0 12px 40px rgba(0, 0, 0, .45);
}

.vx-live-hero__title span {
	background: linear-gradient(180deg, #fff 0%, #c8f0ff 42%, #00e5ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.vx-live-hero__text {
	margin: 0 0 clamp(20px, 3vw, 28px);
	max-width: 42ch;
	font-size: clamp(.98rem, 1.5vw, 1.1rem);
	line-height: 1.6;
	color: rgba(233, 236, 255, .78);
}

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

@keyframes vx-live-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(0, 229, 255, .55); }
	70%  { box-shadow: 0 0 0 12px rgba(0, 229, 255, 0); }
	100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

/* —— Trust strip —— */
.vx-live-trust {
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	background: rgba(8, 10, 26, .95);
}

.vx-live-trust__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vx-live-trust__list li {
	display: grid;
	gap: 4px;
	justify-items: center;
	padding: clamp(16px, 2.2vw, 22px) 10px;
	text-align: center;
	border-right: 1px solid rgba(255, 255, 255, .08);
}

.vx-live-trust__list li:last-child { border-right: 0; }

.vx-live-trust__list strong {
	font-family: var(--vx-font-head);
	font-size: clamp(1.3rem, 2.4vw, 1.7rem);
	font-weight: 900;
	color: #fff;
}

.vx-live-trust__list span {
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(233, 236, 255, .48);
}

/* —— Heads —— */
.vx-live-head {
	margin-bottom: clamp(18px, 2.8vw, 26px);
	max-width: 40rem;
}

.vx-live-head--row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 24px;
	max-width: none;
}

.vx-live-head__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-live-head__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #00e5ff;
	box-shadow: 0 0 10px rgba(0, 229, 255, .5);
}

.vx-live-head__title {
	margin: 0;
	font-family: var(--vx-font-head);
	font-size: clamp(1.45rem, 2.8vw, 1.9rem);
	font-weight: 800;
	line-height: 1.15;
	color: #fff;
}

.vx-live-head__text {
	margin: 8px 0 0;
	font-size: .95rem;
	line-height: 1.55;
	color: rgba(233, 236, 255, .52);
}

.vx-live-head__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--vx-font-head);
	font-size: .82rem;
	font-weight: 700;
	color: rgba(255, 159, 208, .92);
	text-decoration: none;
	transition: color var(--vx-transition);
}

.vx-live-head__link:hover { color: #fff; }

/* —— Ranks —— */
.vx-live-ranks {
	padding: clamp(40px, 6vw, 64px) 0 clamp(28px, 4vw, 40px);
}

/* —— Photo gallery —— */
.vx-live-tables {
	padding: clamp(28px, 4vw, 48px) 0;
	background:
		radial-gradient(ellipse 55% 45% at 100% 0%, rgba(0, 229, 255, .07), transparent 55%),
		radial-gradient(ellipse 45% 40% at 0% 100%, rgba(255, 0, 128, .06), transparent 50%);
}

.vx-live-gallery {
	display: grid;
	grid-template-columns: 1.35fr 1fr 1fr;
	grid-template-rows: auto auto;
	gap: 14px;
}

.vx-live-shot {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 240px;
	border-radius: calc(var(--vx-radius-lg) + 2px);
	border: 1px solid rgba(255, 255, 255, .12);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	background: #0a0c1e;
	box-shadow: 0 22px 48px rgba(0, 0, 0, .4);
	transition:
		transform var(--vx-transition),
		border-color var(--vx-transition),
		box-shadow var(--vx-transition);
}

.vx-live-shot--featured {
	grid-row: span 2;
	min-height: 100%;
}

.vx-live-shot:hover {
	transform: translateY(-4px);
	border-color: rgba(0, 229, 255, .4);
	box-shadow:
		0 28px 56px rgba(0, 0, 0, .48),
		0 0 32px rgba(0, 229, 255, .12);
	color: inherit;
}

.vx-live-shot__media {
	position: relative;
	flex: 1 1 auto;
	min-height: 140px;
	overflow: hidden;
}

.vx-live-shot--featured .vx-live-shot__media {
	min-height: 280px;
}

.vx-live-shot__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}

.vx-live-shot:hover .vx-live-shot__media img {
	transform: scale(1.05);
}

.vx-live-shot__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 35%, rgba(5, 6, 20, .88) 100%);
	pointer-events: none;
}

.vx-live-shot__body {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 6px;
	padding: 16px 18px 18px;
	margin-top: -48px;
}

.vx-live-shot__count {
	justify-self: start;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: .6rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #9ef6ff;
	background: rgba(0, 229, 255, .14);
	border: 1px solid rgba(0, 229, 255, .28);
}

.vx-live-shot__title {
	font-family: var(--vx-font-head);
	font-size: 1.15rem;
	font-weight: 800;
	color: #fff;
}

.vx-live-shot--featured .vx-live-shot__title {
	font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}

.vx-live-shot__text {
	font-size: .84rem;
	line-height: 1.5;
	color: rgba(233, 236, 255, .58);
}

/* —— Why —— */
.vx-live-why {
	padding: clamp(36px, 5vw, 56px) 0;
}

.vx-live-why__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.vx-live-why__item {
	padding: clamp(18px, 2.4vw, 22px);
	border-radius: calc(var(--vx-radius-lg) + 2px);
	border: 1px solid rgba(255, 255, 255, .1);
	background:
		linear-gradient(165deg, rgba(255, 255, 255, .05), transparent 55%),
		rgba(10, 12, 28, .92);
}

.vx-live-why__item h3 {
	margin: 0 0 8px;
	font-family: var(--vx-font-head);
	font-size: .98rem;
	font-weight: 800;
	color: #fff;
}

.vx-live-why__item p {
	margin: 0;
	font-size: .84rem;
	line-height: 1.55;
	color: rgba(233, 236, 255, .52);
}

.vx-live-studios {
	padding: clamp(28px, 4vw, 48px) 0 0;
}

.vx-live-article {
	padding: clamp(36px, 5vw, 48px) 0 0;
}

.vx-live-content {
	max-width: 720px;
	margin: 0 auto;
}

/* —— Game lobby slider —— */
.vx-live-lobby-nav {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.vx-live-lobby-nav__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .18);
	background: rgba(255, 255, 255, .04);
	color: #fff;
	cursor: pointer;
	transition: border-color .2s ease, background .2s ease, opacity .2s ease;
}

.vx-live-lobby-nav__btn:hover:not(:disabled) {
	border-color: rgba(0, 229, 255, .55);
	background: rgba(0, 229, 255, .12);
	color: #00e5ff;
}

.vx-live-lobby-nav__btn:disabled {
	opacity: .35;
	cursor: default;
}

.vx-live-lobby-slider {
	margin-top: 4px;
}

.vx-live-lobby-slider__viewport {
	overflow: hidden;
	width: 100%;
}

.vx-live-lobby-slider__track {
	display: flex;
	transition: transform .45s cubic-bezier(.2, .7, .2, 1);
	will-change: transform;
}

.vx-live-lobby-slider__slide {
	flex: 0 0 100%;
	width: 100%;
	min-width: 100%;
	box-sizing: border-box;
}

.vx-live-lobby-slider__slide .vx-live-gallery {
	width: 100%;
}

/* —— Responsive —— */
@media (max-width: 1024px) {
	.vx-live-gallery {
		grid-template-columns: 1fr 1fr;
	}

	.vx-live-shot--featured {
		grid-column: span 2;
		grid-row: span 1;
		min-height: 280px;
	}

	.vx-live-why__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.vx-live-trust__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vx-live-trust__list li:nth-child(2) { border-right: 0; }

	.vx-live-trust__list li:nth-child(1),
	.vx-live-trust__list li:nth-child(2) {
		border-bottom: 1px solid rgba(255, 255, 255, .08);
	}
}

@media (max-width: 640px) {
	.vx-live-hero {
		min-height: min(72vh, 560px);
		align-items: flex-end;
	}

	.vx-live-hero__shade {
		background:
			linear-gradient(180deg, rgba(5, 6, 20, .25) 0%, rgba(5, 6, 20, .55) 45%, rgba(5, 6, 20, .94) 100%);
	}

	.vx-live-gallery {
		grid-template-columns: 1fr;
	}

	.vx-live-shot--featured {
		grid-column: span 1;
	}

	.vx-live-why__grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vx-live-hero__pulse { animation: none; }
	.vx-live-shot:hover { transform: none; }
	.vx-live-shot:hover .vx-live-shot__media img { transform: none; }
}
