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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    position: relative;
    overflow-x: hidden;
    color: #fff;
    background: #1a1a2e;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #1a1a2e, #16213e, #0f3460, #533483);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    z-index: -1;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.music-control {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}

#musicToggle {
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

#musicToggle:hover {
    background: rgba(255, 255, 255, 0.3);
}

header {
    text-align: center;
    padding: 60px 20px 40px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.filter-container {
    margin-bottom: 20px;
}

.filter-dropdown {
    padding: 10px 15px;
    border-radius: 20px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-dropdown:hover {
    background: rgba(255, 255, 255, 0.3);
}

.filter-dropdown option {
    background: #1a1a2e;
    color: white;
}

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 0 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 20px;
}

.project-content h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.project-content p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.project-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.project-status {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 0.9rem;
    padding: 3px 8px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
}

footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

@media (max-width: 768px) {
    .projects {
        grid-template-columns: 1fr;
    }
    
    header h1 {
        font-size: 2rem;
    }
}