body {
	background: linear-gradient(45deg, #1a1a1a, #2d2d2d, #1a1a1a);
	background-attachment: fixed;
	color: #ffffff;
	font-family: "Arial", sans-serif;
	min-height: 100vh;
	position: relative;
}

body::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url("../images/background-body.png") no-repeat;
	pointer-events: none;
	z-index: -1;
	background-size: cover;
}

#header-bg {
	position: relative;
	width: 100%;
	height: 750px;
}

#header-bg::after {
	content: "";
	position: absolute;
	top: 35px;
	left: 0;
	width: 100%;
	height: 100%;
	background: url("../images/background-clouds.png") no-repeat;
	pointer-events: none;
	z-index: -1;
	background-size: cover;
	background-position: bottom;
}
/* Initial image background */
.header-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* opacity: 0; */
	transition: opacity 1s ease-in-out;
}

/* Video background (hidden initially) */
.header-video {
	width: 100%;
	height: 100%;
	object-fit: fill;
	transition: opacity 1s ease-in-out;
	position: absolute;
	top: -40px;
	z-index: -1;
}

/* When video is ready, show it and hide image */
.video-ready .header-image {
	opacity: 0;
}

.video-ready .header-video {
	opacity: 0.7;
}

/* Loading indicator */
.loading-indicator {
	position: absolute;
	bottom: 20px;
	right: 20px;
	background: rgba(0, 191, 255, 0.8);
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 12px;
	opacity: 1;
	transition: opacity 0.5s ease;
}

.loading-indicator.hidden {
	opacity: 0;
}
∂
/* Header Navigation */
.top-nav {
	/*! background: rgba(0, 0, 0, 0.8); */
	/*! border-radius: 10px; */
	/*! backdrop-filter: blur(10px); */
	/*! border: 1px solid rgba(255, 255, 255, 0.1); */
	margin-bottom: 20px;
	padding: 10px;
	position: absolute !important;
}

.nav-btn {
	background: linear-gradient(45deg, #e0e5e5, #e0e5e5);
	border: none;
	color: #522c12;
	padding: 8px 15px;
	border-radius: 5px;
	font-size: 17px;
	font-weight: bold;
	transition: all 0.3s;
}

.nav-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* Logo */
.logo {
	text-align: center;
	font-size: 24px;
	font-weight: bold;
	color: #ff6b35;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
	margin-bottom: 20px;
}

.download-client {
	background: url("../images/btn-download-client.png") no-repeat;
	width: 300px;
	height: 196px;
	z-index: 5;
	position: relative;
	background-size: contain;
}

/* Login Section */
.login-wrapper {
	right: 20%;
	position: absolute !important;
	top: 6%;
}

.login-section {
	width: 248px;
	background: #e0e5e5;
	padding-top: 20px;
	backdrop-filter: blur(5px);
	margin-left: auto;
	margin-right: auto;
	margin-top: -25px;
	position: relative;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 5px;
	color: black;
}

.login-title {
	background: linear-gradient(45deg, #ffd700, #ffb347);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-weight: bold;
	font-size: 18px;
	text-align: center;
	margin-bottom: 15px;
}

.login-input {
	background: rgba(255, 255, 255, 0.9);
	border: 3px solid #d3dae1;
	border-radius: 5px;
	padding: 8px;
	margin-bottom: 10px;
	width: 100%;
	font-size: 13px;
}

.login-btn {
	background: linear-gradient(45deg, #00bfff, #1e90ff);
	border: none;
	color: white;
	padding: 8px 20px;
	border-radius: 5px;
	margin-left: auto;
	font-weight: bold;
	margin-right: auto;
	position: relative;
	display: flex;
}

.login-btn:hover {
	background: linear-gradient(45deg, #1e90ff, #00bfff);
}

/* Main Content */
.main-content {
	margin-top: 20px;
}

/* Boxed Layout for PC and Tablet */
.boxed-container {
	max-width: 1920px;
	margin: 0 auto;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 15px;
	padding: 20px;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-section {
	background: rgba(0, 0, 0, 0.7);
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
}

.section-title-webfeatures {
	background: url("../images/label-web-features.png") no-repeat;
	width: 256px;
	height: 48px;
}

.section-title-latestnews {
	background: url("../images/label-latest-news.png") no-repeat;
	width: 234px;
	height: 47px;
}

/* Web Features */
.feature-btn {
	padding: 8px 15px;
	margin: 5px;
	border-radius: 5px;
	border: none;
	font-weight: bold;
	transition: all 0.3s;
}

.btn-manage {
	background: linear-gradient(45deg, #00bfff, #1e90ff);
	color: white;
}

.btn-quest {
	background: linear-gradient(45deg, #dc3545, #c82333);
	color: white;
}

.btn-exchange {
	background: linear-gradient(45deg, #28a745, #218838);
	color: white;
}

.btn-drop {
	background: linear-gradient(45deg, #e83e8c, #d63384);
	color: white;
}

.btn-whisper {
	background: linear-gradient(45deg, #ffc107, #e0a800);
	color: black;
}

.feature-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* News Section */
.news-item {
	border-bottom: 1px dashed #464545;
	padding-top: 15px;
	padding-right: 15px;
	padding-bottom: 15px;
	padding-left: 10px;
}
.news-item > a {
	text-decoration: none !important;
	color: white !important;
}

.news-item:hover {
	background-color: #9d9083;
	color: white;
	cursor: pointer;
}

.news-badge {
	background: #dc3545;
	color: white;
	padding: 2px 8px;
	border-radius: 12px;
	font-size: 15px;
	font-weight: bold;
	margin-right: 10px;
}

.news-badge.event {
	background: #28a745;
}

.news-badge.update {
	background: #17a2b8;
}
.news-arrow {
	background: url("../images/icon-arrow.png") no-repeat;
	width: 30px;
	height: 30px;
}
.news-date {
	margin-right: 10px;
}
/* Right Sidebar */
.right-sidebar {
	background: rgba(0, 0, 0, 0.7);
	border-radius: 10px;
	padding: 15px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
}

.server-status {
	background: #f8fbfb;
	border-radius: 8px;
	padding: 10px;
	margin-bottom: 15px;
	color: #7d7d7f;
}

.guild-table {
	width: 100%;
	font-size: 12px;
}

.guild-table th {
	padding: 8px 4px;
	text-align: center;
	border-bottom: 2px solid black;
}

.guild-table td {
	background: rgba(255, 255, 255, 0.05);
	padding: 5px 4px;
	text-align: center;
	border-bottom: 1px solid rgba(21, 21, 21, 0.1);
}

.discord-widget {
	background: #5865f2;
	border-radius: 8px;
	padding: 10px;
	margin-top: 15px;
	text-align: center;
}

/* Footer */
footer {
	margin-top: 100px;
}
.footer-section {
	background: url("../images/background-footer.png") no-repeat;
	background-size: auto;
	height: 260px;
	z-index: 5;
	position: relative;
	background-size: contain;
	padding-top: 20px;
}

.footer-content {
	padding: 3rem;
}

.label-spec {
	font-size: 12px;
	color: black;
}
.vertical-line {
	border-left: 2px solid #baa892;
	margin-left: 10px;
}
/* Make sure top content is above the background */
.top-nav,
.navbar,
.logo {
	position: relative;
	z-index: 1;
	margin-top: -3px;
}
.guild-section {
	background-color: #ffffff;
	color: #24221c;
	border-radius: 10px;
}
.nav-active-tab {
	background-color: #ffc107 !important;
	color: white;
}
.nav-active-tab:hover {
	background-color: #ffc107 !important;
	color: white;
}
.nav-tab {
	background-color: #ffffff;
}

.nav-active-tab::after {
	content: "";
	position: relative;
	bottom: -30px;
	left: -25%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 8px solid #ffc107; /* Bootstrap warning color */
	z-index: 10;
}

.guild-table {
	margin-top: 8px; /* Add some space for the arrow */
}

/* Optional: Add hover effect */
.btn-secondary:hover::after {
	content: "";
	position: absolute;
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 8px solid #6c757d; /* Bootstrap secondary color */
	opacity: 0.5;
}

.logo-pcgame {
	margin-left: -3%;
	margin-top: 2%;
}

#content-area {
	min-height: 500px;
}

a {
	text-decoration: none;
}

.qris-img {
	width: 110%;
}

@media (max-width: 1920px) {
	.label-spec {
		display: none;
	}

	iframe {
		width: 350px;
	}

	.logo-qris-container {
		width: 80%;
	}

	.logo-qris {
		margin-right: 20px;
		width: 20%;
		margin-top: -2%;
	}

	.qris-img {
		width: 130%;
	}

	.label-spec-container {
		width: 20%;
	}

	#header-bg {
		height: 600px;
	}

	.header-video {
		top: -40px;
	}

	#header-bg::after {
		top: 35px;
	}
}

@media (max-width: 1366px) {
	iframe {
		width: 250px;
	}
}

@media (max-width: 992px) {
	.feature-btn {
		width: 100%;
		margin: 5px 0;
		display: block;
	}
	iframe {
		width: 170px;
	}
	.label-spec,
	.logo-pcgame {
		display: none;
	}
	.footer-section {
		padding-top: -10px !important;
	}

	.footer-content {
		padding: 0;
	}
	.label-spec {
		display: none;
	}

	.logo-qris-container {
		width: 100%;
	}

	.logo-qris {
		margin-right: -12px;
		width: 20%;
		margin-top: 1%;
		margin-left: 10%;
	}

	.qris-img {
		width: 100%;
	}

	.label-spec-container {
		width: 0%;
	}

	#header-bg {
		height: 370px;
	}

	.login-wrapper {
		right: 10%;
		position: absolute !important;
		top: 3%;
	}

	.download-client {
		width: 230px;
		height: 150px;
	}

	.login-btn {
		padding: 5px 20px;
	}

	.login-section {
		width: 200px;
		padding-top: 25px;
		margin-top: -25px;
		padding-right: 15px;
		padding-bottom: 5px;
	}

	.header-video {
		top: -40px;
	}

	#header-bg::after {
		top: 35px;
	}
}
/* Responsive Design */
@media (max-width: 768px) {
	.feature-btn {
		width: 100%;
		margin: 5px 0;
		display: block;
	}

	iframe {
		width: 170px;
	}

	.login-section {
		position: relative;
		top: auto;
		left: auto;
		width: 100%;
		margin: 20px 0;
	}

	.top-nav {
		position: relative;
		top: auto;
		left: auto;
		width: 100%;
		margin-bottom: 20px;
	}

	.logo {
		position: relative;
		top: auto;
		right: auto;
		text-align: center;
		margin: 20px 0;
	}

	.main-content {
		margin-top: 20px;
	}

	.label-spec {
		display: none;
	}

	#header-bg {
		height: 200px;
	}

	.login-wrapper {
		display: none;
	}

	.header-video {
		top: -12px;
	}

	#header-bg::after {
		top: 20px;
	}
}

@media (max-width: 576px) {
	.feature-btn {
		width: 100%;
		margin: 5px 0;
		display: block;
	}

	iframe {
		width: 350px;
	}

	.guild-table {
		font-size: 10px;
	}

	.footer-section {
		display: none;
	}

	#header-bg {
		height: 200px;
	}

	.login-wrapper {
		display: none;
	}

	.header-video {
		top: -12px;
	}

	#header-bg::after {
		top: 15px;
	}
}

@keyframes float {
	0% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-10px);
	}

	100% {
		transform: translateY(0);
	}
}

.rank-card {
	position: relative;
	border-radius: 10px;
	background-color: white;
	padding: 20px;
	text-align: center;
	margin: 30px;
	width: 200px;
}
.rank-medal {
	position: absolute;
	top: -20px;
	left: -20px;
}
.rank-charname {
	font-size: 24px;
	font-weight: bold;
	margin-top: 30px;
	color: black;
}
.rank-score {
	font-size: 18px;
	color: #6c757d;
}
.rank-icon {
	width: 20px;
	height: 20px;
}
.dataTables_length select {
	color: white;
}
.dataTables_filter input {
	color: white;
}
.modal-title {
	color: black !important;
}
.modal-body {
	color: black !important;
}
