/* ==========================
   Exit Intent Popup Styles
   ========================== */
.exit-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.exit-popup-overlay.show {
    display: flex;
    opacity: 1;
}

.exit-popup-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    padding: 40px;
    text-align: center;
    position: relative;
    animation: popupSlideIn 0.4s ease-out;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--primary-green, #007105);
}

@keyframes popupSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.exit-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.exit-popup-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: #333;
}

.exit-popup-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.exit-popup-title {
    color: var(--primary-green, #007105);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.exit-popup-message {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.exit-popup-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green, #007105) 0%, var(--light-green, #0cae13) 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 113, 5, 0.3);
}

.exit-popup-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 113, 5, 0.4);
    color: white;
}

.exit-popup-subtext {
    margin-top: 15px;
    font-size: 13px;
    color: #888;
}

.exit-popup-subtext a {
    color: var(--primary-green, #007105);
    text-decoration: underline;
}

/* ==========================
   Ad Blocker Overlay Styles
   ========================== */
.adblocker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.adblocker-overlay.show {
    display: flex;
}

.adblocker-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    padding: 50px;
    text-align: center;
}

.adblocker-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.adblocker-title {
    color: #333;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.adblocker-message {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.adblocker-steps {
    text-align: left;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.adblocker-steps h5 {
    color: var(--primary-green, #007105);
    margin-bottom: 15px;
    font-weight: 600;
}

.adblocker-steps ol {
    margin: 0;
    padding-left: 20px;
    color: #555;
}

.adblocker-steps li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.adblocker-btn-primary {
    background: linear-gradient(135deg, var(--primary-green, #007105) 0%, var(--light-green, #0cae13) 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.adblocker-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 113, 5, 0.4);
}

.adblocker-btn-secondary {
    background: transparent;
    color: #666;
    border: 2px solid #ddd;
    padding: 13px 30px;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.adblocker-btn-secondary:hover {
    border-color: #999;
    color: #333;
}

#adBlockerStatus {
    margin-top: 20px;
    font-size: 14px;
}

/* ==========================
   Share Gate Styles
   ========================== */
.share-gate-wrapper {
    position: relative;
}

/* Blur locked rows */
.league-table-locked {
    filter: blur(4px);
    user-select: none;
    pointer-events: none;
}

.share-gate-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.9) 30%,
        rgba(255, 255, 255, 1) 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 20px;
    z-index: 100;
}

/* Dark mode support */
[data-bs-theme="dark"] .share-gate-overlay {
    background: linear-gradient(to bottom,
        rgba(33, 37, 41, 0) 0%,
        rgba(33, 37, 41, 0.9) 30%,
        rgba(33, 37, 41, 1) 50%);
}

.share-gate-overlay.unlocking {
    animation: fadeOut 0.5s ease-out forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

.share-gate-lock-icon {
    font-size: 40px;
    color: var(--primary-green, #007105);
    margin-bottom: 10px;
}

.share-gate-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

[data-bs-theme="dark"] .share-gate-title {
    color: #f8f9fa;
}

.share-gate-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

[data-bs-theme="dark"] .share-gate-subtitle {
    color: #adb5bd;
}

.share-gate-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.share-gate-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.share-gate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.share-gate-btn.twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0c85d0 100%);
}

.share-gate-btn.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%);
}

.share-gate-btn.instagram {
    background: linear-gradient(135deg, #e4405f 0%, #c13584 50%, #833ab4 100%);
}

.share-gate-btn i {
    font-size: 18px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .exit-popup-content {
        padding: 30px 20px;
    }

    .exit-popup-title {
        font-size: 22px;
    }

    .exit-popup-icon {
        font-size: 48px;
    }

    .adblocker-content {
        padding: 30px 20px;
    }

    .adblocker-title {
        font-size: 24px;
    }

    .adblocker-icon {
        font-size: 60px;
    }

    .share-gate-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .share-gate-btn {
        width: 100%;
        justify-content: center;
    }
}
