/* ANTI-INSPECT PROTECTION STYLES */

/* Disable text selection globally */
* {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Allow selection for input fields and interactive elements */
input, textarea, [contenteditable="true"] {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* Ensure interactive elements work properly */
a, button, [role="button"], .card, .movie-card, .tv-card, .clickable, [onclick] {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Ensure card containers and content are clickable */
.content-grid .card,
.movies-grid .card,
.tv-grid .card,
.trending-grid .card {
    pointer-events: auto !important;
    cursor: pointer !important;
}

.content-grid .card *,
.movies-grid .card *,
.tv-grid .card *,
.trending-grid .card * {
    pointer-events: auto !important;
}

/* Disable drag and drop */
* {
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
}

/* Disable image dragging but allow clicks */
img {
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
}

/* Hide scrollbars to prevent inspection */
::-webkit-scrollbar {
    width: 0px !important;
    background: transparent !important;
}

/* Disable outline on focus */
*:focus {
    outline: none !important;
}

/* Protection overlay styles */
.protection-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.95) !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: Arial, sans-serif !important;
    color: #ff4444 !important;
    text-align: center !important;
}

.protection-message {
    background: #1a1a1a !important;
    padding: 40px !important;
    border-radius: 15px !important;
    border: 2px solid #ff4444 !important;
    max-width: 500px !important;
    box-shadow: 0 0 50px rgba(255, 68, 68, 0.3) !important;
}

/* Disable print styles */
@media print {
    * {
        display: none !important;
    }
    
    body::before {
        content: "Printing is not allowed" !important;
        display: block !important;
        font-size: 24px !important;
        color: red !important;
        text-align: center !important;
        margin-top: 50px !important;
    }
}

/* Hide developer tools hints */
.devtools-hint,
.inspect-hint,
.debug-info {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Blur content when devtools detected */
.devtools-detected * {
    filter: blur(10px) !important;
}

/* Anti-screenshot protection */
.anti-screenshot {
    position: relative !important;
}

.anti-screenshot::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
    z-index: 1000 !important;
    pointer-events: none !important;
}

/* Disable context menu styles */
.no-context-menu {
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    -khtml-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

/* Protection animations */
@keyframes protection-pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.protection-active {
    animation: protection-pulse 1s infinite !important;
}

/* Hide source code hints */
.view-source,
.source-code,
.code-view {
    display: none !important;
}

/* Disable selection highlighting */
::selection {
    background: transparent !important;
}

::-moz-selection {
    background: transparent !important;
}

/* Mobile protection */
@media (max-width: 768px) {
    * {
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        user-select: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }
}

/* Disable zoom on mobile */
@viewport {
    user-zoom: fixed !important;
    zoom: 1.0 !important;
}

/* Hide iframe borders that might reveal structure */
iframe {
    border: none !important;
    outline: none !important;
}

/* Protection for specific elements */
.protected-content {
    position: relative !important;
    overflow: hidden !important;
}

.protected-content::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
    z-index: 100 !important;
    pointer-events: none !important;
}
