/* LATOTO LUXURY GOLD THEME & MOBILE NAVBAR */

/* 1. Global Latoto Button Styles — Luxury Edition */
.btn-latoto {
    background: linear-gradient(180deg, #ffe066 0%, #f3c947 25%, #c8910e 75%, #a1650a 100%) !important;
    color: #fff !important;
    border: 2px solid #c2865a !important;
    outline: 2px solid rgba(255, 215, 0, 0.35);
    outline-offset: 2px;
    box-shadow:
        inset 0 0 0 1px #ffed4e,
        inset 0 2px 4px rgba(255, 255, 255, 0.45),
        inset 0 -2px 4px rgba(0, 0, 0, 0.25),
        0 0 8px rgba(255, 215, 0, 0.25),
        0 3px 6px rgba(0, 0, 0, 0.5) !important;
    border-radius: 6px !important;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 6px rgba(161, 101, 10, 0.5);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    transition: all 0.35s ease;
    padding: 10px 20px;
}

.btn-latoto:hover {
    background: linear-gradient(180deg, #fff48a 0%, #ffed4e 25%, #d4a017 75%, #c2865a 100%) !important;
    color: #fff !important;
    box-shadow:
        inset 0 0 0 1px #fff48a,
        inset 0 2px 4px rgba(255, 255, 255, 0.55),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2),
        0 0 14px rgba(255, 215, 0, 0.45),
        0 4px 8px rgba(0, 0, 0, 0.5) !important;
    transform: translateY(-1px);
    outline-color: rgba(255, 215, 0, 0.55);
}

/* Button Shine Animation — Slow & Elegant */
.btn-latoto::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 35%;
    height: 100%;
    background: linear-gradient(
        105deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.05) 30%,
        rgba(255,255,255,0.5) 48%,
        rgba(255,255,255,0.6) 50%,
        rgba(255,255,255,0.5) 52%,
        rgba(255,255,255,0.05) 70%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    animation: shine 12s infinite;
}

/* Subtle Ambient Glow Pulse */
.btn-latoto::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 7px;
    border: 1px solid rgba(255, 237, 78, 0.4);
    animation: framePulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shine {
    0% { left: -50%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

@keyframes framePulse {
    0%, 100% { border-color: rgba(255, 237, 78, 0.25); box-shadow: 0 0 4px rgba(255, 215, 0, 0.1); }
    50% { border-color: rgba(255, 237, 78, 0.6); box-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
}


/* 2. Mobile Bottom Navbar */
.mobile-bottom-nav {
    display: none; /* Hidden by default (Desktop) */
}

@media (max-width: 768px) {
    body {
        padding-bottom: 70px; /* Space for the fixed navbar */
    }

    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #1d1d1d;
        border-top: 1px solid #353535;
        z-index: 9999;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
        justify-content: space-around;
        align-items: center;
        height: 65px;
    }

    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #c7c7c7;
        font-size: 11px;
        flex: 1;
        transition: color 0.2s;
    }

    .nav-item i {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .nav-item:hover, .nav-item.active {
        color: #ffd700;
    }

    /* Elevated Center Promosi Button */
    .nav-item.center-promosi {
        position: relative;
        top: -15px; /* Elevate above the bar */
    }

    .nav-item.center-promosi .center-btn {
        background: linear-gradient(180deg, #f3c947 0%, #a1650a 100%);
        width: 55px;
        height: 55px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 3px solid #1d1d1d;
        box-shadow: 0 4px 8px rgba(0,0,0,0.4);
        margin-bottom: 4px;
        position: relative;
        overflow: hidden;
        animation: promoPulse 2s ease-in-out infinite;
    }

    @keyframes promoPulse {
        0% { transform: scale(1); box-shadow: 0 4px 8px rgba(0,0,0,0.4), 0 0 0 0 rgba(255, 215, 0, 0.4); }
        14% { transform: scale(1.15); box-shadow: 0 4px 12px rgba(0,0,0,0.5), 0 0 0 8px rgba(255, 215, 0, 0); }
        28% { transform: scale(1); box-shadow: 0 4px 8px rgba(0,0,0,0.4), 0 0 0 0 rgba(255, 215, 0, 0); }
        42% { transform: scale(1.15); box-shadow: 0 4px 12px rgba(0,0,0,0.5), 0 0 0 8px rgba(255, 215, 0, 0); }
        70% { transform: scale(1); box-shadow: 0 4px 8px rgba(0,0,0,0.4), 0 0 0 0 rgba(255, 215, 0, 0); }
        100% { transform: scale(1); box-shadow: 0 4px 8px rgba(0,0,0,0.4), 0 0 0 0 rgba(255, 215, 0, 0); }
    }

    .nav-item.center-promosi .center-btn i {
        color: #fff;
        font-size: 24px;
        margin-bottom: 0;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    }
    
    .nav-item.center-promosi .center-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 50%;
        height: 100%;
        background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
        transform: skewX(-25deg);
        animation: shine 6s infinite;
        animation-delay: 1.5s;
    }

    .nav-item.center-promosi span {
        color: #ffd700;
        font-weight: bold;
    }
}
