/* Content Protection Styles */

/* Disable text selection */
.protected-content {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* Prevent image dragging */
.protected-content img {
    pointer-events: none;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    user-drag: none;
}

/* Watermark overlay */
#content-watermark {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    overflow: hidden;
}

.watermark-text {
    position: absolute;
    font-size: 48px;
    font-weight: bold;
    color: #000;
    transform: rotate(-45deg);
    white-space: nowrap;
}

.watermark-text:nth-child(1) {
    top: 20%;
    left: 10%;
}

.watermark-text:nth-child(2) {
    top: 60%;
    right: 10%;
}

/* Print protection */
@media print {
    .protected-content {
        display: none !important;
    }
    
    body.print-disabled {
        visibility: hidden;
    }
    
    body.print-disabled::before {
        content: "Printing is disabled for premium content.";
        visibility: visible;
        display: block;
        font-size: 24px;
        text-align: center;
        padding: 50px;
    }
}

/* Protection notice animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

.animate-fade-out {
    animation: fadeOut 0.3s ease-out;
}

/* Screenshot protection overlay */
.screenshot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

/* Disable image context menu */
.protected-content img::selection {
    background: transparent;
}

.protected-content img::-moz-selection {
    background: transparent;
}