/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: #0066cc;
    transition: color 0.3s ease;
}

a:hover {
    color: #004c99;
}

ul {
    list-style: none;
}

/* Enhanced Header Styles */
#header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #121212;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    padding-right: 20px;
}

.logo a {
    display: block;
}

.logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Enhanced Main Navigation */
#main-nav {
    flex-grow: 1;
}

#main-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#main-nav ul li {
    position: relative;
    margin: 0 5px;
}

#main-nav ul li a {
    color: #fff;
    font-weight: 500;
    padding: 10px 12px;
    display: block;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

#main-nav ul li a:hover {
    color: #ffc107;
}

#main-nav ul li.active a {
    color: #ffc107;
    font-weight: 600;
}

/* Improved Dropdown Styling */
.dropdown {
    position: relative;
}

.dropdown > a:after {
    content: "▼";
    font-size: 8px;
    margin-left: 5px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.dropdown:hover > a:after {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    display: none;
    background-color: #1e1e1e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1010;
}

.dropdown:hover .submenu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.submenu li {
    margin: 0 !important;
    width: 100%;
}

.submenu li a {
    padding: 10px 15px !important;
    font-weight: normal !important;
    color: #ddd !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px !important;
}

.submenu li:last-child a {
    border-bottom: none;
}

.submenu li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffc107 !important;
}

/* Enhanced Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 10px;
    margin-left: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.login-btn {
    background-color: transparent;
    border: 1px solid #ffc107;
    color: #ffc107;
}

.login-btn:hover {
    background-color: rgba(255, 193, 7, 0.1);
}

.register-btn {
    background-color: #ffc107;
    color: #121212;
    border: 1px solid #ffc107;
}

.register-btn:hover {
    background-color: #e6ae00;
}

/* Improved Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1010;
    margin-left: 15px;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Enhanced Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #121212;
    z-index: 1001;
    padding: 80px 20px 30px;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu ul li {
    margin-bottom: 5px;
}

.mobile-menu ul li a {
    color: #fff;
    font-weight: 500;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu ul li:last-child a {
    border-bottom: none;
}

.mobile-menu ul li a:hover,
.mobile-menu ul li.active a {
    color: #ffc107;
}

.mobile-menu .submenu {
    position: static;
    width: 100%;
    display: none;
    box-shadow: none;
    background-color: #1a1a1a;
    margin: 0;
    padding: 0;
    border-radius: 0;
    margin-left: 15px;
    margin-bottom: 10px;
    transform: none;
    opacity: 1;
}

.mobile-menu .dropdown.active .submenu {
    display: block;
}

.mobile-menu .dropdown > a {
    position: relative;
}

.mobile-menu .dropdown > a::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    transition: transform 0.3s ease;
}

.mobile-menu .dropdown.active > a::after {
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu .submenu li a {
    padding: 10px 0 !important;
    font-size: 13px;
}

.mobile-auth-buttons {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-auth-buttons .btn {
    width: 100%;
    justify-content: center;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay.active {
    display: block;
    opacity: 1;
}

/* Active Mobile Toggle Animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #4a148c, #880e4f);
    color: #fff;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.primary-btn {
    background-color: #ffc107;
    color: #121212;
    font-weight: bold;
    padding: 12px 30px;
}

.primary-btn:hover {
    background-color: #e6ae00;
}

.secondary-btn {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 12px 30px;
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Game Categories Section */
.game-categories {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #121212;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #121212;
}

.category-card p {
    color: #666;
}

/* Games Grid Section */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.game-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.game-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: #1e1e1e; /* Warna background fallback jika gambar tidak muncul */
}

.game-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block; /* Menghilangkan gap bawaan */
    background-color: #2a2a2a; /* Background untuk placeholder */
}

/* Lazy loading image fix */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: #2a2a2a;
}

.lazy-image.loaded {
    opacity: 1;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-item:hover .game-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
}

.play-btn {
    background-color: #ffc107;
    color: #121212;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.play-btn:hover {
    background-color: #e6ae00;
}

.game-info {
    padding: 15px;
}

.game-title {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #121212;
}

.game-provider {
    font-size: 0.9rem;
    color: #666;
}

/* Support for lazy loading images */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-image.loaded {
    opacity: 1;
}

.games-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.games-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Styling untuk SVG icons */
.category-card svg {
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, fill 0.3s ease;
}

/* Efek hover untuk SVG icons */
.category-card:hover svg {
    transform: scale(1.1);
}

/* Warna spesifik untuk setiap kategori saat hover */
.category-card:hover svg path,
.category-card:hover svg circle {
    fill-opacity: 0.9;
}

.category-card[href="/slot"]:hover svg path {
    fill: #FF7043; 
}

.category-card[href="/casino"]:hover svg path {
    fill: #66BB6A; 
}

.category-card[href="/togel"]:hover svg circle {
    fill: #42A5F5; 
}

.category-card[href="/sport"]:hover svg path {
    fill: #FFA726; 
}

.category-card[href="/sabung-ayam"]:hover svg path {
    fill: #EC407A; 
}

.category-card[href="/arcade"]:hover svg path {
    fill: #AB47BC; 
}

/* Dukungan untuk dark mode atau tema alternatif */
@media (prefers-color-scheme: dark) {
    .category-card svg {
        filter: brightness(1.2);
    }
}

/* Memastikan responsivitas SVG pada ukuran layar yang berbeda */
@media (max-width: 576px) {
    .category-card svg {
        width: 48px;
        height: 48px;
    }
}

/* Tambahan CSS untuk Navbar yang Disempurnakan */

/* Styling untuk icon pada navbar */
.nav-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 6px;
    vertical-align: middle;
}

/* Icon SVG untuk setiap menu (perlu ditambahkan ke CSS yang sudah ada) */
.icon-home {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffc107'%3E%3Cpath d='M10,20V14H14V20H19V12H22L12,3L2,12H5V20H10Z'/%3E%3C/svg%3E");
}

.icon-slot {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffc107'%3E%3Cpath d='M4,2H20A2,2 0 0,1 22,4V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V4A2,2 0 0,1 4,2M4,4V20H20V4H4M6,6H18V18H6V6M8,8V16H16V8H8M10,10H14V14H10V10Z'/%3E%3C/svg%3E");
}

.icon-casino {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffc107'%3E%3Cpath d='M5,3C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3H5M11,7A2,2 0 0,1 13,9A2,2 0 0,1 11,11A2,2 0 0,1 9,9A2,2 0 0,1 11,7M16.5,17H14V15.82L15.77,14.05C16.18,13.64 16.32,13.33 16.32,13.09C16.32,12.71 16.13,12.46 15.63,12.46C15.12,12.46 14.83,12.81 14.78,13.19H13.33C13.44,12.19 14.22,11.31 15.67,11.31C16.96,11.31 17.79,12 17.79,13.04C17.79,13.78 17.38,14.29 16.9,14.77L15.7,16H17.97V17H16.5M10,15.43C8.89,15.43 8,14.54 8,13.43C8,12.58 8.89,11.74 10,11.74C10.67,11.74 11.19,11.95 11.5,12.23L11.05,13.5C10.87,13.25 10.5,13.03 10,13.03C9.66,13.03 9.32,13.32 9.32,13.67C9.32,14.12 9.66,14.43 10,14.43C10.24,14.43 10.55,14.28 10.76,13.93L11.97,14C11.69,14.9 10.95,15.43 10,15.43Z'/%3E%3C/svg%3E");
}

.icon-hot {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff3d00'%3E%3Cpath d='M17.66 11.2C17.43 10.9 17.15 10.64 16.89 10.38C16.22 9.78 15.46 9.35 14.82 8.72C13.33 7.26 13 4.85 13.95 3C13 3.23 12.17 3.75 11.46 4.32C8.87 6.4 7.85 10.07 9.07 13.22C9.11 13.32 9.15 13.42 9.15 13.55C9.15 13.77 9 13.97 8.8 14.05C8.57 14.15 8.33 14.09 8.14 13.93C8.08 13.88 8.04 13.83 8 13.76C6.87 12.33 6.69 10.28 7.45 8.64C5.78 10 4.87 12.3 5 14.47C5.06 14.97 5.12 15.47 5.29 15.97C5.43 16.57 5.7 17.17 6 17.7C7.08 19.43 8.95 20.67 10.96 20.92C13.1 21.19 15.39 20.8 17.03 19.32C18.86 17.66 19.5 15 18.56 12.72L18.43 12.46C18.22 12 17.66 11.2 17.66 11.2M14.5 17.5C14.22 17.74 13.76 18 13.4 18.1C12.28 18.5 11.16 17.94 10.5 17.28C11.69 17 12.4 16.12 12.61 15.23C12.78 14.43 12.46 13.77 12.33 13C12.21 12.26 12.23 11.63 12.5 10.94C12.69 11.32 12.89 11.7 13.13 12C13.9 13 15.11 13.44 15.37 14.8C15.41 14.94 15.43 15.08 15.43 15.23C15.46 16.05 15.1 16.95 14.5 17.5H14.5Z'/%3E%3C/svg%3E");
}

.icon-togel {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffc107'%3E%3Ccircle cx='5' cy='6' r='3'/%3E%3Ccircle cx='12' cy='6' r='3'/%3E%3Ccircle cx='19' cy='6' r='3'/%3E%3Ccircle cx='5' cy='13' r='3'/%3E%3Ccircle cx='12' cy='13' r='3'/%3E%3Ccircle cx='5' cy='20' r='3'/%3E%3C/svg%3E");
}

.icon-sport {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffc107'%3E%3Cpath d='M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4M7,12L12,16L17,12L12,8L7,12Z'/%3E%3C/svg%3E");
}

.icon-cock {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffc107'%3E%3Cpath d='M8,15A4,4 0 0,1 12,11A4,4 0 0,1 16,15A4,4 0 0,1 12,19A4,4 0 0,1 8,15M10,11A1,1 0 0,1 9,12A1,1 0 0,1 8,11A4,4 0 0,1 12,7A4,4 0 0,1 16,11A1,1 0 0,1 15,12A1,1 0 0,1 14,11A2,2 0 0,0 12,9A2,2 0 0,0 10,11Z'/%3E%3Cpath d='M17,4.5C17,5.6 17.8,7 18,7C19.1,7 20,5.6 20,4.5C20,3.4 19.1,3 18,3C17.8,3 17,3.4 17,4.5M13,4.5C13,3.4 12.2,3 12,3C10.9,3 10,3.4 10,4.5C10,5.6 10.9,7 12,7C12.2,7 13,5.6 13,4.5Z'/%3E%3C/svg%3E");
}

.icon-arcade {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffc107'%3E%3Cpath d='M7,6H17A6,6 0 0,1 23,12A6,6 0 0,1 17,18C15.22,18 13.63,17.23 12.53,16H11.47C10.37,17.23 8.78,18 7,18A6,6 0 0,1 1,12A6,6 0 0,1 7,6M6,9V11H4V13H6V15H8V13H10V11H8V9H6M15.5,12A1.5,1.5 0 0,0 14,13.5A1.5,1.5 0 0,0 15.5,15A1.5,1.5 0 0,0 17,13.5A1.5,1.5 0 0,0 15.5,12M18.5,9A1.5,1.5 0 0,0 17,10.5A1.5,1.5 0 0,0 18.5,12A1.5,1.5 0 0,0 20,10.5A1.5,1.5 0 0,0 18.5,9Z'/%3E%3C/svg%3E");
}

.icon-promo {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffc107'%3E%3Cpath d='M21.41 11.58L12.41 2.58C12.05 2.22 11.55 2 11 2H4C2.9 2 2 2.9 2 4V11C2 11.55 2.22 12.05 2.59 12.42L11.59 21.42C11.95 21.78 12.45 22 13 22C13.55 22 14.05 21.78 14.41 21.41L21.41 14.41C21.78 14.05 22 13.55 22 13C22 12.45 21.77 11.94 21.41 11.58M5.5 7C4.67 7 4 6.33 4 5.5C4 4.67 4.67 4 5.5 4C6.33 4 7 4.67 7 5.5C7 6.33 6.33 7 5.5 7Z'/%3E%3C/svg%3E");
}

.icon-login {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffc107'%3E%3Cpath d='M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z'/%3E%3C/svg%3E");
    width: 16px;
    height: 16px;
}

.icon-register {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23121212'%3E%3Cpath d='M15,4A4,4 0 0,0 11,8A4,4 0 0,0 15,12A4,4 0 0,0 19,8A4,4 0 0,0 15,4M15,5.9C16.16,5.9 17.1,6.84 17.1,8C17.1,9.16 16.16,10.1 15,10.1A2.1,2.1 0 0,1 12.9,8A2.1,2.1 0 0,1 15,5.9M4,7V10H1V12H4V15H6V12H9V10H6V7H4M15,13C12.33,13 7,14.33 7,17V20H23V17C23,14.33 17.67,13 15,13M15,14.9C17.97,14.9 21.1,16.36 21.1,17V18.1H8.9V17C8.9,16.36 12,14.9 15,14.9Z'/%3E%3C/svg%3E");
    width: 16px;
    height: 16px;
}

/* Mobile dropdown arrow icon */
.dropdown-arrow {
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Styling untuk hot games menu item */
.hot-item {
    position: relative;
}

.hot-item::after {
    content: "HOT";
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff3d00;
    color: white;
    font-size: 9px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 10px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Main Content Section */
.main-content {
    padding: 60px 0;
}

.seo-content {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 40px;
}

.seo-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #121212;
}

.seo-content h3 {
    font-size: 1.6rem;
    margin: 30px 0 15px;
    color: #121212;
}

.seo-content h4 {
    font-size: 1.3rem;
    margin: 25px 0 10px;
    color: #121212;
}

.seo-content p {
    margin-bottom: 15px;
    color: #444;
    line-height: 1.8;
}

.seo-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.seo-content ul li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
    list-style-type: disc;
}

.seo-content blockquote {
    border-left: 5px solid #ffc107;
    padding: 15px 20px;
    margin: 20px 0;
    background-color: #f9f9f9;
    font-style: italic;
}

.seo-content blockquote cite {
    display: block;
    text-align: right;
    margin-top: 10px;
    font-style: normal;
    font-weight: 500;
}

.provider-table, .togel-table, .bonus-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.provider-table th, .togel-table th, .bonus-table th {
    background-color: #f2f2f2;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid #ddd;
}

.provider-table td, .togel-table td, .bonus-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
}

.provider-table tr:hover, .togel-table tr:hover, .bonus-table tr:hover {
    background-color: #f5f5f5;
}

.faq-section {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #121212;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1976d2, #64b5f6);
    color: #fff;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* Footer Styles */
footer {
    background-color: #121212;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo p {
    margin-top: 15px;
    color: #aaa;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.link-group h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #fff;
}

.link-group ul li {
    margin-bottom: 8px;
}

.link-group ul li a {
    color: #aaa;
    transition: color 0.3s ease;
}

.link-group ul li a:hover {
    color: #ffc107;
}

.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #fff;
}

.footer-contact p {
    margin-bottom: 8px;
    color: #aaa;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #ffc107;
}

.footer-middle {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 30px 0;
    margin-bottom: 20px;
}

.payment-methods, .provider-logos {
    margin-bottom: 30px;
}

.payment-methods h4, .provider-logos h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #fff;
}

.payment-icons, .provider-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom {
    text-align: center;
    color: #aaa;
}

.footer-bottom p:first-child {
    margin-bottom: 10px;
}

/* Media Queries for Responsive Navigation */
@media (max-width: 1200px) {
    #main-nav ul li a {
        padding: 10px 8px;
        font-size: 13px;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-links {
        grid-column: span 2;
        margin-top: 30px;
    }
    
    .auth-buttons {
        display: none;
    }
    
    #main-nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }
    
    #main-nav ul {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
    }
    
    #main-nav ul::-webkit-scrollbar {
        height: 3px;
    }
    
    #main-nav ul::-webkit-scrollbar-thumb {
        background-color: rgba(255, 193, 7, 0.5);
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #header {
        padding: 12px 0;
    }
    
    #main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .seo-content {
        padding: 25px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
        grid-column: span 1;
    }
    
    .logo img {
        width: 180px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .seo-content h2 {
        font-size: 1.6rem;
    }
    
    .seo-content h3 {
        font-size: 1.4rem;
    }
    
    .provider-table, .togel-table, .bonus-table {
        display: block;
        overflow-x: auto;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .payment-icons, .provider-icons {
        justify-content: center;
    }
    
    .mobile-menu {
        width: 100%;
        max-width: none;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .game-item {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .logo img {
        width: 150px;
    }
    
    .category-card svg {
        width: 48px;
        height: 48px;
    }
}