@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;700&family=Bree+Serif&display=swap');

body {
    background-color: #8B4513;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: 'Bree Serif', serif;
    padding: 20px;
    background-image: 
        linear-gradient(rgba(139, 69, 19, 0.7), rgba(101, 67, 33, 0.7)),
        url('/depositphotos_13621002-stock-photo-old-western-wanted-poster-on.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.wanted-panel {
    background-color: rgba(245, 222, 179, 0.9);
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    justify-content: center;
    border: 10px solid #5D4037;
    position: relative;
    max-width: 1800px;
}

.wanted-title {
    width: 100%;
    text-align: center;
    color: #8B0000;
    font-size: 4em;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 40px;
    text-shadow: 3px 3px 5px rgba(0,0,0,0.3);
    font-family: 'Bree Serif', serif;
}

.wanted-card {
    background-color: #F5DEB3;
    text-align: center;
    padding: 35px;
    border: 8px solid #8B0000;
    max-width: 350px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.5);
    transform-origin: center;
}

.wanted-card:hover {
    transform: rotate(3deg) scale(1.05);
}

.wanted-card::before {
    content: 'WANTED';
    position: absolute;
    top: -20px;
    left: -20px;
    background: #8B0000;
    color: #FFD700;
    padding: 5px 30px;
    transform: rotate(-45deg);
    font-weight: bold;
    z-index: 1;
}

.wanted-card img {
    max-width: 100%;
    height: 350px;
    object-fit: cover;
    border: 5px solid #5D4037;
    transition: filter 0.3s ease;
}

.wanted-card:hover img {
    filter: sepia(50%) contrast(120%);
}

.wanted-card h2 {
    color: #8B0000;
    text-transform: uppercase;
    margin: 15px 0;
    font-size: 2.2em;
    letter-spacing: 2px;
}

.wanted-card .bounty {
    color: #D2691E;
    font-weight: bold;
    font-size: 1.5em;
    margin: 15px 0;
}

.wanted-card .description {
    font-size: 1.2em;
    color: #333;
    margin-top: 15px;
    font-style: italic;
}

.instruction-text {
    width: 100%;
    text-align: center;
    background-color: rgba(255, 215, 0, 0.2);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 3px dashed #8B0000;
}

.instruction-text h2 {
    color: #8B0000;
    font-size: 2em;
    margin-bottom: 15px;
    font-family: 'Bree Serif', serif;
}

.instruction-text p {
    color: #5D4037;
    font-size: 1.2em;
    margin: 10px 0;
    font-style: italic;
}

@media (max-width: 2200px) {
    .wanted-panel {
        max-width: 1600px;
    }
}

@media (max-width: 1800px) {
    .wanted-panel {
        max-width: 1400px;
    }
}

@media (max-width: 1400px) {
    .wanted-panel {
        max-width: 1100px;
    }
}

@media (max-width: 1000px) {
    .wanted-panel {
        flex-direction: row;
        max-width: 900px;
    }
}

@media (max-width: 700px) {
    .wanted-panel {
        flex-direction: column;
        align-items: center;
    }
}