/* Konfigurasi Font Monaco */
body {
    font-family: 'Monaco', 'Courier New', monospace;
}

/* Animasi Latar Belakang Teks "378" */
.background-anim {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.background-anim span {
    position: absolute;
    font-size: 20vw;
    font-weight: bold;
    color: #4f46e5; /* indigo-600 */
    opacity: 0.1; /* Dibuat lebih jelas */
    animation: float 20s infinite linear;
}

.background-anim span:nth-child(1) { top: 10%; left: 10%; animation-duration: 25s; }
.background-anim span:nth-child(2) { top: 50%; left: 80%; animation-duration: 30s; animation-delay: -5s; }
.background-anim span:nth-child(3) { top: 80%; left: 20%; animation-duration: 22s; animation-delay: -10s; }

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Animasi Mengetik */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1.2em;
    background-color: #818cf8; /* indigo-400 */
    animation: blink 0.7s infinite;
    margin-left: 4px;
    vertical-align: bottom;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Animasi Bergerak (Marquee) untuk Testimonial & Bukti Transfer */
.testimonial-marquee-container, .transfer-marquee-container {
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.testimonial-marquee-content {
    animation: marquee 10s linear infinite;
}
.transfer-marquee-content {
    animation: marquee 10s linear infinite;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Kustomisasi Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background-color: #4f46e5; border-radius: 20px; }

/* Proteksi Konten */
.no-copy {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10+ */
    user-select: none; /* Standard syntax */
}
.no-copy img, .no-copy video {
    pointer-events: none;
}
.can-copy {
    -webkit-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Styling untuk FAQ Accordion */
.faq-question button svg {
    transition: transform 0.3s ease-in-out;
}
.faq-item.open .faq-question button svg {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
}

/* Styling untuk Live Sale */
.live-sale-container.updated {
    animation: flash 2.7s ease-in-out;
}

@keyframes flash {
    0% { background-color: transparent; }
    50% { background-color: rgba(239, 68, 68, 0.2); border-radius: 4px;}
    100% { background-color: transparent; }
}

/* Styling untuk Tombol Scroll to Top */
#scroll-to-top-btn {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 50;
}

#scroll-to-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#sales-notification {
            transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
        }
        .notification-enter {
            transform: translateY(150%);
            opacity: 0;
        }
        .notification-active {
            transform: translateY(0);
            opacity: 1;
        }
        
/* Glassmorphism */
        .glass-card { background: rgba(30, 41, 59, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.1); }

        /* Star Rating */
        .star-rating input { display: none; }
        .star-rating label { cursor: pointer; width: 25px; font-size: 25px; color: #475569; transition: color 0.2s ease-in-out; }
        .star-rating label:hover, .star-rating label:hover ~ label, .star-rating input:checked ~ label { color: #fbbf24; }
        
        /* Custom Scrollbar */
        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: #0f172a; }
        ::-webkit-scrollbar-thumb { background-color: #4f46e5; border-radius: 20px; }