/* --- THEME VARS (Inspirasi index.html + Liquid Glass) --- */
:root {
    --bg-deep: #08080a;
    --bg-main: #121214;
    --card-light: rgba(229, 229, 229, 0.92);
    --glass-surface: rgba(30, 30, 34, 0.45);
    --glass-highlight: rgba(255, 255, 255, 0.14);
    --glass-border: rgba(255, 255, 255, 0.12);
    --text-on-light: #18181b;
    --text-on-dark: #f3f4f6;
    --text-muted: #9ca3af;
    --accent: #2563eb;
    --accent-glow: rgba(37, 99, 235, 0.45);
    --success: #10b981;
    --radius-box: 26px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    /* Anti Salin Teks Global */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Izinkan seleksi khusus pada nomor rekening DANA */
.allow-copy {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
    cursor: text;
}

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-on-dark);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: hidden;
    position: relative;
}

/* --- LIQUID GLASS AMBIENT BLOBS --- */
.liquid-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    filter: url(#liquid-goo) blur(42px);
    opacity: 0.65;
}

.blob {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #3b82f6, #1d4ed8 60%, transparent 100%);
    animation: floatBlob 14s infinite alternate ease-in-out;
}

.blob-1 { width: 320px; height: 320px; top: -60px; left: -80px; }
.blob-2 { width: 280px; height: 280px; bottom: 10%; right: -70px; background: radial-gradient(circle, #60a5fa, #1e3a8a); animation-delay: -5s; }
.blob-3 { width: 220px; height: 220px; top: 45%; left: 20%; background: radial-gradient(circle, #e5e5e5, #52525b); opacity: 0.35; animation-duration: 18s; }

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(35px, 45px) scale(1.12) rotate(120deg); }
    100% { transform: translate(-25px, 20px) scale(0.95) rotate(240deg); }
}

/* --- APP CONTAINER (GLASSMORPHISM FRAME) --- */
.app-frame {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    background: rgba(18, 18, 20, 0.72);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

@media (min-width: 500px) {
    body { padding: 24px 0; }
    .app-frame {
        min-height: calc(100vh - 48px);
        border-radius: 38px;
        border: 1px solid rgba(255, 255, 255, 0.14);
    }
}

/* --- GLASS UTILITY --- */
.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.18);
}

/* --- HEADER (CLEAN CENTERED BRAND) --- */
.header-area {
    padding: 24px 24px 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(18, 18, 20, 0.55);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand-logo-text {
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- MAIN CONTENT --- */
.content-area {
    flex: 1;
    padding: 20px 24px 36px;
}

/* --- PROFILE SECTION & ANTI-DOWNLOAD LOGO --- */
.profile-card {
    padding: 18px;
    border-radius: var(--radius-box);
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.profile-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.28), transparent 70%);
    pointer-events: none;
}

.p-img-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
}

.p-img {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    object-fit: cover;
    background: #1e1e24;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
}

/* Lapisan pelindung di atas logo agar tidak bisa ditahan/save image */
.logo-shield {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: transparent;
    -webkit-touch-callout: none;
}

.p-info h1 {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-on-dark);
    letter-spacing: 0.3px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.p-info p {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.25); }
}

.social-bar {
    margin-top: 10px;
    display: flex;
    gap: 8px;
}

.soc-pill {
    padding: 6px 12px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.25s;
}

.soc-pill:hover {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 4px 15px var(--accent-glow);
}

/* --- MARQUEE --- */
.marquee-container {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    overflow: hidden;
    white-space: nowrap;
    padding: 9px 0;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid var(--accent);
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 18s linear infinite;
    font-size: 11px;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

@keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* --- SECTION TITLE --- */
.menu-title {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-on-dark);
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.75;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- PAYMENT CARDS --- */
.payment-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
}

.pay-card-primary {
    background: linear-gradient(145deg, rgba(240, 240, 242, 0.96), rgba(218, 218, 222, 0.88));
    backdrop-filter: blur(20px);
    border-radius: var(--radius-box);
    padding: 20px;
    color: var(--text-on-light);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.9);
}

.pay-card-primary::before {
    content: '';
    position: absolute;
    top: -35px;
    right: -35px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.08);
    pointer-events: none;
}

.pay-card-dark {
    border-radius: var(--radius-box);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.badge-method {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 13px;
}

.tag-pill {
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 99px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.tag-utama {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 12px var(--accent-glow);
}

.tag-darurat {
    background: rgba(245, 158, 11, 0.18);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.acc-number-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    margin-bottom: 10px;
}

.pay-card-primary .acc-number-box {
    background: rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.pay-card-dark .acc-number-box {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.acc-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn-copy {
    padding: 8px 14px;
    border-radius: 12px;
    border: none;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.pay-card-primary .btn-copy {
    background: #18181b;
    color: #fff;
}

.pay-card-primary .btn-copy:hover {
    background: var(--accent);
}

.pay-card-dark .btn-copy {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.pay-card-dark .btn-copy:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.acc-holder {
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.75;
    font-weight: 600;
}

/* --- QRIS FULL WIDGET --- */
.card-qris-full {
    border-radius: var(--radius-box);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.22) 0%, rgba(30, 30, 36, 0.65) 100%);
    border: 1px solid rgba(96, 165, 250, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.qris-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.qris-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.qris-info h3 {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}

.qris-info p {
    font-size: 11px;
    color: #cbd5e1;
}

.qris-cta {
    padding: 8px 14px;
    border-radius: 12px;
    background: #fff;
    color: #09090b;
    font-size: 11px;
    font-weight: 800;
}

/* --- 3 FEATURE WIDGETS --- */
.info-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 22px;
}

.feat-item {
    border-radius: 18px;
    padding: 14px 8px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.feat-icon {
    width: 34px;
    height: 34px;
    margin: 0 auto 8px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.18);
    color: #60a5fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feat-item h5 {
    font-size: 11px;
    font-weight: 700;
    color: #f3f4f6;
    margin-bottom: 2px;
}

.feat-item p {
    font-size: 9.5px;
    color: var(--text-muted);
}

/* --- CONFIRMATION BANNER --- */
.confirm-banner {
    background: linear-gradient(120deg, rgba(30, 58, 138, 0.85) 0%, rgba(37, 99, 235, 0.85) 100%);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-box);
    padding: 20px;
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.confirm-banner h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 5px;
}

.confirm-banner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 11.5px;
    line-height: 1.5;
    margin-bottom: 14px;
    max-width: 85%;
}

.btn-wa-confirm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #0f172a;
    padding: 10px 16px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.btn-wa-confirm:hover {
    transform: translateY(-2px);
}

/* --- FOOTER --- */
.store-footer {
    text-align: center;
    padding: 18px 12px 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.8;
}

.creator-link {
    color: #60a5fa;
    font-weight: 800;
    text-decoration: none;
    padding: 2px 8px;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.25);
    transition: all 0.25s ease;
}

.creator-link:hover {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-glow);
}

/* --- QRIS BOTTOM SHEET --- */
.sheet-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.sheet-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.sheet-panel {
    width: 100%;
    max-width: 480px;
    background: rgba(24, 24, 28, 0.92);
    backdrop-filter: blur(28px);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 32px 32px 0 0;
    padding: 24px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.sheet-overlay.active .sheet-panel {
    transform: translateY(0);
}

.qris-frame {
    background: #fff;
    padding: 18px;
    border-radius: 22px;
    margin: 16px auto;
    max-width: 270px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.qris-frame img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    pointer-events: auto;
    -webkit-touch-callout: default;
}

/* --- TOAST --- */
.toast-msg {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-80px);
    background: rgba(24, 24, 27, 0.95);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    padding: 12px 20px;
    border-radius: 99px;
    font-size: 12.5px;
    font-weight: 700;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast-msg.show {
    transform: translateX(-50%) translateY(0);
}
