@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

/* ========================================
   Modern Compact Premium Theme
   Font Size: 12px
   Accent Color: #00AB55
   ======================================== */

body {
    background-color: #ffffff; 
    color: #1c1e21;
    font-family: 'Nunito', sans-serif;
    font-size: 12px;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* --- Top Bar --- */
.top-bar {
    background: #ffffff;
    border-bottom: 1px solid #f0f2f5;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.btn-account-toggle {
    background-color: #f0f2f5;
    color: #4b4f56;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 6px 15px;
    font-size: 0.85rem;
}

.btn-icon-only {
    color: #4b4f56;
    background: #f0f2f5;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

/* --- Sidebar Navigation --- */
.sidebar-sticky {
    position: sticky;
    top: 20px;
}

.sidebar-main-logo {
    max-width: 180px;
    height: auto;
}

.btn-cta-download {
    background-color: #00AB55;
    color: #fff;
    font-weight: 800;
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 171, 85, 0.2);
    transition: all 0.3s;
}

.btn-cta-download:hover {
    background-color: #008f47;
    color: #fff;
    transform: translateY(-2px);
}

.btn-cta-social {
    background-color: #3b3e5b;
    color: #fff;
    font-weight: 700;
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.btn-cta-social:hover {
    background-color: #2c2f45;
    color: #fff;
    transform: translateY(-2px);
}

.sidebar-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav-menu li a {
    display: block;
    padding: 10px 15px;
    color: #4b4f56;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.2s;
    margin-bottom: 4px;
}

.sidebar-nav-menu li a i {
    width: 20px;
    color: #00AB55;
    margin-right: 5px;
}

.sidebar-nav-menu li.active > a {
    background-color: #f0f2f5;
    color: #00AB55;
    border-left: 3px solid #00AB55;
}

.sidebar-nav-menu li > a:hover {
    background-color: #f0f2f5;
    color: #00AB55;
}

.submenu-container {
    list-style: none;
    padding-left: 20px;
    margin-bottom: 10px;
    display: none;
    border-left: 1px solid #f0f2f5;
    margin-left: 25px;
}

.submenu-container.show {
    display: block;
}

.submenu-container li a {
    padding: 6px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #65676b;
    background: none !important;
    border-radius: 6px;
    transition: all 0.2s;
}

.submenu-container li a:hover,
.submenu-container li a.active-sub {
    color: #00AB55 !important;
    background-color: rgba(0, 171, 85, 0.05) !important;
}

.small-icon {
    font-size: 0.7rem;
    opacity: 0.6;
}

/* --- Content Column --- */
.content-column {
    border-left: 1px solid #f0f2f5;
    padding-left: 30px !important;
}

.content-main-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1c1e21;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

@keyframes blink-pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

.title-dot {
    width: 10px;
    height: 10px;
    background-color: #00AB55;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 4px rgba(0, 171, 85, 0.15);
    animation: blink-pulse 2s infinite ease-in-out;
}

.sidebar-nav-menu li a i {
    width: 20px;
    color: #00AB55;
    margin-right: 5px;
    animation: blink-pulse 3s infinite ease-in-out;
}

.btn-action-game {
    background-color: #00AB55;
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    padding: 6px 15px;
    border: none;
    font-size: 0.85rem;
}

.btn-action-recharge {
    background-color: #00AB55;
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    padding: 6px 15px;
    border: none;
    font-size: 0.85rem;
}

.content-box-main {
    background-color: #fff;
    padding: 10px 0;
}

/* ========================================
   Mobile Optimization
   ======================================== */
@media (max-width: 991px) {
    .sidebar-column {
        position: fixed;
        left: -300px;
        top: 0;
        bottom: 0;
        width: 280px;
        background: #fff;
        z-index: 1050;
        transition: all 0.3s cubic-bezier(0.7, 0, 0.3, 1);
        padding: 30px 20px;
        box-shadow: 10px 0 30px rgba(0,0,0,0.1);
        overflow-y: auto;
    }

    .sidebar-column.active {
        left: 0;
    }

    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1045;
        display: none;
    }

    .sidebar-overlay.active {
        display: block;
    }

    .content-column {
        border-left: none;
        padding-left: 12px !important;
    }

    .content-main-title {
        font-size: 1.25rem;
    }

    .top-bar {
        padding: 8px 15px;
    }
}

.btn-emerald-outline {
    background: transparent;
    border: 1px solid #00AB55;
    color: #00AB55;
    font-weight: 700;
    border-radius: 8px;
}
