body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0e0e0e;
    color: #fff;
}

.baji-game-page {
    padding: 10px;
    max-width: 480px;
    margin: auto;
    min-height: 100vh;
}

/* Top Header */
.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    position: sticky;
    top: 0;
    background: #0e0e0e;
    z-index: 200;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown button {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.dropdown button:after {
    content: "▼";
    font-size: 12px;
    margin-left: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 35px;
    left: 0;
    background: #1e1e1e;
    border-radius: 5px;
    min-width: 150px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: dropdownFade 0.3s ease;
    z-index: 300;
}

.dropdown-menu a {
    padding: 10px;
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: #333;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.baji-navbar a.active {
    color: #00d134;
    /* হাইলাইট কালার */
    font-weight: bold;
}

/* Filter bar scroll */
.filter-bar {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 0;
    position: sticky;
    top: 50px;
    background: #0e0e0e;
    z-index: 150;
}

.filter-bar::-webkit-scrollbar {
    height: 6px;
}

.filter-bar::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 10px;
}

.filter-item {
    padding: 6px 14px;
    border-radius: 20px;
    background: #1e1e1e;
    white-space: nowrap;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.filter-item.active,
.filter-item:hover {
    background: #00a86b;
}

/* Game Grid */
.tab-content {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    /* এক লাইনে ৩টা card */
    gap: 10px;
    margin-top: 10px;
}

.tab-content.active {
    display: grid;
}

/* Game Card */
.game-cards {
    background: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.game-cards:hover {
    transform: scale(1.03);
}

.game-cards img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: 180px;
}

.game-cards .info {
    padding: 6px 8px;
    font-size: 14px;
    text-align: center;
}