/* Pornmayer Rewards - Points System CSS */
/* All classes prefixed with pmr- to avoid conflicts */

.pmr-badge {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 99999;
    background: rgba(20, 20, 25, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 10px 14px;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 130px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.pmr-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.5);
}
.pmr-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.pmr-badge-row:last-child {
    margin-bottom: 0;
}
.pmr-badge-icon {
    font-size: 16px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}
.pmr-badge-label {
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pmr-badge-value {
    color: #fff;
    font-weight: 600;
    margin-left: auto;
}
.pmr-badge-premium {
    background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,165,0,0.15));
    border-color: rgba(255,215,0,0.3);
}
.pmr-badge-premium .pmr-badge-value {
    color: #ffd700;
}

/* Notification toast */
.pmr-toast {
    position: fixed;
    top: 80px;
    right: 12px;
    z-index: 100000;
    background: rgba(20, 20, 25, 0.95);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 12px;
    padding: 14px 18px;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 280px;
}
.pmr-toast.pmr-show {
    transform: translateX(0);
}
.pmr-toast-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 4px;
    color: #ffd700;
}
.pmr-toast-body {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
}

/* Paywall overlay */
.pmr-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 100001;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.pmr-overlay.pmr-show {
    opacity: 1;
    pointer-events: all;
}
.pmr-popup {
    background: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 32px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #fff;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.pmr-popup-icon {
    font-size: 48px;
    margin-bottom: 16px;
}
.pmr-popup-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}
.pmr-popup-text {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 24px;
}
.pmr-popup-points {
    display: inline-block;
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 8px;
    padding: 8px 16px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #ffd700;
}
.pmr-popup-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    margin: 6px;
    transition: transform 0.15s, box-shadow 0.15s;
    text-decoration: none;
}
.pmr-popup-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.pmr-popup-btn-primary {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #1a1a2e;
}
.pmr-popup-btn-secondary {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.pmr-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
}
.pmr-popup-close:hover {
    color: #fff;
}

/* Celebration popup extras */
.pmr-celebrate .pmr-popup {
    border-color: rgba(255,215,0,0.3);
}
.pmr-celebrate .pmr-popup-title {
    color: #ffd700;
}

/* Video page paywall overlay (covers player) */
.pmr-video-block {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-align: center;
    padding: 20px;
}
.pmr-video-block-icon {
    font-size: 40px;
    margin-bottom: 12px;
}
.pmr-video-block-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.pmr-video-block-text {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
    max-width: 280px;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 600px) {
    .pmr-badge {
        top: 8px;
        right: 8px;
        padding: 8px 10px;
        font-size: 12px;
        min-width: 110px;
    }
    .pmr-toast {
        top: 70px;
        right: 8px;
        max-width: 240px;
    }
    .pmr-popup {
        padding: 24px;
    }
    .pmr-popup-title {
        font-size: 18px;
    }
}
