@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0f0f0f, #1a1a1a, #2d2d2d);
    color: #e0e0e0;
    min-height: 100vh;
    background-size: 400% 400%;
    animation: darkGradient 20s ease infinite;
}

@keyframes darkGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
    border-bottom: 2px solid #333;
    padding-bottom: 20px;
    position: relative;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #1f1f1f;
    border: 1px solid #333;
    border-radius: 6px;
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    z-index: 10;
    position: relative;
}

.back-btn:hover {
    background: #2a2a2a;
    border-color: #444;
    transform: translateX(-3px);
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: #444;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.project-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #333, #444);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

.project-title {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
}

.project-content {
    margin-bottom: 25px;
}

.project-description {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 16px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #2a2a2a;
    border: 1px solid #444;
    color: #e0e0e0;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #333;
    border-color: #555;
}

.project-footer {
    border-top: 1px solid #333;
    padding-top: 20px;
}

.project-links {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #2a2a2a, #1f1f1f);
    border: 1px solid #444;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: linear-gradient(135deg, #333, #2a2a2a);
    border-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.project-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
    border: 1px solid #333;
    border-radius: 6px;
    color: #888;
    font-weight: 500;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }
    
    .header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .page-title {
        margin-left: 0;
        font-size: 28px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-card {
        padding: 20px;
    }
    
    .project-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .back-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .project-title {
        font-size: 20px;
    }
    
    .project-tags {
        justify-content: center;
    }
}