/********** Template CSS **********/
:root {
    --bs-tertiary: #636363;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-bold {
    font-weight: 800 !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-normal {
    font-weight: 400 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Nav Bar ***/
.sticky-top {
    transition: .5s;
}

.navbar {
    box-shadow: 0 0 30px rgba(0, 0, 0, .2);
}

.navbar .navbar-nav .nav-link {
    margin: 0 12px;
    padding: 0;
    outline: none;
    font-size: 17px;
    color: var(--bs-light);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary)
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*** Header ***/
.header-carousel,
.page-header {
    position: relative;
}

.header-carousel::before,
.page-header::before {
    position: absolute;
    content: "";
    width: 100%;
    top: -500%;
    left: 0;
    bottom: 0;
    background: var(--bs-secondary);
    z-index: -1;
}

.carousel-caption {
    inset: 0;
    z-index: 1;
}

.carousel-caption .caption-text {
    display: inline;
    margin: 30px;
    padding: 30px;
    background: rgba(4, 44, 113, .7);
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 992px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 550px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    content: "\f192";
    font-family: "Font Awesome 7 Free";
    font-weight: 400;
    font-size: 17px;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 17px;
    color: var(--bs-primary);
}

.page-header .breadcrumb-item.active {
    color: var(--bs-white);
}


/*** Scrolling ***/
.scrolling {
    white-space: nowrap;
}

.scrolling-text {
    display: inline-block;
    animation: scroll-left 20s linear infinite;
    font-size: 18px;
}

.scrolling-text:hover {
    animation-play-state: paused;
}

.scrolling-text span {
    display: inline-block;
    margin-right: 30px;
}

.scrolling-text span i {
    color: var(--bs-secondary);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/*** Section Title ***/
.section-title {
    position: relative;
    padding-left: 20px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border-radius: 6px;
    background: var(--bs-dark);
}

.section-title.text-primary::before {
    background: var(--bs-primary);
}


/*** Service ***/
.service-list,
.service-item {
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, .06);
    transition: .5s;
}

.service-list:hover,
.service-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .2);
}

.service-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-list li {
    padding-left: 0;
    padding-right: 0;
    background: transparent;
    border-color: rgba(255, 255, 255, .2);
}

.service-list a {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: var(--bs-primary);
    transition: .5s;
}

.service-list a:hover {
    color: var(--bs-white);
}

.service-item .btn-square {
    position: absolute;
    width: 65px;
    height: 65px;
    top: 20px;
    left: 20px;
}

.service-item a {
    position: relative;
    display: inline-block;
    font-weight: 600;
    transition: .5s;
}

.service-item a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0px;
    border-bottom: 2px solid var(--bs-primary);
    transition: .5s;
}

.service-item a:hover {
    color: var(--bs-secondary);
}

.service-item a:hover::after {
    border-color: var(--bs-secondary);
}


/*** Quote ***/
.quote {
    position: relative;
}

.quote::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: var(--bs-secondary);
    z-index: -1;
}

.quote .form-control {
    background: rgba(0, 0, 0, .5);
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .06);
    transition: .5s;
}

.team-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .2);
}

.team-item .team-img::after {
    position: absolute;
    content: "";
    inset: 0;
    border-radius: 100%;
    border: 30px solid rgba(4, 44, 113, .7);
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item {
    position: relative;
    margin: 45px 0 25px;
    padding: 25px;
    background: var(--bs-light);
}

.testimonial-carousel .owl-item .testimonial-item img {
    width: 75px;
    height: 75px;
}

.testimonial-carousel .owl-item .testimonial-item .btn-square {
    position: absolute;
    width: 75px;
    height: 75px;
    top: -38px;
    left: 25px;
    background: var(--bs-light);
    color: var(--bs-primary);
    border-radius: 75px;
    font-size: 45px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--bs-secondary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item p {
    color: var(--bs-white);
}

.testimonial-carousel .owl-item.center .testimonial-item .btn-square {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.testimonial-carousel .owl-item.center .testimonial-item h5 {
    color: var(--bs-primary);
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-primary);
}


/*** Pricing ***/
.price-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .06);
    transition: .5s;
}

.price-item:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, .2);
}

.price-item .btn-square {
    position: absolute;
    width: 45px;
    height: 45px;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
}


/*** Contact ***/
.contact-form .help-block ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}


/*** Newsletter ***/
.newsletter {
    background: var(--bs-dark);
    border-bottom: 2px dashed rgba(255, 255, 255, .1);
}


/*** Footer ***/
.footer {
    color: rgba(255, 255, 255, .5);
    background: var(--bs-dark);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}


/*** Copyright ***/
.copyright {
    color: rgba(255, 255, 255, .5);
    background: var(--bs-dark);
    border-top: 2px dashed rgba(255, 255, 255, .1);
}

.copyright a {
    color: rgba(255, 255, 255, .75);
}

.copyright a:hover {
    color: var(--bs-primary);
}


/********** UNTUNG99 **********/

/*** Umum ***/
.section-title {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: .5rem;
}

.navbar-brand .brand-name {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .5px;
}

.text-dark-soft {
    color: var(--bs-tertiary);
}


/*** Hero ***/
.carousel-caption .hero-label {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: .75rem;
}

.carousel-caption .hero-title {
    display: block;
}

@media (min-width: 993px) {
    #header-carousel .carousel-item img {
        height: auto;
    }

    .carousel-caption .caption-text {
        max-width: 720px;
    }
}

@media (max-width: 575.98px) {
    .carousel-caption .caption-text {
        margin: 12px;
        padding: 22px 18px;
    }

    .carousel-caption .display-1 {
        font-size: 2.9rem;
    }

    .carousel-caption .hero-label {
        font-size: 1.15rem;
    }

    .carousel-caption .fs-5 {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
}


/*** Form top up (gelap) ***/
.form-dark .form-control,
.form-dark .form-select {
    color: var(--bs-white);
    background-color: rgba(0, 0, 0, .5);
}

.form-dark .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23FFAA19' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.form-dark .form-select option {
    color: var(--bs-dark);
    background: var(--bs-white);
}

.form-dark .form-control:focus,
.form-dark .form-select:focus {
    color: var(--bs-white);
    background-color: rgba(0, 0, 0, .65);
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 .2rem rgba(255, 170, 25, .25);
}

.form-dark .form-floating > label {
    color: rgba(255, 255, 255, .65);
}

.form-control.is-invalid,
.form-select.is-invalid {
    border: 1px solid #e5484d !important;
}

.contact-form .order-alert {
    color: var(--bs-secondary);
}

.contact-form .order-alert a {
    color: var(--bs-secondary);
    text-decoration: underline;
}

.order-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 20px;
    border-radius: .25rem;
    border: 1px dashed rgba(255, 255, 255, .25);
    color: rgba(255, 255, 255, .75);
}

.order-summary strong {
    font-size: 1.5rem;
    color: var(--bs-primary);
}

.order-note {
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
}

.order-alert {
    display: none;
    font-size: 15px;
    color: var(--bs-white);
}

.order-alert a {
    color: var(--bs-primary);
    font-weight: 600;
}


/*** Langkah top up (pakai gaya team) ***/
.team-item .step-icon {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 46px;
    color: var(--bs-secondary);
    background: var(--bs-light);
    transition: .5s;
}

.team-item .step-icon::after {
    position: absolute;
    content: "";
    inset: 0;
    border-radius: 100%;
    border: 12px solid rgba(4, 44, 113, .08);
}

.team-item:hover .step-icon {
    background: var(--bs-primary);
}

.team-item .step-number {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: var(--bs-primary);
    background: var(--bs-secondary);
    z-index: 1;
}


/*** Tips (pakai gaya testimonial) ***/
.testimonial-carousel .owl-item .testimonial-item .tip-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--bs-secondary);
    background: var(--bs-primary);
}

.testimonial-carousel .owl-item.center .testimonial-item h3 {
    color: var(--bs-primary);
}


/*** Daftar game ***/
.service-item .game-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--bs-secondary);
    background: var(--bs-primary);
}

.service-item .game-meta {
    font-size: 14px;
    color: var(--bs-secondary);
    font-weight: 600;
}

.filter-group .btn {
    margin: 0 4px 8px;
    border-radius: 50px;
}

.game-empty {
    display: none;
}


/*** Tabel harga ***/
.price-tabs .nav-link {
    margin: 0 6px 10px 0;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    color: var(--bs-secondary);
    border: 1px solid rgba(4, 44, 113, .15);
    background: var(--bs-white);
}

.price-tabs .nav-link.active,
.price-tabs .show > .nav-link {
    color: var(--bs-dark);
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}

@media (max-width: 767.98px) {
    .price-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start !important;
        overflow-x: auto;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }

    .price-tabs .nav-link {
        white-space: nowrap;
    }

    .price-table thead th,
    .price-table td {
        padding: 10px 12px;
    }
}

.price-table {
    overflow: hidden;
    border-radius: .25rem;
    background: var(--bs-white);
    box-shadow: 0 0 30px rgba(0, 0, 0, .06);
}

.price-table table {
    margin-bottom: 0;
}

.price-table thead th {
    padding: 14px 18px;
    border: 0;
    font-weight: 700;
    color: var(--bs-white);
    background: var(--bs-secondary);
}

.price-table td {
    padding: 12px 18px;
    vertical-align: middle;
}

.price-table tbody tr:hover {
    background: var(--bs-light);
}

.price-table .harga {
    white-space: nowrap;
    font-weight: 800;
    color: var(--bs-secondary);
}


/*** Info box & konten panjang ***/
.info-box {
    padding: 20px 24px;
    border-radius: .25rem;
    border-left: 4px solid var(--bs-primary);
    background: var(--bs-light);
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content p,
.legal-content li {
    line-height: 1.8;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    margin-bottom: 1rem;
    border-radius: .25rem;
    background: var(--bs-light);
}


/*** Footer: metode pembayaran ***/
.pay-badge {
    display: inline-block;
    margin: 0 6px 8px 0;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .75);
    border: 1px solid rgba(255, 255, 255, .15);
}


/*** Tombol WhatsApp melayang ***/
.wa-float {
    position: fixed;
    left: 30px;
    bottom: 30px;
    z-index: 99;
    display: flex;
    align-items: center;
    padding: 12px 18px;
    border-radius: 50px;
    font-weight: 700;
    color: var(--bs-white);
    background: #138A47;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    transition: .3s;
}

.wa-float:hover {
    color: var(--bs-white);
    transform: translateY(-3px);
}

.wa-float i {
    font-size: 22px;
    margin-right: 8px;
}

@media (max-width: 575.98px) {
    .wa-float {
        left: 16px;
        bottom: 16px;
        padding: 12px 14px;
    }

    .wa-float span {
        display: none;
    }

    .wa-float i {
        margin-right: 0;
    }
}