/* --- BASE RESET --- */
* {
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    margin: 0;
    padding: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(-45deg, #ff9a9e, #fad0c4, #ff86c8, #fbc2eb);
    background-size: 400% 400%;
    animation: gradientBG 10s ease infinite;
    color: #fff;
    min-height: 100vh;
    padding: 60px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.mockup-container {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-wrapper {
    position: relative;
    margin-bottom: 15px;
}

img.profile-pic {
    width: 110px;
    height: 110px;
    border-radius: 35px; /* Squircle */
    border: 4px solid #fff;
    object-fit: cover;
    display: block;
    box-shadow: 0 10px 25px rgba(255, 20, 147, 0.4);
    animation: float 6s ease-in-out infinite;
    pointer-events: none; /* Anti Right Click */
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

h2 {
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.description {
    font-size: 0.95rem;
    opacity: 0.95;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.verified-badge {
    color: #fff;
    filter: drop-shadow(0 0 5px #00bfff);
    font-size: 1.3rem;
    position: relative;
    cursor: pointer;
}

.verified-tooltip {
    position: absolute;
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.85);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s;
    visibility: hidden;
    z-index: 100;
}

.verified-badge.active .verified-tooltip,
.verified-badge:hover .verified-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 130%;
}



#audio {
    display: none !important;
}

.custom-music-player {
    width: 100%;
    height: 76px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 22px;
    display: flex;
    align-items: center;
    padding: 12px 18px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.music-img-spin {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
    margin-right: 15px;
    flex-shrink: 0;
    animation: spin 8s linear infinite paused;
    pointer-events: none;
}

.custom-music-player.playing .music-img-spin {
    animation-play-state: running;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.track-info {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.track-title {
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    margin-bottom: 2px;
}

.track-artist {
    font-size: 0.75rem;
    opacity: 0.8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.play-btn {
    background: #fff;
    color: #ff69b4;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.progress-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.2);
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: #fff;
    transition: width 0.1s linear;
}

.link-btn {
    width: 100%;
    padding: 0 20px;
    margin-bottom: 15px;
    height: 68px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.link-btn:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.4);
    border-color: #fff;
}

.custom-logo {
    width: 32px;
    height: 32px;
    margin-right: 15px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    pointer-events: none;
}

.link-text {
    font-weight: 600;
    font-size: 1rem;
    flex: 1;
}

.grid-container {
    display: flex;
    width: 100%;
    gap: 15px;
    margin-bottom: 25px;
}

.product-card {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-img-wrapper {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
    pointer-events: none;
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-info {
    padding: 12px 10px;
    text-align: left;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ff69b4;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.product-sold {
    font-size: 0.7rem;
    color: #888;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
}

.btn-buy {
    font-size: 0.7rem;
    background: #ff69b4;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.video-card {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 9/16;
    background: #000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-bottom-container {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    aspect-ratio: 16/9; /* Landscape untuk video utama */
    border: 1px solid rgba(255,255,255,0.3);
}

.video-bottom-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.website-preview {
    width: 100%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.website-header {
    background: #f8f9fa;
    color: #444;
    padding: 12px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #eee;
}

.website-preview iframe {
    width: 100%;
    height: 650px;
    border: none;
    display: block;
}

.faq-container {
    width: 100%;
    margin-bottom: 25px;
}

.faq-header-title {
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    opacity: 0.9;
}

.faq-item {
    background: #fff;
    border-radius: 16px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.faq-question {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

/* Perbaikan: Icon harus terlihat, sebelumnya 0rem */
.faq-question i {
    color: #ff69b4;
    transition: transform 0.3s;
    font-size: 0.9rem; 
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    font-size: 0.80rem;
    color: #555;
    transition: max-height 1.3s ease, padding 1.3s ease;
    line-height: 2.3;
    background: #fdfdfd;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

.faq-item.active .faq-question {
    border-bottom: 1px solid #f0f0f0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.section-title {
    width: 100%;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.services-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
    margin-bottom: 30px;
}

.service-box {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 15px;
    padding: 15px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}

.service-box:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.3);
}

.service-box i {
    font-size: 1.4rem;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.service-box span {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.service-custom-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-bottom: 2px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.contact-card {
    width: 100%;
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 25px;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid #eee;
    background: #f8f9fa;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: 0.3s;
}

.form-input:focus {
    border-color: #ff69b4;
    background: #fff;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(45deg, #ff9a9e, #ff69b4);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
    transition: 0.3s;
}

.submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.4);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}



.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}



.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: monospace;
    letter-spacing: 0.5px;
}

.flag-icon {
    width: 22px;
    border-radius: 3px;
}

.time-text {
    font-size: 0.7rem;
    opacity: 0.5;
    margin-right: 8px;
}

.footer {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 20px;
    text-align: center;
}

/* --- ANIMATION HELPERS --- */
.animate-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }








/* =========================================
   2. LOADING SCREEN (HACKER PINK)
   ========================================= */
#loader-screen {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(-45deg, #ff9a9e, #fad0c4, #ff86c8, #fbc2eb);
    background-size: 400% 400%;
    animation: gradientBG 10s ease infinite;
    z-index: 99999;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}
#loader-screen.loaded { transform: translateY(-100%); }

.loader-terminal {
    width: 85%; max-width: 450px;
    background: rgba(0, 0, 0, 0.85); /* Kontras tinggi */
    padding: 25px; border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    border: 1px solid rgba(0, 255, 65, 0.3);
    color: #00ff41;
}
.loader-text { font-size: 0.85rem; margin-bottom: 10px; height: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loader-bar-container { width: 100%; height: 6px; background: #1a1a1a; border-radius: 3px; overflow: hidden; }
.loader-bar { height: 100%; width: 0%; background: #00ff41; box-shadow: 0 0 10px #00ff41; transition: width 0.1s linear; }
.loader-percentage { text-align: right; font-size: 1.2rem; font-weight: 700; margin-top: 10px; color: #fff; }




/* Indicator Online */
.status-dot {
    position: absolute; bottom: 5px; right: 5px;
    width: 22px; height: 22px; background: #00ff41;
    border: 3px solid #fff; border-radius: 50%;
    animation: pulseDot 2s infinite; z-index: 2;
}
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(0, 255, 65, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(0, 255, 65, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 255, 65, 0); } }

h2 {
    font-weight: 800; font-size: 1.5rem; margin-bottom: 5px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1); text-align: center;
}




.description { font-size: 0.9rem; opacity: 0.95; margin-bottom: 25px; display: flex; align-items: center; gap: 8px; justify-content: center; text-align: center;}
.visitor-trigger {
    background: rgba(255,255,255,0.25); border-radius: 50%; width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; font-size: 0.8rem;
}
.visitor-trigger:hover { background: #fff; color: #ff69b4; transform: scale(1.1); }


/* =========================================
   6. SERVICES & NEW FEATURES (MARQUEE)
   ========================================= */
.services-wrapper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; margin-bottom: 25px; }
.service-box {
    background: rgba(255,255,255,0.2); backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.3);
    border-radius: 15px; padding: 12px 5px; display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 6px; transition: transform 0.2s; cursor: pointer; text-decoration: none; color: #fff;
}
.service-box:active { transform: scale(0.95); background: rgba(255,255,255,0.3); }
.service-custom-img { width: 24px; height: 24px; object-fit: contain; margin-bottom: 2px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); }
.service-box span { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.5px; }

/* Marquee Tech Stack (Fitur Modern) */
.marquee-container {
    width: 100%; overflow: hidden; white-space: nowrap; margin-bottom: 25px;
    background: rgba(0,0,0,0.1); padding: 10px 0; border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}
.marquee-content { display: inline-block; animation: marquee 15s linear infinite; }
.tech-icon { display: inline-flex; align-items: center; gap: 5px; margin: 0 15px; font-size: 0.8rem; font-weight: 600; opacity: 0.9; }
.tech-icon i { color: #fff; font-size: 1.1rem; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }


/* =========================================
   8. POPUP VISITOR (PERBAIKAN SCROLL)
   ========================================= */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
    display: none; align-items: center; justify-content: center; z-index: 2000;
}
.visitor-modal {
    background: rgba(30, 30, 30, 0.95); width: 90%; max-width: 360px;
    border-radius: 20px; padding: 20px; color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); }

/* FIX SCROLLBAR DI SINI */
.visitor-list-container {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 5px;
    /* Support touch smooth scrolling di iOS */
    -webkit-overflow-scrolling: touch;
}
/* Custom Scrollbar untuk Modal Visitor */
.visitor-list-container::-webkit-scrollbar { width: 4px; }
.visitor-list-container::-webkit-scrollbar-thumb { background: #ff69b4; border-radius: 10px; }
.visitor-list-container::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }

.visitor-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.user-info { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 500; font-family: monospace; }
.flag-icon { width: 20px; border-radius: 2px; }
.time-text { font-size: 0.65rem; opacity: 0.5; margin-right: 8px; }

/* Toast Notification */
.toast {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px);
    background: rgba(0,0,0,0.8); color: #fff; padding: 10px 20px; border-radius: 30px;
    font-size: 0.8rem; font-weight: 600; opacity: 0; transition: all 0.3s; pointer-events: none; z-index: 3000;
    display: flex; align-items: center; gap: 8px;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* Animation Helpers */
.animate-in { opacity: 0; transform: translateY(20px); animation: fadeInUp 0.8s forwards; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
.delay-1 { animation-delay: 0.1s; } .delay-2 { animation-delay: 0.2s; } .delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; } .delay-5 { animation-delay: 0.5s; }