* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #121212;
    color: #f0f0f0;
}

header {
    background: #1f1f1f;
    padding: 1em;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: background 0.3s;
}

header h1 {
    margin: 0;
    font-size: 1.8em;
    animation: fadeInDown 1s ease;
}

nav {
    margin-top: 0.5em;
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
}

nav a {
    color: #80caff;
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover {
    color: #ffaf60;
}

main {
    padding: 2em;
}

section {
    margin-bottom: 3em;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

section:nth-child(1) { animation-delay: 0.2s; }
section:nth-child(2) { animation-delay: 0.4s; }
section:nth-child(3) { animation-delay: 0.6s; }
section:nth-child(4) { animation-delay: 0.8s; }
section:nth-child(5) { animation-delay: 1s; }

footer {
    text-align: center;
    padding: 1em;
    background: #1f1f1f;
    color: #aaa;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
