/* Zeus Decryptor Website - Custom Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #7c8ff0 0%, #8a5db8 100%);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Live indicator pulse animation (like Telegram) */
@keyframes livePulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-pulse-slow {
    animation: pulse 3s ease-in-out infinite;
}

.animate-live-pulse {
    animation: livePulse 1.5s ease-in-out infinite;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

/* Button Effects */
.btn-glow:hover {
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.6), 0 0 40px rgba(118, 75, 162, 0.4);
}

/* Loading Spinner */
.spinner {
    border: 3px solid rgba(102, 126, 234, 0.3);
    border-top: 3px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Stats Counter Animation */
.counter {
    font-variant-numeric: tabular-nums;
}

/* Background Patterns */
.bg-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
}

/* Glowing Border */
.border-glow {
    position: relative;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.border-glow::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, #667eea, #764ba2, #667eea);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.border-glow:hover::before {
    opacity: 0.3;
}

/* Professional Article Content Formatting */
.article-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #e5e7eb;
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #8b5cf6;
    background: linear-gradient(90deg, #8b5cf6 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f3f4f6;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    padding-left: 1rem;
    border-left: 4px solid #8b5cf6;
}

.article-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
    color: #d1d5db;
}

.article-content strong {
    color: #ffffff;
    font-weight: 600;
}

.article-content em {
    color: #a78bfa;
    font-style: italic;
}

.article-content ul,
.article-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: #d1d5db;
}

.article-content li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    padding-left: 0.5rem;
}

.article-content ul li {
    list-style-type: none;
    position: relative;
}

.article-content ul li:before {
    content: "▸";
    color: #8b5cf6;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1.5em;
    position: absolute;
    left: 0;
}

.article-content ol li {
    counter-increment: item;
}

.article-content ol {
    counter-reset: item;
}

.article-content ol li:before {
    content: counter(item) ".";
    color: #8b5cf6;
    font-weight: 600;
    margin-right: 0.5rem;
}

.article-content .support-section,
.article-content .download-section,
.article-content .disclaimer-section {
    margin: 2.5rem 0;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.article-content .support-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    border: 2px solid #3b82f6;
}

.article-content .download-section {
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    border: 2px solid #10b981;
}

.article-content .disclaimer-section {
    background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
    border: 2px solid #ef4444;
    border-left: 4px solid #dc2626;
}

.article-content .support-section h2,
.article-content .support-section h3,
.article-content .download-section h2,
.article-content .download-section h3,
.article-content .disclaimer-section h2,
.article-content .disclaimer-section h3 {
    color: #ffffff;
    margin-top: 0;
    border: none;
    background: none;
    -webkit-text-fill-color: #ffffff;
}

.article-content a {
    color: #60a5fa;
    text-decoration: underline;
    transition: color 0.2s;
}

.article-content a:hover {
    color: #93c5fd;
}

.article-content .telegram-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0088cc 0%, #0066aa 100%);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0, 136, 204, 0.3);
}

.article-content .telegram-btn:hover {
    background: linear-gradient(135deg, #0099dd 0%, #0077bb 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(0, 136, 204, 0.5);
}

/* ===================================
   Live Statistics Animations
   =================================== */

/* Shimmer effect for progress bar */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.animate-shimmer {
    animation: shimmer 2s infinite;
}

/* Pulse animation for live indicator */
@keyframes pulse-slow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse-slow {
    animation: pulse-slow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Live point on chart */
.chart-live-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #10b981;
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 1);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* ===================================================
   Screenshot Watermark Removal & Custom Overlay
   =================================================== */

/* Wrapper for screenshots */
.screenshot-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #1a1a2e;
    display: flex;
    align-items: flex-start;
    /* Height will be set dynamically to 40% of image */
}

/* Apply filters to hide background watermark */
.screenshot-wrapper img {
    width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    object-position: top;
    flex-shrink: 0;
    /* Actual height will be set by JS to 40% of original */
}

/* Removed dark overlay - not needed with crop */

/* Professional watermark overlay at bottom */
.screenshot-wrapper::after {
    content: 'ZeusDecrypt.com';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    background: linear-gradient(
        135deg,
        rgba(124, 58, 237, 0.92) 0%,
        rgba(37, 99, 235, 0.92) 100%
    );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 12px rgba(124, 58, 237, 0.3);
    z-index: 2;
    pointer-events: none;
}

/* Hover effect for bottom watermark */
.screenshot-wrapper:hover::after {
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.95) 0%,
        rgba(59, 130, 246, 0.95) 100%
    );
    box-shadow: 0 2px 16px rgba(139, 92, 246, 0.5);
}

/* Modal screenshot styling - adjusted for cropped images */
#screenshot-modal .screenshot-wrapper {
    max-width: 900px;
    max-height: 450px; /* Reduced for 40% crop */
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
}

#screenshot-modal .screenshot-wrapper img {
    width: 100%;
    object-fit: cover;
}

/* Fix modal inner container - compact to content */
#screenshot-modal .bg-gray-900 {
    width: auto;
    max-width: 950px;
}

#screenshot-modal .p-6 {
    padding: 1.5rem;
    overflow: hidden;
}

/* Remove spacing between image and attribution */
#screenshot-modal .screenshot-attribution {
    margin-top: 0 !important;
    padding-top: 12px;
}

/* Attribution text in modal */
.screenshot-attribution {
    margin-top: 12px;
    padding: 12px 24px;
    background: rgba(124, 58, 237, 0.1);
    border-left: 3px solid #7c3aed;
    border-radius: 6px;
    font-size: 12px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 8px;
}

.screenshot-attribution i {
    color: #7c3aed;
}

/* Fix Victim Details modal screenshot section */
#victim-details-modal .screenshot-wrapper {
    margin: 0;
    overflow: hidden;
}

#victim-details-modal .screenshot-wrapper img {
    width: 100%;
    object-fit: cover;
    object-position: top;
}

#victim-details-modal .screenshot-attribution {
    margin-top: 0 !important;
    padding-top: 12px;
}

