﻿.scroll-indicator {
    position: fixed;
    left: 50%;
    bottom: 20px;
    width: 30px;
    height: 30px;
    display: block;
    transform: translateX(-50%);
    cursor: pointer;
    text-decoration: none;
}

    .scroll-indicator::before {
        content: "";
        display: block;
        width: 12px;
        height: 12px;
        border-right: 3px solid #C5A059;
        border-bottom: 3px solid #C5A059;
        transform: rotate(45deg);
        margin: 0 auto;
        animation: scroll-bounce 1.5s infinite;
    }

    /* stop the bounce when .stopped is added */
    .scroll-indicator.stopped::before {
        animation: none;
        opacity: 0.7; /* keep static arrow, or set to 0 to hide */
    }

@keyframes scroll-bounce {
    0% {
        transform: rotate(45deg) translateY(0);
        opacity: 0.7;
    }

    50% {
        transform: rotate(45deg) translateY(10px);
        opacity: 1;
    }

    100% {
        transform: rotate(45deg) translateY(0);
        opacity: 0.7;
    }
}

.scroll-indicator:hover::before {
    border-color: #9b8346;
}

/* bounce keyframes */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.float-btn-guide {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 100px;
    height: 100px;
    background-color: #C5A059; /* gold */
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    /* bounce animation */
    animation: bounce 2s infinite;
    transition: box-shadow 0.2s ease;
}

    .float-btn-guide:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    }

    .float-btn-guide img {
        width: 60%;
        height: auto;
        object-fit: contain;
        display: block;
    }



.exit-intent-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.exit-intent-content {
    background: #fff;
    padding: 2rem;
    max-width: 90%;
    width: 400px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.exit-intent-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.exit-intent-content h2 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.exit-intent-content p {
    margin-bottom: 1.5rem;
}

.exit-intent-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #C5A059;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

    .exit-intent-btn:hover {
        opacity: 0.9;
    }