* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

header h1 {
    font-size: 3.5em;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    max-width: 900px;
    margin: 30px auto;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: slideUp 0.6s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.25);
}

section h2 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 2.2em;
    border-bottom: 3px solid #667eea;
    padding-bottom: 15px;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    width: 0;
    animation: expandWidth 0.6s ease forwards;
}

@keyframes expandWidth {
    to { width: 100%; }
}

section h3 {
    color: #764ba2;
    margin-top: 25px;
    margin-bottom: 12px;
    font-size: 1.4em;
    transition: color 0.3s ease;
}

section h3:hover {
    color: #667eea;
}

section p {
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.8;
    color: #34495e;
}

section ul {
    margin-left: 30px;
    margin-top: 20px;
}

section li {
    margin-bottom: 12px;
    padding: 10px 15px;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-left: 4px solid #667eea;
    border-radius: 4px;
    transition: all 0.3s ease;
    list-style: none;
    position: relative;
}

section li::before {
    content: '✓';
    position: absolute;
    left: -25px;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2em;
}

section li:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

#about {
    border-top: 5px solid #667eea;
}

#skills {
    border-top: 5px solid #764ba2;
}

#interests {
    border-top: 5px solid #f093fb;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.5em;
        letter-spacing: 1px;
    }

    section {
        margin: 20px;
        padding: 25px;
    }

    section h2 {
        font-size: 1.8em;
    }

    section h3 {
        font-size: 1.2em;
    }

    body {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2em;
    }

    section {
        margin: 15px;
        padding: 20px;
    }

    section h2 {
        font-size: 1.5em;
    }

    section p {
        font-size: 1em;
    }
}

