:root {
    --f-color: #000;
    --s-color: #fff;
    --t-color: #fafafa;
    --theme-color : #cecece;
    --theme-color2 : #bebebe;
    --theme-second : linear-gradient(to bottom, #ff7314 25.41%, #f99900 100%);
    --theme-third : #ffbc00;
}

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

a:hover {
    color: inherit;
}

.nav-top-wrapper {
    padding: 1.3rem;
}

.nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.icon-android {
    font-size: 1rem;
}

.nav-top-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    padding-right: 150px;
}

#nprogress .bar {
    background: var(--theme-third);
}

#nprogress .peg {
    box-shadow: 0 0 10px var(--theme-third), 0 0 5px var(--theme-third);
}

#nprogress .spinner-icon {
    border-top-color: var(--theme-third);
    border-left-color: var(--theme-third);
}

.nav-top-list li {
    margin-right: 1rem;
    position: relative;
}

.btn-lang {
    border: none;
    background: none;
}

.btn-lang img {
    width: 1.8rem;
    border-radius: 10px;
    height: 1.4rem;
    max-width: 100%;
}

.logo img {
    width: 9rem;
    max-width: 100%;
}

.logo-card {
    width: 10rem;
}

.ball-draw, .counter-time {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.title-404 {
    font-size: 10rem;
}

.wrapper-404 {
    height: 36rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.counter-time li {
    margin-right: 0.9rem;
    padding: 0.3rem 2.6rem;
    font-weight: bold;
    font-size: 0.9rem;
    border-radius: 10px;
    background: var(--s-color);
    color: var(--f-color);
    text-align: center;
    text-transform: uppercase;
}

.page.active {
    color: #fff !important;
    opacity: 1 !important;
    background: var(--theme-second);
}

#hour1, #hour2, #minute1, #minute2, #second1, #second2 {
    font-size: 1.4rem;
    color: var(--theme-second);
}

.ball-draw li {
    color: var(--f-color);
    margin-bottom: 6px;
    margin-top: 7px;
    list-style-type: none;
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-left: 5px;
    border: 2px solid var(--f-color);
    font-weight: 700;
}

.ticket-btn {
    background: var(--t-color);
    padding: 0.7rem 1.5rem;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.ticket-btn i {
    font-size: 0.6rem;
}

.ball-draw li:hover {
    background: var(--theme-color2);
    cursor: pointer;
}

.ball-draw li:first-child {
    margin-left: 0;
}

.social-icon {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    margin-bottom: 2rem;
    align-items: center;
}

.social-icon li {
    margin-right: 1rem;
    font-size: 2rem;
}

.social-icon li:last-child {
    margin-right: 0;
}

.ball-draw li:nth-child(n+3) {
    background: linear-gradient(to bottom, #ff7314 25.41%, #f99900 100%);
    color: #ffffff;
    border-color: var(--theme-third);
    
}


.ball-draw li:last-child:hover(n+3) {
    background: var(--theme-third);
}

.home-icon {
    position: absolute;
    font-size: 0.7rem;
    left: -1rem;
    top: 0.43rem;
    font-weight: bold;
}

.next-draw-card {
    background: var(--theme-second);
    color: var(--s-color);
}

.nav-top-list li button {
    border: none;
    background: none;
}

.nav-top-list li button, .nav-top-list li a {
    text-transform: uppercase;
    
    font-weight: 700;
    color: var(--f-color);
}

.nav-top-list li:last-child {
    margin-right: 0;
}

.nav-top-list-m {
    display: none;
}

.header-title {
    padding: 0.6rem;
    color: #fff;
    text-transform: uppercase;
    background: var(--theme-second);
    border-bottom: 3px solid var(--theme-third);
}

.header-title h3 {
    font-size: 1.4rem;
}

footer {
    border-top: 4px solid var(--t-color);
    background: var(--theme-second);
    padding: 1rem;
    color: var(--s-color);
}

footer a {
    color: var(--t-color);
}

.logo-wla {
    display: block;
    width: 8rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}


.footer-menu-img {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.footer-menu-img li img {
    width: 5rem;
}

.footer-menu-img li {
    margin-right: 2rem;
}

.footer-menu-img li:last-child {
    margin-right: 0;
}

/* Responsive */
/* For Mobile Portrait View */
@media screen and (max-device-width: 480px)
    and (orientation: portrait) {
        .nav-top-list {
           display: none;
    position: absolute;
    top: 90px;
   
    z-index: 2;
    padding: 1rem;
    background: var(--s-color);
    transition: translateX(-45px) 250ms;
    width: 100%;
        }

        .nav-top-list li i {
            display: none;
        }

        .nav-top-list li {
            margin-bottom: 0.7rem;
        }

        .nav-top-list li a {
            margin-left: 6px;
        }

        .nav-top-list-m {
            display: flex;
            list-style-type: none;
            padding: 0;
            margin: 0;
        }

        .nav-top-list-m li i {
            font-size: 1.7rem;
        }

        .counter-time li {
            padding: 0.3rem 1.3rem;
            margin-top: 1rem;
            margin-bottom: 1rem;
        }
        
        .nav-top-list li {
        width: 100%;
        
        border-bottom: 1px solid rgba(208, 9, 9, 0.3);
        padding: 10px 0;
    }

    /* Hapus garis pada item terakhir */
    .nav-top-list li:last-child {
        border-bottom: none;
    }
}
 
/* For Mobile Landscape View */
@media screen and (max-device-width: 850px)
    and (orientation: landscape) {
        

}
 
/* For Mobile Phones Portrait or Landscape View */
@media screen
    and (max-device-width: 640px) {
  
}`

/* Dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 150px;
    list-style: none;
    padding: 0;
    margin: 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.dropdown-menu li {
    border-bottom: 1px solid #555;
}

.dropdown-menu a {
    color: white;
    padding: 10px;
    display: block;
}

.dropdown-menu a:hover {
    background-color: #ecece6;
}

/* Tampilkan dropdown saat hover */
.nav-top-list li:hover .dropdown-menu {
    display: block;
}

* Mobile Menu - Fullscreen */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-top-list {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        display: none;
    }

    .nav-top-list.active {
        display: flex;
    }

    .nav-top-list li {
        margin: 15px 0;
    }

    .nav-top-list a {
        font-size: 24px;
        padding: 15px;
    }

    /* Tombol close menu */
    .menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 30px;
        color: white;
        cursor: pointer;
    }
}