@import url('variables.css?v=6');
@import url('layout.css?v=18');
@import url('components.css?v=9');
@import url('modals.css?v=13');
@import url('views.css?v=26');

/* Non-blocking loading state for remote content */
.dynamic-skeleton {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: #101c30;
    border-radius: 8px;
}

.dynamic-skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.09), transparent);
    animation: dynamic-skeleton-shimmer 1.25s infinite;
}

.provider-skeleton {
    min-height: 112px;
    padding: 9px;
}

.provider-skeleton .dynamic-skeleton-block {
    display: block;
    height: 76px;
    border-radius: 6px;
    background: #1c2d48;
}

.dynamic-skeleton-line {
    display: block;
    width: 58%;
    height: 9px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: #263a59;
}

.togel-skeleton {
    min-width: 150px;
    min-height: 72px;
    padding: 14px;
}

.togel-skeleton .wide {
    width: 82%;
}

.dynamic-load-state {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 92px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    color: #aebbd0;
    text-align: center;
    border: 1px dashed #304767;
    border-radius: 8px;
    background: #0d192b;
}

.dynamic-retry-btn {
    border: 1px solid #f7b500;
    border-radius: 6px;
    padding: 7px 12px;
    color: #111827;
    background: #f7b500;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

@keyframes dynamic-skeleton-shimmer {
    100% { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
    .dynamic-skeleton::after { animation: none; }
}

/* Custom Image Icons for Navigation */
.img-nav-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 6px;
}

/* Default Dark Mode: Icon Hitam diubah jadi Putih */
body .img-nav-icon {
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.category-mobile-grid .grid-item .img-nav-icon {
    width: 26px;
    height: 26px;
    margin-right: 0;
    margin-bottom: 2px;
}
.sidebar-link .img-nav-icon {
    width: 22px;
    height: 22px;
}

/* Mobile Bottom Navbar Guarantee */
.bottom-navbar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 56px !important;
    background: rgba(15, 23, 42, 0.96) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-top: 1px solid rgba(245, 158, 11, 0.35) !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    z-index: 999999 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5) !important;
}

.bottom-navbar .nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    color: #94a3b8 !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    flex: 1 !important;
    height: 100% !important;
    text-decoration: none !important;
}

.bottom-navbar .nav-item[style*="display: none"] {
    display: none !important;
}

.bottom-navbar .nav-item i {
    font-size: 1.15rem !important;
}

.bottom-navbar .nav-item.active {
    color: #f59e0b !important;
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.4) !important;
}

@media (min-width: 1024px) {
    .bottom-navbar {
        display: none !important;
    }
}

