body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #f8f9fa; /* Light gray background */
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(0.95);
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.popup-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    animation: popupShow 0.5s ease;
}

@keyframes popupShow {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ad-content {
    margin-bottom: 20px;
}

.offer-text {
    font-size: 2.5rem;
    color: #28a745; /* Green color for offer text */
    margin-bottom: 10px;
}

.offer-description {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.animation-container {
    /* Add styles or embed animated content here */
}

.form-container {
    margin-top: 20px;
}

label {
    display: block;
    margin-top: 10px;
    text-align: left;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
button {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 4px;
    box-sizing: border-box;
}

.sponsor-tag {
    position: absolute;
    top: 5px;
    left: 5px;
    background: yellow; /* Yellow background for sponsor tag */
    padding: 2px 5px;
    font-size: 12px;
    border-radius: 4px;
}


.btn-close {
    background-color: #dc3545; /* Red background color */
    color: white; /* White text color */
    border: none;
    padding: 8px 12px; /* Adjust padding for smaller size */
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-close:hover {
    background-color: #c82333; /* Darker red on hover */
}

.btn-close i {
    margin-right: 5px; /* Space between icon and text */
}
