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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    color: #111;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

header h1 { 
    color: #1a73e8; 
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeSlideDown 1s forwards;
}

header p {
    font-size: 1.2rem;
    color: #555;
    opacity: 0;
    animation: fadeSlideDown 1s forwards;
    animation-delay: 0.5s;
}

section {
    background: #f7faff;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.code-container {
    background: #e0f0ff;
    color: #0a3d62;
    font-family: 'Courier New', monospace;
    padding: 1rem;
    border-radius: 10px;
    overflow-x: auto;
    white-space: pre;
}

.code-container .line {
    display: block;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideFade 0.5s forwards;
}

/* Animations */
@keyframes fadeSlideDown {
    from {opacity:0; transform:translateY(-20px);}
    to {opacity:1; transform:translateY(0);}
}

@keyframes slideFade {
    to {opacity:1; transform:translateX(0);}
}
