/* ========================================================== */
/* POPME CONTAINER - BASE STYLES & MOBILE OPTIMIZATION ðŸš€ Â  Â */
/* ========================================================== */
.popMe-container {
    /* TRANSITION & FONT */
    transition: all 400ms cubic-bezier(0.25, 0.8, 0.25, 1); /* Transisi lebih elegan (ease-out-quad) */
    font-family: 'Roboto', 'Helvetica Neue', sans-serif; /* Prioritas font yang lebih baik */
    font-size: 14px;
    line-height: 1.4;
    
    /* POSITIONING & LAYOUT */
    position: fixed;
    z-index: 9999;
    
    /* APPEARANCE & BOX MODEL */
    min-height: 14px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 12px 16px 75px; /* Padding default yang lebih baik */
    
    background-color: #ffffff;
    border-left: 6px solid #b059f7; /* Warna biru yang menenangkan dan profesional (misal: DodgerBlue) */
    box-shadow: rgba(0, 0, 0, 0.15) 0 12px 30px, rgba(0, 0, 0, 0.08) 0 4px 8px; /* Bayangan yang lebih menonjol */
    border-radius: 12px; /* Sudut yang lebih lembut dan modern */
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    max-width: 450px; /* Batasan lebar maksimum sedikit lebih kecil */

    /* HIDING STATE */
    opacity: 0;
    /* Transform awal dikelola oleh class positioning untuk animasi slide-in */
}

/* ========================================================== */
/* ICON / GAMBAR BEFORE ðŸ–¼ï¸ Â  Â  Â  Â  Â  Â  Â */
/* ========================================================== */
.popMe:before {
    /* RESET FLOAT/PADDING */
    content: " ";
    display: block;
    width: 40px; /* Ukuran ikon sedikit lebih kecil */
    height: 40px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 20px; /* Jarak dari kiri container */
    
    /* BACKGROUND IMAGE */
    background-image: url(https://ampspeedy.com/images/wins.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%; /* Membuat ikon lingkaran */
    /* Tambahan efek visual */
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.3); /* Ring efek di sekitar ikon */
}

/* ========================================================== */
/* PARAGRAF TEKS ðŸ’¬ Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  */
/* ========================================================== */
.popMe p {
    display: block;
    margin: 0;
    padding: 0; /* Padding utama di container */
    height: auto;
    line-height: 1.5; /* Lebih nyaman dibaca */
    font-size: 13px;
    font-weight: 400;
    flex-grow: 1; 
    color: #444; /* Warna teks lebih gelap */
}

/* ========================================================== */
/* JUDUL DI ATAS PARAGRAF (:before) âœ¨ Â  Â  Â  Â  Â  Â  Â */
/* ========================================================== */
.popMe p:before {
    content: "BUKTI HADIAH DROPS & WINS TERBARU!"; /* Judul yang lebih menarik */
    display: block;
    margin-bottom: 4px;
    
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #b059f7; /* Warna judul sesuai border */
    letter-spacing: 0.5px; /* Sedikit spasi antar huruf */
    
    background-image: none;
    background-repeat: no-repeat;
    background-position: left center;
    padding: 0;
    line-height: 1;
    height: auto;
}

/* ========================================================== */
/* ACTION / LINK ðŸ”— Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  */
/* ========================================================== */
.popMe-container .action {
    margin-left: 12px; /* Jarak yang lebih baik */
    padding: 6px 10px; /* Padding tombol/link */
    background: #b059f7; /* Latar belakang tombol */
    border-radius: 6px;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #ffffff; /* Warna teks putih */
    cursor: pointer;
    text-decoration: none;
    min-width: min-content;
    flex-shrink: 0;
    transition: background-color 200ms ease-in-out;
}

.popMe-container .action:hover {
    background-color: #007bb6; /* Efek hover yang lebih gelap */
}

/* ========================================================== */
/* TOMBOL TUTUP (CLOSE BUTTON) âŒ */
/* ========================================================== */
.popMe-close {
    position: absolute;
    top: 8px;
    right: 8px;
    cursor: pointer;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #aaa;
    font-size: 14px;
    line-height: 1;
    font-weight: 300;
    transition: color 200ms ease-in-out;
    z-index: 10000;
}

.popMe-close:hover {
    color: #333;
    background-color: #f0f0f0;
}

/* Tambahkan X sebagai konten tombol tutup */
.popMe-close:before {
    content: 'Ã—'; 
}

/* ========================================================== */
/* MEDIA QUERY - DESKTOP/TABLET ðŸ–¥ï¸ Â  Â  Â  Â  Â */
/* ========================================================== */
@media (min-width: 600px) {
    .popMe-container {
        width: auto;
        padding-right: 50px; /* Tambahan ruang untuk tombol tutup */
        left: auto !important; 
        right: auto !important;
        /* Padding kiri sudah ada di default 75px */
    }
}

/* ========================================================== */
/* MEDIA QUERY - MOBILE (Default) ðŸ“± Â  Â  Â  Â  Â */
/* ========================================================== */
@media (max-width: 599px) {
    .popMe-container {
        border-radius: 0;
        padding: 12px 40px 12px 65px; /* Padding disesuaikan, 40px untuk tombol tutup */
        max-width: none;
    }

    .popMe-close {
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
    }

    .popMe:before {
        width: 35px; /* Ikon lebih kecil di mobile */
        height: 35px;
        left: 10px;
        box-shadow: 0 0 0 2px rgba(30, 144, 255, 0.3);
    }
    
    /* Hapus penyesuaian untuk .popMe p, .popMe p:before, .popMe-container .action
       di mobile, agar lebih sederhana (gunakan nilai default) */

    /* POSISI MOBILE (ambil lebar penuh dan berada di tepi) - Kode Anda dipertahankan */
    .popMe-pos.bottom-center,
    .popMe-pos.bottom-left,
    .popMe-pos.bottom-right {
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: auto !important;
        transform: none !important;
    }

    .popMe-pos.top-center,
    .popMe-pos.top-left,
    .popMe-pos.top-right {
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        bottom: auto !important;
        transform: none !important;
    }
}

/* ========================================================== */
/* POSITIONING CLASSES ðŸ“ Â  Â  Â  Â  Â  Â  Â  Â  Â  Â */
/* ========================================================== */
/* Pertahankan kode positioning Anda */
.popMe-pos.bottom-center {
    top: auto !important;
    bottom: 20px; /* Jarak dari bawah */
    left: 50%;
    transform: translate(-50%, 0);
}

.popMe-pos.bottom-left {
    top: auto !important;
    bottom: 20px;
    left: 20px;
}

.popMe-pos.bottom-right {
    top: auto !important;
    bottom: 20px;
    right: 20px;
}

.popMe-pos.top-left {
    bottom: auto !important;
    top: 20px;
    left: 20px;
}

.popMe-pos.top-center {
    bottom: auto !important;
    top: 20px;
    left: 50%;
    transform: translate(-50%, 0);
}

.popMe-pos.top-right {
    bottom: auto !important;
    top: 20px;
    right: 20px;
}

/* ========================================================== */
/* INITIAL HIDING STATE (ANIMASI SLIDE-IN/OUT) âž¡ï¸ Â  Â */
/* ========================================================== */
/* Animasi slide-in/out yang lebih konsisten */

/* BOTTOM POSITIONS */
.popMe-hidden.popMe-pos.bottom-center {
    opacity: 0;
    transform: translate(-50%, 120%); /* Geser ke bawah 120% */
}
.popMe-active.popMe-pos.bottom-center {
    opacity: 1;
    transform: translate(-50%, 0); 
}

.popMe-hidden.popMe-pos.bottom-left,
.popMe-hidden.popMe-pos.bottom-right {
    opacity: 0;
    transform: translateY(120%); /* Geser ke bawah 120% */
}
.popMe-active.popMe-pos.bottom-left,
.popMe-active.popMe-pos.bottom-right {
    opacity: 1;
    transform: translateY(0);
}


/* TOP POSITIONS */
.popMe-hidden.popMe-pos.top-center {
    opacity: 0;
    transform: translate(-50%, -120%); /* Geser ke atas 120% */
}
.popMe-active.popMe-pos.top-center {
    opacity: 1;
    transform: translate(-50%, 0); 
}

.popMe-hidden.popMe-pos.top-left,
.popMe-hidden.popMe-pos.top-right {
    opacity: 0;
    transform: translateY(-120%); /* Geser ke atas 120% */
}
.popMe-active.popMe-pos.top-left,
.popMe-active.popMe-pos.top-right {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile: Hapus transform pada posisi penuh lebar (left/right: 0) */
@media (max-width: 599px) {
    /* BOTTOM: Gunakan transform: none; karena left/right: 0 dan lebar 100% */
    .popMe-hidden.popMe-pos.bottom-center,
    .popMe-hidden.popMe-pos.bottom-left,
    .popMe-hidden.popMe-pos.bottom-right {
        opacity: 0;
        transform: translateY(100%) !important;
    }
    
    .popMe-active.popMe-pos.bottom-center,
    .popMe-active.popMe-pos.bottom-left,
    .popMe-active.popMe-pos.bottom-right {
        opacity: 1;
        transform: translateY(0) !important;
    }
    
    /* TOP: Gunakan transform: none; */
    .popMe-hidden.popMe-pos.top-center,
    .popMe-hidden.popMe-pos.top-left,
    .popMe-hidden.popMe-pos.top-right {
        opacity: 0;
        transform: translateY(-100%) !important;
    }
    
    .popMe-active.popMe-pos.top-center,
    .popMe-active.popMe-pos.top-left,
    .popMe-active.popMe-pos.top-right {
        opacity: 1;
        transform: translateY(0) !important;
    }
}