/* Custom Styles for Lintas88 */

body {
    font-family: 'Inter', sans-serif;
}

/* Mobile Menu Styles */
#visibs {
    top: 0;
    background-color: #1a1a1a;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}

#visibs.visible {
    left: 0 !important;
}

/* Logged In Sidebar Menu Styles */
#sidenav {
    top: 0;
    background-color: #1a1a1a;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}

#sidenav #visibs {
    background-color: #1a1a1a;
}

.bg-secondary {
    background-color: #1a1a1a;
}

.bg-main {
    background-color: #dc2626;
}

.main-menu li a.bg-current {
    background-color: rgba(220, 38, 38, 0.2);
}

.main-menu li a,
.app-menu li a,
.app-auth-menu li a,
.user-menu li a {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.main-menu li a:hover,
.app-menu li a:hover,
.app-auth-menu li a:hover,
.user-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.main-menu li a:active,
.app-menu li a:active,
.app-auth-menu li a:active,
.user-menu li a:active {
    background-color: rgba(255, 255, 255, 0.15);
}

.main-menu img,
.app-menu img,
.app-auth-menu img,
.user-menu img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.main-menu li a span,
.app-menu li a span,
.app-auth-menu li a span,
.user-menu li a span {
    font-size: 1rem;
    line-height: 1.5rem;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #dc2626;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b91c1c;
}

/* Animation for icons */
@keyframes mover {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-5px);
    }
}

.icon-download-mover {
    animation: mover 0.5s infinite alternate;
}

/* Game card hover effect */
.game-card {
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: scale(1.05);
}

/* Loading spinner */
.spinner {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #dc2626;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Owl Carousel Custom Styles */
.banner-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    pointer-events: none;
}

.banner-carousel .owl-nav button {
    pointer-events: all;
    background: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.banner-carousel .owl-nav button:hover {
    background: rgba(220, 38, 38, 0.8) !important;
}

.banner-carousel .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.banner-carousel .owl-dots button.owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5) !important;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.banner-carousel .owl-dots button.owl-dot.active {
    background: #dc2626 !important;
    width: 30px;
    border-radius: 6px;
}

.banner-carousel .item {
    position: relative;
}

/* Announcement Bar Styles */
.berita-pengumuman {
    overflow: hidden;
}

.berita-pengumuman marquee {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.berita-pengumuman marquee::after {
    content: "";
    width: 10% !important;
}

.icon-icon-volume {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CTA Buttons Section */
.bg-secondary-member {
    background-color: #000000;
}

@media (min-width: 640px) {
    .bg-secondary-member {
        background-color: #000000;
    }
}

/* Welcome Auth Section */
.bg-welcome-auth {
    background-color: #282c34;
}

/* Game Categories Styles */
.tab-gamexx {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tab-gamexx::-webkit-scrollbar {
    display: none;
}

.games-icon {
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
    width: 64px;
    height: 64px;
}

.games-menu:hover .games-icon {
    filter: brightness(0) invert(1);
    transform: scale(1.1);
}

.games-menu:hover h2 {
    color: #ef4444 !important;
}

/* Slot Hot Horizontal Scroll Styles */
.slot-hot {
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.slot-hot::-webkit-scrollbar {
    display: none;
}

.slot-trend {
    position: relative;
}

.slot-trend .thumbnail {
    border-radius: 5px;
    overflow: hidden;
    width: 107px;
    height: 149px;
}

.slot-trend .thumbnail img.lazy {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slot-trend .hot {
    position: absolute;
    bottom: 25px;
    left: 4px;
    pointer-events: none;
    z-index: 15;
    padding: 0;
}

.slot-trend .hot img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
}

.slot-trend .btn-click {
    position: relative;
}

.slot-trend .btn-click > div:last-child {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

/* Icon Provider Slot */
.icon-provider-slot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.icon-provider-slot.PragmaticPlay {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="%23dc2626"/></svg>');
}

.icon-provider-slot.PGSoft {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="%234f46e5"/></svg>');
}

/* Icon Provider (Modal) - Now using <img> tags directly, CSS removed to prevent sprite sheet artifacts */

/* All Games Grid Styles */
.all-games {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.all-games > div {
    width: calc(50% - 8px);
    flex: 0 0 calc(50% - 8px);
}

.all-games .thumbnail {
    border-radius: 5px;
    overflow: hidden;
    width: 207px;
    height: 207px;
}

.all-games .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.all-games .after-click {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.all-games .after-click:hover {
    transform: scale(1.05);
}

/* Download App Section */
.hp {
    z-index: 1;
}

.hp img {
    width: auto;
    height: 100px;
    object-fit: contain;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    body {
        padding-bottom: 70px; /* Space for bottom navigation */
    }
    
    .banner-carousel .owl-nav {
        padding: 0 10px;
    }
    
    .banner-carousel .owl-nav button {
        width: 30px;
        height: 30px;
    }
    
    .berita-pengumuman {
        height: auto !important;
        max-height: none !important;
        min-height: 22px;
    }
    
    .berita-pengumuman marquee {
        line-height: 1.3 !important;
        padding: 2px 0;
    }
}

/* Bottom Navigation Styles */
#float-menu {
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
}

#float-menu.container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

#float-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#float-menu li {
    padding: 0.25rem 0;
}

#float-menu a,
#float-menu button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-decoration: none;
    background: none;
    border: none;
    width: 100%;
    padding: 0;
    height: 100%;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

#float-menu button span:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 4px;
}

#float-menu button span:first-child img {
    width: 24px;
    height: 24px;
}

#float-menu a.active {
    color: #dc2626;
}

#float-menu .text-menu {
    font-size: 0.625rem;
    font-weight: 500;
    margin-top: 0.125rem;
}

#float-menu svg {
    display: block;
    width: 32px;
    height: 32px;
}

#float-menu li {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Blinking animation for Masuk icon and text */
@keyframes blink {
    0%, 50% {
        fill: #dc2626; /* Red */
        color: #dc2626;
    }
    51%, 100% {
        fill: #ffffff; /* White */
        color: #ffffff;
    }
}

.blink-icon .blink-path {
    animation: blink 1s infinite;
}

.blink-text {
    animation: blink 1s infinite;
}

/* Input field styling */
.bg-input {
    background-color: #1f2937;
}

/* Bottom Navigation Menu Text */
.text-menu {
    color: #9ca3af;
}

.text-menu.active {
    color: #dc2626;
}

/* Icon Brand Sportsbook */
.icon-brand-sportsbook {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.icon-brand-sportsbook.sbobet {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="%23ffffff"/></svg>');
}

.icon-brand-sportsbook.saba-sports-lobby {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="%23ffffff"/></svg>');
}

.icon-brand-sportsbook.afb-sports {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="%23ffffff"/></svg>');
}

.icon-brand-sportsbook.ubo {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="%23ffffff"/></svg>');
}


