/* ===========================
RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Segoe UI',sans-serif;

    background:linear-gradient(135deg,#0f0f0f,#1b1035);

    color:white;

    overflow-x:hidden;

}

/* ===========================
PAGE
=========================== */

.page{

    display:none;

    animation:fade .3s ease;

}

.page.active{

    display:block;

}

@keyframes fade{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ===========================
HOME
=========================== */

.home{

    max-width:450px;

    margin:auto;

    padding:35px 20px;

    text-align:center;

}

.profile{

    width:120px;

    height:120px;

    border-radius:50%;

    object-fit:cover;

    border:4px solid #a855f7;

    box-shadow:0 0 25px rgba(168,85,247,.5);

}

.home h1{

    margin-top:18px;

    font-size:30px;

}

.home p{

    margin-top:8px;

    opacity:.8;

}

/* ===========================
SOSIAL
=========================== */

.social{

    display:flex;

    justify-content:center;

    gap:18px;

    margin:25px 0;

}

.social img{

    width:42px;

    transition:.3s;

}

.social img:hover{

    transform:scale(1.15);

}

/* ===========================
BUTTON
=========================== */

.btn{

    width:100%;

    padding:15px;

    border:none;

    border-radius:14px;

    cursor:pointer;

    color:white;

    font-size:16px;

    font-weight:bold;

    margin-top:15px;

    transition:.25s;

}

.btn:hover{

    transform:translateY(-2px);

}

.tebus{

    background:#7c3aed;

}

.booking{

    background:#16a34a;

}

.drive{

    width:100%;

    padding:14px;

    border:none;

    border-radius:12px;

    background:#2563eb;

    color:white;

    cursor:pointer;

}

.ok{

    width:100%;

    padding:14px;

    border:none;

    border-radius:12px;

    background:#22c55e;

    color:white;

    cursor:pointer;

}

.cancel{

    width:100%;

    padding:14px;

    border:none;

    border-radius:12px;

    background:#ef4444;

    color:white;

    cursor:pointer;

    margin-top:10px;

}

.wa{

    width:100%;

    padding:14px;

    border:none;

    border-radius:12px;

    background:#25D366;

    color:white;

    cursor:pointer;

}

/* ===========================
CONTAINER
=========================== */

.container{

    width:92%;

    max-width:450px;

    margin:25px auto;

    padding:22px;

    border-radius:18px;

    background:#181818;

    border:1px solid rgba(255,255,255,.08);

}

.container h2{

    text-align:center;

    margin-bottom:20px;

}

/* ===========================
INPUT
=========================== */

input,
select,
textarea{

    width:100%;

    padding:12px;

    border:none;

    border-radius:10px;

    background:#232323;

    color:white;

    outline:none;

}

input:focus,
select:focus,
textarea:focus{

    border:1px solid #a855f7;

}

/* ===========================
STEP
=========================== */

.step{

    background:#202020;

    padding:14px;

    border-radius:12px;

    margin-bottom:15px;

}

/* ===========================
COUNTER
=========================== */

.counter{

    display:flex;

    align-items:center;

    gap:10px;

}

.counter-btn{

    width:50px;

    height:50px;

    border:none;

    border-radius:12px;

    background:#7c3aed;

    color:white;

    font-size:24px;

    cursor:pointer;

}

/* ===========================
TOTAL
=========================== */

.total-box{

    background:#202020;

    padding:18px;

    border-radius:12px;

    text-align:center;

}

.harga-box{

    background:#202020;

    padding:18px;

    border-radius:12px;

    text-align:center;

}

.info-box{

    background:#202020;

    padding:18px;

    border-radius:12px;

}

/* ===========================
BACK
=========================== */

.back-btn{

    margin:20px;

    padding:10px 18px;

    border:none;

    border-radius:10px;

    background:#333;

    color:white;

    cursor:pointer;

}

/* ===========================
MODAL
=========================== */

.modal{

    display:none;

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.6);

    justify-content:center;

    align-items:center;

}

.modal-box{

    width:90%;

    max-width:380px;

    background:#1d1d1d;

    padding:25px;

    border-radius:18px;

    text-align:center;

}

/* ===========================
SPONSOR
=========================== */

.sponsor{

    margin-top:35px;

}

.sponsor-title{

    margin-bottom:15px;

    opacity:.7;

}

.sponsor-list{

    display:flex;

    justify-content:center;

    gap:20px;

}

.sponsor-item{

    width:90px;

    height:90px;

    overflow:hidden;

    border-radius:15px;

    transition:.3s;

}

.sponsor-item img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.sponsor-item:hover{

    transform:scale(1.05);

}
/* ===========================
   ANIMASI TOMBOL
=========================== */

button{
    transition:.3s ease;
}

button:hover{
    transform:translateY(-2px);
    filter:brightness(1.05);
}

button:active{
    transform:scale(.97);
}

/* ===========================
   SCROLLBAR
=========================== */

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-track{
    background:#111;
}

::-webkit-scrollbar-thumb{
    background:#7c3aed;
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:#9333ea;
}

/* ===========================
   LABEL
=========================== */

label{
    display:block;
    margin-bottom:8px;
    margin-top:10px;
    font-weight:600;
    color:#f3f4f6;
}

/* ===========================
   HEADING
=========================== */

h2{
    color:#ffffff;
}

h3{
    color:#c084fc;
}

/* ===========================
   INPUT EFFECT
=========================== */

input::placeholder,
textarea::placeholder{
    color:#9ca3af;
}

input:hover,
select:hover,
textarea:hover{
    background:#2a2a2a;
}

/* ===========================
   TOTAL BOX
=========================== */

.total-box h2{
    margin-top:10px;
    color:#22c55e;
    font-size:28px;
}

.harga-box h3{
    margin-top:10px;
    color:#c084fc;
    font-size:26px;
}

/* ===========================
   COUNTER INPUT
=========================== */

.counter input{
    text-align:center;
    font-size:20px;
    font-weight:bold;
}

/* ===========================
   MODAL
=========================== */

.modal{
    z-index:9999;
}

.modal-box h3{
    margin-bottom:15px;
}

.modal-box p{
    line-height:1.6;
    white-space:pre-line;
}

/* ===========================
   QRIS
=========================== */

#payment img{
    display:block;
    margin:auto;
    max-width:280px;
    width:100%;
    border-radius:15px;
    border:2px solid #7c3aed;
}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:600px){

    .container{
        width:95%;
    }

    .btn{
        font-size:15px;
    }

    .profile{
        width:100px;
        height:100px;
    }

    h1{
        font-size:26px;
    }

    .counter-btn{
        width:45px;
        height:45px;
    }

}

/* ===========================
   FOOTER
=========================== */

.footer{
    text-align:center;
    padding:25px;
    opacity:.7;
    font-size:13px;
}

/* ===========================
   LOADING
=========================== */

.loading{
    display:none;
    text-align:center;
    padding:20px;
}

.loading.show{
    display:block;
}

.spinner{
    width:40px;
    height:40px;
    border:4px solid #333;
    border-top:4px solid #7c3aed;
    border-radius:50%;
    animation:spin 1s linear infinite;
    margin:auto;
}

@keyframes spin{

    100%{
        transform:rotate(360deg);
    }

}

/* ===========================
   RIPPLE EFFECT
=========================== */

.ripple{
    position:relative;
    overflow:hidden;
}

.ripple span{
    position:absolute;
    border-radius:50%;
    transform:scale(0);
    animation:ripple .6s linear;
    background:rgba(255,255,255,.4);
}

@keyframes ripple{

    to{
        transform:scale(4);
        opacity:0;
    }

}
/* ===========================
   STYLES MODEL CONFIRMATION TEBUS FOTO
=========================== */

.confirm-card {
    background: #232323;
    border-radius: 12px;
    padding: 14px 16px;
    margin: 12px 0;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.confirm-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.confirm-item:last-child {
    border-bottom: none;
}

.confirm-badge {
    background: #7c3aed;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
}

.confirm-photo-list {
    max-height: 120px;
    overflow-y: auto;
    margin-top: 6px;
    padding-right: 4px;
}

.confirm-photo-tag {
    display: inline-block;
    background: #333;
    color: #e9d5ff;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: bold;
    margin: 3px 2px;
    border: 1px solid #7c3aed;
}

.confirm-total-box {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(22, 163, 74, 0.05));
    border: 1px solid #22c55e;
    border-radius: 12px;
    padding: 12px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.confirm-total-label {
    font-size: 13px;
    color: #a1a1aa;
}

.confirm-total-val {
    font-size: 18px;
    font-weight: bold;
    color: #22c55e;
}
/* ===========================
   STYLES COMPACT CONFIRMATION
=========================== */

.confirm-card {
    background: #232323;
    border-radius: 10px;
    padding: 8px 12px;
    margin: 8px 0;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.confirm-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    font-size: 13px;
}

.confirm-badge {
    background: #7c3aed;
    color: white;
    font-size: 11px;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.confirm-photo-list {
    max-height: 80px;
    overflow-y: auto;
    margin-top: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.confirm-photo-tag {
    background: #333;
    color: #e9d5ff;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid #7c3aed;
}

.confirm-total-box {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid #22c55e;
    border-radius: 8px;
    padding: 8px 12px;
    margin-top: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.confirm-total-label {
    font-size: 12px;
    color: #a1a1aa;
}

.confirm-total-val {
    font-size: 16px;
    font-weight: bold;
    color: #22c55e;
}