/* Deadly Serious Wanted Terrorist Style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Impact', 'Arial Black', sans-serif;
    background: #1a1a1a;
    background-image: 
        linear-gradient(rgba(139, 0, 0, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 0, 0, 0.3) 1px, transparent 1px);
    background-size: 50px 50px;
    min-height: 100vh;
    padding: 20px;
    color: #ff0000;
}

.wanted-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #000;
    border: 8px solid #ff0000;
    border-radius: 0;
    box-shadow: 
        0 0 40px rgba(255, 0, 0, 0.8),
        inset 0 0 60px rgba(139, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.wanted-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(139, 69, 19, 0.02) 10px,
            rgba(139, 69, 19, 0.02) 20px
        );
    pointer-events: none;
}

/* Header Styles */
.wanted-header {
    text-align: center;
    padding: 40px 20px 20px;
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 50%, #8B0000 100%);
    color: #fff;
    position: relative;
    border-bottom: 4px solid #ff0000;
}

.wanted-title {
    font-size: 4.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 
        0 0 10px #ff0000,
        0 0 20px #ff0000,
        0 0 30px #ff0000;
    margin-bottom: 15px;
    animation: bloodGlow 1.5s ease-in-out infinite alternate;
}

.wanted-subtitle {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 15px #ff0000;
    margin-bottom: 10px;
}

.wanted-warning {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffff00;
    text-shadow: 0 0 10px #ff0000;
    animation: warningPulse 2s ease-in-out infinite;
}

.wanted-divider {
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff6b35, transparent);
    margin: 20px auto;
    border-radius: 2px;
}

@keyframes bloodGlow {
    0% { text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 30px #ff0000; }
    100% { text-shadow: 0 0 20px #ff0000, 0 0 30px #ff0000, 0 0 40px #ff0000; }
}

@keyframes warningPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Wanted Individuals Section */
.wanted-individuals {
    padding: 40px 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    background: #000;
}

.wanted-person {
    background: #1a1a1a;
    border: 4px solid #8B0000;
    border-radius: 0;
    padding: 25px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(139, 0, 0, 0.5);
}

.wanted-person:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.7);
    border-color: #ff0000;
}

.wanted-person.main-target {
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 50%, #8B0000 100%);
    border-color: #ff0000;
    box-shadow: 0 5px 30px rgba(255, 0, 0, 0.8);
}

.wanted-person.secondary-target {
    background: linear-gradient(135deg, #2F4F4F 0%, #696969 50%, #2F4F4F 100%);
    border-color: #ff8c00;
    box-shadow: 0 5px 25px rgba(255, 140, 0, 0.6);
}



.photo-frame {
    width: 280px;
    height: 280px;
    margin: 0 auto 20px;
    border: 8px solid #8B4513;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    background: #000;
    box-shadow: 0 0 20px rgba(139, 69, 19, 0.8), inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.photo-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: photoScan 3s linear infinite;
}

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

.wanted-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%) contrast(120%);
    opacity: 1 !important; /* Fallback for JS loading issues */
}

.person-info h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
}

.person-title {
    font-size: 1.2rem;
    color: #ff6b6b;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reward {
    font-size: 1.4rem;
    font-weight: 900;
    color: #ffff00;
    background: rgba(255, 0, 0, 0.2);
    padding: 10px 20px;
    border-radius: 0;
    border: 2px solid #ff0000;
    margin-bottom: 12px;
    display: inline-block;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.8);
    text-transform: uppercase;
}

.status {
    font-size: 1.3rem;
    font-weight: 900;
    color: #ff4500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(255, 69, 0, 0.8);
}

.current-position, .rotary-info, .crime {
    font-size: 1rem;
    color: #ffa500;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.click-hint {
    font-size: 0.9rem;
    color: #ff0000;
    font-weight: 900;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: clickPulse 1.5s ease-in-out infinite;
    cursor: pointer;
}

@keyframes clickPulse {
    0%, 100% { opacity: 1; text-shadow: 0 0 10px #ff0000; }
    50% { opacity: 0.7; text-shadow: 0 0 5px #ff0000; }
}

.wanted-person.secondary-target {
    cursor: pointer;
}

/* Case Details Section */
.case-details {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    padding: 40px 30px;
    border-top: 4px solid #ff0000;
    border-bottom: 4px solid #ff0000;
}

.case-header {
    text-align: center;
    margin-bottom: 40px;
}

.case-header h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: #ff0000;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-shadow: 0 0 20px #ff0000;
}

.case-subtitle {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffff00;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px #ffff00;
}

.case-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.crime-description h3 {
    font-size: 1.6rem;
    font-weight: 900;
    color: #ff0000;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px #ff0000;
}

.crime-description p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 25px;
    text-align: justify;
    font-weight: 600;
}

.investigation-status h3 {
    font-size: 1.6rem;
    font-weight: 900;
    color: #00ff00;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px #00ff00;
}

.investigation-status ul {
    list-style: none;
    padding: 0;
}

.investigation-status li {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 15px;
    padding: 12px;
    background: rgba(0, 255, 0, 0.1);
    border-left: 4px solid #00ff00;
    border-radius: 0;
    font-weight: 600;
}

/* References Section */
.references {
    padding: 40px 30px;
    background: #1a1a1a;
    border-bottom: 2px solid #ff0000;
}

.references h3 {
    font-size: 2rem;
    font-weight: 900;
    color: #ff0000;
    margin-bottom: 25px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 15px #ff0000;
}

.reference-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reference-link {
    display: block;
    padding: 15px 20px;
    background: #2c2c2c;
    border: 2px solid #ff0000;
    border-radius: 0;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reference-link:hover {
    background: #ff0000;
    color: #fff;
    transform: translateX(5px);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    margin: 2% auto;
    padding: 40px;
    border: 4px solid #ff0000;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.8);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ff0000;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px #ff0000;
}

.close {
    color: #ff0000;
    float: right;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
    text-shadow: 0 0 10px #ff0000;
}

.close:hover {
    color: #fff;
    text-shadow: 0 0 15px #fff;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.gallery-photo {
    border: 6px solid #8B4513;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(139, 69, 19, 0.6);
    position: relative;
}

.gallery-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
}

.gallery-photo .photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.gallery-photo:hover .photo-overlay {
    opacity: 1;
}

.gallery-photo img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    filter: grayscale(20%) contrast(120%);
}

.criminal-evidence {
    background: rgba(139, 0, 0, 0.2);
    border: 2px solid #8B0000;
    padding: 25px;
    margin-bottom: 30px;
}

.criminal-evidence h3 {
    font-size: 1.8rem;
    color: #ff0000;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 15px #ff0000;
}

.evidence-text p {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 600;
}

.evidence-text strong {
    color: #ffff00;
    font-size: 1.2rem;
}

.hashtag {
    color: #ff0000;
    font-weight: 900;
    font-size: 1.3rem;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-actions button {
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-actions button:first-child {
    background: #ff0000;
    color: #fff;
}

.modal-actions button:nth-child(2) {
    background: #ffff00;
    color: #000;
}

.modal-actions button:last-child {
    background: #666;
    color: #fff;
}

.modal-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.5);
}

/* Comments Section */
.victim-comments {
    padding: 40px 30px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
}

.victim-comments h3 {
    font-size: 2rem;
    font-weight: 900;
    color: #ff0000;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 15px #ff0000;
}

.comment-form {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-form textarea {
    width: 100%;
    padding: 15px;
    border: 3px solid #ff0000;
    border-radius: 0;
    font-size: 1rem;
    font-family: 'Arial Black', sans-serif;
    resize: vertical;
    min-height: 120px;
    background: #2c2c2c;
    color: #fff;
    font-weight: 600;
}

.comment-form button {
    align-self: flex-end;
    padding: 15px 35px;
    background: #ff0000;
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form button:hover {
    background: #8B0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.5);
}

.comments-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment {
    background: #1a1a1a;
    border: 2px solid #ff0000;
    border-radius: 0;
    padding: 20px;
    position: relative;
}

.comment::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #ff0000;
    font-family: serif;
    line-height: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-top: 10px;
}

.comment-author {
    font-weight: 900;
    color: #ff0000;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.comment-date {
    color: #ffa500;
    font-size: 0.9rem;
    font-weight: 600;
}

.comment-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
}

.comment-amount {
    font-weight: 900;
    color: #ffff00;
    font-size: 1.1rem;
    text-align: right;
    background: rgba(255, 0, 0, 0.2);
    padding: 8px 12px;
    border-radius: 0;
    border-left: 4px solid #ffff00;
}

/* Footer */
.wanted-footer {
    background: #000;
    color: #ff0000;
    padding: 30px;
    text-align: center;
    border-top: 4px solid #ff0000;
}

.disclaimer {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 600;
}

.contact-info {
    font-size: 1.1rem;
    font-weight: 900;
    color: #ffff00;
    text-shadow: 0 0 10px #ffff00;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wanted-title {
        font-size: 3rem;
    }
    
    .wanted-subtitle {
        font-size: 1.4rem;
    }
    
    .wanted-individuals {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .case-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .photo-frame {
        width: 150px;
        height: 150px;
    }
    
    .person-info h2 {
        font-size: 1.5rem;
    }
    
    .reward {
        font-size: 1.2rem;
    }
    
    .case-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .wanted-container {
        border-width: 4px;
    }
    
    .wanted-header {
        padding: 30px 15px 15px;
    }
    
    .wanted-title {
        font-size: 2.5rem;
    }
    
    .wanted-individuals {
        padding: 30px 20px;
    }
    
    .case-details, .references, .victim-comments {
        padding: 30px 20px;
    }
    
    .comment-form button {
        width: 100%;
    }
}