/* 1. Live Counter Styling (Desktop Default) */
.live-counter {
    color: #660e11;
    text-align: center;
    padding: 8px 20px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: normal;
    letter-spacing: normal;
    border-radius: 6px;
    max-width: fit-content;
    margin: 0 auto 20px auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* --- NEW: Mobile-specific styling for the Live Counter --- */
@media (max-width: 768px) {
    .live-counter {
        font-size: 0.75rem; /* Smaller font size on mobile */
        padding: 6px 12px;  /* Reduced padding */
        text-align: right;  /* Aligns the text to the right */
        margin: 0 15px 15px auto; /* Pushes the whole block to the right side */
    }
}

/* 2. Bottom Middle Logo */
.bottom-mid-logo {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9998;
    text-align: center;
}
.bottom-mid-logo img {
    height: 50px;
    width: auto;
    opacity: 0.9;
}

/* 3. Bottom Left Button */
.cxweek-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #6f5046;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.cxweek-btn:hover {
    background-color: #5a4038;
    transform: translateY(-2px);
}
.cxweek-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
}

/* 4. Full Midsection Popup Overlay */
.cxweek-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.65);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    padding: 20px;
    box-sizing: border-box;
}
.cxweek-popup-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}
.cxweek-popup-content {
    background-color: #ffffff;
    color: #333333;
    padding: 40px;
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}
.cxweek-popup-content h2 {
    color: #6f5046;
    margin-top: 0;
    font-size: 28px;
}
.cxweek-popup-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
}
.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #6f5046;
    line-height: 1;
    transition: color 0.2s;
}
.close-popup:hover {
    color: #333333;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
