/* MPO878 Layout Replicas with Webtoge Theme (Dark/Gold) */

.main-content.game {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    background: transparent;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #fff;
    padding-bottom: 120px; /* To prevent being covered by mobile footer */
}

.game__slider {
    margin-bottom: 15px;
    padding: 0 15px;
    margin-top: 20px;
}

.swiper-container.game-category-slider {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    background: #000;
}

.swiper-container.game-category-slider img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.breadcrumb-container {
    background: transparent;
    border: none;
    padding: 0;
    margin: 10px 10px 5px 10px;
}

.breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    font-size: 11px;
    font-weight: normal;
    color: #888;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.breadcrumb-list li, 
.breadcrumb-list a, 
.breadcrumb-link {
    color: #888 !important;
    text-decoration: none;
}

.breadcrumb-item a {
    color: #888;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #FFD700;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: " >> ";
    color: #888;
    margin: 0 5px;
    font-size: 10px;
}

.game__list {
    background: transparent;
    padding: 0 10px;
}

.page-header {
    display: none; /* Hide the big header to match MPO500 */
}

.game-list-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 5px 0;
    background: transparent;
    border: none;
}

@media (min-width: 768px) {
    .game-list-container {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1024px) {
    .game-list-container {
        grid-template-columns: repeat(7, 1fr);
    }
}

.game-holder {
    background: transparent;
    border: none;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.game-holder:hover {
    transform: translateY(-2px);
}

.game-img {
    width: 100%;
    aspect-ratio: auto; 
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
}

.game-bottom {
    display: none;
}

.game-name {
    display: none;
}

.new-provider {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 35px;
    height: auto;
    z-index: 2;
}

.game-links {
    width: 100%;
}

.btn-custom {
    display: block;
    width: 100%;
    padding: 8px 0;
    background: linear-gradient(to bottom, #d4af37, #997a00);
    color: #000;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
    border-radius: 6px;
    text-transform: uppercase;
    border: 1px solid #ffdf00;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.5), 0 2px 4px rgba(0,0,0,0.5);
    transition: all 0.2s;
}

.btn-custom:hover {
    background: linear-gradient(to bottom, #ffdf00, #b38f00);
    color: #000;
}

.game__seo {
    margin: 20px 15px 0 15px;
    padding: 20px;
    background: #0a0800;
    border: none;
    border-radius: 8px;
    color: #aaa;
    font-size: 12px;
    line-height: 1.6;
}

.game__seo h1 {
    font-size: 16px;
    color: #d4af37;
    margin-bottom: 15px;
    text-align: center;
}

.game__seo a {
    color: #d4af37;
    text-decoration: none;
}

.game__seo p {
    margin-bottom: 10px;
    text-align: justify;
}



.mobile__popular { margin-top: 15px; margin-bottom: 10px; }
.popular-title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: bold; color: #d4af37; padding: 0 15px; }
.mobile__games { margin-bottom: 20px; }
.games-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 15px; }
.games-holder { background: #000; border-radius: 8px; overflow: hidden; text-align: center; display: flex; flex-direction: column; }
.games-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-bottom: 2px solid #d4af37; }
.games-name { font-size: 10px; color: #fff; padding: 5px; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: #1a1400; }
.btn-custom-sm { display: inline-block; padding: 6px 15px; background: linear-gradient(to bottom, #d4af37, #997a00); color: #000; border-radius: 4px; font-size: 12px; font-weight: bold; text-decoration: none; margin-top: 15px; }
