@font-face {
	font-family: 'KAGE-Freebies';
	font-style: normal;
	font-weight: 900;
	font-display: block;
	src: url('../font/KAGE-Freebies-Black.otf') format('opentype');
}

:root {
	--dark-bg: #181818;
	--accent-color: #c59b68;
	--accent-light: #e4c99a;
	--accent-dark: #a37d4c;
	--gray-color: #c3c3c3;
	--secondary-dark-color: #202020;
	--font-1: 'Lato', sans-serif;
	--font-2: 'Old Standard TT', serif;
	--font-3: 'Playfair Display', serif;
	--font-display: 'Cinzel', serif;
	--gold-gradient: linear-gradient(135deg, #a37d4c 0%, #e4c99a 45%, #c59b68 70%, #a37d4c 100%);
}

body {
	background-color: var(--dark-bg);
	font-size: 1.2rem;
}

h1 {
	font-size: 100px;
}

h2 {
	font-size: 72px;
}

h3 {
	font-size: 50px;
}

h4 {
	font-size: 32px;
}

h5 {
	font-size: 24px;
}

h6 {
	font-size: 18px;
}

ul {
	list-style: none;
}

img {
	object-fit: cover;
}

button,
a[type='button'] {
	padding-inline: 2rem;
	padding-block: 0.7rem;
	border: 2px solid var(--accent-color);
	text-decoration: none;
	border-radius: 25px;
	transition: all 0.5s;
}

a:hover {
	color: var(--accent-color);
}

a {
	text-decoration: none;
}

.form input,
.form textarea {
	background-color: #2f2f2f;
	color: white;
	border: none;
}

.form input:focus,
.form textarea:focus {
	background-color: #2f2f2f;
	color: white;
	border: none;
	box-shadow: none;
}

.nav-link:focus {
	color: var(--gray-color) !important;
}

.section {
	padding: 4em 1em 5em 1em;
	background-size: cover;
	background-position: center;
}

.r-container {
	max-width: 1140px;
	margin-right: auto;
	margin-left: auto;
	padding-inline: 1.5rem;
}

/* Wider container on large / ultrawide screens */
@media only screen and (min-width: 1400px) {
	.r-container {
		max-width: 1320px;
	}
}

@media only screen and (min-width: 1800px) {
	.r-container {
		max-width: 1565px;
	}
}

@media only screen and (min-width: 2200px) {
	.r-container {
		max-width: 1760px;
	}
}

.bg-accent-color {
	background-color: var(--accent-color);
}

.accent-color {
	color: var(--accent-color);
}

.border-accent-color {
	border-color: var(--accent-color);
}

/* Subtle Art Deco pattern for dark sections (inline SVG, no extra request) */
.bg-dark-color,
.bg-secondary-dark {
	position: relative;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23c59b68' stroke-width='1' stroke-opacity='0.5'%3E%3Cpath d='M60 8 A52 52 0 0 1 112 60'/%3E%3Cpath d='M60 20 A40 40 0 0 1 100 60'/%3E%3Cpath d='M60 32 A28 28 0 0 1 88 60'/%3E%3Cpath d='M60 8 A52 52 0 0 0 8 60'/%3E%3Cpath d='M60 20 A40 40 0 0 0 20 60'/%3E%3Cpath d='M60 32 A28 28 0 0 0 32 60'/%3E%3Cpath d='M0 60 H120 M60 0 V120'/%3E%3Ccircle cx='60' cy='60' r='4'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 240px 240px;
	background-position: center top;
}

.bg-dark-color {
	background-color: var(--dark-bg);
	background-blend-mode: soft-light;
}

.bg-secondary-dark {
	background-color: var(--secondary-dark-color);
	background-blend-mode: soft-light;
}

.bg-secondary-gray {
	background-color: #2f2f2f;
}

.text-gray {
	color: var(--gray-color);
}

.text-dark-color {
	color: var(--secondary-dark-color);
}

.nav-link {
	color: var(--gray-color);
}

.navbar .nav-link:hover {
	color: var(--accent-color);
}

.nav-link.active {
	color: var(--accent-color) !important;
}

.navbar-toggler:focus {
	box-shadow: none !important;
}

.navbar .dropdown-item {
	color: var(--gray-color);
}

.navbar .dropdown-item:hover {
	color: var(--accent-color);
	background-color: var(--secondary-dark-color);
}

.navbar .dropdown-item.active {
	color: var(--accent-color);
	background-color: var(--secondary-dark-color);
}

.logo-container {
	max-width: 200px;
}

.social-icon {
	font-size: 20px;
}

.white-text-hover:hover {
	color: white;
}

.font-1 {
	font-family: var(--font-1);
}

.font-2 {
	font-family: var(--font-2);
}

.font-3 {
	font-family: var(--font-3);
}

.image-overlay {
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	position: absolute;
	background-color: #212121;
	opacity: 0.6;
	transition:
		background 0.3s,
		border-radius 0.3s,
		opacity 0.3s;
}

.divider {
	display: flex;
	width: 12%;
	align-items: center;
	font-size: 20px;
}

.divider::before,
.divider::after {
	content: '';
	display: block;
	border-bottom: 0;
	flex-grow: 1;
	border-top: 1px dashed var(--accent-color);
	margin-inline: 0.5rem;
}

.secondary-color-hover:hover {
	background-color: var(--secondary-dark-color);
	color: white;
}

.accent-color-hover:hover {
	background-color: var(--accent-color);
	color: white;
}

.icon-box {
	border-radius: 50%;
	font-size: 32px;
	width: 5rem;
	height: 5rem;
}

.bg-overlay {
	background-color: #18181896;
}

.shadow {
	box-shadow: 10px 10px 15px 0px rgba(0, 0, 0, 0.5) !important;
}

.border-bottom {
	border-bottom: solid 1px #505050 !important;
}

.border-left {
	border-left: solid 1px #373737;
}

.video-container {
	aspect-ratio: 16/9;
	background-size: cover;
	background-position: center;
	position: relative;
}

.video-btn {
	aspect-ratio: 1/1;
	padding: 0;
	border-radius: 50%;
}

.video-btn-larger {
	width: 4rem;
	font-size: 36px;
}

.video-btn-small {
	width: 2.5rem;
	font-size: 24px;
}

.video-iframe {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
}

.maps {
	width: 100%;
	height: 400px;
	filter: brightness(100%) contrast(100%) saturate(0%) blur(0px) hue-rotate(0deg);
}

.link-white {
	color: var(--gray-color);
}

.link-white:hover {
	color: white;
}

/* ============================================================
   Premium redesign — reusable components
   ============================================================ */

.text-accent-gradient {
	background: var(--gold-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--accent-color);
}

.eyebrow {
	font-family: var(--font-2);
	font-style: italic;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	font-size: 0.85rem;
	color: var(--accent-color);
}

/* Refined navbar (glassy, premium) */
.site-header {
	backdrop-filter: blur(12px);
	background-color: rgba(24, 24, 24, 0.82);
	border-bottom: 1px solid rgba(197, 155, 104, 0.18);
}

.site-header .navbar-brand-logo {
	max-width: 236px;
	height: auto;
}

.nav-link {
	position: relative;
	letter-spacing: 0.04em;
}

.navbar .nav-link::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	height: 1px;
	width: 0;
	background: var(--gold-gradient);
	transition: width 0.35s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
	width: 100%;
}

.btn-gold {
	background: var(--gold-gradient);
	border: none !important;
	color: #181818 !important;
	font-weight: 700;
	box-shadow: 0 6px 20px rgba(197, 155, 104, 0.3);
}

.btn-gold:hover {
	color: #181818 !important;
	filter: brightness(1.08);
	transform: translateY(-2px);
}

.btn-outline-gold {
	background: transparent;
	border: 2px solid var(--accent-color) !important;
	color: var(--accent-color) !important;
}

.btn-outline-gold:hover {
	background: var(--accent-color);
	color: #181818 !important;
}

/* Hero — cinematic full-viewport */
.hero {
	position: relative;
	min-height: 92vh;
	display: flex;
	align-items: center;
	background-size: cover;
	/* keep the dealer's head/face in frame below the navbar */
	background-position: center 15%;
	overflow: hidden;
}

/* Large desktop: taller hero, image anchored to the top so the subject isn't clipped */
@media only screen and (min-width: 1200px) {
	.hero {
		min-height: 90vh;
		background-position: center top;
		background-attachment: fixed;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero {
		background-attachment: scroll;
	}
}

/* Ultrawide: keep cover (never leaves gaps) but anchor toward the
   right-of-centre so the dark left edge of the photo is cropped, not shown */
@media only screen and (min-width: 1800px) {
	.hero {
		background-size: cover;
		background-position: 78% 22%;
	}
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(15, 15, 15, 0.92) 0%, rgba(18, 18, 18, 0.55) 55%, rgba(18, 18, 18, 0.25) 100%),
		linear-gradient(0deg, rgba(15, 15, 15, 0.95) 0%, rgba(18, 18, 18, 0) 45%);
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 2;
}

/* Fluid hero headline — scales smoothly across all screen sizes */
.hero-title {
	font-size: clamp(2.1rem, 4.2vw, 4rem);
	line-height: 1.1;
}

/* Compact page header for subpages */
.page-header {
	position: relative;
	min-height: 72vh;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.page-header-overlay {
	position: absolute;
	inset: 0;
	/* darken top→bottom + a soft radial behind the centred title for legibility */
	background:
		radial-gradient(ellipse 60% 70% at 50% 55%, rgba(15, 15, 15, 0.65) 0%, rgba(15, 15, 15, 0) 75%),
		linear-gradient(0deg, rgba(15, 15, 15, 0.85) 0%, rgba(18, 18, 18, 0.25) 45%, rgba(18, 18, 18, 0.5) 100%);
	z-index: 1;
}

/* Large screens: a touch shorter so it doesn't dominate the fold */
@media only screen and (min-width: 1400px) {
	.page-header {
		min-height: 60vh;
	}
}

/* Tablet */
@media only screen and (max-width: 991px) {
	.page-header {
		min-height: 46vh;
	}
}

/* Section titles */
.section-eyebrow {
	color: var(--accent-color);
	font-family: var(--font-2);
	font-style: italic;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	font-size: 0.9rem;
}

/* Stat / trust row */
.stat-value {
	font-family: var(--font-display);
	font-size: clamp(2rem, 3.2vw, 3rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.01em;
}

.stat-label {
	font-size: 0.72rem;
}

/* Feature / value cards */
.premium-card {
	background: linear-gradient(180deg, rgba(38, 38, 38, 0.9) 0%, rgba(26, 26, 26, 0.9) 100%);
	border: 1px solid rgba(197, 155, 104, 0.15);
	border-radius: 14px;
	padding: 2.25rem 1.75rem;
	height: 100%;
	transition:
		transform 0.4s ease,
		border-color 0.4s ease,
		box-shadow 0.4s ease;
}

.premium-card:hover {
	transform: translateY(-6px);
	border-color: rgba(197, 155, 104, 0.55);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.premium-card .icon-box {
	background: var(--gold-gradient);
	color: #181818;
}

/* Game tiles */
.game-tile {
	position: relative;
	display: block;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid rgba(197, 155, 104, 0.18);
}

.game-tile img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.game-tile:hover img {
	transform: scale(1.06);
}

.game-tile-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	padding: 1.25rem;
	background: linear-gradient(0deg, rgba(12, 12, 12, 0.92) 0%, rgba(12, 12, 12, 0) 55%);
	transition: background 0.4s ease;
}

.game-tile:hover .game-tile-overlay {
	background: linear-gradient(0deg, rgba(12, 12, 12, 0.94) 10%, rgba(163, 125, 76, 0.25) 100%);
}

.game-tile-title {
	font-family: var(--font-2);
	font-style: italic;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #fff;
	margin: 0;
}

/* Feature tile — wider, with description + CTA (Games page) */
.game-tile-feature img {
	aspect-ratio: 16 / 10;
}

.game-tile-desc {
	color: var(--gray-color);
	font-size: 0.95rem;
	max-width: 34ch;
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	transform: translateY(6px);
	transition:
		opacity 0.4s ease,
		max-height 0.5s ease,
		transform 0.4s ease;
}

.game-tile-feature:hover .game-tile-desc {
	opacity: 1;
	max-height: 6rem;
	transform: translateY(0);
}

/* Always-visible description (e.g. game-detail table cards, touch devices) */
.game-tile.tile-always-desc .game-tile-overlay {
	background: linear-gradient(0deg, rgba(12, 12, 12, 0.94) 30%, rgba(12, 12, 12, 0.3) 100%);
}
.game-tile.tile-always-desc .game-tile-desc {
	opacity: 1;
	max-height: 10rem;
	transform: none;
}

/* Touch devices have no hover — always show the description */
@media (hover: none) {
	.game-tile-feature .game-tile-desc {
		opacity: 1;
		max-height: 10rem;
		transform: none;
	}
	.game-tile-feature .game-tile-overlay {
		background: linear-gradient(0deg, rgba(12, 12, 12, 0.94) 30%, rgba(12, 12, 12, 0.3) 100%);
	}
}

.game-tile-cta {
	display: inline-flex;
	align-items: center;
	font-family: var(--font-1);
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	font-size: 0.85rem;
	color: var(--accent-light);
}

.game-tile-feature .game-tile-overlay {
	background: linear-gradient(0deg, rgba(12, 12, 12, 0.9) 0%, rgba(12, 12, 12, 0.15) 60%, rgba(12, 12, 12, 0) 100%);
}

/* Poster feature (Sexy Games) */
.poster-frame {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(197, 155, 104, 0.35);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}

.poster-frame img {
	width: 100%;
	display: block;
}

/* News cards */
.news-card {
	background: #1c1c1c;
	border: 1px solid rgba(197, 155, 104, 0.14);
	border-radius: 14px;
	overflow: hidden;
	height: 100%;
	transition:
		transform 0.4s ease,
		border-color 0.4s ease;
}

.news-card:hover {
	transform: translateY(-6px);
	border-color: rgba(197, 155, 104, 0.5);
}

.news-card img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.badge-live {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(197, 155, 104, 0.12);
	border: 1px solid rgba(197, 155, 104, 0.4);
	color: var(--accent-color);
	border-radius: 999px;
	padding: 0.35rem 1rem;
	font-family: var(--font-1);
	font-size: 0.8rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.badge-live .dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #e0483d;
	box-shadow: 0 0 0 0 rgba(224, 72, 61, 0.6);
	animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
	0% {
		box-shadow: 0 0 0 0 rgba(224, 72, 61, 0.6);
	}
	70% {
		box-shadow: 0 0 0 8px rgba(224, 72, 61, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(224, 72, 61, 0);
	}
}

.hairline {
	border: none;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(197, 155, 104, 0.5), transparent);
}

/* Tablet / small laptop: slightly smaller logo so the nav has room */
@media only screen and (max-width: 991px) {
	.site-header .navbar-brand-logo {
		max-width: 190px;
	}
}

@media only screen and (max-width: 768px) {
	.hero {
		min-height: 82vh;
		text-align: center;
		background-position: center 20%;
	}
	.hero-overlay {
		background: linear-gradient(0deg, rgba(15, 15, 15, 0.95) 0%, rgba(18, 18, 18, 0.55) 100%);
	}
	.page-header {
		min-height: 44vh;
		background-position: 72% center;
		text-align: center;
	}
	.page-header-overlay {
		background:
			radial-gradient(ellipse 90% 60% at 50% 50%, rgba(15, 15, 15, 0.72) 0%, rgba(15, 15, 15, 0) 80%),
			linear-gradient(0deg, rgba(15, 15, 15, 0.9) 0%, rgba(18, 18, 18, 0.45) 100%);
	}
	.site-header .navbar-brand-logo {
		max-width: 170px;
	}
	.section {
		padding: 3em 0 3.5em 0;
	}
	.premium-card {
		padding: 1.75rem 1.25rem;
	}
}

@media only screen and (max-width: 400px) {
	.site-header .navbar-brand-logo {
		max-width: 150px;
	}
}
	h1 {
		font-size: 42px;
	}

	h2 {
		font-size: 36px;
	}

	h3 {
		font-size: 26px;
	}

	h5 {
		font-size: 18px;
	}

	h6 {
		font-size: 14px;
	}

	.divider {
		width: 30%;
	}
	.border-left {
		border-left: none;
	}
}

/* ============================================================
   Motion & interactions
   ============================================================ */

/* Scroll reveal */
.reveal {
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	will-change: opacity, transform;
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* stagger children of a revealed row */
.reveal-stagger.is-visible > * {
	animation: revealPop 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.reveal-stagger.is-visible > *:nth-child(1) {
	animation-delay: 0.05s;
}
.reveal-stagger.is-visible > *:nth-child(2) {
	animation-delay: 0.14s;
}
.reveal-stagger.is-visible > *:nth-child(3) {
	animation-delay: 0.23s;
}
.reveal-stagger.is-visible > *:nth-child(4) {
	animation-delay: 0.32s;
}
.reveal-stagger.is-visible > *:nth-child(5) {
	animation-delay: 0.41s;
}
.reveal-stagger.is-visible > *:nth-child(6) {
	animation-delay: 0.5s;
}

@keyframes revealPop {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* Gold shimmer sweep on the accent-gradient headline text */
.text-accent-gradient {
	background: linear-gradient(
		100deg,
		#a37d4c 0%,
		#e4c99a 35%,
		#fff6e2 50%,
		#e4c99a 65%,
		#a37d4c 100%
	);
	background-size: 220% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: goldSweep 6s ease-in-out infinite;
}

@keyframes goldSweep {
	0%,
	100% {
		background-position: 130% 0;
	}
	50% {
		background-position: -30% 0;
	}
}

/* Shimmer sweep across gold buttons on hover */
.btn-gold {
	position: relative;
	overflow: hidden;
}

.btn-gold::after {
	content: '';
	position: absolute;
	top: 0;
	left: -75%;
	width: 50%;
	height: 100%;
	background: linear-gradient(
		120deg,
		transparent,
		rgba(255, 255, 255, 0.55),
		transparent
	);
	transform: skewX(-20deg);
	transition: left 0.6s ease;
	pointer-events: none;
}

.btn-gold:hover::after {
	left: 125%;
}

/* Card tilt / lift (JS adds --rx/--ry) */
.premium-card,
.game-tile,
.news-card {
	transform-style: preserve-3d;
}

.tilt {
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg))
		translateY(-4px);
	transition: transform 0.15s ease-out;
}

/* Count-up: reserve space so numbers don't jump */
.stat-value {
	font-variant-numeric: tabular-nums;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
	.reveal,
	.reveal-stagger.is-visible > * {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
	}
	.text-accent-gradient {
		animation: none;
		background-position: 50% 0;
	}
	.btn-gold::after {
		display: none;
	}
	.tilt {
		transform: translateY(-4px);
	}
}
