/* =========================================
   High-Yield Ad Zone Styles
   ========================================= */

:root {
    --ad-bg: #f3f4f6;
    --ad-border: #e5e7eb;
    --ad-text: #9ca3af;
}

/* Base Ad Slot Container */
.ad-slot {
    background: var(--ad-bg);
    border: 1px dashed var(--ad-border);
    color: var(--ad-text);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.ad-slot::after {
    content: "Advertisement";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* 1. Top Leaderboard (728x90) */
.ad-leaderboard {
    width: 100%;
    max-width: 728px;
    height: 90px;
    margin-top: 6rem;
    /* Space for Navbar */
    margin-bottom: 2rem;
    border-radius: var(--radius);
}

/* 2. Content Native (Fluid) */
.ad-native {
    width: 100%;
    height: 250px;
    border-radius: var(--radius-lg);
    margin: 3rem 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.5), rgba(243, 244, 246, 0.5));
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* 3. Sidebar Skyscraper (300x600) */
.ad-skyscraper {
    width: 300px;
    height: 600px;
    margin-bottom: 2rem;
    border-radius: var(--radius-lg);
}

/* 4. Medium Rectangle (300x250) */
.ad-mrec {
    width: 300px;
    height: 250px;
    margin-bottom: 2rem;
    border-radius: var(--radius-lg);
}

/* 5. Sticky Footer Anchor (Mobile Heavy) */
.ad-anchor {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: white;
    border-top: 1px solid var(--gray-200);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
}

.ad-anchor .ad-content {
    width: 320px;
    height: 50px;
    background: var(--ad-bg);
    border: 1px dashed var(--ad-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Label Helper */
.ad-label {
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 0.6rem;
    background: rgba(0, 0, 0, 0.1);
    color: white;
    padding: 2px 4px;
    border-radius: 2px;
}

/* Responsive Hide */
@media (max-width: 768px) {
    .ad-leaderboard {
        display: none;
    }

    .ad-skyscraper {
        display: none;
    }

    .ad-native {
        height: 250px;
    }

    .ad-anchor {
        display: flex;
    }
}

@media (min-width: 769px) {
    .ad-anchor {
        display: none;
    }

    /* Usually annoying on desktop */
}