/* ==================== ORIGINAL POPUP + WHATSAPP STYLES ==================== */
.popup-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    font-family: sans-serif;
}

.popup-content {
    background: #212121;
    width: 90%;
    max-width: 750px;
    display: flex;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.close-btn {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: #fff;
    z-index: 10;
    line-height: 1;
}

.popup-left { flex: 1; min-height: 300px; }
.popup-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.popup-right {
    flex: 1.2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.popup-right h2 { margin: 0 0 15px; font-size: 30px; font-family: vt323; color: #E6DB74; }
.popup-right p { font-size: 18px; color: #fff; font-family: vt323; line-height: 1.6; margin-bottom: 25px; }

.whatsapp-btn {
    background-color: #25D366;
    color: #fff !important;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-family: vt323;
    font-size: 22px;
    font-weight: Light;
    text-align: center;
    transition: 0.3s;
}
.whatsapp-btn:hover { background-color: #128C7E; }

@media (max-width: 700px) {
    .popup-content { flex-direction: column; }
    .popup-left { min-height: 150px; }
    .popup-right { padding: 30px 20px; text-align: center; }
}

/* Floating WhatsApp Button + Tooltip */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 42px;
    height: 42px;
    background-color: #25D366;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 999998;
    transition: all 0.3s ease;
}

.floating-whatsapp-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 53px;
    left: 0;
    background: #333;
    color: #fff;
    padding: 6px 12px;
    font-family: vt323;
    font-size: 15px;
    white-space: nowrap;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
    pointer-events: none;
}

.floating-whatsapp-btn::before {
    content: "";
    position: absolute;
    bottom: 45px;
    left: 10px;
    border-width: 4px 4px 0 4px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.floating-whatsapp-btn:hover::after,
.floating-whatsapp-btn:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-whatsapp-btn:hover {
    background-color: #128C7E;
    transform: scale(1.05);
}

.floating-whatsapp-btn svg {
    width: 22px;
    height: 22px;
}

/* ==================== PRELOADER STYLES (MERGED) ==================== */
#pixel-preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-color: #212121;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    z-index: 999999;
    font-family: 'vt323', monospace;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease;
}

#pixel-preloader.preloader-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
}

.pixel-box {
    width: 30px; height: 30px;
    background-color: #00FF00;
    animation: pixel-pulse 0.6s steps(2) infinite;
}

.pixel-text {
    color: #00FF00;
    font-size: 28px;
    margin-top: 15px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 2px;
    animation: crt-flicker 3s infinite;
}

.dot-container {
    display: inline-flex;
    margin-left: 4px;
    width: 60px;
}

.dot {
    display: inline-block;
    width: 8px;
    text-align: center;
    opacity: 0;
    animation: dot-sequence 1.2s steps(1) infinite;
}
.dot:nth-child(1) { animation-delay: 0s; }
.dot:nth-child(2) { animation-delay: 0.4s; }
.dot:nth-child(3) { animation-delay: 0.8s; }

@keyframes pixel-pulse {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.8); }
}

@keyframes dot-sequence {
    0% { opacity: 0; }
    25% { opacity: 1; }
    50% { opacity: 1; }
    75% { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes crt-flicker {
    0% { opacity: 1; }
    10% { opacity: 0.8; }
    20% { opacity: 1; }
    30% { opacity: 0.9; }
    100% { opacity: 1; }
}