/* =================================== 
   OVERLAY STYLES ONLY - No Tab Styling
   =================================== */

/* Adblock Detection Overlay */
.adblock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.95) 0%, rgba(192, 57, 43, 0.95) 100%);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 20;
    border-radius: 10px;
}

.adblock-overlay.active {
    display: flex;
}

.adblock-content {
    max-width: 550px;
    padding: 50px 30px;
}

.adblock-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #fff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.adblock-benefits {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    margin: 12px 0;
    font-size: 15px;
}

.benefit-item i {
    color: #2ecc71;
    font-size: 18px;
}

.overlay-dismiss-btn {
    display: inline-block;
    padding: 16px 45px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    background: #fff;
    color: #e74c3c;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 10px 0;
    letter-spacing: 0.5px;
}

.overlay-dismiss-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Exclusive Chat Overlay */
.exclusive-chat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 10px;
}

.exclusive-chat-overlay.active {
    display: flex;
}

.overlay-content {
    text-align: center;
    color: #fff;
    padding: 40px 20px;
    max-width: 500px;
}

/* Close Button */
.overlay-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    padding: 5px 10px;
    transition: all 0.3s ease;
    z-index: 11;
}

.overlay-close-btn:hover {
    color: #ff4444;
    transform: scale(1.1);
}

.overlay-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 20px 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.overlay-text {
    font-size: 16px;
    margin: 0 0 30px 0;
    color: #ddd;
}

/* Blue Spinner */
.spinner-blue {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    border: 5px solid rgba(52, 152, 219, 0.2);
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Close Link */
.overlay-close-link {
    color: #fff;
    font-size: 14px;
    margin-top: 15px;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.overlay-close-link:hover {
    color: #5dade2;
}

/* Signup Overlay */
.signup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 98%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 15;
    border-radius: 10px;
}

.signup-overlay.active {
    display: flex;
}

/* Hide chat button group when signup overlay is active */
.signup-overlay.active ~ #chatButtonGroup,
.video-frame:has(.signup-overlay.active) ~ #chatButtonGroup,
body.signup-overlay-visible #chatButtonGroup {
    display: none !important;
}

/* Signup Button Styling */
.overlay-signup-btn {
    display: inline-block;
    padding: 18px 50px;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    background: linear-gradient(45deg, #e91e63, #ff4444);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.5);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.overlay-signup-btn:hover {
    background: linear-gradient(45deg, #ff4444, #e91e63);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(233, 30, 99, 0.7);
}

/* Subtext under signup button */
.overlay-subtext {
    font-size: 13px;
    color: #aaa;
    margin-top: 10px;
}

/* Lazy loading images */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-image.loaded {
    opacity: 1;
}

.save-performer-btn {
    transition: background-color 0.3s ease;
}

.countdown-timer {
    font-size: 0.9em;
    color: #FFA500;
    margin-top: 5px;
}

.refresh-hint {
    font-size: 0.9em;
    color: #4CAF50;
    margin-top: 5px;
}

/* Heatmap adjustments */
.main__aboutHeatmap {
    margin: 0;
}

.heatmap-title {
    font-size: 1.2em;
    margin-bottom: 15px;
    text-align: center;
}

/* Gallery adjustments */
.main__gallery .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.main__gallery .gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.main__gallery .gallery img:hover {
    transform: scale(1.05);
}

/* Wishlist adjustments */
.main__wishlist {
    min-height: 200px;
}

/* =================================== 
   RESPONSIVE STYLES 
   =================================== */

/* Tablet and Mobile */
@media (max-width: 768px) {
    .overlay-content {
        padding: 30px 15px;
    }
    
    .adblock-content {
        padding: 35px 20px;
    }
    
    .adblock-icon {
        width: 65px;
        height: 65px;
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .adblock-benefits {
        padding: 15px;
        margin: 20px 0;
    }
    
    .benefit-item {
        font-size: 14px;
        margin: 10px 0;
    }
    
    .overlay-dismiss-btn {
        padding: 14px 35px;
        font-size: 14px;
    }
    
    .overlay-close-btn {
        font-size: 30px;
        top: 10px;
        right: 10px;
    }
    
    .overlay-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .overlay-text {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .overlay-signup-btn {
        padding: 15px 40px;
        font-size: 16px;
    }
    
    .spinner-blue {
        width: 60px;
        height: 60px;
        border-width: 4px;
        margin-bottom: 20px;
    }
    
    .video-frame {
        min-height: 250px !important;
    }
    
    .button-group {
        flex-direction: column !important;
    }
    
    .button-group a {
        width: 100% !important;
        min-width: unset !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .adblock-icon {
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
    
    .benefit-item {
        font-size: 13px;
    }
    
    .overlay-dismiss-btn {
        padding: 12px 28px;
        font-size: 13px;
    }
    
    .spinner-blue {
        width: 50px;
        height: 50px;
        border-width: 3px;
        margin-bottom: 15px;
    }
    
    .overlay-title {
        font-size: 16px;
    }
    
    .overlay-text {
        font-size: 13px;
    }
    
    .overlay-signup-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .video-frame {
        min-height: 200px !important;
    }
}

/* Desktop */
@media (min-width: 768px) {
    .button-group {
        display: flex !important;
        flex-direction: row !important;
        gap: 10px !important;
        flex-wrap: wrap !important;
    }
    
    .button-group > a {
        flex: 1 !important;
        min-width: 250px !important;
    }
    
    .video-frame {
        min-height: 600px !important;
    }
}