* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(100, 255, 218, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #64ffda, #8892b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.subtitle {
    font-size: 1.3rem;
    color: #8892b0;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.social-link {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(100, 255, 218, 0.1);
    border: 2px solid rgba(100, 255, 218, 0.3);
    border-radius: 50px;
    color: #64ffda;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(100, 255, 218, 0.2);
    border-color: #64ffda;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.3);
}

/* Projects Section */
.projects-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 60px;
    color: #ccd6f6;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #64ffda, #8892b0);
    border-radius: 2px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background: rgba(23, 42, 69, 0.7);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(10px);
    cursor: pointer;
    height: 300px;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(100, 255, 218, 0.5);
    box-shadow: 0 20px 40px rgba(100, 255, 218, 0.2);
}

.project-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #172a45;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.project-preview video {
    transition: opacity 0.4s ease;
    opacity: 1;
}

.project-card:hover .project-preview {
    background: rgba(23, 42, 69, 0.9);
}

.preview-placeholder {
    width: 200px;
    height: 120px;
    background: linear-gradient(45deg, #64ffda, #8892b0);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #0f0f23;
    transition: all 0.3s ease;
}

.project-card:hover .preview-placeholder {
    transform: scale(1.1);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(transparent, rgba(15, 15, 35, 0.95));
    transform: translateY(100%);
    transition: all 0.4s ease;
}

.project-card:hover .project-info {
    transform: translateY(0);
}

.project-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ccd6f6;
    margin-bottom: 10px;
}

.project-description {
    color: #8892b0;
    line-height: 1.6;
    margin-bottom: 15px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tech-tag {
    padding: 4px 12px;
    background: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #64ffda;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    color: #64ffda;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border: 1px solid rgba(100, 255, 218, 0.3);
    border-radius: 25px;
}

.project-link:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Background particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(100, 255, 218, 0.5);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-card {
        height: 250px;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
}