/* --- General Ad Styles --- */
.cam-banner, .cam-interstitial, .cam-vignette, .cam-in-page-push {
    margin: 15px 0;
    text-align: center;
}

/* --- Interstitial Ad Styles --- */
.cam-interstitial {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cam-interstitial-content {
    position: relative;
    background-color: #fff;
    padding: 20px;
    max-width: 80%;
    max-height: 80%;
    overflow: auto;
    border-radius: 5px;
}

/* --- Vignette Banner Styles --- */
.cam-vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cam-vignette-content {
    position: relative;
    background-color: #fff;
    padding: 20px;
    width: 90%;
    max-width: 400px; /* More mobile-friendly width */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* --- In-Page Push (uses banner class) --- */
/* Your ad network code for In-Page push should handle the styling.
   This class is a container. Add specific styles if needed. */
.cam-banner {
    /* Example: ensure it doesn't affect layout too much */
    line-height: 0;
}


/* --- Shared Close Button --- */
.cam-close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #fff;
    color: #000;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    font-weight: bold;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 100001;
}

.cam-close-btn:hover {
    background: #f0f0f0;
}