:root {
    --primary: #6C5CE7;
    --secondary: #a29bfe;
    --accent: #00CEC9;
    --dark: #2D3436;
    --gray: #636e72;
    --light: #F5F6FA;
    --white: #FFFFFF;
    --shadow: 0 10px 30px rgba(108, 92, 231, 0.15);
    --glass: rgba(255, 255, 255, 0.85);
    --radius: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--light);
    color: var(--dark);
    padding-bottom: 90px;
}

.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
}

.nav-content {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px;
}

.logo { 
    font-size: 1.5rem; 
    font-weight: 700; 
    color: var(--dark); 
}
.logo .dot { 
    color: var(--primary); 
}

.nav-actions { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}

.icon-btn {
    background: none; 
    border: none; 
    font-size: 1.2rem;
    color: var(--dark); 
    cursor: pointer; 
    transition: 0.3s;
}
.icon-btn:hover { 
    color: var(--primary); 
    transform: scale(1.1); }

.profile-pic img {
    width: 40px; 
    height: 40px; 
    border-radius: 50%;
    border: 2px solid var(--primary); 
    object-fit: cover;
}
.desktop-links { 
    display: none; }

.bottom-nav {
    position: fixed; 
    bottom: 20px; 
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    width: 90%; 
    max-width: 400px;
    padding: 15px 30px; 
    border-radius: 50px;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2); 
    z-index: 1000;
}

.nav-item {
    color: rgba(255,255,255,0.5); 
    font-size: 1.2rem;
    display: flex; 
    flex-direction: column; 
    align-items: center;
    gap: 4px; 
    transition: 0.3s;
}
.nav-item span { 
    font-size: 0.6rem; 
}
.nav-item:hover, .nav-item.active { 
    color: var(--white); 
}

.home-btn {
    background: var(--primary);
    width: 50px; 
    height: 50px;
    display: flex; 
    justify-content: center; 
    align-items: center;
    border-radius: 50%; 
    margin-top: -35px;
    border: 5px solid var(--light);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4); 
    color: white;
}
.nav-item:not(.active) .home-btn {
    background: transparent; 
    border: none; 
    box-shadow: none;
    color: rgba(255,255,255,0.5); 
    margin-top: 0;
}
.nav-item:not(.active) .home-btn i { 
    font-size: 1.2rem; 
}

/*HALAMAN UTAMA*/

.container {
    max-width: 1200px; 
    margin: 80px auto 0; 
    padding: 20px;
}
.section-group { 
    margin-bottom: 40px; 
}
.section-header {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 20px;
}
.section-header h2 { 
    font-size: 1.2rem; 
    font-weight: 600; 
    color: var(--dark); 
}
.see-all { 
    font-size: 0.9rem; 
    color: var(--primary); 
    font-weight: 500; 
}

.btn-back {
    background: white; 
    border: 1px solid #f1f2f6;
    width: 40px; 
    height: 40px; 
    border-radius: 12px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: #2D3436; 
    cursor: pointer; 
    transition: 0.3s; 
    text-decoration: none;
}
.btn-back:hover {
    background: var(--primary); 
    color: white; 
    border-color: var(--primary);
}

.btn-save, .btn-checkout {
    width: 100%; 
    padding: 15px; 
    border-radius: 15px; 
    border: none;
    font-size: 1rem; 
    font-weight: 600; 
    cursor: pointer; 
    transition: 0.3s;
}
.btn-save {
    background: var(--dark); 
    color: white; 
    margin-top: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.btn-checkout {
    background: linear-gradient(135deg, var(--primary), #0033FF); 
    color: white;
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}
.btn-save:hover, .btn-checkout:hover {
    transform: translateY(-3px); 
    box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}

.btn-action {
    padding: 8px 16px; 
    border-radius: 12px; 
    font-size: 0.8rem;
    font-weight: 500; 
    cursor: pointer; 
    transition: 0.3s; 
    border: none;
}
.btn-action.primary { 
    background: var(--primary); 
    color: white; 
    box-shadow: 0 4px 10px rgba(108, 92, 231, 0.3); 
}
.btn-action.outline {
     background: transparent; 
     border: 1px solid var(--primary); 
     color: var(--primary); }
.btn-action.text-only { 
    background: transparent;
    color: var(--gray); 
    padding: 8px 0; 
}

.form-group { 
    margin-bottom: 20px; 
}
.form-label {
    display: block; 
    font-size: 0.9rem; 
    color: #636e72;
    margin-bottom: 8px; 
    font-weight: 500;
}
.input-box { 
    position: relative; 
}
.input-box i {
    position: absolute; 
    left: 15px; 
    top: 50%;
    transform: translateY(-50%); 
    color: #b2bec3; 
    font-size: 1rem;
}
.input-box input, .input-box textarea {
    width: 100%; 
    padding: 14px 15px 14px 45px;
    border-radius: 12px; 
    border: 1px solid #dfe6e9;
    font-family: 'Poppins', sans-serif; 
    font-size: 0.95rem;
    color: #2D3436; 
    outline: none; 
    transition: 0.3s; 
    background: #fff;
}
.input-box input:focus {
    border-color: var(--primary); 
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.1);
}

.switch { 
    position: relative; 
    display: inline-block; 
    width: 46px; 
    height: 26px; 
}
.switch input { 
    opacity: 0; 
    width: 0; 
    height: 0; 
}
.slider {
    position: absolute; 
    cursor: pointer; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    background-color: #dfe6e9; 
    transition: .4s; 
    border-radius: 34px;
}
.slider:before {
    position: absolute; 
    content: ""; 
    height: 18px; 
    width: 18px;
    left: 4px; 
    bottom: 4px; 
    background-color: white;
    transition: .4s; 
    border-radius: 50%; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
input:checked + .slider { 
    background-color: var(--primary); 
}
input:checked + .slider:before { 
    transform: translateX(20px); 
}

.modal-overlay {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.6); 
    backdrop-filter: blur(4px);
    z-index: 2000; 
    display: none; 
    justify-content: center; 
    align-items: center;
    opacity: 0; 
    transition: opacity 0.3s ease;
}
.modal-overlay.open { 
    display: flex; 
    opacity: 1; 
}
.modal-box {
    background: white; 
    width: 90%; 
    max-width: 450px;
    border-radius: 24px; 
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative; 
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.modal-overlay.open .modal-box { 
    transform: scale(1); 
}
.modal-header {
    text-align: center;
}
.close-btn {
    position: absolute; 
    top: 15px; 
    right: 15px;
    background: #f1f2f6; 
    border: none; 
    width: 32px; 
    height: 32px;
    border-radius: 50%; 
    cursor: pointer; 
    color: #636e72;
    font-size: 1rem; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    transition: 0.2s;
}
.close-btn:hover { 
    background: #ff7675; 
    color: white; 
}

.modal-icon-wrapper {
    width: 80px; 
    height: 80px; 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    margin: 0 auto 20px; 
    font-size: 2rem;
}
.modal-title { 
    font-size: 1.2rem; 
    color: #2D3436; 
    font-weight: 700; 
    margin-bottom: 15px; 
}
.modal-desc { 
    font-size: 0.95rem; 
    color: #636e72; 
    line-height: 1.6; 
    margin-bottom: 25px; 
}
.modal-action-btn {
    display: block; 
    width: 100%; 
    padding: 12px;
    border-radius: 12px; 
    text-decoration: none; 
    font-weight: 600;
    transition: 0.3s; 
    border: none; 
    cursor: pointer;
}
.m-success .modal-icon-wrapper { 
    background: rgba(0, 184, 148, 0.1); 
    color: #00b894; 
}
.m-success .modal-action-btn { 
    background: #00b894; 
    color: white; 
}
.m-info .modal-icon-wrapper { 
    background: rgba(108, 92, 231, 0.1); 
    color: var(--primary); 
}
.m-info .modal-action-btn { 
    background: var(--primary); 
    color: white; 
}
.m-promo .modal-icon-wrapper { 
    background: rgba(253, 203, 110, 0.15); 
    color: #e1b12c; 
}
.m-promo .modal-action-btn { 
    background: #2D3436; 
    color: white; 
}

.category-filter {
    display: flex; 
    gap: 12px; 
    overflow-x: auto; 
    padding-bottom: 20px;
    margin-bottom: 20px; 
    -ms-overflow-style: none; 
    scrollbar-width: none;
}
.category-filter::-webkit-scrollbar { 
    display: none; 
}

.filter-btn {
    padding: 10px 24px; 
    border-radius: 30px; 
    border: 1px solid #ddd;
    background: white; 
    color: var(--gray); 
    font-size: 0.9rem; 
    font-weight: 500;
    cursor: pointer; 
    white-space: nowrap; 
    transition: all 0.3s ease; 
    flex-shrink: 0;
}
.filter-btn:hover { 
    background: #f1f2f6; 
    border-color: #ccc; 
}
.filter-btn.active {
    background: var(--primary); 
    color: white;
    border-color: var(--primary); 
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.slider-wrapper { 
    position: relative; 
    display: flex; 
    align-items: center; 
}
.scroll-container {
    display: flex; 
    gap: 20px; 
    overflow-x: auto; 
    padding: 10px 5px 25px 5px;
    scroll-snap-type: x mandatory; 
    scroll-behavior: smooth; 
    width: 100%;
}
.scroll-container::-webkit-scrollbar { 
    display: none; 
}
.slide-btn {
    width: 40px; 
    height: 40px; 
    border-radius: 50%;
    background: white; 
    border: none; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    color: var(--primary); 
    cursor: pointer; 
    z-index: 10;
    display: none; 
    justify-content: center; 
    align-items: center;
    transition: 0.3s; 
    position: absolute;
}
.slide-btn:hover { 
    background: var(--primary); 
    color: white; 
    transform: scale(1.1); 
}
.prev-btn { 
    left: -20px; 
}
.next-btn { 
    right: -20px; 
}

/*HALAMAN UTAMA - KARTU EVENT*/

.card {
    min-width: 280px; 
    max-width: 280px;
    background: var(--white); 
    border-radius: var(--radius);
    overflow: hidden; scroll-snap-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); 
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02); 
    display: flex; 
    flex-direction: column;
}
.card:hover { 
    transform: translateY(-8px); 
    box-shadow: var(--shadow); 
}

.card-image { 
    height: 180px; 
    width: 100%; 
    position: relative; 
    overflow: hidden; 
}
.card-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: 0.5s; 
}
.card:hover .card-image img { 
    transform: scale(1.1); 
}

.date-badge {
    position: absolute; 
    top: 15px; 
    left: 15px;
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(5px);
    padding: 8px 12px; 
    border-radius: 12px; 
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
    color: var(--primary);
}
.category-badge {
    position: absolute; 
    top: 15px; 
    right: 15px;
    background: var(--primary); 
    color: white; 
    font-size: 0.7rem;
    padding: 4px 10px; 
    border-radius: 20px; 
    font-weight: 500;
}
.card-content { 
    padding: 20px; 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
}
.meta-info { 
    display: flex; 
    gap: 15px; 
    font-size: 0.8rem; 
    color: var(--gray); 
}
.description {
    font-size: 0.85rem; 
    color: #b2bec3; 
    line-height: 1.5;
    display: -webkit-box; 
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; 
    overflow: hidden;
}

.grid-wrapper {
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 20px;
}
.grid-wrapper .card { 
    min-width: 100%; 
    max-width: 100%; 
}

.business-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.title-wrap h2 {
    font-size: 1.3rem;
    color: #2D3436;
    margin-bottom: 2px;
    font-weight: 700;
    }

.subtitle {
    font-size: 0.8rem;
    color: #636e72;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* HALAMAN NOTIFIKASI */
.notif-container { 
    max-width: 800px; 
}
.notif-group { 
    margin-bottom: 30px; 
}
.group-title { 
    font-size: 0.9rem; 
    color: var(--gray); 
    margin-bottom: 15px; 
    font-weight: 500; 
}

.notif-card {
    background: var(--white); 
    padding: 20px; 
    border-radius: 20px;
    display: flex; 
    align-items: flex-start; 
    gap: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); 
    transition: 0.3s;
    border: 1px solid transparent; 
    position: relative; 
    cursor: pointer;
}
.notif-card:hover {
    transform: translateY(-3px); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: rgba(108, 92, 231, 0.1);
}
.notif-card.unread { 
    background: #FDFDFF; 
    border: 1px solid rgba(108, 92, 231, 0.1); 
}

.notif-icon {
    width: 45px; 
    height: 45px; 
    border-radius: 12px;
    display: flex; 
    justify-content: center; 
    align-items: center;
    font-size: 1.2rem; 
    flex-shrink: 0;
}
.notif-icon.success { 
    background: rgba(0, 184, 148, 0.1); 
    color: #00b894; 
}
.notif-icon.info { 
    background: rgba(9, 132, 227, 0.1); 
    color: #0984e3; 
}
.notif-icon.promo { background: rgba(253, 203, 110, 0.2); 
    color: #e17055
}

.notif-head { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 5px; 
}
.unread-dot {
    width: 8px; 
    height: 8px; 
    background-color: var(--primary);
    border-radius: 50%; 
    position: absolute; 
    top: 25px; 
    right: 20px;
    box-shadow: 0 0 5px var(--primary);
}


/* HALAMAN RIWAYAT */
.history-container { 
    max-width: 800px; 
}

.filter-tabs { 
    display: flex; 
    gap: 15px; 
}
.filter-tabs span {
    font-size: 0.9rem; 
    color: var(--gray); 
    cursor: pointer;
    font-weight: 500; 
    transition: 0.3s;
}
.filter-tabs span.active {
    color: var(--primary); 
    font-weight: 700;
    position: relative;
}
.filter-tabs span.active::after {
    content: ''; 
    position: absolute; 
    bottom: -5px; 
    left: 0;
    width: 50%; 
    height: 3px; 
    background: var(--primary); 
    border-radius: 10px;
}

.history-card {
    background: var(--white); 
    border-radius: 20px; 
    padding: 15px;
    display: flex; 
    gap: 15px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 1px solid transparent; 
    transition: 0.3s;
}
.history-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 25px rgba(0,0,0,0.08); 
}
.pending-border { 
    border: 1px solid rgba(253, 203, 110, 0.5); 
    background: #FFFEFA; 
}
.grayscale .history-img { 
    filter: grayscale(100%); 
    opacity: 0.7; 
}

.history-img { 
    width: 100px; 
    height: 100px; 
    border-radius: 15px; 
    overflow: hidden; 
    flex-shrink: 0; 
}
.history-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}
.history-info { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
}
.info-top { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    flex-wrap: wrap; 
    gap: 5px; 
}

.status-badge {
    font-size: 0.7rem; 
    padding: 4px 10px; 
    border-radius: 20px; 
    font-weight: 600; 
    white-space: nowrap;
}
.status-badge.success { 
    background: rgba(0, 184, 148, 0.1); 
    color: #00b894; 
}
.status-badge.pending { 
    background: rgba(253, 203, 110, 0.2); 
    color: #e17055; }
.status-badge.cancel { 
    background: rgba(214, 48, 49, 0.1); 
    color: #d63031; }

.action-area {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    border-top: 1px solid #f1f1f1; 
    padding-top: 10px;
}
.price { 
    font-weight: 700; 
    color: var(--primary); 
    font-size: 0.95rem; 
}


/* HALAMAN PROFIL */
.profile-container { 
    max-width: 600px; 
}

.profile-header-card {
    background: linear-gradient(135deg, var(--primary), #a29bfe);
    border-radius: 30px; 
    padding: 30px 20px 20px;
    color: white; 
    text-align: center; 
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.3);
}

.profile-img-large {
    position: relative; 
    width: 100px; 
    height: 100px; 
    margin: 0 auto 15px;
}
.profile-img-large img {
    width: 100%; 
    height: 100%; 
    border-radius: 50%; 
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
}
.edit-icon {
    position: absolute; 
    bottom: 0; 
    right: 0;
    background: white; 
    color: var(--primary);
    width: 30px; 
    height: 30px; 
    border-radius: 50%;
    display: flex; 
    justify-content: center; 
    align-items: center;
    font-size: 0.9rem; 
    cursor: pointer; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.member-badge {
    display: inline-block; 
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px; 
    border-radius: 20px; 
    font-size: 0.8rem;
    backdrop-filter: blur(5px); 
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.profile-stats {
    display: flex; 
    justify-content: space-around; 
    align-items: center;
    margin-top: 25px; 
    padding-top: 20px; 
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.stat-item { 
    display: flex; 
    flex-direction: column; 
}
.stat-item .val { 
    font-size: 1.2rem; 
    font-weight: 700; 
}
.stat-item .label { 
    font-size: 0.75rem; 
    opacity: 0.8; 
}
.stat-divider { 
    width: 1px; 
    height: 30px; 
    background: rgba(255, 255, 255, 0.2); 
}

.profile-menu-item {
    display: flex; 
    align-items: center; 
    background: var(--white);
    padding: 15px 20px; 
    border-radius: 15px; 
    margin-bottom: 10px;
    color: var(--dark); 
    transition: 0.3s; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.profile-menu-item:hover { 
    transform: translateX(5px); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
}

.menu-icon {
    width: 35px; 
    height: 35px; 
    background: var(--light); 
    border-radius: 10px;
    display: flex; 
    justify-content: center; 
    align-items: center;
    color: var(--primary); 
    margin-right: 15px; 
    font-size: 1.1rem;
}
.profile-menu-item.logout { 
    margin-top: 10px; 
    background: #FFF5F5; 
}
.profile-menu-item.logout .menu-icon { 
    background: #FFECEC; 
    color: #e17055; 
}
.profile-menu-item.logout .menu-text { 
    color: #e17055; 
}
.app-version { 
    text-align: center; 
    font-size: 0.8rem; 
    color: #ccc; 
    margin-top: 30px; 
    margin-bottom: 20px; 
}


/* HALAMAN DETAIL & BOOKING */
.booking-container { 
    max-width: 1000px; 
}
.booking-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 25px; 
}

.event-detail-card {
    background: var(--white); 
    border-radius: 20px;
    overflow: hidden; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.event-hero-img { 
    width: 100%; 
    height: 250px; 
    position: relative; 
}
.event-hero-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}
.category-tag {
    position: absolute; 
    bottom: 15px; 
    left: 20px;
    background: var(--primary); 
    color: white; 
    padding: 5px 15px;
    border-radius: 20px; 
    font-size: 0.8rem; 
    font-weight: 600;
}
.event-info-body { 
    padding: 25px; 
}
.info-row { 
    display: flex; 
    gap: 15px; 
    margin-bottom: 15px; 
    align-items: flex-start; 
}
.info-icon {
    width: 40px; 
    height: 40px; 
    background: var(--light); 
    border-radius: 10px;
    display: flex; 
    justify-content: center; 
    align-items: center;
    color: var(--primary); 
    flex-shrink: 0;
}
.desc { 
    font-size: 0.9rem; 
    color: var(--gray); 
    line-height: 1.6; 
}

.booking-form-card {
    background: var(--white); 
    padding: 25px; 
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); 
    height: fit-content;
}

.ticket-counter {
    display: flex; 
    align-items: center; 
    gap: 10px;
    background: var(--light); 
    padding: 5px; 
    border-radius: 15px; 
    width: fit-content;
}
.ticket-counter button {
    width: 35px; 
    height: 35px; 
    border-radius: 10px; 
    border: none;
    background: white; 
    color: var(--primary); 
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
    transition: 0.2s;
}
.ticket-counter button:hover { 
    background: var(--primary); 
    color: white; 
}
.ticket-counter input {
    width: 50px; 
    text-align: center; 
    border: none;
    background: transparent; 
    font-weight: 700; 
    font-size: 1.1rem; 
    outline: none;
}

.price-summary {
    background: #F8F9FE; 
    padding: 15px; 
    border-radius: 15px; 
    margin-bottom: 25px;
}
.price-row { 
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 10px; 
    font-size: 0.9rem; 
    color: var(--gray); 
}
.price-total {
    display: flex; 
    justify-content: space-between; 
    margin-top: 15px; 
    padding-top: 15px;
    border-top: 1px dashed #ccc; 
    font-weight: 700; 
    font-size: 1.1rem; 
    color: var(--primary);
}

.payment-methods { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); gap: 10px; 
}
.payment-item input { 
    display: none; 
}
.payment-box {
    border: 1px solid #eee; 
    border-radius: 12px; 
    padding: 15px 5px;
    text-align: center; 
    cursor: pointer; 
    transition: 0.3s;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 8px;
}
.payment-box i { 
    font-size: 1.5rem; 
    color: #ccc; 
    transition: 0.3s; 
}
.payment-box span { 
    font-size: 0.7rem; 
    font-weight: 500; 
    color: var(--gray); 
}
.payment-item input:checked + .payment-box { 
    border-color: var(--primary); 
    background: rgba(108, 92, 231, 0.05); 
}
.payment-item input:checked + .payment-box i { 
    color: var(--primary); 
}


/* HALAMAN SETTINGS & EDIT PROFILE */
.setting-wrapper, .edit-wrapper { 
    max-width: 500px; 
    margin: 0 auto 100px; 
}
.page-header {
    display: flex; 
    align-items: center; 
    gap: 15px; 
    margin-bottom: 30px; 
    padding-top: 20px;
}

.profile-edit-section { 
    display: flex; 
    justify-content: center; 
    margin-bottom: 30px; 
}
.avatar-container { 
    position: relative; 
    width: 110px; 
    height: 110px; 
}
.avatar-container img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    border-radius: 50%;
    border: 3px solid white; 
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.2);
}
.btn-change-photo {
    position: absolute; 
    bottom: 0; 
    right: 0;
    background: var(--primary); 
    color: white; 
    border: 2px solid white;
    width: 35px; 
    height: 35px; 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    cursor: pointer; 
    ont-size: 0.9rem; transition: 0.3s;
}
.btn-change-photo:hover { 
    transform: scale(1.1); 
}

.setting-item {
    background: white; 
    padding: 18px 20px; 
    border-radius: 16px;
    margin-bottom: 12px; 
    display: flex; 
    justify-content: space-between;
    align-items: center; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    border: 1px solid #f1f2f6; 
    transition: 0.3s;
}
.setting-item:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.item-left { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}
.item-icon {
    width: 35px; 
    height: 35px; 
    background: rgba(108, 92, 231, 0.1);
    color: var(--primary); 
    border-radius: 10px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1rem;
}
.item-text { 
    font-size: 0.95rem; 
    color: #2D3436; 
    font-weight: 500; }
.arrow-link { 
    color: #b2bec3; 
    font-size: 1rem; 
}

.item-icon.danger { 
    background: rgba(255, 118, 117, 0.1); 
    color: #d63031; 
}
.text-danger { 
    color: #d63031; 
}

.interest-chips { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px; 
    margin-top: 10px; 
}
.chip {
    padding: 8px 16px; 
    background: #f1f2f6; 
    border-radius: 20px;
    font-size: 0.85rem; 
    color: #636e72; 
    cursor: pointer; 
    transition: 0.3s;
    border: 1px solid transparent;
}
.chip:hover, .chip.selected {
    background: rgba(108, 92, 231, 0.1); 
    color: var(--primary); 
    border-color: var(--primary);
}


/* HALAMAN BANTUAN & FAQ */
.help-hero { 
    text-align: center; 
    padding: 20px 0 40px; 
}
.help-hero h2 { 
    font-size: 1.5rem; 
    color: #2D3436; 
    margin-bottom: 10px; 
}
.help-hero p { 
    color: #636e72; 
    font-size: 0.9rem; 
    margin-bottom: 25px; 
}

.search-wrapper { 
    position: relative; 
    max-width: 600px; 
    margin: 0 auto; 
}
.search-wrapper input {
    width: 100%; 
    padding: 15px 20px 15px 50px;
    border-radius: 15px; 
    border: 1px solid #dfe6e9; 
    background: #fff;
    font-size: 0.95rem; 
    outline: none; 
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.search-wrapper input:focus {
    border-color: var(--primary); 
    box-shadow: 0 5px 20px rgba(108, 92, 231, 0.15);
}
.search-wrapper i {
    position: absolute; 
    left: 20px; 
    top: 50%;
    transform: translateY(-50%); 
    color: #b2bec3; 
    font-size: 1.1rem;
}

.topic-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px; 
    margin-bottom: 40px; 
}
.topic-card {
    background: #fff; 
    padding: 20px; 
    border-radius: 18px; 
    text-align: center;
    border: 1px solid transparent; 
    transition: 0.3s; 
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); 
    display: flex;
    flex-direction: column; 
    align-items: center; 
    gap: 10px;
}
.topic-card:hover {
    border-color: var(--primary); 
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.1);
}
.topic-card #modalbox{
    text-align: left;
}
.topic-icon {
    width: 50px; 
    height: 50px; 
    background: rgba(108, 92, 231, 0.1);
    color: var(--primary); 
    border-radius: 12px;
    display: flex; 
    justify-content: center; 
    align-items: center;
    font-size: 1.5rem; 
    margin-bottom: 5px;
}

.faq-container { 
    max-width: 800px; 
    margin: 0 auto 40px; 
}
.faq-item {
    background: #fff; 
    border-radius: 15px; 
    margin-bottom: 15px;
    overflow: hidden; 
    border: 1px solid #f1f2f6; 
    transition: 0.3s;
}
.faq-item.active {
    border-color: rgba(108, 92, 231, 0.3); 
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.05);
}
.faq-header {
    padding: 18px 25px; 
    display: flex; 
    justify-content: space-between;
    align-items: center; 
    cursor: pointer; 
    font-weight: 500; 
    color: #2D3436;
}
.faq-header i { 
    color: var(--primary); 
    transition: 0.3s; 
}
.faq-item.active .faq-header i { 
    transform: rotate(180deg); 
}
.faq-body {
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.3s ease-out; 
    background: #fdfdff;
}
.faq-body p {
    padding: 0 25px 20px; 
    color: #636e72; 
    font-size: 0.9rem; 
    line-height: 1.6;
}

.contact-section {
    background: linear-gradient(135deg, var(--primary), #a29bfe);
    border-radius: 24px; 
    padding: 30px; 
    text-align: center; 
    color: white; 
    margin-bottom: 40px;
}
.contact-btns { 
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    flex-wrap: wrap; 
}
.btn-contact {
    background: rgba(255, 255, 255, 0.2); 
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.4); 
    color: white;
    padding: 10px 20px; 
    border-radius: 50px; 
    font-size: 0.9rem;
    display: flex; 
    align-items: center; 
    gap: 8px; 
    transition: 0.3s;
}
.btn-contact:hover { 
    background: white; 
    color: var(--primary); 
}


/* HALAMAN TIKET DETAIL*/
.ticket-wrapper { 
    max-width: 450px; 
    margin: 20px auto 100px; 
    position: relative; 
}
.ticket-card {
    background: white; 
    border-radius: 24px; 
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(108, 92, 231, 0.15);
    position: relative; 
    transition: 0.3s;
}
.ticket-header { 
    position: relative; 
    height: 200px; 
}
.ticket-header img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: 0.3s; 
}
.ticket-status {
    position: absolute; 
    top: 20px; 
    right: 20px;
    background: #00b894; 
    color: white; 
    padding: 6px 15px;
    border-radius: 20px; 
    font-size: 0.8rem; 
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); 
    backdrop-filter: blur(5px); 
    z-index: 10;
}
.ticket-body { 
    padding: 25px 30px; 
    position: relative; 
}
.ticket-divider {
    position: relative; 
    height: 40px; 
    background: white;
    display: flex; 
    align-items: center; 
    justify-content: center;
}
.ticket-divider::after { 
    content: ''; 
    width: 80%; 
    height: 1px; 
    border-top: 2px dashed #dfe6e9; 
}
.notch-left, .notch-right {
    position: absolute; 
    width: 40px; 
    height: 40px;
    background-color: var(--light); 
    border-radius: 50%; 
    top: 0;
}
.notch-left { 
    left: -20px; 
}
.notch-right { 
    right: -20px; 
}

.ticket-footer { 
    padding: 10px 30px 40px; 
    text-align: center; 
    background: white; 
    position: relative; 
}
.qr-wrapper { 
    position: relative; 
    width: 180px; 
    height: 180px; 
    margin: 0 auto 15px; 
}
.qr-box {
    width: 100%; 
    height: 100%; 
    padding: 10px;
    border: 2px solid var(--primary); 
    border-radius: 20px; 
    transition: 0.3s;
}
.qr-box img {
    width: 100%; 
    height: 100%; 
}
.qr-void-overlay {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(255, 255, 255, 0.9); 
    display: flex;
    justify-content: center; 
    align-items: center; 
    flex-direction: column;
    border-radius: 20px; 
    opacity: 0; 
    z-index: 5;
}
.qr-void-overlay i { 
    font-size: 3rem; 
    color: #ff7675; 
    margin-bottom: 5px; }
.qr-void-overlay span {
    font-weight: 800; 
    color: #ff7675; 
    font-size: 1.2rem;
    letter-spacing: 2px; 
    border: 2px solid #ff7675;
    padding: 2px 10px; 
    border-radius: 5px; 
    transform: rotate(-10deg);
}
.action-buttons { 
    display: flex; 
    gap: 15px; 
    justify-content: center; 
    margin-top: 25px; 
}
.btn-ticket {
    flex: 1; 
    padding: 12px; 
    border-radius: 15px; 
    border: none;
    font-weight: 600; 
    cursor: pointer; 
    display: flex;
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    transition: 0.3s; 
    font-size: 0.9rem;
}
.btn-download { 
    background: var(--dark); 
    color: white; 
    box-shadow: 0 5px 15px rgba(45, 52, 54, 0.3); 
}
.btn-share { background: white; 
    color: var(--dark); 
    border: 1px solid #dfe6e9; 
}
.btn-support { 
    background: #e17055; 
    color: white; 
    display: none; 
}

.cancelled-mode .ticket-status { 
    background: #d63031; 
}
.cancelled-mode .ticket-header img { 
    filter: grayscale(100%);
    opacity: 0.8; 
}
.cancelled-mode .qr-void-overlay { 
    opacity: 1; 
}
.cancelled-mode .qr-box { 
    border-color: #b2bec3; 
}
.cancelled-mode .btn-download { 
    display: none; 
}
.cancelled-mode .btn-support { 
    display: flex; 
}
.stamp-cancelled {
    position: absolute; 
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    border: 3px solid #d63031; 
    color: #d63031; 
    font-size: 2.5rem;
    font-weight: 900; 
    padding: 10px 20px; 
    text-transform: uppercase;
    opacity: 0; 
    pointer-events: none; 
    z-index: 20; border-radius: 10px;
    letter-spacing: 5px; 
    background: rgba(255,255,255,0.8);
}
.cancelled-mode .stamp-cancelled { 
    opacity: 1; 
}


/* INI BUAT RESPONSIVE DESIGN */

@media (max-width: 480px) {
    .navbar { 
        padding: 10px 0; 
    }
    .navbar .logo { 
        font-size: 1.3rem; 
    }
    .container { 
        margin-top: 60px; 
        padding: 15px; 
    }
    .history-card { 
        flex-direction: column; 
    }
    .history-img { 
        width: 100%; 
        height: 140px;
    }
    .info-top { 
        margin-top: 10px; 
    }
    .payment-methods { 
        grid-template-columns: repeat(3, 1fr); 
    }
    .payment-box { 
        padding: 10px 2px; 
    }
    .payment-box i { 
        font-size: 1.2rem; 
    }
    .event-hero-img { 
        height: 200px; 
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .grid-wrapper { 
        grid-template-columns: repeat(2, 1fr); 
    }
    .booking-grid { 
        grid-template-columns: 1fr; 
    }
    .payment-methods { 
        grid-template-columns: repeat(3, 1fr); 
    }
    .topic-grid { 
        grid-template-columns: repeat(4, 1fr); 
    }
}

@media (min-width: 768px) {
    body { 
        padding-bottom: 0; 
    }

    .desktop-links { 
        display: flex; 
        gap: 30px; 
    }
    .desktop-links a {
        color: var(--gray); 
        font-weight: 500; 
        transition: 0.3s; 
        position: relative;
    }
    .desktop-links a:hover, .desktop-links a.active { 
        color: var(--primary); 
    }
    .desktop-links a::after {
        content: ''; 
        position: absolute; 
        width: 0; 
        height: 2px;
        bottom: -5px; left: 0; 
        background-color: var(--primary); 
        transition: width 0.3s;
    }
    .desktop-links a:hover::after, .desktop-links a.active::after {
         width: 100%; 
        }

    .bottom-nav { 
        display: none; 

    }
    .slide-btn { 
        display: flex; 
    }
    .scroll-container { 
        display: flex; 
        flex-wrap: nowrap; 
        overflow-x: hidden;
     }
    .card { 
        min-width: 300px; 
        max-width: 300px; 
    }
    .grid-wrapper { 
        grid-template-columns: repeat(4, 1fr); 
    }

    .booking-grid { 
        grid-template-columns: 1.5fr 1fr; 
    }
}