
/* Advertisement Slots */
.ad-slot-container {
    margin: 40px auto;
    text-align: center;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px;
    min-height: 100px; /* Prevents layout shift */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ad-label {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 5px;

/* 3-Column Layout */
.ad-layout-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 10px;
    gap: 20px;
}

.main-content {
    flex: 1;
    max-width: 1100px;
    width: 100%;
}

.side-ad {
    width: 160px; /* Standard wide skyscraper ad width */
    position: sticky;
    top: 100px; /* Sticks to the top when scrolling */
    display: none; /* Hidden by default on small screens */
}

.vertical-ad {
    margin: 0;
    min-height: 600px; /* Standard skyscraper height */
    width: 100%;
}

/* Sticky Bottom Ad */
.sticky-bottom-ad {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 17, 21, 0.95);
    border-top: 1px solid var(--panel-border);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 10px 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
    animation: slideUp 0.5s ease-out forwards;
}

.sticky-bottom-ad .bottom-ad {
    margin: 0;
    padding: 0;
    min-height: 50px;
    border: none;
    background: transparent;
}

.close-ad-btn {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glass);
    transition: var(--transition);
}

.close-ad-btn:hover {
    color: var(--gold-primary);
    border-color: var(--gold-primary);
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Responsive Rules */
@media (min-width: 1200px) {
    .side-ad {
        display: block; /* Show side ads on large screens */
    }
}

@media (min-width: 1400px) {
    .side-ad {
        width: 300px; /* Show larger 300x600 ads on very large screens */
    }
}

/* Fix main container padding for sticky footer */
body {
    padding-bottom: 80px;
}

.ad-slot-responsive {
    width: 100%;
    max-height: 250px;
    display: block;
}
