/**
 * Base theme styles (lightweight port of fole-residence layout primitives)
 *
 * @package Marina_Casino
 */

 * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	font-family: var(--font-body);
	font-size: var(--font-size-base);
	line-height: var(--line-height-base);
	color: var(--color-text-light);
	background-color: var(--color-background);
	overflow-x: hidden;
	position: relative;
}

body.home::before {
	content: '';
	position: fixed;
	inset: 0;
	background-image: url('../media/images/pattern.webp');
	background-repeat: repeat;
	background-size: 1000px 1000px;
	background-attachment: fixed;
	opacity: 0.45;
	z-index: -1;
	pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
}

.site-main {
	margin-top: 0;
}

/**
 * Hero Section Styles (ported from fole-residence)
 *
 * @package Marina_Casino
 */

/* Hero Section */
#hero.hero-section {
	position: relative;
	width: 100%;
	height: 100vh;   /* fallback for browsers without svh support */
	height: 100svh;  /* small viewport: prevents snap on mobile by using smallest possible height */
	min-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	/* Transparent so body’s fixed pattern shows through (static, no movement on scroll) */
	background-color: transparent;
}

/* Hero Background wrapper (this is what the scroll-shrink scales) */
.hero-background {
	position: absolute;
	inset: 0;
	z-index: 1;
	transform-origin: center center;
	transition: transform 0.1s ease-out;
	overflow: hidden;
}

.hero-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 2;
}

.hero-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
}

/* If the background video fails, hide it so the fallback image shows */
.hero-background.is-video-error .hero-video {
	display: none;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	/* Overall dim + darker top gradient (better contrast under header) */
	background:
		linear-gradient(180deg, rgba(4, 5, 5, 0.78) 0%, rgba(4, 5, 5, 0) 35%),
		rgba(0, 0, 0, 0.2);
	pointer-events: none;
	z-index: 2;
}

/* Front page: disable the dark top gradient overlay */
body.front-page .hero-overlay {
	background: rgba(4, 5, 5, 0.2);
}

.hero-content {
	position: relative;
	z-index: 3;
	width: 100%;
	padding: 0 var(--spacing-md) var(--spacing-3xl);
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	height: 100%;
	gap: var(--spacing-sm);
	animation: marinaHeroSlideIn 0.6s ease-out;
}

@keyframes marinaHeroSlideIn {
	from {
		transform: translateX(-80px);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

.hero-title {
	font-family: var(--font-primary);
	font-size: var(--font-size-huge);
	font-weight: 400;
	color: var(--color-white);
	opacity: 0.9;
	max-width: 1050px;
	letter-spacing: var(--letter-spacing-tight);
	line-height: 0.95;
	text-align: center;
}

.hero-description {
	font-family: var(--font-secondary);
	font-size: var(--font-size-2xl);
	font-weight: 400;
	color: var(--color-light-white);
	opacity: 0.9;
	max-width: 900px;
	letter-spacing: var(--letter-spacing-tight);
	line-height: 1;
	margin-bottom: var(--spacing-md);
}

.hero-cta {
	margin-top: 0;
}

/**
 * Bar Section (front page) – two images in a row with seamless fade in the middle
 */
.bar-section {
	position: relative;
	width: 100%;
	height: 100vh;
	height: 100svh;
	min-height: 400px;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: flex-end;
	gap: 0;
	background-color: var(--color-background);
	overflow: hidden;
}

.bar-section__images {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: row;
	gap: 0;
	z-index: 0;
}

.bar-section__image {
	flex: 1 1 50%;
	min-width: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* Single mask in the middle of the container – blend overlay shows both images in the center */
.bar-section__blend {
	position: absolute;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
	width: 30%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-blend-mode: overlay;
	background: linear-gradient(to right, transparent 0%, black 50%, black 50%, transparent 100%);
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-position: center;
	mask-position: center;
	pointer-events: none;
	z-index: 1;
}

.bar-section__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: var(--spacing-2xl) var(--spacing-md) var(--spacing-2xl);
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
}

.bar-section__heading {
	font-family: var(--font-primary);
	font-size: var(--font-size-huge);
	font-weight: 400;
	color: var(--color-white);
	letter-spacing: var(--letter-spacing-tight);
	line-height: 1.1;
	margin: 0;
}

.hero-cta-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--spacing-md);
}

.hero-button {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: var(--color-white);
	background-color: transparent;
	transition: all var(--transition-base);
	cursor: pointer;
	font-family: var(--font-primary);
	font-size: var(--font-size-h3);
	font-weight: 400;
	padding: 0.25rem 0 0 0;
	/*border-top: 2px solid rgba(255, 255, 255, 0.75);*/
	width: 130px;
	gap: 0;
}

.hero-button-arrow {
	flex: 0 0 25px;
	width: 25px;
	height: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: translateX(-50px);
	transition: opacity var(--transition-base), transform var(--transition-base);
}

.hero-button-arrow svg,
.hero-button-arrow img {
	width: 25px;
	height: auto;
	display: block;
}

.hero-button-text {
	flex: 1;
	text-align: left;
	display: inline-block;
	margin-left: -26px;
	transform: translateX(0);
	transition: transform var(--transition-base);
}

.hero-button:hover .hero-button-arrow {
	opacity: 1;
	transform: translateX(0);
	margin-right: 10px;
}

.hero-button:hover .hero-button-text {
	transform: translateX(28px);
}

/* Scroll Transform Support (portable hero-shrink-on-scroll) */
[data-hero-scroll-transform] .hero-background {
	transform-origin: center center;
	will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
	[data-hero-scroll-transform] .hero-background {
		transform: none !important;
	}
}

/* Responsive */
@media (max-width: 768px) {
	:root {
		--font-size-h1: 2.5rem;
		--header-height: 70px;
		--hero-padding-left: 1.5rem;
		--hero-padding-right: 1.5rem;
	}

	#hero.hero-section {
		min-height: 500px;
	}

	.hero-title {
		font-size: var(--font-size-3xl);
	}

	.hero-description {
		font-size: var(--font-size-xl);
	}

	.hero-content {
		padding: 0 var(--spacing-sm) 5rem;
		justify-content: flex-end;
	}

	.hero-button {
		width: fit-content;
	}

	.bar-section__heading {
		font-size: var(--font-size-4xl);
	}

	.bar-section__inner {
		padding: var(--spacing-xl) var(--spacing-sm) var(--spacing-xl);
	}

	.bar-section {
		height: 60svh;
	}

	.bar-section__images {
		flex-direction: column;
	}

	.bar-section__image {
		min-height: 0;
	}

	.bar-section__blend {
		left: 0;
		top: 50%;
		transform: translateY(-50%);
		width: 100%;
		height: 30%;
		background: linear-gradient(to bottom, transparent 0%, black 50%, black 50%, transparent 100%);
	}

}

/**
 * Who We Are - Hero (text / swipe-image / text)
 *
 * @package Marina_Casino
 */
.who-hero {
	position: relative;
	width: 100%;
	min-height: 650px;
	min-height: 100svh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: calc(var(--header-height) + var(--spacing-xl)) var(--spacing-md) var(--spacing-3xl);
	background-color: var(--color-background);
	overflow: hidden;
}

.who-hero::before {
	content: "";
	position: absolute;
	inset: -1px;
	pointer-events: none;
	z-index: 0;
	background:
		radial-gradient(80% 80% at 50% 30%, rgba(255, 184, 62, 0.12) 0%, rgba(4, 5, 5, 0) 60%),
		linear-gradient(180deg, rgba(4, 5, 5, 0.85) 0%, rgba(4, 5, 5, 0.35) 55%, rgba(4, 5, 5, 0.9) 100%);
}

.who-hero-inner {
	position: relative;
	z-index: 1;
	width: 100%;
}

.who-hero-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.who-hero-grid {
	display: grid;
	grid-template-columns: 1fr minmax(300px, 1000px) 1fr;
	align-items: center;
}

.who-hero-text {
	font-family: var(--font-primary);
	font-weight: 400;
	color: rgba(252, 252, 252, 0.92);
	letter-spacing: var(--letter-spacing-tight);
	line-height: 1;
	font-size: clamp(4.5rem, 5.5vw, 10rem);
}

.who-hero-grid > .who-hero-text {
	text-wrap: balance;
}

@media (min-width: 901px) {
	.who-hero-text {
		white-space: nowrap;
	}
}

.who-hero-text-left {
	text-align: left;
	justify-self: start;
}

.who-hero-text-right {
	text-align: right;
	justify-self: end;
}

.who-hero-image {
	display: flex;
	align-items: center;
	justify-content: center;
}

.who-hero-image-viewport {
	width: 100%;
	aspect-ratio: 2 / 1;
	border-radius: 28px;
	overflow: hidden;
	position: relative;
	background: rgba(255, 255, 255, 0.04);
	box-shadow:
		0 18px 60px rgba(0, 0, 0, 0.45),
		inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.who-hero-frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: translate3d(0, 0, 0);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

.who-hero-frame-current {
	transform: translate3d(0, 0, 0);
}

.who-hero-frame-next {
	transform: translate3d(0, -100%, 0);
}

.who-hero-image-viewport.is-animating .who-hero-frame-current {
	transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
	transform: translate3d(0, 100%, 0);
}

.who-hero-image-viewport.is-animating .who-hero-frame-next {
	transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
	transform: translate3d(0, 0, 0);
}

@media (max-width: 900px) {
	.who-hero {
		padding: var(--spacing-xl) var(--spacing-sm);
	}
	
	.who-hero-grid {
		grid-template-columns: 1fr;
		gap: var(--spacing-md);
	}
	.who-hero-image-viewport {
		aspect-ratio: 1.2 / 1;
	}

	.who-hero-text-left,
	.who-hero-text-right {
		text-align: center;
		justify-self: center;
	}

	.who-hero-image-viewport {
		max-width: 560px;
		margin: 0 auto;
	}
}

/**
 * Who We Are - Animated Text (ported from fole-residence student-paragraphs)
 * Words fade in (opacity) as you scroll.
 *
 * @package Marina_Casino
 */
.who-animated-text-section {
	position: relative;
	width: 100%;
	min-height: 65vh;
	padding: var(--spacing-xl) var(--spacing-md);
	background-color: var(--color-background);
	display: flex;
	align-items: flex-start;
	justify-content: center;
	/* Important: do NOT set overflow on a sticky ancestor */
}

@media (min-width: 769px) {
	.who-animated-text-section {
		min-height: 200vh;
		padding-top: var(--spacing-2xl);
	}
}

.who-animated-text-container {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: var(--spacing-lg);
	width: 100%;
}

@media (min-width: 769px) {
	.who-animated-text-container {
		position: sticky;
		top: 12vh;
		min-height: 60vh;
		display: flex;
		align-items: center;
		justify-content: center;
	}
}

.who-animated-text-paragraph {
	font-family: var(--font-primary);
	font-weight: 400;
	letter-spacing: var(--letter-spacing-tight);
	font-size: clamp(1.5rem, 2.25vw, 2.6rem);
	line-height: 1.25;
	color: var(--color-white);
	margin: 0;
}

.who-animated-word {
	display: inline;
	opacity: 0.25;
	transition: opacity 0.15s ease-out;
	will-change: opacity;
}

.who-animated-word.darkening {
	opacity: 1;
}

@media (max-width: 768px) {
	.who-animated-text-section {
		min-height: auto;
		padding: var(--spacing-2xl) var(--spacing-sm);
	}

	.who-animated-text-container {
		gap: var(--spacing-md);
		position: static;
	}

	.who-animated-text-paragraph {
		font-size: var(--font-size-xl);
		line-height: var(--line-height-base);
	}

	/* Mobile should be fully readable (JS also forces opacity to 1 on non-desktop) */
	.who-animated-word {
		opacity: 1;
	}
}

/**
 * Who We Are - Gallery (ported from fole-residence about-gallery)
 *
 * @package Marina_Casino
 */
.who-gallery-section {
	width: 100%;
	padding: var(--spacing-3xl) var(--spacing-md) var(--spacing-2xl);
	background-color: var(--color-background);
}

.who-gallery-grid {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(var(--gallery-columns, 4), 1fr);
	grid-auto-rows: 1fr;
	gap: var(--spacing-md);
}

.who-gallery-item {
	width: 100%;
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: rgba(255, 255, 255, 0.03);
}

.who-gallery-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 0;
}

@media (max-width: 1024px) {
	.who-gallery-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.who-gallery-section {
		padding: var(--spacing-xl) var(--spacing-sm);
	}

	.who-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.who-gallery-grid {
		grid-template-columns: 1fr;
	}
}

/**
 * "Why" Section (adapted from fole-residence why-fole-section)
 *
 * @package Marina_Casino
 */

.why-marina-section {
	width: 100%;
	background-color: var(--color-background);
}

.why-marina-container {
	width: 100%;
	padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md);
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.why-marina-content {
	width: 50%;
	max-width: 800px;
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
}

.why-marina-title {
	font-family: var(--font-primary);
	font-size: var(--font-size-3xl);
	font-weight: 400;
	color: var(--color-white);
	letter-spacing: var(--letter-spacing-tight);
	line-height: 1.05;
	margin: 0;
}

.why-marina-description {
	font-family: var(--font-secondary);
	font-size: var(--font-size-xl);
	font-weight: 400;
	color: var(--color-light-white);
	opacity: 0.92;
	line-height: var(--line-height-base);
	margin: 0;
	max-width: 600px;
}

.why-marina-separator {
	width: 100%;
	height: 1px;
	background-color: rgba(232, 226, 215, 0.65);
	margin: var(--spacing-sm) 0 0 0;
}

.why-marina-actions {
	display: flex;
	gap: var(--spacing-xl);
	align-items: center;
	flex-wrap: wrap;
	margin-top: var(--spacing-xs);
}

.why-marina-link {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: var(--color-white);
	transition: opacity var(--transition-base);
	cursor: pointer;
	font-family: var(--font-primary);
	font-size: var(--font-size-2xl);
	font-weight: 400;
	border-top: 1px solid rgba(232, 226, 215, 0.65);
	width: 220px;
	gap: 0;
	padding-top: var(--spacing-xs);
}

.why-marina-link:hover {
	opacity: 0.9;
}

.why-marina-link-arrow {
	flex: 0 0 25px;
	width: 25px;
	height: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: translateX(-50px);
	transition: opacity var(--transition-base), transform var(--transition-base);
}

.why-marina-link-arrow svg,
.why-marina-link-arrow img {
	width: 25px;
	height: auto;
	display: block;
}

.why-marina-link-text {
	flex: 1;
	text-align: left;
	display: inline-block;
	margin-left: -26px;
	transform: translateX(0);
	transition: transform var(--transition-base);
}

.why-marina-link:hover .why-marina-link-arrow {
	opacity: 1;
	transform: translateX(0);
	margin-right: 10px;
}

.why-marina-link:hover .why-marina-link-text {
	transform: translateX(28px);
}


@media (max-width: 768px) {
	.why-marina-container {
		padding: var(--spacing-xl) var(--spacing-sm) var(--spacing-md);
		justify-content: flex-start;
	}

	.why-marina-content {
		width: 100%;
		max-width: 100%;
		gap: var(--spacing-xs);
	}

	.why-marina-title {
		font-size: 2rem;
	}

	.why-marina-description {
		font-size: var(--font-size-large);
	}

	.why-marina-actions {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		margin-top: var(--spacing-md);
	}

	.why-marina-link {
		width: 100%;
		max-width: 200px;
		border-top: none;
	}
}

/* Facilities Section (ported from fole-residence) */
.facilities-section {
	width: 100%;
	background-color: var(--color-background);
}

/* Facilities Header Container */
.facilities-header-container {
	width: 100%;
	padding: var(--spacing-2xl) var(--spacing-md) var(--spacing-xl);
}

.facilities-header-content {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: var(--spacing-md);
}

@media (min-width: 769px) {
	.facilities-header-content {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--spacing-xl);
		align-items: flex-start;
	}
}

.facilities-header-left {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-sm);
}

.facilities-separator {
	width: 100%;
	height: 1px;
	background-color: rgba(0, 0, 0, 0.18);
}

.facilities-subtitle {
	font-family: var(--font-primary);
	font-size: var(--font-size-base);
	font-weight: 400;
	color: var(--color-light-white);
	margin: 0;
	line-height: var(--line-height-base);
}

.facilities-title {
	font-family: var(--font-primary);
	font-size: var(--font-size-h1);
	font-weight: 400;
	color: var(--color-white);
	margin: 0;
	line-height: var(--line-height-tight);
}

.facilities-header-right {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-sm);
}

.facilities-description {
	font-family: var(--font-secondary);
	font-size: var(--font-size-large);
	font-weight: 400;
	color: var(--color-light-white);
	line-height: var(--line-height-base);
	margin: 0;
}

.facilities-brochure-link {
	display: flex;
	align-items: center;
	gap: 0;
	font-family: var(--font-primary);
	font-size: var(--font-size-2xl);
	font-weight: 400;
	color: var(--color-white);
	text-decoration: none;
	transition: opacity var(--transition-base);
	cursor: pointer;
	padding: 0.25rem 0 0 0;
	border-top: 2px solid rgba(0, 0, 0, 0.75);
	width: 220px;
}

.facilities-brochure-link .hero-button-arrow {
	/* `arrow-right.svg` is light; invert for dark-on-light sections */
	filter: none;
}

.facilities-brochure-link:hover {
	opacity: 0.8;
}

.facilities-brochure-link:hover .hero-button-arrow {
	opacity: 1;
	transform: translateX(0);
	margin-right: 10px;
}

.facilities-brochure-link:hover .hero-button-text {
	transform: translateX(28px);
}

/* Facilities Gallery Container */
.facilities-gallery-container {
	width: 100%;
	position: relative;
	overflow: hidden;
	padding: var(--spacing-sm) 0 var(--spacing-2xl);
}

.facilities-gallery-wrapper {
	width: 100%;
	position: relative;
	overflow: visible;
}

.facilities-gallery-track {
	display: flex;
	gap: var(--spacing-sm);
	will-change: transform;
	transition: transform 0.3s ease-out;
	padding: 0 var(--spacing-md);
}

.facilities-nav-button {
	position: absolute;
	top: var(--spacing-md);
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-white);
	border: none;
	cursor: pointer;
	z-index: 10;
	border-radius: 50%;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
	transition: transform var(--transition-base), opacity var(--transition-base), box-shadow var(--transition-base);
	padding: 0;
}

.facilities-nav-button:hover:not(:disabled) {
	transform: scale(1.03);
}

.facilities-nav-button:disabled {
	cursor: not-allowed;
	opacity: 0.3;
}

.facilities-nav-button-prev {
	right: calc(var(--spacing-xl) + 55px);
}

.facilities-nav-button-next {
	right: var(--spacing-xl);
}

.facilities-nav-button svg {
	width: 24px;
	height: 24px;
	display: block;
	flex-shrink: 0;
}

.facilities-card {
	flex: 0 0 auto;
	width: 600px;
	display: flex;
	flex-direction: column;
	gap: var(--spacing-xs);
}

.facilities-card-image-wrapper {
	width: 100%;
	height: 600px;
	overflow: hidden;
	position: relative;
	margin-bottom: var(--spacing-md);
}

.facilities-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.facilities-card-title {
	font-family: var(--font-primary);
	font-size: var(--font-size-2xl);
	font-weight: 400;
	color: var(--color-white);
	margin: 0;
	line-height: var(--line-height-tight);
}

.facilities-card-text {
	font-family: var(--font-secondary);
	font-size: var(--font-size-large);
	font-weight: 400;
	color: var(--color-light-white);
	line-height: var(--line-height-base);
	margin: 0;
	max-width: 60ch;
}

/* Responsive for Facilities Section */
@media (max-width: 768px) {
	.facilities-header-container {
		padding: var(--spacing-lg) var(--spacing-sm);
	}

	.facilities-header-content {
		display: flex;
		flex-direction: column;
		gap: var(--spacing-md);
	}

	.facilities-card {
		width: 300px;
	}

	.facilities-gallery-track {
		padding: 0 var(--spacing-sm);
	}

	.facilities-card-image-wrapper {
		height: 350px;
	}

	.facilities-nav-button {
		width: 40px;
		height: 40px;
		top: var(--spacing-sm);
	}

	.facilities-nav-button-prev {
		right: calc(var(--spacing-sm) + 48px);
	}

	.facilities-nav-button-next {
		right: var(--spacing-sm);
	}

	.facilities-nav-button svg {
		width: 20px;
		height: 20px;
	}
}

/**
 * Featured Mosaic Section (Front Page)
 * Matches 2-tile layout reference: small-left tile + large-right tile.
 *
 * @package Marina_Casino
 */
.featured-mosaic-section {
	width: 100%;
	background-color: var(--color-black);
	color: var(--color-white);
	padding: var(--spacing-4xl) var(--spacing-md);
}

.featured-mosaic-container {
	width: 100%;
}

.featured-mosaic-grid {
	display: grid;
	grid-template-columns: 0.5fr 1fr;
	gap: var(--spacing-md);
	align-items: start;
}

.featured-mosaic-grid.is-single {
	grid-template-columns: 1fr;
}

.featured-mosaic-item {
	min-width: 0;
}

.featured-mosaic-media {
	display: block;
	width: 100%;
	overflow: hidden;
}

.featured-mosaic-item--small .featured-mosaic-media {
	height: clamp(350px, 20vw, 460px);
}

.featured-mosaic-item--large .featured-mosaic-media {
	height: clamp(550px, 38vw, 720px);
}

.featured-mosaic-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

a.featured-mosaic-media:hover,
a.featured-mosaic-media:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.featured-mosaic-title {
	margin-top: var(--spacing-md);
	font-family: var(--font-primary);
	font-size: var(--font-size-2xl);
	font-weight: 500;
	letter-spacing: var(--letter-spacing-tight);
	line-height: 1.2;
	color: var(--color-white);
}

.featured-mosaic-description {
	margin-top: var(--spacing-sm);
	font-family: var(--font-secondary);
	font-size: var(--font-size-large);
	line-height: 1.6;
	color: var(--color-light-white);
	max-width: 62ch;
}

.featured-mosaic-actions {
	margin-top: var(--spacing-md);
	display: flex;
	align-items: center;
	gap: var(--spacing-sm);
	flex-wrap: wrap;
}

.featured-mosaic-button {
	/* Inherits the full CTA style from `.why-marina-link` (arrow + hover motion) */
	width: 200px;
	border-top: none;
	padding-top: var(--spacing-xs);
	font-size: var(--font-size-xl);
}

.featured-mosaic-actions .why-marina-link {
	/* Keep consistent spacing in this section */
	margin-top: 0;
}

@media (max-width: 768px) {
	.featured-mosaic-button {
		width: 100%;
		max-width: 240px;
		border-top: none;
	}
}

.featured-mosaic-title-link {
	color: inherit;
	text-decoration: none;
	transition: opacity var(--transition-base);
}

.featured-mosaic-title-link:hover,
.featured-mosaic-title-link:focus-visible {
	opacity: 0.8;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

@media (max-width: 768px) {
	.featured-mosaic-section {
		padding: var(--spacing-xl) var(--spacing-sm);
	}

	.featured-mosaic-grid {
		grid-template-columns: 1fr;
		gap: var(--spacing-xl);
	}

	.featured-mosaic-item--small .featured-mosaic-media,
	.featured-mosaic-item--large .featured-mosaic-media {
		height: clamp(300px, 55vw, 520px);
	}

	.featured-mosaic-title {
		font-size: var(--font-size-2xl);
	}
}

/* Scroll Text Section (Front Page) */
.scroll-text-section {
	width: 100%;
	background-color: var(--color-background);
	color: var(--color-white);
	padding: var(--spacing-md) var(--spacing-md);
}

.scroll-text-stage {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	min-height: 60vh;
}

.scroll-text-grid {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--spacing-xl);
	align-items: center;
}

.scroll-text-left-inner {
	position: relative;
	height: 65vh;
}

.scroll-text-heading {
	position: absolute;
	left: 0;
	top: 0;
	margin: 0;
	font-family: var(--font-primary);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: var(--letter-spacing-tight);
	font-size: 9rem;
	color: var(--color-white);
	will-change: transform;
	transform: translateY(0);
	transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.scroll-text-prefix {
	color: var(--color-white);
	margin-right: 0.25ch;
}

.scroll-text-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.scroll-text-item {
	flex: 1;
	display: flex;
	align-items: center;
	font-family: var(--font-primary);
	font-weight: 400;
	letter-spacing: var(--letter-spacing-tight);
	font-size: 9rem;
	color: rgba(252, 252, 252, 0.35);
	transition: color var(--transition-base);
}

.scroll-text-item.is-active {
	color: var(--color-white);
}

@media (min-width: 769px) {
	.scroll-text-grid {
		grid-template-columns: 1.8fr 1.4fr;
		gap: 0;
	}
}

@media (max-width: 768px) {
	.scroll-text-section {
		padding: var(--spacing-lg) var(--spacing-sm);
		margin: var(--spacing-xl) 0;
	}

	.scroll-text-stage {
		min-height: auto;
		align-items: flex-start;
	}

	.scroll-text-left-inner {
		height: auto;
	}

	.scroll-text-heading {
		position: static;
		transform: none !important;
		transition: none;
		font-size: 3.5rem;
		margin-bottom: var(--spacing-sm);
	}

	.scroll-text-item {
		flex: 0 0 auto;
		font-size: 3rem;
	}

	.scroll-text-grid {
		gap: 0;
	}
}

/* Scrollsequence Section (Front Page) */
.scrollsequence-section {
	width: 100%;
	background-color: var(--color-background);
	position: relative;
	--ss-frame-count: 1;
	--ss-px-per-frame: var(--scrollsequence-px-per-frame, 18px);
	--ss-extra-scroll: calc(var(--ss-frame-count) * var(--ss-px-per-frame));
	min-height: calc(100vh + var(--ss-extra-scroll));
	margin: var(--spacing-2xl) 0;
}

.scrollsequence-sticky {
	position: sticky;
	top: 0;
	height: 100vh;
	overflow: hidden;
}

.scrollsequence-stage {
	position: relative;
	width: 100%;
	height: 100%;
}

.scrollsequence-fallback,
.scrollsequence-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
}

.scrollsequence-fallback {
	object-fit: cover;
	opacity: 1;
	transition: opacity 300ms ease;
}

.scrollsequence-canvas {
	opacity: 0;
	transition: opacity 300ms ease;
	pointer-events: none;
	/* GPU acceleration for smoother rendering on mobile */
	will-change: transform;
	transform: translateZ(0);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

.scrollsequence-section.is-enabled .scrollsequence-canvas {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.scrollsequence-section {
		min-height: auto;
	}

	.scrollsequence-sticky {
		position: relative;
		height: auto;
	}

	.scrollsequence-stage {
		height: auto;
	}

	.scrollsequence-fallback {
		position: relative;
		height: auto;
	}

	.scrollsequence-canvas {
		display: none !important;
	}
}

/* Mobile optimizations to reduce flickering */
@media (max-width: 768px) {
	.scrollsequence-section {
		/* Reduce extra scroll on mobile for smoother performance */
		--ss-px-per-frame: 24px;
	}

	.scrollsequence-sticky {
		/* GPU acceleration */
		will-change: transform;
		transform: translateZ(0);
		-webkit-transform: translateZ(0);
	}
}

/**
 * Footer (matches provided layout reference)
 *
 * @package Marina_Casino
 */

.site-footer {
	background-color: var(--color-background);
	color: var(--color-white);
	padding: var(--spacing-xl) var(--spacing-md) var(--spacing-lg);
	border-top: 1px solid #ffffff13;
}


@media (max-width: 768px) {
	.site-footer {
		padding: var(--spacing-lg) var(--spacing-sm) var(--spacing-md);
		min-height: auto;
	}
}

.site-footer-inner {
	width: 100%;
}

.site-footer-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--spacing-xl);
}

.site-footer-left {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
	min-width: 320px;
}

.site-footer-brand {
	display: flex;
	align-items: flex-start;
}

.site-footer-logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.site-footer-logo-image {
	width: auto;
	height: auto;
	max-height: 80px;
	display: block;
	filter: brightness(0) invert(1);
}

.site-footer-title {
	color: var(--color-white);
	text-decoration: none;
	font-family: var(--font-primary);
	font-size: 32px;
	letter-spacing: var(--letter-spacing-tight);
}

.site-footer-contact {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-xs);
	font-family: var(--font-secondary);
	font-size: var(--font-size-base);
	line-height: 1.55;
	opacity: 0.95;
}

.site-footer-address {
	margin: 0 0 var(--spacing-sm) 0;
	white-space: normal;
}

.site-footer-maps-btn {
	display: inline-flex;
	align-items: center;
	gap: var(--spacing-xs);
	margin-top: var(--spacing-xs);
	padding: var(--spacing-xs);
	background-color: #3a3a3a;
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: var(--color-white);
	font-family: var(--font-secondary);
	font-size: var(--font-size-small, 0.875rem);
	letter-spacing: var(--letter-spacing-tight);
	text-transform: uppercase;
	text-decoration: none;
	transition: opacity var(--transition-base, 0.2s ease), background-color var(--transition-base, 0.2s ease);
}

.site-footer-maps-btn svg {
	width: 16px;
	height: 16px;
}

.site-footer-maps-btn:hover {
	opacity: 0.95;
	background-color: #454545;
}

.site-footer-maps-btn-icon {
	flex-shrink: 0;
}

.site-footer-line {
	margin: 0;
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
}

.site-footer-label {
	opacity: 0.8;
}

.site-footer-link {
	color: var(--color-white);
	text-decoration: none;
	transition: opacity var(--transition-base), transform var(--transition-base);
}

.site-footer-link:hover {
	opacity: 0.85;
}

.site-footer-right {
	flex: 1;
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
}

.site-footer-nav {
	display: flex;
	justify-content: flex-end;
}

.site-footer-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: var(--spacing-sm);
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
}

.site-footer-nav-list a {
	color: var(--color-white);
	text-decoration: none;
	font-family: var(--font-secondary);
	font-size: var(--font-size-large);
	font-weight: 500;
	letter-spacing: 0.01em;
	transition: opacity var(--transition-base), transform var(--transition-base);
}

.site-footer-nav-list a:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

.site-footer-divider {
	margin-top: calc(var(--spacing-3xl) - var(--spacing-sm));
	height: 1px;
	width: 100%;
	background-color: rgba(252, 252, 252, 0.18);
}

.site-footer-bottom {
	margin-top: var(--spacing-md);
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: var(--spacing-md);
}

.site-footer-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--spacing-xs);
}

.site-footer-copyright {
	font-family: var(--font-secondary);
	font-size: var(--font-size-small);
	letter-spacing: var(--letter-spacing-tight);
	color: var(--color-white);
	text-transform: uppercase;
	font-weight: 400;
}

.site-footer-disclaimer {
	display: flex;
	align-items: center;
	gap: var(--spacing-sm);
	flex-wrap: wrap;
	justify-content: flex-start;
}

.site-footer-disclaimer-details {
	position: relative;
	display: inline-block;
}

.site-footer-disclaimer-details[open] {
	z-index: 20;
}

.site-footer-disclaimer-summary {
	list-style: none;
	cursor: pointer;
	user-select: none;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-secondary);
	font-size: var(--font-size-small);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.9;
}

.site-footer-disclaimer-summary::-webkit-details-marker {
	display: none;
}

.site-footer-disclaimer-icon {
	display: inline-block;
	font-size: var(--font-size-large);
	text-align: center;
	transition: transform var(--transition-base), opacity var(--transition-base);
}

.site-footer-disclaimer-details[open] .site-footer-disclaimer-icon {
	transform: rotate(45deg);
}

.site-footer-disclaimer-content {
	position: absolute;
	left: 0;
	bottom: calc(100% + var(--spacing-sm));
	width: min(52ch, calc(100vw - (var(--spacing-sm) * 2)));
	max-width: min(52ch, calc(100vw - (var(--spacing-sm) * 2)));
	padding: var(--spacing-xs);
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: var(--color-background);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(10px);
	font-family: var(--font-secondary);
	font-size: var(--font-size-small);
	line-height: 1.6;
	color: var(--color-white);
	text-transform: uppercase;
	letter-spacing: var(--letter-spacing-tight);
}

.site-footer-disclaimer-content::after {
	content: '';
	position: absolute;
	top: 100%;
	right: 16px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 10px 0 10px;
	border-color: rgba(10, 10, 10, 0.92) transparent transparent transparent;
	filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.25));
}

.site-footer-disclaimer-content p {
	margin: 0;
}

.footer-credit {
	display: flex;
	align-items: center;
	background-color: var(--color-white);
	gap: var(--spacing-xs);
	font-size: var(--font-size-small);
	color: var(--color-light-black);
	font-family: var(--font-secondary);
	letter-spacing: var(--letter-spacing-tight);
	text-transform: uppercase;
	padding: var(--spacing-xs);
	text-decoration: none;
	transition: opacity var(--transition-fast);
}

.footer-credit:hover {
	opacity: 0.8;
}

.footer-credit span {
	line-height: 1;
}

.footer-credit .pulse {
	width: 0.4em;
	height: 0.4em;
	border-radius: 50%;
	background-color: var(--color-light-black);
	animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0.4;
	}
}

.footer-credit img {
	height: 1em;
	width: auto;
	display: block;
	filter: brightness(0) invert(0);
}

@media (max-width: 768px) {
	.site-footer-top {
		flex-direction: column;
		gap: var(--spacing-md);
	}

	.site-footer-right,
	.site-footer-nav,
	.site-footer-nav-list {
		justify-content: flex-start;
	}

	.site-footer-nav-list {
		gap: var(--spacing-sm);
	}

	.site-footer-divider {
		margin-top: var(--spacing-xl);
	}

	.site-footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--spacing-sm);
	}

	.site-footer-disclaimer {
		justify-content: flex-start;
	}

	.site-footer-disclaimer-content {
		left: 0;
		right: auto;
	}

	.site-footer-disclaimer-content::after {
		left: 16px;
		right: auto;
	}
}

/**
 * Contact Page Section (CF7)
 *
 * @package Marina_Casino
 */

.contact-page-section {
	width: 100%;
	background-color: var(--color-background);
	color: var(--color-white);
	padding: var(--spacing-4xl) var(--spacing-md);
}

.careers-page-section {
	width: 100%;
	position: relative;
	overflow: hidden;
	background-color: var(--color-background);
	color: var(--color-white);
	padding: var(--spacing-4xl) var(--spacing-md);
}

/**
 * Games Page - Hero (image-only)
 *
 * Full-bleed 100vh hero with inverted image colors.
 *
 * @package Marina_Casino
 */
.games-hero {
	width: 100%;
	height: 100vh;
	height: 100svh;
	min-height: 600px;
	position: relative;
	overflow: hidden;
	background-color: var(--color-background);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--spacing-xl) var(--spacing-md) var(--spacing-xs);
}

.games-hero__image {
	display: block;
	width: auto;
	height: auto;
	max-width: min(1100px, 95vw);
	max-height: min(1100px, 85vw);
}

@media (max-width: 768px) {
	.games-hero {
		height: auto;
		min-height: 0;
		padding: var(--spacing-3xl) var(--spacing-sm) var(--spacing-xs);
	}
}

/**
 * Games Page - Poker Lottie (below hero)
 *
 * Centered and responsive.
 *
 * @package Marina_Casino
 */
.games-poker-lottie {
	width: 100%;
	background-color: var(--color-background);
	padding: 0;
	display: flex;
	justify-content: center;
	margin-top: -250px;
}

.games-poker-lottie__container {
	width: min(520px, 35vw);
	aspect-ratio: 1 / 1;
	display: block;
}

.games-poker-lottie__container svg {
	display: block;
	width: 100%;
	height: 100%;
}

@media (max-width: 768px) {
	.games-poker-lottie {
		padding: var(--spacing-md) var(--spacing-sm) 0;
		margin-top: -60px;
	}
}

/**
 * Games Page - Auto Sliding Gallery
 *
 * @package Marina_Casino
 */
.games-gallery {
	width: 100%;
	background-color: var(--color-background);
	padding: 0 0 var(--spacing-2xl);
}

.games-gallery__inner {
	width: 100%;
	padding: 0 0;
}

.games-gallery__viewport {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.games-gallery__track {
	display: flex;
	transform: translate3d(0, 0, 0);
	will-change: transform;
	transition: none;
	/* No gaps between images (matches reference strip) */
	gap: var(--spacing-sm);
}

.games-gallery__slide {
	flex: 0 0 auto;
	width: clamp(400px, 30vw, 600px);
	aspect-ratio: 1/1;
}

.games-gallery__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
	border-radius: 0 !important;
	box-shadow: none !important;
}

@media (max-width: 768px) {
	.games-gallery {
		padding: 0;
	}

	.games-gallery__slide {
		width: min(100vw, 900px);
		aspect-ratio: 1/1;
	}
}

/**
 * Games Page - Gaming Section (Slots & Jackpots)
 *
 * Two-column layout: text content on left (dark background), image on right.
 *
 * @package Marina_Casino
 */
.gaming-section {
	width: 100%;
	background-color: var(--color-background);
}

.gaming-section__title {
	font-family: var(--font-primary);
	font-weight: 400;
	font-size: clamp(3rem, 5vw, 5.5rem);
	line-height: 1.2;
	letter-spacing: var(--letter-spacing-tight);
	color: var(--color-white);
	margin: 0 0 var(--spacing-2xl);
	max-width: var(--container-width, 1400px);
	margin-left: auto;
	margin-right: auto;
	padding: 0 var(--spacing-md);
}

.gaming-section__container {
	display: grid;
	grid-template-columns: 0.5fr 1fr;
	width: 100%;
	min-height: 450px;
}

.gaming-section__content {
	padding: var(--spacing-2xl) var(--spacing-md) 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: var(--spacing-sm);
}

.gaming-section__heading {
	font-family: var(--font-primary);
	font-weight: 400;
	font-size: clamp(3rem, 5vw, 5.5rem);
	line-height: 1.1;
	letter-spacing: var(--letter-spacing-tight);
	margin: 0;
	white-space: pre-line;
}

.gaming-section__paragraph {
	font-family: var(--font-secondary);
	font-size: var(--font-size-large);
	line-height: 1.6;
	color: var(--color-light-white) !important;
	margin: 0;
	max-width: 60ch;
}

.gaming-section__image {
	width: 100%;
	height: 600px;
	max-height: 800px;
	overflow: hidden;
	position: relative;
	align-self: center;
}

.gaming-section__image::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.85) 15%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0) 50%);
	pointer-events: none;
}

.gaming-section__image-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 1024px) {
	.gaming-section__container {
		grid-template-columns: 0.5fr 0.5fr;
	}
}

@media (max-width: 768px) {
	.gaming-section__title {
		font-size: clamp(2.5rem, 8vw, 4rem);
		padding: var(--spacing-3xl) var(--spacing-sm) 0;
		margin-bottom: 0;
	}

	.gaming-section__container {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.gaming-section__content {
		padding: 0 var(--spacing-sm) 0 var(--spacing-sm);
		order: 1;
	}

	.gaming-section__image {
		order: 2;
		min-height: 200px;
        max-height: 300px;
	}

	.gaming-section__image::before {
		background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.85) 15%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0) 50%);
	}

	.gaming-section__heading {
		font-size: clamp(2.5rem, 8vw, 4rem);
	}

	.gaming-section__paragraph {
		font-size: var(--font-size-base);
	}
}

/**
 * Games Page - Poker Section
 *
 * Two-column layout: image on left, text content on right (dark background).
 * Image fades on the right side to blend into the content area.
 *
 * @package Marina_Casino
 */
.poker-section {
	width: 100%;
	background-color: var(--color-background);
}

.poker-section__container {
	display: grid;
	grid-template-columns: 1fr 0.5fr;
	width: 100%;
	min-height: 450px;
}

.poker-section__image {
	width: 100%;
	/* height: 600px; */
	max-height: 800px;
	overflow: hidden;
	position: relative;
	align-self: center;
}

.poker-section__image::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.85) 15%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0) 50%);
	pointer-events: none;
}

.poker-section__image-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.poker-section__content {
	padding: var(--spacing-2xl) var(--spacing-md) 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: var(--spacing-sm);
}

.poker-section__heading {
	font-family: var(--font-primary);
	font-weight: 400;
	font-size: clamp(2.5rem, 4.5vw, 5rem);
	line-height: 1.1;
	letter-spacing: var(--letter-spacing-tight);
	margin: 0;
	white-space: pre-line;
}

.poker-section__paragraph {
	font-family: var(--font-secondary);
	font-size: var(--font-size-large);
	color: var(--color-light-white) !important;
	line-height: 1.6;
	margin: 0;
	max-width: 60ch;
}

@media (max-width: 1024px) {
	.poker-section__container {
		grid-template-columns: 0.5fr 0.5fr;
	}
}

@media (max-width: 768px) {
	.poker-section__container {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.poker-section__image {
		order: 2;
		min-height: 200px;
        max-height: 300px;
	}

	.poker-section__image::before {
		background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.85) 15%, rgba(0, 0, 0, 0.5) 30%, rgba(0, 0, 0, 0) 50%);
	}

	.poker-section__content {
		padding: 0 var(--spacing-sm) 0 var(--spacing-sm);
		order: 1;
	}

	.poker-section__heading {
		font-size: clamp(2.5rem, 8vw, 4rem);
	}

	.poker-section__paragraph {
		font-size: var(--font-size-base);
	}
}

/**
 * Front Page - Livestream Section (YouTube iframe above Promotions)
 *
 * @package Marina_Casino
 */
.livestream-section {
	width: 100%;
	padding: var(--spacing-2xl) var(--spacing-md);
}

.livestream-section__inner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.livestream-section__heading {
	font-family: var(--font-heading);
	font-size: var(--font-size-2xl);
	font-weight: 400;
	color: var(--color-white);
	letter-spacing: var(--letter-spacing-tight);
	line-height: 1.2;
	margin: 0 0 var(--spacing-lg);
	text-align: center;
}

/* 16:9 responsive embed wrapper */
.livestream-section__embed-wrap {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	background: #000;
	border-radius: 4px;
	cursor: default;
}

.livestream-section__iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
	pointer-events: none;
}

.livestream-section__placeholder {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.5);
	color: var(--color-light-white);
	text-align: center;
	padding: var(--spacing-md);
	font-family: var(--font-body);
	font-size: var(--font-size-base);
}

.livestream-section__placeholder p {
	margin: 0;
	max-width: 360px;
}

@media (max-width: 768px) {
	.livestream-section {
		padding: var(--spacing-xl) var(--spacing-sm);
	}

	.livestream-section__heading {
		font-size: var(--font-size-xl);
		margin-bottom: var(--spacing-md);
	}
}

/**
 * Games Page - Table Games Section
 *
 * Three-column layout displaying three table games (Blackjack, Texas Hold 'em Poker, Baccarat).
 * Each card features an image, title, and description on a dark background.
 * On mobile, cards are displayed in a slider similar to facilities.
 *
 * @package Marina_Casino
 */
.table-games-section {
	width: 100%;
	padding: var(--spacing-xl) var(--spacing-md) var(--spacing-2xl);
}

.table-games-section__container {
	width: 100%;
}

.table-games-section__heading {
	font-family: var(--font-primary);
	font-weight: 400;
	font-size: clamp(2.5rem, 5vw, 4rem);
	line-height: 1.2;
	letter-spacing: var(--letter-spacing-tight);
	margin: 0 0 var(--spacing-lg);
	text-align: center;
}

/* Gallery Container (for mobile slider) */
.table-games-gallery-container {
	width: 100%;
	position: relative;
	overflow: hidden;
	padding-bottom: 1px; /* Prevent clipping of card bottom border */
}

.table-games-gallery-wrapper {
	width: 100%;
	position: relative;
	overflow: visible;
}

.table-games-gallery-track {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--spacing-sm);
	will-change: transform;
	transition: transform 0.3s ease-out;
}

.table-games-nav-button {
	position: absolute;
	top: var(--spacing-md);
	width: 48px;
	height: 48px;
	display: none; /* Hidden on desktop */
	align-items: center;
	justify-content: center;
	background-color: var(--color-white);
	border: none;
	cursor: pointer;
	z-index: 10;
	border-radius: 50%;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
	transition: transform var(--transition-base), opacity var(--transition-base), box-shadow var(--transition-base);
	padding: 0;
}

.table-games-nav-button:hover:not(:disabled) {
	transform: scale(1.03);
}

.table-games-nav-button:disabled {
	cursor: not-allowed;
	opacity: 0.3;
}

.table-games-nav-button-prev {
	right: calc(var(--spacing-xl) + 55px);
}

.table-games-nav-button-next {
	right: var(--spacing-xl);
}

.table-games-nav-button svg {
	width: 24px;
	height: 24px;
	display: block;
	flex-shrink: 0;
}

.table-games-section__card {
	display: flex;
	flex-direction: column;
	background-color: transparent;
	border: 1px solid #ffffff4b;
}

.table-games-section__image {
	width: 100%;
	aspect-ratio: 1/2;
	overflow: hidden;
}

/* Promotions: heading inside image; card height = image height (auto, not aspect-ratio) */
#front-page-promotions .table-games-section__image,
#promotions-hero .table-games-section__image {
	aspect-ratio: auto;
	height: auto;
}

#front-page-promotions .table-games-section__image--overlay-caption,
#promotions-hero .table-games-section__image--overlay-caption {
	position: relative;
	display: block;
}

/* Dark gradient disabled for promotion cards
#front-page-promotions .table-games-section__image--overlay-caption::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.6) 40%, transparent 100%);
	pointer-events: none;
}
*/

#front-page-promotions .table-games-section__image--overlay-caption .table-games-section__image-img,
#promotions-hero .table-games-section__image--overlay-caption .table-games-section__image-img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

#front-page-promotions .table-games-section__image--overlay-caption .table-games-section__title--overlay,
#promotions-hero .table-games-section__image--overlay-caption .table-games-section__title--overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1;
	padding: var(--spacing-md) var(--spacing-sm) var(--spacing-sm);
	margin: 0;
	transition: transform 0.25s ease;
}

/* Overlay: description hidden by default, shows below title on card hover; title moves up */
#front-page-promotions .table-games-section__image--overlay-caption .table-games-section__description--overlay,
#promotions-hero .table-games-section__image--overlay-caption .table-games-section__description--overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	margin: 0;
	padding: 0 var(--spacing-sm) var(--spacing-sm);
	transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.25s ease;
}

#front-page-promotions .table-games-section__card:hover .table-games-section__image--overlay-caption .table-games-section__description--overlay,
#promotions-hero .table-games-section__card:hover .table-games-section__image--overlay-caption .table-games-section__description--overlay {
	max-height: 8em;
	opacity: 1;
	padding: 0 var(--spacing-sm) var(--spacing-md);
}

#front-page-promotions .table-games-section__card:hover .table-games-section__image--overlay-caption .table-games-section__title--overlay,
#promotions-hero .table-games-section__card:hover .table-games-section__image--overlay-caption .table-games-section__title--overlay {
	bottom: 8em;
}

.table-games-section__image-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}



/* Content cards (no overlay): description hidden by default; on hover it shows below title, title moves up */
.table-games-section__content .table-games-section__title {
	transition: margin 0.25s ease;
}

.table-games-section__content:has(.table-games-section__description) .table-games-section__title {
	margin-top: auto;
}

.table-games-section__content .table-games-section__description {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	margin: 0;
	transition: max-height 0.3s ease, opacity 0.25s ease;
}

.table-games-section__card:hover .table-games-section__content .table-games-section__title {
	margin-top: 0;
}

.table-games-section__card:hover .table-games-section__content .table-games-section__description {
	max-height: 12em;
	opacity: 1;
}

.table-games-section__title {
	font-family: var(--font-primary);
	font-weight: 400;
	font-size: clamp(1.2rem, 2.3vw, 2rem);
	line-height: 1.2;
	letter-spacing: var(--letter-spacing-tight);
	margin: 0;
	text-transform: uppercase;
}

.table-games-section__description {
	font-family: var(--font-secondary);
	font-size: var(--font-size-base);
	line-height: 1.6;
	color: var(--color-light-white);
	margin: 0;
}

#table-games .table-games-gallery-track {
	grid-template-columns: repeat(4, 1fr);
	gap: var(--spacing-md);
}

/*
#table-games .table-games-section__card:last-child {
	grid-column: 2;
}
*/

#table-games .table-games-section__image {
	aspect-ratio: 1 / 1;
}

#table-games .table-games-section__card {
	border: none;
}

#table-games .table-games-section__content {
	padding: var(--spacing-md) 0;
}

#table-games .table-games-section__content:has(.table-games-section__description) .table-games-section__title {
	margin-top: 0;
	margin-bottom: var(--spacing-sm);
}

#table-games .table-games-section__content .table-games-section__description {
	max-height: none;
	opacity: 1;
	overflow: visible;
}

#table-games .table-games-section__card:hover .table-games-section__content .table-games-section__title {
	margin-top: 0;
}

#table-games .table-games-section__card:hover .table-games-section__content .table-games-section__description {
	max-height: none;
	opacity: 1;
}

@media (max-width: 1024px) {
	.table-games-section {
		padding: var(--spacing-3xl) var(--spacing-lg);
	}

	.table-games-gallery-track {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--spacing-lg);
	}
}

@media (max-width: 768px) {
	.table-games-section {
		padding: var(--spacing-2xl) var(--spacing-sm);
	}

	.table-games-section__image {
		aspect-ratio: 1/1.5;
	}

	#front-page-promotions .table-games-section__image,
	#promotions-hero .table-games-section__image {
		aspect-ratio: auto;
	}

	.table-games-gallery-track {
		display: flex;
		grid-template-columns: none;
		gap: var(--spacing-sm);
	}

	.table-games-section__card {
		flex: 0 0 auto;
		width: 300px;
	}

	.table-games-nav-button {
		display: flex;
		width: 40px;
		height: 40px;
		top: var(--spacing-sm);
	}

	.table-games-nav-button-prev {
		right: calc(var(--spacing-sm) + 48px);
	}

	.table-games-nav-button-next {
		right: var(--spacing-sm);
	}

	.table-games-nav-button svg {
		width: 20px;
		height: 20px;
	}

	.table-games-section__heading {
		font-size: clamp(2rem, 6vw, 3rem);
		margin-bottom: var(--spacing-xl);
	}

	.table-games-section__title {
		font-size: clamp(1.5rem, 6vw, 2rem);
	}

	.table-games-section__description {
		font-size: var(--font-size-base);
	}
}

/**
 * Front Page - Games Section (Slot Games / Table Games)
 * Bento box grid on desktop: card 1 tall (2 rows), cards 2–5 in 2×2, card 6 wide; carousel on mobile.
 */
.fp-games-section__heading {
	margin-bottom: var(--spacing-md);
}

.fp-games-tabs {
	display: flex;
	justify-content: center;
	gap: var(--spacing-sm);
	margin-bottom: var(--spacing-xl);
	flex-wrap: wrap;
}

.fp-games-tab {
	display: inline-flex;
	align-items: center;
	gap: var(--spacing-xs);
	font-family: var(--font-secondary);
	font-size: var(--font-size-base);
	text-transform: uppercase;
	font-weight: 400;
	padding: var(--spacing-xs) var(--spacing-sm) var(--spacing-xs) var(--spacing-sm);
	background-color: transparent;
	color: var(--color-white);
	border: 1px solid rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: background-color var(--transition-base), border-color var(--transition-base), color var(--transition-base);
}

.fp-games-tab__pulse {
	width: 0.4em;
	height: 0.4em;
	border-radius: 50%;
	background-color: currentColor;
	animation: pulse 1.5s ease-in-out infinite;
}

.fp-games-tab:hover {
	border-color: rgba(255, 255, 255, 0.8);
	color: var(--color-white);
}

.fp-games-tab.is-active {
	background-color: var(--color-white);
	color: var(--color-black);
	border-color: var(--color-white);
}

.fp-games-panel {
	display: none;
}

.fp-games-panel.is-active {
	display: block;
}

/* Front page: hero-style cards (image, overlay, title, description, PLAY NOW button) */
#front-page-games .fp-games-card--hero {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	min-height: 280px;
	background-color: rgba(0, 0, 0, 0.6);
}

#front-page-games .fp-games-card--hero .fp-games-card__image {
	position: absolute;
	inset: 0;
	z-index: 0;
}

#front-page-games .fp-games-card--hero .fp-games-card__image-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

#front-page-games .fp-games-card--hero .fp-games-card__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	padding: var(--spacing-md) var(--spacing-sm) var(--spacing-sm);
	background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
}

#front-page-games .fp-games-card--hero .fp-games-card__content {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-sm);
}

#front-page-games .fp-games-card--hero .fp-games-card__title {
	font-family: var(--font-primary);
	font-size: clamp(1.125rem, 2vw, 1.35rem);
	font-weight: 400;
	line-height: 1.25;
	margin: 0;
	letter-spacing: 0.02em;
}

#front-page-games .fp-games-card--hero .fp-games-card__description {
	font-family: var(--font-secondary);
	font-size: var(--font-size-base);
	line-height: 1.4;
	margin: 0;
}

#front-page-games .fp-games-card--hero .fp-games-card__cta {
	display: inline-block;
	margin-top: var(--spacing-xs);
	padding: var(--spacing-sm) var(--spacing-md);
	font-family: var(--font-secondary);
	font-size: var(--font-size-base);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-align: center;
	text-decoration: none;
	color: var(--color-white);
	background: transparent;
	border: 2px solid rgba(255, 255, 255, 0.85);
	border-radius: 8px;
	transition: background-color var(--transition-base), border-color var(--transition-base), color var(--transition-base);
	align-self: flex-start;
}

#front-page-games .fp-games-card--hero .fp-games-card__cta:hover {
	background-color: var(--color-white);
	color: var(--color-black);
	border-color: var(--color-white);
}

/* Front page: bento box grid (desktop) – one tall, four standard, one wide; then flow */
#front-page-games .fp-games-gallery-track {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: minmax(350px, 1fr) minmax(350px, 1fr) minmax(350px, 1fr);
	grid-auto-rows: minmax(250px, 1fr);
	gap: var(--spacing-md);
}

/* Bento positions: card 1 = tall (2 rows), cards 2–5 = 2×2 right, card 6 = wide */
#front-page-games .fp-games-card--hero:nth-child(1) {
	grid-column: 1;
	grid-row: 1 / 3;
}

#front-page-games .fp-games-card--hero:nth-child(2) {
	grid-column: 2;
	grid-row: 1;
}

#front-page-games .fp-games-card--hero:nth-child(3) {
	grid-column: 3;
	grid-row: 1;
}

#front-page-games .fp-games-card--hero:nth-child(4) {
	grid-column: 2;
	grid-row: 2;
}

#front-page-games .fp-games-card--hero:nth-child(5) {
	grid-column: 3;
	grid-row: 2;
}

#front-page-games .fp-games-card--hero:nth-child(6) {
	grid-column: 1 / -1;
	grid-row: 3;
}

/* Card 6 image: shift focal area lower (tweak vertical % to choose which part shows) */
#front-page-games .fp-games-card--hero:nth-child(6) .fp-games-card__image-img {
	object-position: center 35%;
}

/* Bento cards fill their grid cell (no fixed aspect-ratio) */
#front-page-games .fp-games-gallery-track .fp-games-card--hero {
	aspect-ratio: auto;
	min-height: 0;
	height: 100%;
}

@media (max-width: 1024px) {
	#front-page-games .fp-games-gallery-track {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: none;
		grid-auto-rows: minmax(250px, auto);
	}

	#front-page-games .fp-games-card--hero:nth-child(1),
	#front-page-games .fp-games-card--hero:nth-child(2),
	#front-page-games .fp-games-card--hero:nth-child(3),
	#front-page-games .fp-games-card--hero:nth-child(4),
	#front-page-games .fp-games-card--hero:nth-child(5),
	#front-page-games .fp-games-card--hero:nth-child(6) {
		grid-column: auto;
		grid-row: auto;
	}

	#front-page-games .fp-games-gallery-track .fp-games-card--hero {
		aspect-ratio: 4 / 5;
		min-height: 450px;
		height: auto;
	}
}

@media (max-width: 768px) {
	#front-page-games .fp-games-card--hero .fp-games-card__overlay {
		padding: var(--spacing-md) var(--spacing-xs) var(--spacing-xs);
	}

	.fp-games-section .fp-games-gallery-track,
	#front-page-games .fp-games-gallery-track {
		display: flex;
		grid-template-columns: none;
		grid-template-rows: none;
		grid-auto-rows: none;
		gap: var(--spacing-sm);
		width: auto;
	}

	#front-page-games .fp-games-card--hero:nth-child(1),
	#front-page-games .fp-games-card--hero:nth-child(2),
	#front-page-games .fp-games-card--hero:nth-child(3),
	#front-page-games .fp-games-card--hero:nth-child(4),
	#front-page-games .fp-games-card--hero:nth-child(5),
	#front-page-games .fp-games-card--hero:nth-child(6) {
		grid-column: auto;
		grid-row: auto;
	}

	#front-page-games .fp-games-gallery-track .fp-games-card--hero {
		aspect-ratio: 4 / 5;
		min-height: 400px;
		height: auto;
	}

	.fp-games-section .fp-games-gallery-container .table-games-section__card,
	.fp-games-section .fp-games-gallery-container .fp-games-card--hero {
		flex: 0 0 auto;
		width: 280px;
		min-width: 280px;
	}

	.fp-games-section .table-games-nav-button {
		display: flex;
	}
}

/**
 * Games Page - Roulette Section
 *
 * Full-width section with video background and text overlay with blur filter.
 *
 * @package Marina_Casino
 */
.roulette-section {
	width: 100%;
	position: relative;
	min-height: 600px;
	overflow: hidden;
	margin: var(--spacing-2xl) 0 0;
	background-color: var(--color-background);
}

.roulette-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 30%;
	z-index: 3;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
	pointer-events: none;
}

.roulette-section__background {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.roulette-section__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 2;
}

.roulette-section__fallback {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
}

/* Hide video if it fails to load */
.roulette-section__background.is-video-error .roulette-section__video {
	display: none;
}

.roulette-section__container {
	position: relative;
	z-index: 4;
	width: 100%;
	height: 100%;
	min-height: 600px;
	display: flex;
	align-items: flex-end;
	padding: var(--spacing-4xl) var(--spacing-md) var(--spacing-md);
}

.roulette-section__content {
	background: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: var(--spacing-md) var(--spacing-md);
	border-radius: 4px;
	max-width: 600px;
	display: flex;
	flex-direction: column;
	gap: var(--spacing-sm);
}

.roulette-section__heading {
	font-family: var(--font-primary);
	font-weight: 400;
	font-size: clamp(2.5rem, 5vw, 4.5rem);
	line-height: 1.1;
	letter-spacing: var(--letter-spacing-tight);
	margin: 0;
	color: var(--color-white);
}

.roulette-section__description {
	font-family: var(--font-secondary);
	font-size: var(--font-size-large);
	line-height: 1.6;
	margin: 0;
	color: var(--color-light-white);
	max-width: 60ch;
}

.roulette-section__cta {
	margin-top: var(--spacing-sm);
}

.roulette-section__button {
	display: inline-flex;
	align-items: center;
	gap: var(--spacing-xs);
	color: var(--color-white);
	text-decoration: none;
	font-family: var(--font-secondary);
	font-size: var(--font-size-base);
	text-transform: uppercase;
	letter-spacing: var(--letter-spacing-tight);
	transition: all 0.3s ease;
}

.roulette-section__button-arrow {
	display: inline-flex;
	align-items: center;
}

.roulette-section__button-arrow img {
	width: 16px;
	height: 16px;
	display: block;
}

.roulette-section__cta {
	display: inline-block;
}

.roulette-section__button-text:hover {
	color: var(--color-light-white);
	transition: color 0.3s ease;
}

@media (max-width: 1024px) {
	.roulette-section__container {
		padding: var(--spacing-3xl) var(--spacing-md) var(--spacing-sm);
	}

	.roulette-section__content {
		padding: var(--spacing-lg);
		max-width: 100%;
	}
}

@media (max-width: 768px) {
	.roulette-section {
		min-height: 500px;
	}

	.roulette-section__container {
		min-height: 500px;
		padding: var(--spacing-xl) var(--spacing-sm) var(--spacing-sm);
	}

	.roulette-section__content {
		padding: var(--spacing-sm);
	}

	.roulette-section__heading {
		font-size: clamp(2rem, 8vw, 3.5rem);
	}

	.roulette-section__description {
		font-size: var(--font-size-base);
	}
}

/* Subtle dotted pattern like the reference (top-right). */
.careers-page-section::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: radial-gradient(rgba(252, 252, 252, 0.085) 1px, transparent 1px);
	background-size: 34px 34px;
	background-position: 78% 12%;
	opacity: 0.6;
	/* Fade dots so they mostly appear on the right side */
	mask-image: radial-gradient(closest-side at 82% 14%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 70%);
	-webkit-mask-image: radial-gradient(closest-side at 82% 14%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 70%);
}

.careers-page-container {
	position: relative;
	z-index: 1;
	width: 100%;
}

.careers-page-top {
	margin-bottom: var(--spacing-xl);
}

.careers-page-title {
	font-family: var(--font-primary);
	font-weight: 400;
	letter-spacing: var(--letter-spacing-tight);
	line-height: 1;
	font-size: clamp(64px, 7vw, 140px);
	margin: 0;
	opacity: 0.95;
}

.careers-page-description {
	margin-top: var(--spacing-sm);
	font-family: var(--font-secondary);
	font-size: var(--font-size-large);
	line-height: 1.7;
	opacity: 0.92;
	max-width: 75ch;
}

.careers-page-grid {
	display: grid;
	grid-template-columns: 250px 1fr;
	gap: var(--spacing-lg);
	align-items: start;
}

.careers-page-social-frame {
	border: 1px solid rgba(252, 252, 252, 0.18);
	padding: var(--spacing-sm);
	background: rgba(255, 255, 255, 0.02);
	backdrop-filter: blur(8px);
	max-width: fit-content;
}

.careers-page-social-label {
	font-family: var(--font-secondary);
	font-size: var(--font-size-small);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.9;
	margin-bottom: var(--spacing-sm);
}

.careers-page-social-icons {
	display: flex;
	gap: 10px;
	align-items: center;
}

.careers-page-social-icon {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(252, 252, 252, 0.22);
	background: rgba(0, 0, 0, 0.12);
	color: rgba(252, 252, 252, 0.9);
	text-decoration: none;
	transition: transform var(--transition-base), opacity var(--transition-base), border-color var(--transition-base), background-color var(--transition-base);
}

.careers-page-social-icon:hover {
	transform: translateY(-1px);
	opacity: 0.95;
	border-color: rgba(252, 252, 252, 0.35);
	background: rgba(252, 252, 252, 0.06);
}

.careers-page-social-icon.is-disabled {
	opacity: 0.45;
	cursor: default;
}

.careers-page-social-icon svg {
	display: block;
}

.contact-page-inner {
	width: 100%;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: var(--spacing-3xl);
	align-items: start;
}

.contact-page-left {
	min-width: 0;
}

.contact-page-left-frame {
	padding-top: var(--spacing-md);
	padding-bottom: var(--spacing-md);
	border-top: 1px solid rgba(252, 252, 252, 0.22);
	border-bottom: 1px solid rgba(252, 252, 252, 0.22);
}

.contact-page-kicker {
	font-family: var(--font-secondary);
	font-size: var(--font-size-small);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.9;
}

.contact-page-heading {
	margin-top: var(--spacing-xl);
	margin-bottom: var(--spacing-lg);
	font-family: var(--font-primary);
	font-weight: 400;
	line-height: 1.03;
	letter-spacing: var(--letter-spacing-tight);
	font-size: clamp(44px, 4.4vw, 92px);
	max-width: 18ch;
}

.contact-page-details {
	margin-top: var(--spacing-2xl);
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
	font-family: var(--font-secondary);
}

.contact-page-detail {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: var(--spacing-md);
	align-items: baseline;
}

.contact-page-detail-label {
	font-size: var(--font-size-small);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.85;
}

.contact-page-detail-value {
	font-size: var(--font-size-base);
	line-height: 1.7;
	opacity: 0.95;
}

.contact-page-contact-line {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
}

.contact-page-contact-sub-label {
	display: inline-block;
	min-width: 3ch;
	opacity: 0.75;
	text-transform: lowercase;
}

.contact-page-link {
	color: var(--color-white);
	text-decoration: none;
	transition: opacity var(--transition-base);
}

.contact-page-link:hover {
	opacity: 0.85;
}

.contact-page-right {
	min-width: 0;
}

.contact-page-form-card,
.careers-page-form-card {
	background: #3a3d43;
	padding: var(--spacing-lg);
	min-height: min(70vh, 720px);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

/* CF7 normalization */
.contact-page-form-card .wpcf7,
.careers-page-form-card .wpcf7 {
	width: 100%;
}

.contact-page-form-card .wpcf7 form,
.careers-page-form-card .wpcf7 form {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
}

.contact-page-form-card .cf7-minimal,
.careers-page-form-card .cf7-minimal {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-md);
}

.contact-page-form-card .wpcf7 form p,
.careers-page-form-card .wpcf7 form p {
	margin: 0;
}

.contact-page-form-card .wpcf7 label,
.careers-page-form-card .wpcf7 label {
	display: block;
	margin: 0;
}

.contact-page-form-card .cf7-minimal .cf7-label,
.contact-page-form-card .wpcf7 label,
.careers-page-form-card .cf7-minimal .cf7-label,
.careers-page-form-card .wpcf7 label {
	display: block;
	font-family: var(--font-secondary);
	font-size: var(--font-size-small);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(252, 252, 252, 0.9);
	margin-bottom: 0.75rem;
}

.contact-page-form-card .wpcf7 input[type="text"],
.contact-page-form-card .wpcf7 input[type="email"],
.contact-page-form-card .wpcf7 input[type="tel"],
.contact-page-form-card .wpcf7 input[type="url"],
.contact-page-form-card .wpcf7 input[type="date"],
.contact-page-form-card .wpcf7 input[type="number"],
.contact-page-form-card .wpcf7 textarea,
.contact-page-form-card .wpcf7 select,
.careers-page-form-card .wpcf7 input[type="text"],
.careers-page-form-card .wpcf7 input[type="email"],
.careers-page-form-card .wpcf7 input[type="tel"],
.careers-page-form-card .wpcf7 input[type="url"],
.careers-page-form-card .wpcf7 input[type="date"],
.careers-page-form-card .wpcf7 input[type="number"],
.careers-page-form-card .wpcf7 textarea,
.careers-page-form-card .wpcf7 select {
	width: 100%;
	background: transparent;
	color: rgba(252, 252, 252, 0.92);
	border: 0;
	border-bottom: 1px solid rgba(252, 252, 252, 0.25);
	padding: 0.65rem 0;
	font-family: var(--font-secondary);
	font-size: var(--font-size-xl);
	line-height: 1.2;
	outline: none;
}

.contact-page-form-card .wpcf7 textarea,
.careers-page-form-card .wpcf7 textarea {
	min-height: 140px;
	resize: vertical;
}

.contact-page-form-card .wpcf7 input[type="file"],
.careers-page-form-card .wpcf7 input[type="file"] {
	width: 100%;
	padding: 2.25rem 1rem;
	border: 1px solid rgba(252, 252, 252, 0.22);
	background: rgba(0, 0, 0, 0.14);
	color: rgba(252, 252, 252, 0.78);
	font-family: var(--font-secondary);
	font-size: var(--font-size-base);
}

.contact-page-form-card .wpcf7 input[type="file"]::file-selector-button,
.careers-page-form-card .wpcf7 input[type="file"]::file-selector-button {
	margin-right: 0.75rem;
	border: 1px solid rgba(252, 252, 252, 0.5);
	background: transparent;
	color: var(--color-white);
	padding: 0.6rem 0.9rem;
	cursor: pointer;
	transition: background-color var(--transition-base), border-color var(--transition-base);
}

.contact-page-form-card .wpcf7 input[type="file"]::file-selector-button:hover,
.careers-page-form-card .wpcf7 input[type="file"]::file-selector-button:hover {
	background: rgba(252, 252, 252, 0.08);
	border-color: rgba(252, 252, 252, 0.65);
}

.contact-page-form-card .wpcf7 input::placeholder,
.contact-page-form-card .wpcf7 textarea::placeholder,
.careers-page-form-card .wpcf7 input::placeholder,
.careers-page-form-card .wpcf7 textarea::placeholder {
	color: rgba(252, 252, 252, 0.55);
}

.contact-page-form-card .wpcf7 input:focus,
.contact-page-form-card .wpcf7 textarea:focus,
.contact-page-form-card .wpcf7 select:focus,
.careers-page-form-card .wpcf7 input:focus,
.careers-page-form-card .wpcf7 textarea:focus,
.careers-page-form-card .wpcf7 select:focus {
	border-bottom-color: rgba(252, 252, 252, 0.6);
}

.contact-page-form-card .wpcf7 .wpcf7-not-valid-tip,
.careers-page-form-card .wpcf7 .wpcf7-not-valid-tip {
	margin-top: 0.5rem;
	font-family: var(--font-secondary);
	font-size: var(--font-size-small);
	letter-spacing: var(--letter-spacing-tight);
	color: #ffd1d1;
}

.contact-page-form-card .wpcf7 .wpcf7-response-output,
.careers-page-form-card .wpcf7 .wpcf7-response-output {
	margin: var(--spacing-sm) 0 0 0;
	padding: var(--spacing-xs);
	border: 1px solid rgba(252, 252, 252, 0.25);
	font-family: var(--font-secondary);
	font-size: var(--font-size-small);
	color: rgba(252, 252, 252, 0.95);
}

.contact-page-form-card .wpcf7 .wpcf7-spinner,
.careers-page-form-card .wpcf7 .wpcf7-spinner {
	margin-left: var(--spacing-xs);
}

.contact-page-form-card .wpcf7 input[type="submit"],
.contact-page-form-card .wpcf7 button,
.contact-page-form-card .wpcf7 .wpcf7-submit,
.careers-page-form-card .wpcf7 input[type="submit"],
.careers-page-form-card .wpcf7 button,
.careers-page-form-card .wpcf7 .wpcf7-submit {
	align-self: flex-end;
	margin-top: var(--spacing-xl);
	background: transparent;
	color: var(--color-white);
	border: 1px solid rgba(252, 252, 252, 0.5);
	padding: 0.9rem 1.6rem;
	font-family: var(--font-secondary);
	font-size: var(--font-size-base);
	letter-spacing: 0.06em;
	text-transform: none;
	cursor: pointer;
	transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base), opacity var(--transition-base);
}

.contact-page-form-card .wpcf7 input[type="submit"]:hover,
.contact-page-form-card .wpcf7 button:hover,
.contact-page-form-card .wpcf7 .wpcf7-submit:hover,
.careers-page-form-card .wpcf7 input[type="submit"]:hover,
.careers-page-form-card .wpcf7 button:hover,
.careers-page-form-card .wpcf7 .wpcf7-submit:hover {
	background: rgba(252, 252, 252, 0.08);
	border-color: rgba(252, 252, 252, 0.65);
}

@media (max-width: 960px) {
	.contact-page-inner {
		grid-template-columns: 1fr;
		gap: var(--spacing-xl);
	}

	.contact-page-form-card {
		min-height: auto;
	}

	.careers-page-grid {
		grid-template-columns: 1fr;
	}

	.careers-page-form-card {
		min-height: auto;
	}
}

@media (max-width: 768px) {
	.contact-page-left-frame {
		border-top: none;
	}

	.contact-page-kicker {
		display: none;
	}

	.contact-page-details {
		margin-top: var(--spacing-lg);
	}

	.contact-page-section {
		padding: var(--spacing-xl) var(--spacing-sm);
	}

	.contact-page-heading {
		font-size: clamp(36px, 9vw, 56px);
		margin-top: var(--spacing-md);
		margin-bottom: var(--spacing-lg);
	}

	.contact-page-detail {
		grid-template-columns: 96px 1fr;
		gap: var(--spacing-sm);
	}

	.contact-page-form-card {
		padding: var(--spacing-sm);
	}

	.contact-page-form-card .wpcf7 input[type="text"],
	.contact-page-form-card .wpcf7 input[type="email"],
	.contact-page-form-card .wpcf7 input[type="tel"],
	.contact-page-form-card .wpcf7 input[type="url"],
	.contact-page-form-card .wpcf7 textarea,
	.contact-page-form-card .wpcf7 select {
		font-size: var(--font-size-large);
	}

	.careers-page-section {
		padding: var(--spacing-3xl) var(--spacing-sm);
	}

	.careers-page-top {
		margin-bottom: var(--spacing-lg);
	}

	.careers-page-social-frame {
		padding: var(--spacing-sm);
	}

	.careers-page-form-card {
		padding: var(--spacing-sm);
	}

	.careers-page-form-card .wpcf7 input[type="text"],
	.careers-page-form-card .wpcf7 input[type="email"],
	.careers-page-form-card .wpcf7 input[type="tel"],
	.careers-page-form-card .wpcf7 input[type="url"],
	.careers-page-form-card .wpcf7 input[type="date"],
	.careers-page-form-card .wpcf7 input[type="number"],
	.careers-page-form-card .wpcf7 textarea,
	.careers-page-form-card .wpcf7 select {
		font-size: var(--font-size-large);
	}
}

/**
 * Promotions Hero Section
 *
 * @package Marina_Casino
 */

.promotions-hero {
	width: 100%;
	padding: var(--spacing-4xl) var(--spacing-md) var(--spacing-md);
}

.promotions-hero__page-title {
	font-family: var(--font-primary);
	font-size: clamp(48px, 8vw, 96px);
	font-weight: 400;
	color: var(--color-white);
	margin-bottom: var(--spacing-xl);
	letter-spacing: var(--letter-spacing-tight);
	line-height: 1.1;
}

/* Promotions Hero Gallery Container */
.promotions-hero__gallery-container {
	width: 100%;
	position: relative;
	overflow: hidden;
	padding: var(--spacing-sm) 0 var(--spacing-2xl);
}

.promotions-hero__gallery-wrapper {
	width: 100%;
	position: relative;
	overflow: visible;
}

/* Desktop: 4×4 grid of promotion cards */
.promotions-hero__cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: var(--spacing-md);
}

.promotions-hero__banner {
	position: relative;
	width: 100%;
	min-height: 580px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.promotions-hero__image-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	flex: 1;
}

.promotions-hero__background-image {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
}

.promotions-hero__nav-button {
	position: absolute;
	top: var(--spacing-md);
	width: 48px;
	height: 48px;
	display: none;
	align-items: center;
	justify-content: center;
	background-color: var(--color-white);
	border: none;
	cursor: pointer;
	z-index: 10;
	border-radius: 50%;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
	transition: transform var(--transition-base), opacity var(--transition-base), box-shadow var(--transition-base);
	padding: 0;
}

.promotions-hero__nav-button:hover:not(:disabled) {
	transform: scale(1.03);
}

.promotions-hero__nav-button:disabled {
	cursor: not-allowed;
	opacity: 0.3;
}

.promotions-hero__nav-button-prev {
	right: calc(var(--spacing-xl) + 55px);
}

.promotions-hero__nav-button-next {
	right: var(--spacing-xl);
}

.promotions-hero__nav-button svg {
	width: 24px;
	height: 24px;
	display: block;
	flex-shrink: 0;
}

.promotions-hero__overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	max-width: 100%;
	width: 100%;
	padding: var(--spacing-md) var(--spacing-sm);
	z-index: 2;
	background-color: rgb(24 24 24 / 85%);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	height: 160px;
}

.promotions-hero__overlay-title {
	font-family: var(--font-primary);
	font-size: clamp(28px, 4.5vw, 38px);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: var(--letter-spacing-tight);
}

.promotions-hero__overlay-description {
	font-family: var(--font-secondary);
	font-size: clamp(14px, 1.3vw, 16px);
	font-weight: 400;
	color: var(--color-light-white);
	line-height: 1.6;
	max-width: 90%;
}

.promotions-hero__cta-link {
	margin-top: var(--spacing-md);
}

/* Desktop: keep grid static (no carousel transform) */
@media (min-width: 769px) {
	.promotions-hero__cards {
		transform: none !important;
	}
}

@media (max-width: 1024px) {
	.promotions-hero__overlay {
		max-width: 50%;
		height: auto;
	}
}

@media (max-width: 768px) {
	.promotions-hero__page-title {
		margin-bottom: var(--spacing-xs);
	}

	.promotions-hero {
		padding: var(--spacing-2xl) var(--spacing-sm) 0;
	}

	.promotions-hero__gallery-container {
		padding: var(--spacing-sm) 0;
	}

	.promotions-hero__cards {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: var(--spacing-sm);
		will-change: transform;
		transition: transform 0.3s ease-out;
	}

	.promotions-hero__banner {
		flex: 0 0 auto;
		width: 300px;
		min-width: 300px;
		min-height: auto;
		display: flex;
		flex-direction: column;
		background-color: #000000;
	}

	.promotions-hero__image-wrapper {
		width: 100%;
		height: 350px;
		min-height: 350px;
		flex: 0 0 auto;
		position: relative;
		overflow: hidden;
	}

	.promotions-hero__background-image {
		position: absolute;
		inset: 0;
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		object-fit: cover;
	}

	.promotions-hero__overlay-title {
		font-size: clamp(28px, 4.5vw, 42px);
		font-family: var(--font-primary);
		font-weight: 400;
		color: var(--color-white);
		margin: 0 0 var(--spacing-sm) 0;
		line-height: var(--line-height-tight);
	}

	.promotions-hero__overlay-description {
		font-size: clamp(14px, 2vw, 18px);
		font-family: var(--font-secondary);
		font-weight: 400;
		color: var(--color-light-white);
		line-height: var(--line-height-base);
		margin: 0 0 var(--spacing-xs) 0;
	}

	.promotions-hero__overlay {
		position: relative;
		max-width: 100%;
		border-radius: 0;
		margin: 0;
		padding: var(--spacing-md) 0;
		background-color: #000000 !important;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		display: flex;
		flex-direction: column;
		gap: var(--spacing-xs);
	}

	.promotions-hero__cta-link {
		margin-top: 0;
		font-size: var(--font-size-xl);
	}

	.promotions-hero__nav-button {
		display: flex;
		width: 40px;
		height: 40px;
		top: var(--spacing-sm);
	}

	.promotions-hero__nav-button-prev {
		right: calc(var(--spacing-sm) + 48px);
	}

	.promotions-hero__nav-button-next {
		right: var(--spacing-sm);
	}

	.promotions-hero__nav-button svg {
		width: 20px;
		height: 20px;
	}
}

/**
 * Lounge Hero Section
 *
 * @package Marina_Casino
 */

.lounge-hero {
	position: relative;
	width: 100%;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding: var(--spacing-3xl) var(--spacing-md) var(--spacing-sm);
}

.lounge-hero__container {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--spacing-md);
	align-items: center;
}

.lounge-hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--spacing-sm);
}

.lounge-hero__image-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 500px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.lounge-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.lounge-hero__title {
	font-family: var(--font-primary);
	font-size: clamp(4rem, 8vw, 8rem);
	font-weight: 400;
	color: var(--color-white);
	line-height: 1;
	letter-spacing: var(--letter-spacing-tight);
	margin: 0;
	text-align: left;
}

.lounge-hero__subtitle-wrapper {
	display: flex;
	align-items: center;
	gap: var(--spacing-sm);
}

.lounge-hero__subtitle {
	font-family: var(--font-secondary);
	font-size: clamp(0.875rem, 1.5vw, 1.125rem);
	font-weight: 400;
	color: var(--color-light-white);
	font-size: var(--font-size-xl);
	letter-spacing: var(--letter-spacing-tight);
	text-transform: uppercase;
	white-space: nowrap;
	margin: 0;
	line-height: 1;
}

.lounge-hero__description {
	font-family: var(--font-secondary);
	font-size: clamp(1rem, 1.8vw, 1.25rem);
	font-weight: 400;
	color: var(--color-light-white);
	line-height: var(--line-height-base);
	max-width: 800px;
	margin: var(--spacing-md) 0 0 0;
	text-align: left;
}

@media (max-width: 768px) {
	.lounge-hero {
		padding: var(--spacing-2xl) var(--spacing-sm) var(--spacing-md);
		min-height: auto;
	}

	.lounge-hero__container {
		grid-template-columns: 1fr;
		gap: var(--spacing-lg);
	}

	.lounge-hero__image-wrapper {
		min-height: 300px;
		order: -1;
	}

	.lounge-hero__title {
		font-size: clamp(3rem, 12vw, 5rem);
	}

	.lounge-hero__subtitle-wrapper {
		flex-wrap: wrap;
		gap: var(--spacing-xs);
		margin: var(--spacing-xs) 0;
	}

	.lounge-hero__subtitle-line {
		max-width: 100px;
		flex: 0 1 auto;
	}

	.lounge-hero__subtitle {
		font-size: clamp(0.75rem, 3vw, 0.875rem);
		white-space: normal;
		text-align: center;
		width: 100%;
		order: -1;
	}

	.lounge-hero__subtitle-line {
		order: 0;
	}

	.lounge-hero__description {
		font-size: clamp(0.875rem, 3vw, 1rem);
		margin-top: var(--spacing-sm);
	}
}

/**
 * VIP Page - Hero Section
 *
 * @package Marina_Casino
 */
.vip-hero {
	position: relative;
	width: 100%;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding: var(--spacing-3xl) var(--spacing-md) var(--spacing-sm);
}

.vip-hero__container {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--spacing-md);
	align-items: center;
}

.vip-hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--spacing-sm);
}

.vip-hero__image-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 500px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.vip-hero__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.vip-hero__title {
	font-family: var(--font-primary);
	font-size: clamp(4rem, 8vw, 8rem);
	font-weight: 400;
	color: var(--color-white);
	line-height: 1;
	letter-spacing: var(--letter-spacing-tight);
	margin: 0;
	text-align: left;
}

.vip-hero__subtitle-wrapper {
	display: flex;
	align-items: center;
	gap: var(--spacing-sm);
}

.vip-hero__subtitle {
	font-family: var(--font-secondary);
	font-size: clamp(0.875rem, 1.5vw, 1.125rem);
	font-weight: 400;
	color: var(--color-light-white);
	font-size: var(--font-size-xl);
	letter-spacing: var(--letter-spacing-tight);
	text-transform: uppercase;
	white-space: nowrap;
	margin: 0;
	line-height: 1;
}

.vip-hero__description {
	font-family: var(--font-secondary);
	font-size: clamp(1rem, 1.8vw, 1.25rem);
	font-weight: 400;
	color: var(--color-light-white);
	line-height: var(--line-height-base);
	max-width: 800px;
	margin: var(--spacing-md) 0 0 0;
	text-align: left;
}

@media (max-width: 768px) {
	.vip-hero {
		padding: var(--spacing-2xl) var(--spacing-sm) var(--spacing-md);
		min-height: auto;
	}

	.vip-hero__container {
		grid-template-columns: 1fr;
		gap: var(--spacing-lg);
	}

	.vip-hero__image-wrapper {
		min-height: 300px;
		order: -1;
	}

	.vip-hero__title {
		font-size: clamp(3rem, 12vw, 5rem);
	}

	.vip-hero__subtitle-wrapper {
		flex-wrap: wrap;
		gap: var(--spacing-xs);
		margin: var(--spacing-xs) 0;
	}

	.vip-hero__subtitle-line {
		max-width: 100px;
		flex: 0 1 auto;
	}

	.vip-hero__subtitle {
		font-size: clamp(0.75rem, 3vw, 0.875rem);
		white-space: normal;
		text-align: center;
		width: 100%;
		order: -1;
	}

	.vip-hero__subtitle-line {
		order: 0;
	}

	.vip-hero__description {
		font-size: clamp(0.875rem, 3vw, 1rem);
		margin-top: var(--spacing-sm);
	}
}

/**
 * VIP Page - Benefits Section
 *
 * @package Marina_Casino
 */
.vip-benefits {
	width: 100%;
	padding: var(--spacing-3xl) var(--spacing-md);
	background-color: var(--color-black, #000);
}

.vip-benefits__container {
	max-width: var(--container-width, 1400px);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--spacing-2xl);
	align-items: start;
}

.vip-benefits__list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.vip-benefits__item {
	position: relative;
	padding: var(--spacing-md) 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	cursor: pointer;
	transition: opacity 0.3s ease;
}

.vip-benefits__item:last-child {
	border-bottom: none;
}

.vip-benefits__item:hover {
	opacity: 0.8;
}

.vip-benefits__item--active {
	opacity: 1;
}

.vip-benefits__item-content {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-xs);
}

.vip-benefits__item-title {
	font-family: var(--font-primary);
	font-size: clamp(1.25rem, 2vw, 1.75rem);
	font-weight: 600;
	color: var(--color-white);
	margin: 0;
	line-height: 1.2;
}

.vip-benefits__item-description {
	font-family: var(--font-secondary);
	font-size: clamp(0.875rem, 1.5vw, 1rem);
	font-weight: 400;
	color: var(--color-light-white);
	margin: 0;
	line-height: var(--line-height-base);
	max-width: 800px;
}

.vip-benefits__item-indicator {
	display: block;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.vip-benefits__item-indicator svg {
	display: block;
	width: 100%;
	height: 100%;
}

.vip-benefits__item--active .vip-benefits__item-indicator {
	opacity: 1;
}

.vip-benefits__image-wrapper {
	position: sticky;
	top: var(--spacing-lg);
	width: 100%;
	height: 600px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vip-benefits__image {
	width: 100%;
	height: 100%;
	max-width: 900px;
	max-height: 700px;
	object-fit: cover;
	object-position: center;
	transition: opacity 0.4s ease;
}

@media (max-width: 768px) {
	.vip-benefits {
		padding: var(--spacing-2xl) var(--spacing-sm);
	}

	.vip-benefits__container {
		grid-template-columns: 1fr;
		gap: var(--spacing-xl);
	}

	.vip-benefits__image-wrapper {
		position: relative;
		top: auto;
		height: 400px;
		order: -1;
	}

	.vip-benefits__image {
		max-width: 100%;
		max-height: 100%;
	}

	.vip-benefits__item-indicator {
		display: none;
	}
}

/**
 * Games Page - Slot Benefits Section
 *
 * Same layout as VIP Benefits (list left, image right on hover) with its own classes.
 *
 * @package Marina_Casino
 */
.slot-benefits {
	width: 100%;
	padding: var(--spacing-3xl) var(--spacing-md);
	background-color: var(--color-black, #000);
}

.slot-benefits__heading {
	font-family: var(--font-primary);
	font-weight: 400;
	font-size: clamp(2.5rem, 8vw, 4rem);
	line-height: 1.2;
	letter-spacing: var(--letter-spacing-tight);
	color: var(--color-white);
	margin: 0 0 var(--spacing-2xl);
	max-width: var(--container-width, 1400px);
	margin-left: auto;
	margin-right: auto;
}

.slot-benefits__container {
	max-width: var(--container-width, 1400px);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--spacing-lg);
	align-items: start;
}

.slot-benefits__list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.slot-benefits__item {
	position: relative;
	padding: var(--spacing-md) 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	cursor: pointer;
	transition: opacity 0.3s ease;
}

.slot-benefits__item:last-child {
	border-bottom: none;
}

.slot-benefits__item:hover {
	opacity: 0.8;
}

.slot-benefits__item--active {
	opacity: 1;
}

.slot-benefits__item-content {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-xs);
}

.slot-benefits__item-title {
	font-family: var(--font-primary);
	font-size: clamp(1.25rem, 2vw, 1.75rem);
	font-weight: 600;
	color: var(--color-white);
	margin: 0;
	line-height: 1.2;
}

.slot-benefits__item-description {
	font-family: var(--font-secondary);
	font-size: clamp(0.875rem, 1.5vw, 1rem);
	font-weight: 400;
	color: var(--color-light-white);
	margin: 0;
	line-height: var(--line-height-base);
	max-width: 800px;
}

/* Per-item image: visible only on mobile so each slot shows its image without tapping */
.slot-benefits__item-image {
	display: none;
}

.slot-benefits__item-indicator {
	display: block;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.slot-benefits__item-indicator svg {
	display: block;
	width: 100%;
	height: 100%;
}

.slot-benefits__item--active .slot-benefits__item-indicator {
	opacity: 1;
}

.slot-benefits__image-wrapper {
	position: sticky;
	top: var(--spacing-lg);
	width: 100%;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.slot-benefits__image {
	width: 100%;
	height: 100%;
	max-width: 900px;
	object-fit: cover;
	object-position: center;
	transition: opacity 0.4s ease;
}

@media (max-width: 768px) {
	.slot-benefits {
		padding: var(--spacing-2xl) var(--spacing-sm);
	}

	.slot-benefits__heading {
		font-size: clamp(2.5rem, 8vw, 4rem);
		margin-bottom: var(--spacing-xl);
	}

	.slot-benefits__container {
		grid-template-columns: 1fr;
		gap: var(--spacing-xl);
	}

	/* Hide the single shared image on mobile; each item shows its own image below */
	.slot-benefits__image-wrapper {
		display: none;
	}

	/* Show each slot's image inline so users see all images without tapping */
	.slot-benefits__item-image {
		display: block;
		width: 100%;
		margin-bottom: var(--spacing-sm);
		overflow: hidden;
		aspect-ratio: 3/4;
	}

	.slot-benefits__item-image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}

	.slot-benefits__item-indicator {
		display: none;
	}
}

/* WhatsApp float button (bottom-left; visible after scroll) */
.whatsapp-float {
	position: fixed;
	bottom: 24px;
	left: 24px;
	z-index: 999;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 12px rgba(37, 211, 102, 0.4);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.whatsapp-float:hover {
	background: #20bd5a;
	color: #fff;
	box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5);
}

.whatsapp-float.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.whatsapp-float__icon {
	flex-shrink: 0;
}
