body {
    background-color: #3d3d3d;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.2) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size:100px 100px, 100px 100px, 20px 20px, 20px 20px;
    background-position:-2px -2px, -2px -2px, -1px -1px, -1px -1px;
    font-family: 'Roboto Condensed', sans-serif;
    color: #f0f0f0;
    margin: 0;
    padding: 20px;
    overflow-x: hidden;
}

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

header h1 {
    font-family: 'Special Elite', cursive;
    font-size: 3em;
    color: #E6D5B8;
    text-shadow: 2px 2px 4px #000;
    margin: 0;
}

.header-line {
    width: 80%;
    height: 2px;
    background: #E6D5B8;
    margin: 10px auto;
    opacity: 0.7;
}

#bulletin-board {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 20px;
    min-height: 70vh;
}

.case-file {
    background-color: #C19A6B; /* Manila folder color */
    border: 1px solid #8B6914;
    border-radius: 5px;
    width: 350px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.5);
    padding: 20px;
    padding-top: 40px;
    position: relative;
    transform: rotate(-2deg); /* Slight tilt */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.case-file:nth-child(even) {
    transform: rotate(2deg);
}

.case-file:hover {
    transform: rotate(0) scale(1.05);
    z-index: 10;
    box-shadow: 8px 8px 25px rgba(0,0,0,0.7);
}

.case-file::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 20px;
    width: 100px;
    height: 20px;
    background: #a98458;
    border-radius: 3px 3px 0 0;
    border-left: 1px solid #8B6914;
    border-top: 1px solid #8B6914;
    border-right: 1px solid #8B6914;
}

.case-file h2 {
    font-family: 'Special Elite', cursive;
    font-size: 1.8em;
    color: #333;
    border-bottom: 1px solid rgba(0,0,0,0.3);
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 15px;
}

.case-file .photo {
    width: 100%;
    height: 200px;
    background-color: #eee;
    border: 5px solid #fff;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    position: relative;
    transform: rotate(3deg);
}

.case-file .photo::after {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 25px;
    background-color: rgba(211, 211, 211, 0.6);
    border: 1px solid #aaa;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
}

.case-file .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) sepia(0.3);
}

.case-file p {
    font-size: 1em;
    line-height: 1.5;
    color: #212121;
}

.case-file .crime-type {
    font-family: 'Special Elite', cursive;
    background-color: #a00;
    color: white;
    padding: 3px 8px;
    display: inline-block;
    border-radius: 3px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 0.9em;
}

#loading-spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #c19a6b;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin-top: 50px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

