/* Fontes */
@font-face {
    font-family: 'sd-asian';
    src: url('../fonts/sd-asian.ttf') format('truetype');
    font-display: swap;
}

/* Estilos Base */
body {
    background-color: #121212;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

body, *:hover { 
    cursor: url(../images/cursor.png), auto; 
}

/* Navbar */
.navbar {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    width: 200px;
    transition: all 0.3s ease;
}

.nav-link {
    font-family: 'sd-asian', sans-serif;
    font-size: 1.1rem;
    margin: 0 0.5rem;
    position: relative;
    color: white !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #EAAC15;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Container dos Wallpapers */
.wallpapers-container {
    padding: 2rem;
    margin-top: 80px;
}

.wallpaper-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    height: 300px;
}

.wallpaper-card:hover {
    transform: translateY(-10px);
}

.wallpaper-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.wallpaper-card:hover .wallpaper-img {
    transform: scale(1.1);
}

.wallpaper-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%);
    z-index: 1;
}

.wallpaper-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-family: 'Protest Revolution', sans-serif;
    font-size: 1.8rem;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.wallpaper-actions {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-download, .btn-like {
    background-color: rgba(234, 172, 21, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-download:hover, .btn-like:hover {
    background-color: #EAAC15;
    transform: scale(1.1);
}

.like-count {
    font-size: 1rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Controle de Volume */
.volume-control {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0.75rem 1rem;
    border-radius: 50px;
    z-index: 1000;
}

.volume-btn {
    background: none;
    border: none;
    color: #EAAC15;
    font-size: 1.2rem;
    cursor: pointer;
}

.volume-slider {
    width: 100px;
    height: 6px;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #EAAC15;
    cursor: pointer;
}

/* Responsividade */
@media (max-width: 992px) {
    .wallpaper-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .wallpapers-container {
        padding: 1rem;
    }
    
    .wallpaper-card {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .wallpaper-title {
        font-size: 1.2rem;
        bottom: 15px;
        left: 15px;
    }
    
    .wallpaper-actions {
        bottom: 15px;
        right: 15px;
    }
    
    .btn-download, .btn-like {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}