.wallpaper-main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.filter-bar {
    margin: 30px 0;
    text-align: center;
}

.filter-bar button {
    background: none;
    border: 1px solid #8B0000;
    color: #8B0000;
    padding: 8px 20px;
    margin: 0 10px;
    border-radius: 4px;
    cursor: pointer;
}

.filter-bar button.active {
    background: #8B0000;
    color: #fff;
}

.wallpaper-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.wallpaper-item {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
}

.wallpaper-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.wallpaper-item:hover img {
    transform: scale(1.1);
}

.wallpaper-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(0,0,0,0.7);
    color: #fff;
}

.wallpaper-info h3 {
    margin-bottom: 5px;
}

.fullscreen-viewer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
}

.fullscreen-viewer img {
    max-width: 90%;
    max-height: 90vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.download-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #8B0000;
    color: #fff;
    text-decoration: none;
    padding: 10px 30px;
    border-radius: 4px;
} 