:root {
    --detection-neon-green: #74e4de;
    --detection-neon-glow: 0 0 15px rgba(0, 255, 65, 0.5);
    --detection-dark-bg: #0a0a0a;
    --detection-card-bg: rgba(15, 15, 15, 0.9);
    --detection-border: rgba(255, 255, 255, 0.1);
    --detection-text-primary: #ffffff;
    --detection-text-secondary: #9ca3af;
    --detection-accent: rgba(0, 255, 65, 0.1);
}

.detection-body {
    margin: 0;
    padding: 0;
    background: var(--detection-dark-bg);
    color: var(--detection-text-primary);
    min-height: 100vh;
}

/* Container */
.detection-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Scan line effect */
.detection-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--detection-neon-green), transparent);
    opacity: 0.5;
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Hero Section */
.detection-hero {
    position: relative;
    padding: 4rem 0 3rem;
    text-align: center;
    overflow: hidden;
}

.detection-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(0, 255, 65, 0.3);
    background-color: rgba(0, 255, 65, 0.05);
    color: var(--detection-neon-green);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.detection-ping-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--detection-neon-green);
    animation: ping 1.5s infinite;
}

@keyframes ping {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.detection-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--detection-neon-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.detection-subtitle {
    font-size: 1.125rem;
    color: var(--detection-text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* Content Section */
.detection-content {
    padding: 2rem 0 4rem;
}

/* Report Images */
.detection-reports {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.detection-report-card {
    background: linear-gradient(145deg, var(--detection-card-bg), rgba(25, 25, 25, 0.9));
    border: 1px solid var(--detection-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.detection-report-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.2), transparent, rgba(0, 255, 65, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.detection-report-card:hover::before {
    opacity: 1;
}

.detection-report-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 65, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(0, 255, 65, 0.1);
}

.detection-report-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.detection-report-card:hover .detection-report-image {
    transform: scale(1.02);
}

/* Decorative corners */
.detection-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--detection-neon-green);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.detection-corner-top-left {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.detection-corner-top-right {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
}

.detection-corner-bottom-left {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
}

.detection-corner-bottom-right {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

.detection-report-card:hover .detection-corner {
    opacity: 1;
    width: 30px;
    height: 30px;
}

/* Image viewer styles */
#detection-view-body {
    cursor: zoom-in;
}

#detection-view-body img {
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .detection-hero {
        padding: 3rem 0 2rem;
    }
    
    .detection-hero h1 {
        font-size: 1.75rem;
    }
    
    .detection-subtitle {
        font-size: 1rem;
    }
    
    .detection-reports {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .detection-hero h1 {
        font-size: 1.5rem;
    }
    
    .detection-container {
        padding: 0 1rem;
    }
}
