/* ========================================================
   CATEGORY.CSS - Dedicated Stylesheet for Category Pages
   (/category/*.html)
   ======================================================== */

/* ==================== 728x90 Top Ad Container ==================== */
.category-ads-728x90 {
    width: 100%;
    padding: 22px 0 12px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.category-ads-728x90 .container {
    max-width: 1680px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
    box-sizing: border-box;
}

.ads-box-728x90 {
    width: 728px;
    min-height: 90px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0a0f1d;
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.ads-box-728x90 a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 0 !important;
    text-decoration: none !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.ads-box-728x90 a:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.3) !important;
}

.ads-box-728x90 img {
    width: 100% !important;
    height: auto !important;
    max-height: 90px !important;
    display: block !important;
    object-fit: cover !important;
    border-radius: 10px !important;
}

.ads-box-728x90 ins.adsbygoogle {
    display: inline-block !important;
    max-width: 100% !important;
}

.bread-crumb-item {
    display: inline-flex;
    align-items: center;
    color: #b0bec5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bread-crumb-item svg {
    margin-right: 4px;
    vertical-align: middle;
    transition: fill 0.2s ease, transform 0.2s ease;
}

.bread-crumb-item:hover {
    color: #ff5722;
}

.bread-crumb-item:hover svg {
    fill: #ff5722;
    transform: scale(1.08);
}

.bread-after {
    color: #ffffff;
    font-weight: 700;
}

.bread-after::before {
    content: "»";
    color: #ff5722;
    margin: 0 10px;
    font-weight: 700;
}

/* ==================== Category Main Layout & Title ==================== */
main {
    width: 100%;
    min-height: 60vh;
}

main .container {
    position: relative;
    max-width: 1680px;
    margin: 0 auto;
    padding: 24px 15px;
    box-sizing: border-box;
}

.navplay-title.navplay-title2 {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.navplay-title.navplay-title2 .navplay-title-svg {
    width: 26px;
    height: 26px;
    margin-right: 12px;
    fill: #ff5722;
    filter: drop-shadow(0 2px 6px rgba(255, 87, 34, 0.4));
    flex-shrink: 0;
}

/* ==================== Category Game Grid & Cards ==================== */
main .flow-game {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 16px 14px !important;
    margin: 16px auto 36px auto !important;
    padding: 0 !important;
    width: 100% !important;
}

main .flow-game .throw-game {
    width: 170px !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

main .flow-game .card-game {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22) !important;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.2s ease !important;
    box-sizing: border-box !important;
    position: relative !important;
    text-decoration: none !important;
}

main .flow-game .card-game:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32), 0 0 12px rgba(255, 87, 34, 0.35) !important;
}

main .flow-game .image-card-game {
    width: 100% !important;
    height: 105px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    display: block !important;
    background: #1a252f !important;
}

main .flow-game .image-card-game img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-top-left-radius: 14px !important;
    border-top-right-radius: 14px !important;
    transition: transform 0.25s ease !important;
}

main .flow-game .card-game:hover img {
    transform: scale(1.06) !important;
}

main .flow-game .title-card-game {
    height: 48px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px 8px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
}

main .flow-game .title-name {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    text-align: center !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.25 !important;
    text-transform: capitalize !important;
}

main .flow-game .text-overflow {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: break-word !important;
    white-space: normal !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
}

main .flow-game .card-game:hover .title-name {
    color: #ffffff !important;
}

/* ==================== Category SEO Content Section ==================== */
.category-seo-box {
    margin-top: 36px !important;
    background: #ffffff !important;
    border-radius: 18px !important;
    padding: 32px 34px !important;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(10, 148, 228, 0.1) !important;
    border: 1px solid rgba(10, 148, 228, 0.2) !important;
    box-sizing: border-box !important;
    color: #2c3e50 !important;
    position: relative !important;
    overflow: hidden !important;
}

.category-seo-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff5722 0%, #ff9800 45%, #00b0ff 100%);
}

.category-seo-box h1 {
    color: #1a252f !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
}

.category-seo-box h2 {
    color: #1a252f !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-top: 24px !important;
    margin-bottom: 12px !important;
    line-height: 1.35 !important;
}

.category-seo-box h3 {
    color: #202d37 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    margin-top: 18px !important;
    margin-bottom: 8px !important;
}

.category-seo-box p {
    color: #34495e !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    margin-bottom: 14px !important;
    text-align: justify !important;
}

.category-seo-box p strong {
    color: #1a252f !important;
}

.category-seo-box ul,
.category-seo-box ol {
    padding-left: 24px !important;
    margin-bottom: 20px !important;
    line-height: 1.75 !important;
}

.category-seo-box li {
    color: #34495e !important;
    font-size: 14.5px !important;
    margin-bottom: 8px !important;
}

.category-seo-box li strong {
    color: #1a252f !important;
}

.category-seo-box em {
    font-style: italic;
    color: #0a94e8;
}

.category-faq-item {
    border-top: 1px solid #eef2f5 !important;
    padding-top: 14px !important;
    margin-bottom: 14px !important;
}

.category-faq-item:first-of-type {
    border-top: 1px solid #e0e6ed !important;
    margin-top: 16px !important;
}

/* ==================== Responsive Queries ==================== */
@media (max-width: 1079px) {
    main .container {
        padding: 20px 16px !important;
    }

    .category-seo-box {
        padding: 24px 20px !important;
        border-radius: 16px !important;
    }
}

@media (max-width: 768px) {
    .category-ads-728x90 {
        padding: 14px 0 6px 0 !important;
    }

    .ads-box-728x90 {
        width: 100% !important;
        max-width: 468px !important;
        min-height: 60px !important;
    }

    .navplay-title.navplay-title2 {
        font-size: 17px;
        margin-bottom: 16px;
    }

    main .flow-game {
        gap: 12px 10px !important;
    }

    main .flow-game .throw-game {
        width: 150px !important;
    }

    .category-seo-box {
        padding: 20px 16px !important;
        margin-top: 24px !important;
    }

    .category-seo-box h1 {
        font-size: 20px !important;
    }

    .category-seo-box h2 {
        font-size: 17px !important;
    }

    .category-seo-box h3 {
        font-size: 15.5px !important;
    }

    .category-seo-box p,
    .category-seo-box li {
        font-size: 13.5px !important;
    }
}

@media (max-width: 480px) {
    .ads-box-728x90 {
        max-width: 320px !important;
        min-height: 50px !important;
    }

    main .flow-game {
        gap: 10px 8px !important;
    }

    main .flow-game .throw-game {
        width: 145px !important;
    }
}
