body {
    margin: 0;
    font-family: sans-serif;
    background: #fafafa;
}

.header {
    text-align: center;
    background: #6c63ff;
    padding: 20px;
    color: white;
}

.blog-container {
    display: grid;
    gap: 25px;
    padding: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.blog-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.blog-card:hover {
    transform: scale(1.03);
}

.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: #6c63ff;
    color: white;
    text-decoration: none;
    border-radius: 8px;
}

/* Animation */
.slide-in {
    opacity: 0;
    transform: translateX(30px);
    animation: slideIn 0.8s forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
