/*--------------------------------------------------------------
# RTP Games Grid
--------------------------------------------------------------*/
.rtp-games-grid {
	display: grid;
	/* For mobile: 3 columns */
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem; /* Reduced gap for mobile */
	padding: 1rem;
}

/* For desktop: auto-fill with a minimum size */
@media (min-width: 769px) {
	.rtp-games-grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 1.5rem;
	}
}

.rtp-game-card {
	background-color: var(--color-background-alt);
	border: 1px solid var(--color-border);
	border-radius: 8px;
	overflow: hidden;
	text-align: center;
	transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
	display: flex;
	flex-direction: column;
}

.rtp-game-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rtp-game-thumbnail {
	margin: 0;
	position: relative; /* Needed for child positioning */
	overflow: hidden;
}

/* Default styles for mobile images (thumbnail_v2) */
.rtp-game-thumbnail img {
	display: block;
	width: 100%;
	height: auto; /* Let the image define its own height */
	object-fit: cover;
}

/* Desktop styles: force a portrait aspect ratio */
@media (min-width: 769px) {
	.rtp-game-thumbnail {
		padding-top: 125%; /* 4:5 Aspect Ratio - Taller than it is wide */
	}

	.rtp-game-thumbnail img {
		position: absolute;
		top: 0;
		left: 0;
		height: 100%;
		object-fit: cover; /* Back to cover, but now with a taller container */
	}

	/* Hide the button by default on desktop */
	.rtp-game-card .rtp-view-button-container {
		opacity: 0;
	}

	/* Show the button on hover */
	.rtp-game-card:hover .rtp-view-button-container {
		opacity: 1;
	}
}

.rtp-view-button-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 0; /* Hidden by default on all devices */
	transition: opacity 0.3s ease;
	pointer-events: none; /* Ignore clicks when hidden */
}

/* Class to show the button via JS */
.rtp-view-button-container.show-button {
	opacity: 1;
	pointer-events: auto; /* Allow clicks when visible */
}

.rtp-view-button {
	background-color: #fff;
	color: #111;
	border: none;
	padding: 0.5rem 1.5rem;
	border-radius: 20px;
	cursor: pointer;
	font-weight: bold;
}


.rtp-game-placeholder-image {
	width: 100%;
	height: 100%;
	background-color: #e0e0e0;
	position: absolute;
	top: 0;
	left: 0;
}

.rtp-game-title {
	font-size: 0.7rem; 
	margin: 0;
	padding: 0.5rem; 
	background-color: var(--color-background);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-top: auto; 
}

html[data-theme="dark"] .rtp-game-card:hover {
	box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .rtp-game-placeholder-image {
	background-color: #444;
}

/*--------------------------------------------------------------
# RTP Search Bar
--------------------------------------------------------------*/
.rtp-search-container {
	padding: 0 1rem 1rem;
}

#rtp-game-search {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--color-border);
	border-radius: 6px;
	background-color: var(--color-background-alt);
	color: var(--color-text);
	font-size: 1rem;
	box-sizing: border-box;
}

#rtp-game-search:focus {
	outline: 2px solid var(--color-link);
	outline-offset: -1px;
}


/*--------------------------------------------------------------
# RTP Progress Bar
--------------------------------------------------------------*/
.rtp-progress-bar-container {
	margin: 0.5rem 0.75rem;
	background-color: #333;
	border-radius: 20px;
	height: 22px;
	border: 2px solid #555;
	padding: 2px;
	box-sizing: border-box;
}

.rtp-progress-bar-inner {
	position: relative;
	background-color: red; /* Default/Low color */
	width: 0%; /* Will be set by JS */
	height: 100%;
	border-radius: 12px;
	transition: width 0.5s ease-in-out, background-color 0.5s ease-in-out;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

/* Color Modifiers */
.rtp-progress-bar-inner.rtp-bar--low {
	background-color: #e53935; /* Red */
}
.rtp-progress-bar-inner.rtp-bar--medium {
	background-color: #fdd835; /* Yellow */
}
.rtp-progress-bar-inner.rtp-bar--high {
	background-color: #43a047; /* Green */
}

.rtp-progress-bar-percentage {
	color: rgb(0, 0, 0);
	font-size: 0.75rem;
	font-weight: bold;
	padding-left: 8px;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Fire effect */
.rtp-progress-bar-inner::after {
	content: '';
	position: absolute;
	/* Position it above the bar, aligned to the right end */
	right: 5px;
	top: -15px;
	width: 15px;
	height: 15px;
	background: currentColor; /* Inherits the bar's color */
	/* A downward pointing arrow */
	clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
}

/*--------------------------------------------------------------
# RTP Popup Modal
--------------------------------------------------------------*/
.popup-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	display: none; /* shown via JS */
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.popup-body {
	background-color: #1e1e1e;
	color: #fff;
	border-radius: 10px;
	width: 90%;
	max-width: 480px;
	max-height: 90%;
	overflow: hidden;
	position: relative;
	border: 1px solid #333;
}

.popup-close {
	position: absolute;
	top: 8px;
	right: 10px;
	cursor: pointer;
	color: #fff;
	font-size: 1.25rem;
}

#popup-container-win .popup-header {
	background: #2b2b2b;
	border-bottom: 1px solid #333;
	padding: 10px 14px;
}

#popup-container-win .popup-header h6 {
	margin: 0;
	color: #fff;
}

#popup-container-win .popup-content {
	padding: 12px 16px;
	color: #a3a3a3;
}

#popup-container-win .popup-body-body {
	padding: 0 16px 12px;
}

#popup-container-win .popup-label {
	text-align: center;
	padding: 10px 12px;
	font-weight: 700;
}

/* Slideshow styling inside popup */
#popup-container-win .slideshow-containerText {
	position: relative;
	background: #f5db00;
	color: #000;
	border-radius: 6px;
	padding: 12px 16px 30px; /* extra bottom for arrows */
	margin: 8px 12px;
}

#popup-container-win .mySlidesText {
	display: none;
	text-align: center;
}

#popup-container-win .sliderTextTitle {
	margin: 0 0 8px;
	font-weight: 700;
	color: #000;
}

#popup-container-win .prevText,
#popup-container-win .nextText {
	position: absolute;
	bottom: 6px;
	color: #000;
	font-size: 18px;
	padding: 4px 8px;
	cursor: pointer;
	user-select: none;
}

#popup-container-win .prevText { left: 10px; }
#popup-container-win .nextText { right: 10px; }

#popup-container-win .row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 0;
	padding: 6px 0;
}

#popup-container-win .col2 {
	flex: 0 0 50%;
}

#popup-container-win .left {
	color: #cccccc;
}

#popup-container-win .right {
	text-align: right;
	color: #ffffff;
}

#popup-container-win .hr {
	width: 100%;
	height: 1px;
	background: #333;
	margin-top: 6px;
}

#popup-container-win .mrtop10 {
	margin-top: 10px;
}

#popup-container-win .title-popup {
    color: #dfbb06;
}
.slot-carousel__img-container.provider--promo[data-v-3e367a1c]:before {
    content: "";
    filter: drop-shadow(.1rem .1rem .1rem #060d18);
    background: 0 100%/contain no-repeat url(https://cdn-proxy.globalcontentcloud.com/common/default/ribbons/provider-promo.svg);
}


.slot-carousel__img-container[data-v-3e367a1c]:before {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
}
.slot .card {
    padding: .25rem 0;
}


.card--light {
    background-color: #004cbd;
    border: 1px solid #002fff;
}


.card--full {
	display: grid;
	align-items: center;
	grid-template-rows: auto 1fr auto;
}

.card {
	position: relative;
	z-index: 2;
	overflow: hidden; /* Ini akan "memotong" carousel yang meluber */
	padding-bottom: 1rem;
	width: 100%; /* Pastikan lebar tetap 100% dari parent */
	border-radius: 20px 20px 0 0;
    padding-top: 1rem;
}
.card__body {
	max-width: 100%;
}
.carousel[data-v-4f72f8a2], .carousel__control[data-v-4f72f8a2] {
    position: relative;
    align-items: center;
}
.carousel[data-v-4f72f8a2] {
    display: grid;
    overflow: hidden;
    grid-template-columns: auto 1fr auto;
}

.carousel__prev[data-v-4f72f8a2] {
    padding-left: .25rem;
}

.carousel__control--disabled[data-v-4f72f8a2] {
	pointer-events: none;
	color: hsla(0,0%,100%,.38);
}
.carousel__control[data-v-4f72f8a2] {
	display: flex;
	width: 1.5rem;
	height: 4rem;
	cursor: pointer;
	color: #dfbb06;
	z-index: 2;
}

/* Hapus gaya font icon lama */
/* .carousel__control.highlight[data-v-4f72f8a2]:before { ... } */
/* [class*=" icon-"], [class^=icon-] { ... } */
/* .carousel__prev[data-v-4f72f8a2]:before { ... } */
/* .carousel__next[data-v-4f72f8a2]:before { ... } */
/* .carousel__control i[data-v-4f72f8a2] { ... } */

/* Tambahkan gaya baru untuk SVG */
.carousel__control svg {
	width: 1.5rem;
	height: 1.5rem;
	margin: auto; /* Pusatkan SVG di dalam tombol */
}

.carousel__inner[data-v-4f72f8a2] {
	overflow: hidden;
}
.carousel__container.transition[data-v-4f72f8a2] {
    transition: transform .3s ease-out;
}
.carousel__container[data-v-4f72f8a2] {
    display: flex;
}
.slot-carousel__group[data-v-3e367a1c] {
    width: 100%;
    display: grid;
    flex-shrink: 0;
    align-content: start;
    grid-auto-flow: column;
    grid-template-rows: repeat(3,minmax(0,1fr));
    grid-template-columns: repeat(5,minmax(0,1fr));
}
.slot-carousel__item[data-v-3e367a1c] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
a {
    color: inherit;
    font-size: .875rem;
    text-decoration: none;
    vertical-align: middle;
}
.slot-carousel__img-container[data-v-3e367a1c] {
    position: relative;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #060d18;
    border-radius: 50%;
    border: 1px solid #060d18;
}
.slot-carousel__img-container img[data-v-3e367a1c] {
    width: 100%;
}
.slot-carousel__item span[data-v-3e367a1c] {
    width: 100%;
    font-weight: 500;
    text-align: center;
    font-size: .625rem;
    margin-top: .125rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.carousel__next[data-v-4f72f8a2] {
    padding-right: .25rem;
    justify-content: flex-end;
}

.carousel__next[data-v-4f72f8a2]:before {
    right: 0;
    transform: rotate(180deg);
}
.page-title{
    text-align: center;
}

.rtp-countdown {
	margin: 0.5rem auto 1rem;
	max-width: 640px;
	background: #1f2937;
	border: 1px solid #374151;
	color: #e5e7eb;
	border-radius: 8px;
	padding: 8px 12px;
	display: flex;
	gap: 8px;
	justify-content: center;
	align-items: center;
}

.rtp-countdown #rtp-countdown-label {
	opacity: 0.85;
}

.rtp-countdown #rtp-countdown-timer {
	font-weight: 700;
	color: #f59e0b;
}

.rtp-breadcrumbs {
    max-width: 960px;
    margin: 0.25rem auto 0.75rem;
    padding: 0 12px;
}

.breadcrumbs-pill .bc-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 6px;
    margin: 0;
    background: #e6f0ff;
    border-radius: 999px;
}

.breadcrumbs-pill .bc-item a,
.breadcrumbs-pill .bc-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    background: linear-gradient(180deg, #4f8dfd 0%, #3f7eef 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .5px;
    text-transform: uppercase;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), 0 4px 14px rgba(63,126,239,.35);
}

.breadcrumbs-pill .bc-item a:hover {
    filter: brightness(1.05);
}

.breadcrumbs-pill .bc-home a {
    width: 50px;
    padding: 0;
}

.breadcrumbs-pill .bc-current span {
    background: #e6f0ff;
    color: #000000;
    box-shadow: none;
}
.slot-carousel__by-habanero img[data-v-3e367a1c], .slot-carousel__by-pragmatic img[data-v-3e367a1c] {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    filter: drop-shadow(0 0 .2rem #060d18);
}
.slot-carousel__by-habanero[data-v-3e367a1c], .slot-carousel__by-pragmatic[data-v-3e367a1c] {
    position: absolute;
    right: -22%;
    bottom: -5px;
    width: 2rem;
    height: 2rem;
}