@import url('https://fonts.googleapis.com/css2?family=Konkhmer+Sleokchher&family=Sofia+Sans+Semi+Condensed:wght@900&family=Sofia+Sans:wght@900&display=swap');

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

html,
body {
	width: 100%;
	min-height: 100%;
	overflow-x: hidden;
}

/* ── LANDING ── */
.rl-landing {
	position: relative;
	width: 100%;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
	background: #0a2a0a;
}

.rl-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.rl-bg__green {
	position: absolute;
	inset: 0;
	background-image: var(--img-bg-green);
	background-size: cover;
	background-position: center top;
}
.rl-bg__casino {
	position: absolute;
	inset: 0;
	background-image: var(--img-bg-casino);
	background-size: cover;
	background-position: center top;
	opacity: 0.55;
}

/* ── TOP CARD ── */
.rl-topcard {
	position: relative;
	z-index: 2;
	margin-top: clamp(16px, 4vw, 40px);
	width: clamp(220px, 86vw, 393px);
	background: linear-gradient(180deg, #136908 0%, #052d08 100%);
	border: 8px solid #fff;
	border-radius: 44px;
	opacity: 0.84;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: clamp(10px, 3vw, 20px) clamp(8px, 2vw, 16px) clamp(12px, 3vw, 20px);
	gap: 6px;
}
.rl-topcard__introduces {
	font-family: 'Konkhmer Sleokchher', serif;
	font-size: clamp(14px, 4vw, 28px);
	color: #fff;
	text-align: center;
	letter-spacing: 0.04em;
}
.rl-topcard__logo-rr {
	width: 100%;
	max-width: clamp(130px, 70%, 260px);
	height: auto;
}
.rl-topcard__logo-7r {
	width: 100%;
	max-width: clamp(120px, 65%, 240px);
	height: auto;
}

/* ── SUBTITLE BANNER ── */
.rl-subtitle {
	position: relative;
	z-index: 2;
	width: min(100%, 720px);
	margin-top: clamp(-10px, -1vw, 0px);
	background: linear-gradient(0deg, #052d08 0%, #136908 100%);
	opacity: 0.84;
	padding: clamp(6px, 1.5vw, 12px) clamp(12px, 3vw, 24px);
}
.rl-subtitle__text {
	font-family: 'Konkhmer Sleokchher', serif;
	font-size: clamp(14px, 4.7vw, 34px);
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	line-height: 1.21;
}

/* ── CHARS ── */
.rl-chars {
	position: absolute;
	z-index: 1;
	inset: 0;
	pointer-events: none;
}
.rl-chars__left {
	position: absolute;
	left: clamp(-60px, -8vw, 0px);
	bottom: clamp(80px, 15vw, 200px);
	width: clamp(100px, 30vw, 220px);
	height: auto;
}
.rl-chars__right {
	position: absolute;
	right: clamp(-60px, -8vw, 0px);
	bottom: clamp(80px, 15vw, 200px);
	width: clamp(100px, 30vw, 220px);
	height: auto;
}

/* ── WHEEL ── */
.rl-wheel-wrap {
	position: relative;
	z-index: 3;
	margin-top: clamp(10px, 3vw, 30px);
	width: clamp(260px, 88vw, 520px);
	height: clamp(260px, 88vw, 520px);
	flex-shrink: 0;
}
.rl-wheel__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
}
.rl-wheel__inner {
	position: absolute;
	inset: 8%;
	width: 84%;
	height: 84%;
	object-fit: contain;
	transform-origin: center center;
	transition: transform 0s;
	will-change: transform;
}
.rl-wheel__inner--spinning {
	transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 1);
}
.rl-wheel__overlay {
	position: absolute;
	inset: 2%;
	width: 96%;
	height: 96%;
	object-fit: contain;
	pointer-events: none;
}
.rl-wheel__badge {
	position: absolute;
	top: -8%;
	left: 50%;
	transform: translateX(-50%);
	width: 16%;
	height: auto;
	pointer-events: none;
}
.rl-wheel__btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 26%;
	height: 26%;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 50%, #136908 0%, #052d08 100%);
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	-webkit-tap-highlight-color: transparent;
}
.rl-wheel__btn-text {
	font-family: 'Sofia Sans Semi Condensed', 'Sofia Sans', sans-serif;
	font-weight: 900;
	font-size: clamp(14px, 4.5vw, 28px);
	text-transform: uppercase;
	background: linear-gradient(180deg, #fff 13%, #fff66a 53%, #ff8a00 92%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	-webkit-text-stroke: 0.5px rgba(102, 0, 0, 0.4);
	line-height: 1;
	text-shadow: none;
	filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

/* ── BOTTOM STRIP ── */
.rl-bottom {
	position: relative;
	z-index: 3;
	width: min(100%, 720px);
	margin-top: auto;
	flex-shrink: 0;
}
.rl-bottom__strip {
	width: 100%;
	height: auto;
	display: block;
}
.rl-bottom__spin-label {
	position: absolute;
	bottom: 38%;
	left: 50%;
	transform: translateX(-50%);
	font-family:
		'SF Compact',
		'SF Pro',
		-apple-system,
		BlinkMacSystemFont,
		sans-serif;
	font-weight: 900;
	font-size: clamp(20px, 6vw, 44px);
	text-transform: uppercase;
	text-align: center;
	white-space: nowrap;
	background: linear-gradient(180deg, #ffba00 13%, #fff66a 53%, #ff8a00 92%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	-webkit-text-stroke: 1px rgba(102, 0, 0, 0.4);
	filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}
.rl-bottom__trustpilot {
	width: clamp(80px, 25vw, 160px);
	height: auto;
	position: absolute;
	bottom: 4%;
	left: 50%;
	transform: translateX(-50%);
}

/* ── POPUP ── */
.rl-popup-overlay {
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: rgba(0, 0, 0, 0.67);
	display: none;
	align-items: center;
	justify-content: center;
	padding: clamp(12px, 3vw, 40px);
}
.rl-popup-overlay--visible {
	display: flex;
}

.rl-popup {
	position: relative;
	display: flex;
	align-items: stretch;
	gap: clamp(8px, 2vw, 24px);
	width: 100%;
	max-width: min(96vw, 900px);
	max-height: 96svh;
}

/* left card */
.rl-popup__card {
	position: relative;
	flex: 1 1 auto;
	background: linear-gradient(180deg, #136908 0%, #052d08 100%);
	border: 5px solid #fff;
	border-radius: 74px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: clamp(12px, 3vw, 32px) clamp(12px, 3vw, 28px) clamp(16px, 4vw, 36px);
	gap: clamp(4px, 1vw, 10px);
}
.rl-popup__banner {
	width: 100%;
	max-width: clamp(180px, 70%, 340px);
	height: auto;
}
.rl-popup__congrats {
	font-family:
		'SF Compact',
		'SF Pro',
		-apple-system,
		sans-serif;
	font-weight: 900;
	font-size: clamp(16px, 4vw, 32px);
	text-transform: uppercase;
	text-align: center;
	background: linear-gradient(180deg, #ffba00 0%, #fff66a 1%, #ff8a00 8%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	-webkit-text-stroke: 1px rgba(102, 0, 0, 0.76);
	filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.58));
}
.rl-popup__won {
	font-family: 'Konkhmer Sleokchher', serif;
	font-size: clamp(13px, 3.2vw, 26px);
	text-transform: uppercase;
	text-align: center;
	line-height: 1.21;
	background: linear-gradient(180deg, #f4f4ea 10%, #e8dab9 75%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}
.rl-popup__in-canada {
	font-family:
		'SF Compact',
		'SF Pro',
		-apple-system,
		sans-serif;
	font-weight: 900;
	font-size: clamp(14px, 3.5vw, 28px);
	text-transform: uppercase;
	text-align: center;
	background: linear-gradient(180deg, #f4f4ea 10%, #e8dab9 75%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}
.rl-popup__the-biggest {
	font-family:
		'SF Compact',
		'SF Pro',
		-apple-system,
		sans-serif;
	font-weight: 900;
	font-size: clamp(14px, 3.8vw, 30px);
	text-transform: uppercase;
	text-align: center;
	background: linear-gradient(180deg, #f3dd68 10%, #f1bc1f 75%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	-webkit-text-stroke: 0.5px #860000;
	filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}
.rl-popup__welcome-bonus {
	font-family:
		'SF Compact',
		'SF Pro',
		-apple-system,
		sans-serif;
	font-weight: 900;
	font-size: clamp(16px, 4.5vw, 36px);
	text-transform: uppercase;
	text-align: center;
	background: linear-gradient(180deg, #f3dd68 10%, #f1bc1f 75%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	-webkit-text-stroke: 0.5px #860000;
	filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}
.rl-popup__rewards {
	font-family: 'Konkhmer Sleokchher', serif;
	font-size: clamp(10px, 2.2vw, 18px);
	text-transform: uppercase;
	text-align: center;
	line-height: 1.21;
	color: #fff;
	filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}
.rl-popup__sparkles {
	position: absolute;
	width: 22%;
	height: auto;
	pointer-events: none;
}
.rl-popup__sparkles--left {
	top: 38%;
	left: 2%;
}
.rl-popup__sparkles--right {
	top: 38%;
	right: 2%;
}

/* claim button */
.rl-popup__btn-wrap {
	position: relative;
	width: clamp(160px, 50%, 280px);
	aspect-ratio: 1;
	flex-shrink: 0;
	cursor: pointer;
	margin-top: clamp(4px, 1vw, 10px);
}
.rl-popup__btn-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.rl-popup__btn-label {
	position: absolute;
	bottom: 43%;
	left: 50%;
	transform: translateX(-50%);
	font-family:
		'SF Compact',
		'SF Pro',
		-apple-system,
		sans-serif;
	font-weight: 900;
	font-size: clamp(12px, 3.5vw, 22px);
	text-transform: uppercase;
	text-align: center;
	white-space: nowrap;
	color: #470000;
	pointer-events: none;
}

/* right bonuses */
.rl-popup__bonuses {
	display: flex;
	flex-direction: column;
	gap: clamp(4px, 1vw, 10px);
	justify-content: center;
	flex-shrink: 0;
	width: clamp(90px, 22vw, 200px);
}
.rl-popup__bonus-img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
}

/* ── Mobile: stack popup vertically ── */
@media (max-width: 600px) {
	.rl-popup {
		flex-direction: column;
		align-items: center;
		overflow-y: auto;
		gap: 8px;
	}
	.rl-popup__bonuses {
		flex-direction: row;
		width: 100%;
	}
	.rl-popup__bonus-img {
		flex: 1;
	}
	.rl-popup__card {
		border-radius: 32px;
		width: 100%;
	}
}
