/* Separate Overlay System for Trending Betting Sites */
.trending-betting-wrapper {
    position: relative;
}

.tbs-overlay-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tbs-overlay-content {
    background: rgba(0, 0, 0, 0.95);
    width: 90%;
    max-width: 320px;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.tbs-overlay-title {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.tbs-overlay-terms {
    color: #ccc;
    font-size: 0.7rem;
    line-height: 1.4;
    margin-bottom: 15px;
    max-height: 200px;
    overflow-y: auto;
}

.tbs-overlay-terms a,
.tbs-overlay-terms .gambleaware {
    color: #e056fd;
    text-decoration: underline;
}

.tbs-overlay-close {
    background: #333;
    color: white;
    border: none;
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: background 0.2s ease;
    margin: 0 auto;
    display: block;
}

.tbs-overlay-close:hover {
    background: #444;
}

@media (max-width: 768px) {
    .tbs-overlay-content {
        width: 90%;
        max-width: 280px;
        padding: 12px;
    }
    
    .tbs-overlay-title {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    .tbs-overlay-terms {
        font-size: 0.65rem;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    .tbs-overlay-close {
        padding: 5px 12px;
        font-size: 0.65rem;
    }
}