
body {
	background: #f5f6f7;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial;
}
.navbar {
	background: #ffffff;
	border-bottom: 1px solid #e5e5e5;
}
.navbar-brand {
	color: #1da1f2 !important;
	font-weight: bold;
}
.banner {
	background: linear-gradient(135deg, #e8f4ff, #ffffff);
	border-radius: 12px;
	padding: 30px;
}
.game-card {
	border: none;
	border-radius: 14px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
	transition: transform .2s;
}
.game-card:hover {
	transform: translateY(-4px);
}
.btn-play {
	background: #1da1f2;
	color: #fff;
	border-radius: 20px;
	padding: 6px 18px;
}
.category-btn {
	border-radius: 20px;
	background: #fff;
	border: 1px solid #dcdcdc;
	color: #333;
}
.casino-tabs {
	border-bottom: 1px solid #e5e5e5;
}

.casino-tabs .nav-link {
	border: none;
	color: #555;
	font-weight: 500;
	padding: 10px 18px;
	border-radius: 12px 12px 0 0;
	transition: all .2s;
}

.casino-tabs .nav-link:hover {
	background: #f2f6fa;
}

.casino-tabs .nav-link.active {
	color: #1da1f2;
	background: #ffffff;
	border-bottom: 3px solid #1da1f2;
	font-weight: 600;
}

.tab-content {
	background: #ffffff;
	padding: 20px;
	border-radius: 0 0 12px 12px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.tab-content.padall {
	border-radius: 12px 12px 12px 12px;
}

.tabs-scroll {
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
}

.tabs-scroll::-webkit-scrollbar {
	display: none; /* ซ่อน scrollbar */
}

.casino-tabs {
	flex-wrap: nowrap;
	white-space: nowrap;
}

.casino-tabs .nav-item {
	flex: 0 0 auto;
}

.casino-tabs .nav-link {
	white-space: nowrap;
}

.card-title {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.game-card.premium {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(0,0,0,.08);
	transition: all .3s ease;
}

.game-card.premium:hover {
	transform: translateY(-6px) scale(1.02);
	box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.game-thumb {
	position: relative;
	aspect-ratio: 1 / 1;
	background: linear-gradient(135deg, #f3f7ff, #ffffff);
}

.game-thumb.list2 {
	aspect-ratio: 2 / 1;
}

.game-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border: 16px 0 16px 0;
}

.game-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(
		to bottom,
		rgba(0,0,0,0.1),
		rgba(0,0,0,0.65)
	);
	opacity: 0;
	transition: opacity .3s ease;
}

.game-card:hover .game-overlay {
	opacity: 1;
}

.game-overlay .btn-play {
	background: linear-gradient(135deg, #1da1f2, #0d6efd);
	border: none;
	border-radius: 30px;
	padding: 8px 20px;
	font-weight: 600;
	box-shadow: 0 6px 18px rgba(29,161,242,.5);
	color: #fff;
}

.game-overlay .btn-play:hover {
	background: linear-gradient(135deg, #0d6efd, #084298);
	color: #fff;
}

.game-card .card-title {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
footer {
	color: #777;
	font-size: 14px;
}

@media (max-width: 576px) {
	.game-card .card-title {
		font-size: 13px;
	}
}