/* ─────────────────────────────────────────────
   THEFOOTBALL.LIVE - Ad Styles
   ───────────────────────────────────────────── */

/* ─── Ad Container Base ─── */
.ad-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    overflow: hidden;
    transition: background 0.3s ease;
    border: 1px solid var(--border);
}

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

.ad-content {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 4px 8px;
}

.ad-content small {
    font-size: 10px;
    color: var(--text-muted);
    display: block;
}

/* ─── Top Ad ─── */
.ad-top {
    min-height: 50px;
    padding: 6px 12px;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    background: var(--bg-body);
    margin: 0 -4px 8px -4px;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border);
}

.ad-top .ad-content {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.ad-top .ad-content small {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ─── Bottom Ad (Sticky) ─── */
.ad-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    min-height: 50px;
    padding: 6px 12px;
    border-top: 1px solid var(--border);
    background: var(--bg-body);
    flex-direction: column;
    gap: 2px;
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--border);
}

.ad-bottom .ad-content {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.ad-bottom .ad-content small {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 10px;
    font-weight: 400;
    color: var(--text-muted);
}

.ad-bottom .ad-content small span {
    cursor: pointer;
}

.ad-bottom .ad-content small span:hover {
    color: var(--accent);
}

/* ─── Sidebar Ad ─── */
.ad-sidebar {
    flex-direction: column;
    padding: 12px;
    border-radius: var(--radius-lg);
    margin: 8px 0 16px 0;
    min-height: 250px;
    width: 100%;
    max-width: 300px;
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.ad-sidebar .ad-content {
    width: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-body);
    border-radius: var(--radius);
    flex-direction: column;
    gap: 4px;
}

/* ─── Inline Ad ─── */
.ad-inline {
    min-height: 60px;
    padding: 10px 16px;
    margin: 8px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    background: var(--bg-body);
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.ad-inline .ad-content {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ─── Mobile Ad Overrides ─── */
@media (max-width: 768px) {
    .ad-top {
        min-height: 40px;
        padding: 4px 8px;
        margin: 0 -4px 6px -4px;
    }
    
    .ad-top .ad-content {
        font-size: 12px;
    }
    
    .ad-top .ad-content small {
        font-size: 10px;
    }
    
    .ad-bottom {
        min-height: 50px;
        padding: 4px 8px;
    }
    
    .ad-bottom .ad-content {
        font-size: 12px;
    }
    
    .ad-bottom .ad-content small {
        font-size: 9px;
        gap: 8px;
    }
    
    .ad-inline {
        min-height: 50px;
        padding: 6px 12px;
        margin: 4px 0;
    }
    
    .ad-inline .ad-content {
        font-size: 12px;
    }
    
    .ad-sidebar {
        display: none !important;
    }
}

/* ─── Desktop Ad Overrides ─── */
@media (min-width: 769px) {
    .ad-top {
        min-height: 70px;
        padding: 8px 16px;
        margin: 0 -4px 12px -4px;
    }
    
    .ad-top .ad-content {
        font-size: 16px;
    }
    
    .ad-bottom {
        min-height: 60px;
        padding: 8px 16px;
    }
    
    .ad-inline {
        min-height: 80px;
        padding: 12px 20px;
        margin: 12px 0;
    }
    
    /* Content with sidebar layout */
    .content-with-sidebar {
        display: flex;
        gap: 24px;
        align-items: flex-start;
    }
    
    .content-with-sidebar .main-column {
        flex: 1;
        min-width: 0;
    }
    
    .content-with-sidebar .sidebar-column {
        flex: 0 0 300px;
        position: sticky;
        top: 80px;
    }
}