/*
 * =============================================================================
 * FILE: fullscreen_ad_modal.css
 * =============================================================================
 * PURPOSE: Fullscreen modal for displaying advertisements
 * 
 * RELATIONSHIPS:
 *   Template:   templates/components/fullscreen_ad_modal.html (primary)
 *   CSS:       style.css (inherits base styles)
 *   JS:        static/js/ad_display.js (modal open/close)
 *   Inherits:  Bootstrap framework via base.html
 * 
 * SCOPE:
 *   - Modal container (fixed fullscreen overlay)
 *   - Content centering and media display
 *   - Link footer positioning and styling
 * =============================================================================
 */

/* -----------------------------------------------------------------------------
 * Modal Container
 * Fixed fullscreen black overlay with centered content
 * -----------------------------------------------------------------------------
 */
.fullscreen-ad-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
}

/* -----------------------------------------------------------------------------
 * Ad Content Container
 * Flex column for vertical centering
 * -----------------------------------------------------------------------------
 */
.ad-content-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* -----------------------------------------------------------------------------
 * Media Container
 * Full-width media display with contain fit
 * -----------------------------------------------------------------------------
 */
#adMediaContainer {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#adMediaContainer img, 
#adMediaContainer video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* -----------------------------------------------------------------------------
 * Ad Link Footer
 * Bottom-centered clickable link with overlay background
 * -----------------------------------------------------------------------------
 */
.ad-link-footer {
    position: absolute;
    bottom: 40px;
    width: 100%;
    text-align: center;
    background: transparent;
}

.ad-link-text {
    color: white;
    text-decoration: underline;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 15px 25px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}
