a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

.scroll-btn {
    height: 40px;
    width: 40px;
    border: 2px solid #000;
    border-radius: 10%;
    background-color: #000;
    position: fixed;
    bottom: 25px;
    right: 20px;
    opacity: 0.8;
    z-index: 9999;
    cursor: pointer;
    display: none;
}

.scroll-btn .scroll-btn-arrow {
    height: 12px;
    width: 12px;
    border: 3px solid;
    border-right: none;
    border-top: none;
    margin: 15px 12px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
    color: white;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show,
.navbar-nav .nav-link {
    color: #fff;
}

.navbar-toggler {
    background-color: #fff;
}

.bg-primary {
    background-color: #198754 !important;
}

.social-links a {
    margin-bottom: 5px;
}

.nav-item a {
    color: #fff;
}

.nav-item a:hover {
    color: #fff;
}

.nav-item .dropdown-menu a {
    color: inherit;
}

.logo {
    width: 30px;
}

.telegram-block {
    margin: 20px;
    text-align: center;
}

/* ===== Game List - Flex Card Style ===== */
.game-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    list-style: none;
}

.flex {
    display: flex;
    align-items: center;
}

.flex_grow {
    flex-grow: 1;
}

.game-list .flex {
    gap: 12px;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.game-list .flex > a img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.info {
    min-width: 0;
}

.info a {
    text-decoration: none;
    color: inherit;
}

.name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.grade {
    margin: 0 0 2px 0;
}

.grade span {
    font-size: 0.85rem;
    color: #cb4400;
    font-weight: 600;
}

.txt {
    font-size: 0.8rem;
    color: #005512;
    font-weight: 600;
    margin: 0;
}

/* ===== APK Content Info ===== */
.apk-content {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-top: 2px;
}

.apk-bonus,
.apk-withdraw {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    font-weight: 700;
}

.apk-bonus i { color: #e65c00; font-size: 0.88rem; }
.apk-bonus span { color: #cb4400; }
.apk-withdraw i { color: #198754; font-size: 0.88rem; }
.apk-withdraw span { color: #005512; }

/* ===== Download Button ===== */
.btn-custom {
    background: linear-gradient(135deg, #1e9e5e, #198754);
    border: 2.5px solid #f59e0b;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 13px 16px;
    border-radius: 10px;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(245,158,11,0.2);
    transition: box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.btn-custom:hover { color: #fff !important; box-shadow: 0 5px 16px rgba(245,158,11,0.35); }
.btn-custom:active { color: #fff !important; }
.btn-custom:focus { color: #fff !important; }

/* ===== Featured Box ===== */
.featured-box {
    width: 760px;
    padding: 15px;
}

.featured-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.app-row-featured {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-icon {
    width: 78px;
    height: 78px;
    border-radius: 18px;
    object-fit: cover;
}

.app-content {
    display: flex;
    flex-direction: column;
}

.app-title {
    color: #006633;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 10px;
}

.featured-box img {
    width: 80px;
    height: auto;
}

/* ===== Game Slider ===== */
.game-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.game-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.game-slider::-webkit-scrollbar {
    display: none;
}

.game-slide {
    flex: 0 0 auto;
    width: 80px;
    text-align: center;
}

.game-slide img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.game-title {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 600;
}

.slider-btn {
    background: #fff;
    border: 1px solid #ddd;
    font-size: 22px;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .slider-btn {
        display: none;
    }
}

/* ===== Responsive ===== */
@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) {
    .scroll-btn {
        bottom: 8px;
        right: 8px;
    }

    .game-list .flex {
        padding: 10px;
        gap: 10px;
    }

    .num {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .game-list .flex > a img {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }

    .name {
        font-size: 0.9rem;
    }

    .grade span {
        font-size: 0.78rem;
    }

    .txt {
        font-size: 0.73rem;
    }

    .mob-container {
        padding: 0px 7px;
    }

    .featured-box {
        width: 100%;
    }
}

/* ===== SITE THEME (shared across all pages) ===== */
*, *::before, *::after { box-sizing: border-box; }

html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }

body {
    font-family: 'Poppins', sans-serif;
    background: #f4f6f8;
    color: #1a1a1a;
}

.site-header {
    background: linear-gradient(135deg, #0a5c36 0%, #0d7a49 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.site-header .navbar { padding: 10px 0; }

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff !important;
}
.brand-logo img { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; }
.brand-name { font-size: 1.2rem; font-weight: 700; color: #fff; letter-spacing: 0.3px; }

.header-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 6px 14px;
    border-radius: 6px;
    transition: background 0.2s;
}
.header-nav .nav-link:hover,
.header-nav .nav-link.active { background: rgba(255,255,255,0.15); color: #fff !important; }

.btn-tg {
    background: #229ED9;
    color: #fff !important;
    font-weight: 700;
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 0.85rem;
    border: none;
    transition: background 0.2s, transform 0.15s;
}
.btn-tg:hover { background: #1a8bbf; transform: translateY(-1px); color: #fff !important; }

.marquee-bar {
    background: #0a3d21;
    color: #ffd700;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 0;
    border-bottom: 2px solid #ffd700;
}
.marquee-bar .badge-info {
    background: #e63946;
    color: #fff;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 4px;
    white-space: nowrap;
}

.intro-section {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 0 10px;
}
.intro-section p { color: #555; font-size: 0.88rem; line-height: 1.7; margin: 0; }
.quick-links .btn { font-size: 0.82rem; font-weight: 700; border-radius: 20px; padding: 5px 18px; }

.featured-section {
    background: linear-gradient(135deg, #0d7a49 0%, #05522f 100%);
    color: #fff;
    padding: 20px 0;
}
.featured-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    backdrop-filter: blur(4px);
}
.featured-card img { width: 80px; height: 80px; border-radius: 16px; object-fit: cover; flex-shrink: 0; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.featured-card-body { min-width: 0; }
.featured-card-body .label { font-size: 0.72rem; font-weight: 700; color: #ffd700; letter-spacing: 1px; text-transform: uppercase; }
.featured-card-body h2 { font-size: 1rem; font-weight: 700; color: #fff; margin: 4px 0 8px; line-height: 1.4; }
.featured-card .btn-custom.flex-shrink-0 { width: 200px; flex-shrink: 0; }
.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,215,0,0.15);
    border: 1px solid rgba(255,215,0,0.4);
    color: #ffd700;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-right: 6px;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0a5c36;
    border-left: 4px solid #ff6b00;
    padding-left: 10px;
    margin: 20px 0 12px;
}

.slider-section { background: #fff; padding: 10px 0 16px; border-bottom: 1px solid #e5e7eb; }
.games-section { background: #f4f6f8; padding: 8px 0 20px; }
.new-games-section { background: #f4f6f8; padding: 8px 0 20px; }

/* ===== Game Card ===== */
.t-flex.card {
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 1.5px solid #d1fae5;
    border-radius: 14px;
    padding: 14px 14px;
    min-height: 90px;
    background: linear-gradient(135deg, #ffffff 60%, #f0faf5 100%);
    box-shadow: 0 2px 8px rgba(10, 92, 54, 0.07);
    transition: box-shadow 0.2s, transform 0.2s;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
    gap: 0;
}

.t-flex.card:nth-child(even) {
    background: linear-gradient(135deg, #f0faf5 60%, #e8f5e9 100%);
}

.t-flex.card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #0d7a49, #198754);
    border-radius: 14px 0 0 14px;
}

.t-flex.card:hover {
    box-shadow: 0 5px 18px rgba(10, 92, 54, 0.13);
    transform: translateY(-2px);
    border-color: #a7f3d0;
}

.t-flex.card .flex.flex_grow {
    flex: 1 1 0;
    min-width: 0;
    gap: 10px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    align-items: center;
}

.t-flex.card .flex.flex_grow:hover {
    box-shadow: none;
    transform: none;
}

.t-flex.card .dwnbtn {
    flex: 0 0 230px;
    width: 230px;
    padding: 0 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Number Badge ===== */
.num {
    background: linear-gradient(135deg, #0a5c36, #198754);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(10,92,54,0.3);
}

@media (max-width: 480px) {
    .t-flex.card { padding: 8px 10px; margin-bottom: 6px; }
    .t-flex.card .flex.flex_grow { gap: 8px; }
    .t-flex.card .dwnbtn { padding: 0 0 0 6px; }
}

.badge-new {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b00, #e63946);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    vertical-align: middle;
    margin-left: 4px;
    animation: pulse-new 1.5s ease-in-out infinite;
}
@keyframes pulse-new {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.tg-block {
    background: linear-gradient(135deg, #0a5c36, #0d7a49);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
    color: #fff;
}
.tg-block h4 { font-weight: 700; margin-bottom: 10px; }

.btn-telegram {
    background: #229ED9;
    color: #fff !important;
    font-weight: 700;
    padding: 10px 28px;
    border-radius: 25px;
    border: none;
    font-size: 1rem;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
    display: inline-block;
}
.btn-telegram:hover { background: #1a8bbf; transform: translateY(-2px); color: #fff !important; }

.seo-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
}
.seo-card h3 { font-size: 1rem; font-weight: 700; color: #0a5c36; margin-bottom: 10px; }
.seo-card h4 { font-size: 0.92rem; font-weight: 700; color: #0a5c36; margin: 12px 0 6px; }
.seo-card p { font-size: 0.86rem; color: #555; line-height: 1.7; margin: 0 0 8px; }
.seo-card ul { font-size: 0.85rem; color: #444; line-height: 1.9; padding-left: 20px; }

.faq-item {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 14px 18px;
    margin-bottom: 8px;
}
.faq-q { font-weight: 700; color: #1a1a1a; font-size: 0.9rem; }
.faq-a { font-size: 0.85rem; color: #666; margin: 6px 0 0; }

.disclaimer-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 0.82rem;
    color: #555;
    margin: 16px 0;
}
.disclaimer-box strong { color: #e63946; }
.disclaimer-box p { margin: 4px 0; }

.tips-box {
    background: #e8f5e9;
    border-left: 4px solid #0d7a49;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 16px;
}
.tips-box h4 { font-size: 0.95rem; font-weight: 700; color: #0a5c36; margin-bottom: 8px; }
.tips-box ul { margin: 0; padding-left: 18px; font-size: 0.83rem; color: #444; line-height: 1.9; }

/* Category badges */
.cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #e8f5e9;
    color: #0a5c36;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #b7dfcc;
    margin: 3px;
    text-decoration: none;
    transition: background 0.2s;
}
.cat-badge:hover { background: #0a5c36; color: #fff; }

/* Stats row */
.stats-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0; }
.stat-box {
    flex: 1 1 120px;
    background: linear-gradient(135deg, #0d7a49, #0a5c36);
    color: #fff;
    border-radius: 10px;
    padding: 12px 16px;
    text-align: center;
}
.stat-box .stat-num { font-size: 1.5rem; font-weight: 800; color: #ffd700; }
.stat-box .stat-label { font-size: 0.75rem; opacity: 0.85; }

.site-footer {
    background: linear-gradient(135deg, #0a5c36 0%, #0d3d22 100%);
    color: rgba(255,255,255,0.85);
    padding: 24px 0 10px;
}
.site-footer h5 { color: #ffd700; font-weight: 700; }
.site-footer p { font-size: 0.83rem; line-height: 1.7; }

.footer-bottom {
    background: #061d10;
    padding: 12px 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}
.footer-bottom a { color: #ffd700; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

.scroll-btn {
    height: 40px;
    width: 40px;
    background: linear-gradient(135deg, #0a5c36, #0d7a49);
    border-radius: 50%;
    position: fixed;
    bottom: 25px;
    right: 20px;
    z-index: 9999;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.scroll-btn .scroll-btn-arrow {
    height: 10px;
    width: 10px;
    border: 2.5px solid #fff;
    border-right: none;
    border-top: none;
    margin: 16px auto 0;
    transform: rotate(135deg);
}

@media (max-width: 768px) {
    .brand-name { font-size: 1rem; }
    .section-title { font-size: 1rem; }
    .featured-card { flex-direction: column; text-align: center; }
    .featured-card img { width: 70px; height: 70px; }
    .stat-box { flex: 1 1 80px; }
    .name { font-size: 0.95rem; }
    .apk-bonus, .apk-withdraw { font-size: 0.82rem; gap: 5px; }
}
@media (max-width: 480px) {
    .btn-custom { font-size: 0.75rem; padding: 11px 10px; border-radius: 8px; }
    .name { font-size: 0.85rem; }
    .game-list .flex > a img { width: 56px; height: 56px; border-radius: 12px; }
    .num { width: 26px; height: 26px; font-size: 11px; }
    .apk-bonus, .apk-withdraw { font-size: 0.75rem; }
    .t-flex.card .dwnbtn { flex: 0 0 160px; width: 160px; padding: 0 0 0 8px; }
    .t-flex.card { padding: 10px 10px; min-height: 80px; }
    .t-flex.card .flex.flex_grow { gap: 8px; }
}

