/* Reset */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
.ref-title{
	color: #ffffff;
	margin-left: 10px;
}
/* Base Container */
.site-wrapper {
	width: 100%;
    /* Changed from 85% to 100% */
	max-width: 100%;
	/* Changed from 1600px to 100% */
	margin: 0;
	/* Remove auto margin */
	transform: none;
	/* Remove scale transform */
	transform-origin: initial;
	position: relative;
}

/* Body & HTML */
body {
	/* background-image: url('/desktop/assets/BACKGROUND-LOW.webp'); */
	/* background-size: cover; */
	/* background-position: center; */
	/* background-repeat: no-repeat; */
	/* background-attachment: fixed; */
	background: #000000;
	font-family: Arial, sans-serif;
	min-width: 1024px;
}

html {
	scroll-behavior: smooth;
}
.register-btn.action-button-header{
	margin: 0 5px;
	padding: 0 60px;
}
.action-button-logout{
	display: flex;
	background: linear-gradient(to bottom, #313131 0%, #F5F5F5 50%, #313131 100%);
	width: 6.5vw;
	max-width: 99px;
	height: 2.8vw;
	max-height: 44px;
	border-radius: 10px;
	font-size: large;
	color: #000000;
	text-decoration: none;
	align-items: center;
	justify-content: center;
	border: 1px solid #fff;
}
/* Header */
header {
	background-color: #1F1F1F;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	position: relative;
}

.header-content {
	width: 85%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo img {
	height: 100%;
	/* min-height: 28px; */
	max-height: 75px;
    /* width: 100%; */
	;
}

/* Header Right Section */
.header-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	/* gap: 0.5vw; */
}

.top-icons {
	display: flex;
	gap: 0.8vw;
	align-items: center;
	/* margin-bottom: 10px; */
}

.top-icons .livechat-icon,
.top-icons .flag-icon {
	height: 1.5vw;
	max-height: 26px;
	width: auto;
}

/* Login Form */
.login-form {
	display: flex;
	align-items: center;
	gap: 0.5vw;
}

.login-input {
	padding: 0.5vw 1vw;
	border-radius: 14px;
	border: none;
	width: 10vw;
	max-width: 194px;
	font-size: 0.9vw;
}

.login-input::placeholder{
	font-size: 15px;
}

.login-btn {
	background: #A82525;
	background-size: 100% 100%;
	border: none;
	width: 6.5vw;
	max-width: 99px;
	height: 2.8vw;
	max-height: 44px;
	cursor: pointer;
	border-radius: 10px;
	font-size: large;
	color: #fff;
}

.forget-password{
	color: #ffffff;
	text-decoration: none;
	font-size: large;
}

.register-btn {
	display: flex;
	margin-left: -0.2vw;
	transition: transform 0.3s ease;
	background: #A82525;
	width: 6.5vw;
	max-width: 99px;
	height: 2.8vw;
	max-height: 44px;
	border-radius: 10px;
	font-size: large;
	color: #ffffff;
	text-decoration: none;
	align-items: center;
	justify-content: center;
	border: 1px solid transparent;
}

.register-btn:hover {
	transform: scale(1.1);
	text-decoration: none;
}

.register-btn img {
	height: 2.8vw;
	max-height: 43px;
	width: 6.8vw;
	max-width: 103px;
}

/* Paggination History Taruhan */

#game-history-content nav{
	background: #fff;
}

nav ul.pagination{
	width: 100%;
}

nav ul.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 16px;
    margin: 0;
    font-family: Arial, sans-serif;
    flex-wrap: wrap;
}

nav ul.pagination li {
    margin: 0 3px;
}

nav ul.pagination li a,
nav ul.pagination li span {
    display: block;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    color: #000;
    font-size: 14px;
    transition: all 0.2s ease;
}

nav ul.pagination li a:hover {
    background-color: #f0f0f0;
    border-color: #888;
}

nav ul.pagination li.active span {
    font-weight: bold;
    background-color: #ddd;
    border-color: #000;
}

nav ul.pagination li.disabled span {
    color: #999;
    border-color: transparent;
    background: none;
    cursor: default;
}
@media screen and (max-width: 480px) {
    nav ul.pagination {
        flex-wrap: wrap;
        gap: 4px;
    }

    nav ul.pagination li a,
    nav ul.pagination li span {
        padding: 4px 8px;
        font-size: 12px;
    }
}

/* Navigation Bar */
.nav-bar {
	/* background-image: url('/desktop/assets/BAR MENU.webp'); */
	/* background-size: 100% 100%; */
	/* background-repeat: no-repeat; */
	background: #530000;
	width: 100%;
	position: relative;
	/* margin: -5px; */
	padding: 0 5%;
}

nav ul {
	width: 70%;
	margin: 0px auto;
	display: flex;
	justify-content: center;
	align-items: center;
	list-style: none;
	gap: 0;
	padding: 0px;
}

nav ul li {
	display: flex;
	align-items: center;
	gap: 3px;
	position: relative;
	height: 100%;
	color: #fff;
	padding: 5px 0;
}

nav ul li a {
	text-decoration: none;
	color: inherit;
}

.separator {
	height: 34px;
}

.forgot-section {
	display: flex;
	align-items: center;
	gap: 6px;
}

.forgot-text {
	height: 20px;
	margin-top: 6px;
}

.menu-item {
	display: flex;
	align-items: center;
	text-decoration: none;
	padding: 14px 5px;
	position: relative;
	z-index: 2;
	gap: 3px;
}

.menu-text {
	font-family: 'Bebas', sans-serif;
	color: #fff;
	font-size: 21px;
	/* font-weight: bold; */
	margin-left: 6px;
	white-space: nowrap;
}

/* Navigation Bar Adjustments */
.menu-item img{
	filter: invert(1) grayscale(1);
}
nav ul li img:not([src*="panahdownnavbar"]):not([src*="garispembatasnavbar"]) {
	height: 20px;
	width: auto;
	object-fit: contain;
}

nav ul li img[src*="panahdownnavbar"] {
	height: 0.6vw;
	max-height: 8px;
	width: auto;
	margin: 0 0.3vw;
	filter: invert(1) grayscale(1);
}

nav ul li img[src*="garispembatasnavbar"] {
	height: 1.5vw;
	max-height: 22px;
	width: 0.15vw;
	filter: invert(1) grayscale(1);
}

.arrow {
	margin-left: 2px;
}

/* .menu-text {
	font-family: 'Bebas', sans-serif;
	color: #000000;
	font-size: 1.1vw;
	font-weight: bold;
	margin-left: 0.4vw;
	white-space: nowrap;
} */

/* Dropdown Styles */
.dropdown {
	position: static;
}

.dropdown-content {
	display: none;
	position: absolute;
	/* width: 1897px; */
	top: 100%;
	left: 0;
	right: 0;
	background-color: #390000;
	z-index: 1000;
	margin-top: -5px;
	padding: 20px 0;
	border-top: 5px solid #ff0000;
    /* Menambahkan border atas kuning */
	border-bottom: 5px solid #ff0000;
 /* Menambahkan border bawah kuning */
	;
}

.dropdown:hover .dropdown-content {
	display: block;
}

.content-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 20px 40px;
	padding: 25px 50px;
}

.content-wrapper.slot {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 0;
	padding: 0;
	max-width: 1200px;
	margin: 0 auto;
}

.dropdown-content a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	cursor: pointer;
	padding-bottom: 15px;
	transition: all 0.3s ease;
}

.dropdown-content img {
	/* width: 120px !important; */
	height: 150px !important;
	object-fit: contain;
	transition: all 0.2s ease;
	filter: brightness(1);
	/* margin-bottom: 5px; */
}

.dropdown-content a:hover img {
	transform: scale(1.05);
	filter: brightness(1.2);
}

.dropdown-content a::after {
	content: attr(alt);
	color: white;
	font-size: 12px;
	font-weight: 500;
	text-align: center;
	/* margin-top: 8px; */
	text-transform: uppercase;
}


/* Banner Section */
.banner {
	width: 1140px;
	margin: 0 auto;
	line-height: 0;
}

.banner img {
	width: 1140px;
	height: 364px;
	display: block;
	margin: 0 auto;
}

/* Running Text */
.running-text-container {
	display: flex;
	align-items: center;
	background-color: rgba(0, 0, 0, 0.8);
	padding: 0.2vw 0.7vw;
	height: 1.8vw;
	margin-top: 0;
	border-top: 0.3vw solid #ff0000;
	position: relative;
	overflow: hidden;
	width: 1140px;
	margin: 0 auto;
}

.sound-icon {
	width: 1.2vw;
	height: auto;
	margin-left: -0.3vw;
	filter: brightness(0) invert(1);
	position: relative;
	z-index: 2;
}

.running-text {
	color: white;
	font-size: 0.8vw;
	white-space: nowrap;
	position: absolute;
	left: 0;
	top: 20%;
	transform: translateY(-50%);
	animation: marquee 20s linear infinite;
}

/* Sidenav */
.sidenav {
	position: fixed;
	top: 190px;
	right: 0%;
	z-index: 1000;
	width: 76px;
	overflow: hidden;
	transition: width 0.3s ease;
	transform-origin: right;
}

.sidenav:hover {
	width: 331px;
}

.sidenav-item {
	display: block;
	width: 333px;
	margin-left: auto;
 /* Memastikan konten berada di sisi kanan */
	;
}

.sidenav-item img {
	width: 100%;
	height: auto;
	display: block;
	margin-left: auto;
 /* Memastikan gambar berada di sisi kanan */
	;
}


/* Animations */
@keyframes marquee {
	0% {
		transform: translateX(100%);
	}

	100% {
		transform: translateX(-100%);
	}
}

@keyframes countUp {
	0% {
		content: "2.316.258.889.000";
	}

	25% {
		content: "2.316.258.999.999";
	}

	50% {
		content: "2.316.259.111.111";
	}

	75% {
		content: "2.316.259.222.222";
	}

	100% {
		content: "2.316.258.889.000";
	}
}

/* Page Structure */
.page-wrapper {
	position: relative;
	/* min-height: 100vh; */
	display: flex;
	flex-direction: column;
}

.main-content {
	flex: 1;
	position: relative;
	z-index: 1;
}
@media screen and (max-width: 1600px) {
    header {
        padding: 0.8% 12%;
    }

    .logo img {
        height: 42px;
        width: auto;
        min-height: 25px;
        max-height: 42px;
    }

    .header-right {
        gap: 0.4vw;
    }

    .top-icons {
        gap: 0.6vw;
    }

    .top-icons .livechat-icon,
    .top-icons .flag-icon {
        height: 1.3vw;
        max-height: 22px;
    }

    .login-input {
        padding: 0.4vw 0.8vw;
        font-size: 0.8vw;
        width: 9vw;
        max-width: 170px;
    }

    .login-btn {
        width: 5.8vw;
        max-width: 90px;
        height: 2.5vw;
        max-height: 40px;
    }

    .register-btn img {
        height: 2.5vw;
        max-height: 40px;
        width: 6vw;
        max-width: 95px;
    }

    .separator {
        height: 30px;
    }

    .forgot-text {
        height: 18px;
        margin-top: 5px;
    }
    .nav-bar {
        padding: 0 5.9%;
        margin: -5px;
    }
    .menu-text {
		font-size: 1.3vw;
	}
	nav ul li img:not([src*="panahdownnavbar"]):not([src*="garispembatasnavbar"]) {
		height: 1.7vw;
		max-height: 125px;
	}
	.dropdown-content img {
		width: 140px !important;
		height: 150px !important;
		transform: scale(1.2);
  /* Memperbesar gambar */
		object-fit: contain;
		transition: all 0.2s ease;
		filter: brightness(1);
		margin-bottom: 5px;
	}

	.dropdown-content a {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-decoration: none;
		cursor: pointer;
		padding: 8px;
		transition: all 0.3s ease;
	}

	.content-wrapper {
		max-width: 1200px;
		margin: 0 auto;
		display: grid;
		grid-template-columns: repeat(7, 1fr);
		gap: 20px 40px;
		padding: 25px 50px;
	}

	.content-wrapper.slot {
		display: grid;
		grid-template-columns: repeat(6, 1fr);
		gap:3px;
		padding: 30px 30px;
		max-width: 1200px;
		margin: 0 auto;
	}

	.dropdown:hover .dropdown-content {
		display: block;
        width: 99.5%;
	}

	.dropdown-content a:hover img {
		transform: scale(1.05);
		filter: brightness(1.2);
	}

	.dropdown-content a::after {
		content: attr(alt);
		color: white;
		font-size: 12px;
		font-weight: 500;
		text-align: center;
		margin-top: 8px;
		text-transform: uppercase;
	}

	.site-wrapper {
		width: 100%;
		transform: none;
	}

	header {
		padding: 1% 15%;
	}

	.sidenav {
		right: 0px;
		top: 150px;
	}
}

@media screen and (max-width: 1366px) {
    .nav-bar {
        padding: 12px 5%;
        margin: -4px;
    }
    .menu-text {
        font-size: 1.2vw;
    }
    nav ul li img:not([src*="panahdownnavbar"]):not([src*="garispembatasnavbar"]) {
        height: 1.6vw;
        max-height: 115px;
    }
    .dropdown-content img {
        width: 120px !important;
        height: 130px !important;
        transform: scale(1.1);
        object-fit: contain;
        transition: all 0.2s ease;
        filter: brightness(1);
        margin-bottom: 5px;
    }
    .content-wrapper {
        max-width: 1000px;
        gap: 15px 30px;
        padding: 20px 40px;
    }
    .content-wrapper.slot {
        gap: 70px 8px;
        padding: 25px 25px;
        max-width: 1000px;
    }
    .dropdown:hover .dropdown-content {
        display: block;
        width: 99.2%;
    }
    .dropdown-content a::after {
        font-size: 11px;
    }
    header {
        padding: 1% 12%;
    }
    .sidenav {
        right: -160px;
        top: 130px;
    }
}
