html, body {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #fff;
}

#home, #rundown, #faq, #daftar, #collaborator, #tnc {
    scroll-margin-top: 150px; /* sesuaikan dengan tinggi navbar */
}

/* Navbar dengan gradasi */
.navbar-custom {
    background: linear-gradient(to right, #00468b, #5a4ea4, #cc3a4e, #ff6f00);
}
.navbar-custom .nav-link,
.navbar-custom .navbar-brand {
    color: white !important;
    font-weight: 500;
    font-size: 1.3rem;
}
.navbar-custom .btn-warning {
    color: #000;
    font-weight: 600;
    font-size: 1.3rem;
}

.nav-item {
    padding: 0 10px;
}

/* Hero section */
.hero {
    background: url('../images/pc/hero.png') center center/cover no-repeat;
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.07);
}
.hero .container {
    position: relative;
    z-index: 1;
}

/* Countdown */
.countdown {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 1rem;
}
.countdown span {
    padding: 0 10px;
    color: #ffdd00;
}

/* Section titles */
.section-title {
    margin-top: 60px;
    margin-bottom: 30px;
    font-weight: 600;
    color: #0074b7;
    text-align: center;
}

/* Rundown & Info Box */
.info-box {
    background: #eef9ff;
    border-left: 5px solid #00a3e0;
    padding: 20px;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background: linear-gradient(to right, #0b4c9c, #b23e6e, #ec4e20);
    color: white;
    padding: 40px 20px;
}

.footer-logo {
    max-width: 250px;
    margin-bottom: 20px;
}

.footer h6 {
    font-weight: 700;
    margin-bottom: 10px;
}

.footer p {
    margin: 0 0 8px;
}

.foot-title {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.tautan-title {
    text-decoration: none;
    color: #fff;
    font-size: 1.1rem;
}

.tautan-content {
    padding: 0;
    margin: 0;
    list-style-type: none;
    font-size: 1.1rem;
}

.tautan-content li {
    padding: 5px 0 5px 0;
}

.icon-social {
    display: flex;
    flex-direction: row;
}

.medsos-btn {
    border-radius: 50%;
    height: 35px;
    width: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.event-card {
    background: rgba(255, 255, 255, 0.55);
    border-radius: 1rem;
    padding: 16px;
    max-width: 400px;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.2);
}
.date-event-section {
    display: flex;
}
.event-date {
    font-size: 4.5rem;
    font-weight: 800;
    color: #003A80;
    line-height: 1;
    text-align: left !important;
}
.month-year-event {
    text-align: left !important;
    margin: 0 10px;
    color: #003A80 !important;
    font-size: 1.5rem !important;
    line-height: 1.5;
}
.event-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #003A80;
    text-align: left !important;
}
.time-event {
    text-align: left !important;
    color: #003A80;
    font-size: 1.3rem !important;
}
.btn-direction {
    display: flex !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    background-color: #2f7dc3 !important;
    width: 150px;
    font-size: 1rem !important;
}
.btn-direction:hover {
    background-color: #003a80 !important; /* warna saat hover (lebih gelap) */
}
.btn-direction:active {
    background-color: #003a80; /* warna saat click (lebih gelap lagi) */
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2);
}
.btn-direction:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(0, 58, 128, 0.25);
}
.countdown-title {
    color: #003A80;
    font-size: 1.5rem !important;
}
.fw-bold-custom {
    font-weight: 800 !important;
    line-height: 1.5;
    font-size: 1.7rem !important;
}
.countdown-box {
    background-color: #003A80;
    color: white;
    border-radius: 1rem;
    padding: 1rem 0;
    width: 75px;
}
.small {
    color: #000;
    font-size: 1rem !important;
}
.light-blue {
    background-color: #2f7dc3 !important;
    font-size: 1.5rem !important;
}
.btn-light-blue:hover {
    background-color: #003a80 !important; /* warna saat hover (lebih gelap) */
}
.btn-light-blue:active {
    background-color: #003a80; /* warna saat click (lebih gelap lagi) */
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2);
}
.btn-light-blue:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(0, 58, 128, 0.25);
}
.btn-register {
    background-color: #D2E437 !important;
    color: #003A80 !important;
    font-weight: bold !important;
    border-radius: 0.375rem !important;
    padding: 0.8rem 2rem !important;
    font-size: 1.6rem !important;
}
.btn-register:hover {
    background-color: #c0cf2a !important; /* warna saat hover (lebih gelap) */
    color: #003a80 !important;
}
.btn-register:active {
    background-color: #a8b828; /* warna saat click (lebih gelap lagi) */
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2);
}
.btn-register:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(0, 58, 128, 0.25);
}

.btn-register-small {
    background-color: #D2E437 !important;
    color: #003A80 !important;
    font-weight: bold !important;
    border-radius: 0.375rem !important;
    font-size: 1.3rem;
}
.btn-register-small:hover {
    background-color: #c0cf2a !important; /* warna saat hover (lebih gelap) */
    color: #003a80 !important;
}
.btn-register-small:active {
    background-color: #a8b828; /* warna saat click (lebih gelap lagi) */
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2);
}
.btn-register-small:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(0, 58, 128, 0.25);
}

.logo-section img {
    max-width: 100%;
}
.desc-section {
    background: url('../images/pc/funrunqris.png') left center no-repeat;
    background-size: contain;
    padding: 50px 0;
    background-position-x: -200px;
}
.description-title {
    font-size: 2.1rem;
    color: #003A80;
    font-weight: 600;
}
.description-small {
    color: #003A80;
}
.text-right {
    text-align: right !important;
}
.custom-card {
    border-radius: 0 0.5rem 0.5rem 0 !important;
}

.gradient-card {
    display: flex;
    border-radius: 0 0.5rem 0.5rem 0 !important;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.55);
}

.gradient-line {
    width: 20px;
    /*background: linear-gradient(to bottom, #f0482b, #b535ab, #003a80,);*/
    background: linear-gradient(
            to bottom,
            rgba(240, 72, 43, 0.8),   /* #f0482b dengan 80% opasitas */
            rgba(181, 53, 171, 0.8),  /* #b535ab dengan 60% opasitas */
            rgba(0, 58, 128, 0.8)     /* #003a80 dengan 40% opasitas */
    );
}

.card-content {
    padding: 16px;
    text-align: right;
    color: #333;
    font-size: 1.2rem;
}
.funrun-image {
    max-width: 100%;
    height: auto;
}

.rundown-title {
    color: #094A93;
    font-weight: 700;
    font-size: 1.4rem;
}

.table {
    font-size: 1.2rem;
}

.merch-section {
    position: relative;
    background-color: #ffffff;
    padding: 4rem 1rem;
}

.merch-title {
    font-weight: 700;
    color: #094A93;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.1rem;
}

.merch-item {
    background: linear-gradient(to right, #00468b, #5a4ea4, #cc3a4e, #ff6f00);
    width: 100%;
    height: 250px;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.merch-img {
    max-width: 300px;
}

.merch-desc {
    color: #094A93;
    text-align: center;
    font-weight: 500;
    font-size: 1.3rem;
    padding: 0 0.5rem;
}

.watergun-img {
    position: absolute;
    top: 35px;
    right: 10px;
    max-width: 180px;
    z-index: 1;
    -webkit-transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
}

.faq-title {
    text-align: center;
    font-weight: bold;
    font-size: 2.1rem;
    color: #0b4c9c;
}

.watergun-left {
    max-width: 180px;
}
.watergun-right {
    max-width: 180px;
    -webkit-transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
}

.qris-section {
    background: linear-gradient(to right, #094a93, #5b4fb2, #e13b35);
    color: white;
    padding: 4rem 2rem;
    position: relative;
}

.qris-heading {
    font-weight: 700;
    font-size: 1.8rem;
}

.qris-subheading {
    font-size: 1.4rem;
    margin: 1rem 0 2rem;
}

.qris-price-label {
    font-size: 1.4rem;
    margin-top: 3rem;
}

.qris-price {
    font-size: 1.8rem;
    font-weight: 700;
}

.qris-logo {
    max-width: 100%;
    height: auto;
}

.qris-button {
    background-color: #d2e437;
    color: #003a80;
    font-weight: 600;
    border-radius: 0.375rem !important;
    padding: 0.75rem 2rem;
    font-size: 1.6rem;
    margin-top: 2rem;
}

.qris-button:hover {
    background-color: #c0cf2a; /* warna saat hover (lebih gelap) */
    color: #003a80;
}

.qris-button:active {
    background-color: #a8b828 !important; /* warna saat click (lebih gelap lagi) */
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2) !important;
    color: #003a80 !important;
}
.qris-button:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(0, 58, 128, 0.25);
}

.qris-star {
    position: absolute;
    top: -70px;
    left: 35px;
    width: 140px;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-weight: bold;
    font-size: 2.1rem;
    color: #0b4c9c;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.step-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17rem;
    padding: 1rem;
    position: relative;
}

.circle-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: white;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border-radius: 50%;
    z-index: -1;
}

.circle-left::before {
    background: linear-gradient(to right, #0b4c9c, #5c4db4);
}

.circle-right::before {
    background: linear-gradient(to right, #5c4db4, #ec4e20);
}

.content-circle {
    font-size: 4.5rem;
    color: #0b4c9c;
    font-weight: 700;
}

.step-label {
    font-weight: bold;
    font-size: 1.4rem;
    text-align: center;
    color: #0b4c9c;
}

.alert-custom {
    text-align: center;
    margin: 0 !important;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    font-size: 1rem;
}

.line {
    height: 20px;
    width: 100%;
    background: linear-gradient(to right, #0b4c9c, #5c4db4, #ec4e20);
    border-radius: 10px;
    position: absolute;
    /*margin-bottom: 55px;*/
    top: 83px;
}

.fun-run-image {
    max-width: 100%;
    height: auto;
}

.frame-container {
    background: linear-gradient(to right, #3b6db0, #0b3e75);
    border-radius: 30px;
    padding: 60px 60px 40px 60px;
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 50px auto;
    box-sizing: border-box;
}

.inner-box {
    background-color: white;
    border-radius: 20px;
    /*height: 600px; !* kamu bisa sesuaikan *!*/
    width: 100%;
    padding: 24px;
}

.title-text {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-weight: bold;
    font-size: 2.1rem;
}

.top-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 50px;
    height: 50px;
}

.bottom-ribbon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
}

.collaborator-section {
    padding-top: 3rem !important;
    padding-bottom: 7rem !important;
}

.penyelenggara-title {
    font-weight: bold;
    font-size: 2.1rem;
    text-align: center;
    color: #0b4c9c;
}

.collab-img {
    max-width: 100%;
}

.alert-tnc {
    background: linear-gradient(to right, #00468b, #5a4ea4, #cc3a4e, #ff6f00);
    color: #fff;
}

/* Jarak antar accordion-item */
.accordion-item-registration {
    margin-bottom: 1rem;
    border: 1px solid #00468b !important;
    border-radius: 0.375rem; /* Setiap item punya sudut bulat */
    overflow: hidden; /* Hindari potongan saat fokus atau transisi */
}

.accordion-item-event {
    margin-bottom: 1rem;
    border: 1px solid #cc3a4e !important;
    border-radius: 0.375rem; /* Setiap item punya sudut bulat */
    overflow: hidden; /* Hindari potongan saat fokus atau transisi */
}

/* Ubah sudut tombol header */
.accordion-button {
    border-radius: 0.375rem;
    transition: background-color 0.2s ease;
}

/* Saat tombol diklik dan collapse terbuka, hilangkan sudut bawah */
.accordion-button:not(.collapsed) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* Saat tombol collapsed: beri sudut bulat penuh */
.accordion-button.collapsed {
    border-radius: 0.375rem;
}

/* Fokus (keyboard/tabbing) tetap rapi dan tidak "meledak" keluar border */
.accordion-button:focus {
    box-shadow: none;
    border-color: #dee2e6;
    outline: none;
    z-index: 1;
    position: relative;
}

/* Body accordion untuk sudut bawah */
.accordion-collapse {
    border-top: 1px solid #dee2e6;
}

.accordion-body {
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
    color: oklch(58.6% .253 17.585);
}

.question-registration-title {
    color: #00468b;
    font-size: 1.5rem;
    font-weight: 700;
}

.question-event-title {
    color: #cc3a4e;
    font-size: 1.5rem;
    font-weight: 700;
}

.text-regis {
    color: #00468b;
}
.text-event {
    color: #cc3a4e;
}

.accordion-button-regis:not(.collapsed) {
    color: #fff !important;
    background-color: #00468b !important;
    box-shadow: none !important;
}

.accordion-button-event:not(.collapsed) {
    color: #fff !important;
    background-color: #cc3a4e !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .event-card {
        margin-bottom: 2rem;
    }
    .desc-section {
        background-position-x: 0;
    }

    .watergun-img {
        display: none;
    }

    .qris-section {
        text-align: center;
    }

    .qris-content {
        margin-bottom: 2rem;
    }

    .qris-star {
        display: none;
    }

    .step-container {
        gap: 1rem;
    }

    .circle {
        width: 100px;
        height: 100px;
    }

    .step-label {
        font-size: 1rem;
    }

    .line {
        top: 60px;
    }

    .inner-box {
        /*height: 300px;*/
        padding: 15px;
    }

    .bottom-ribbon {
        width: 90px;
    }

    .frame-container {
        padding: 40px 40px 25px 40px;
    }

    .top-icon {
        width: 40px;
        height: 40px;
    }

    .title-text {
        top: 10px;
        font-size: 1rem;
    }

    .follow-us {
        margin-top: 15px;
    }

    collab-img {
        max-width: 100%;
    }
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.preloader-logo {
    width: 150px;
    margin-bottom: 20px;
}

.progress-container {
    width: 200px;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(to right, #00468b, #5a4ea4, #cc3a4e, #ff6f00);
    transition: width 0.1s linear;
}

#progress-text {
    font-weight: bold;
    color: #333;
}

.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

