
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1E1E3F, #6A0DAD);
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    text-align: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    color: #00FFA3;
}

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

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

.card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #FF7F50;
}

.card p {
    font-family: 'Roboto Slab', serif;
    font-size: 1rem;
    color: #E0E0E0;
    margin-bottom: 10px;
}

.card .tags {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.card .tags span {
    background: #00FFA3;
    color: #1E1E3F;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.article-section {
    margin-top: 50px;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 10px;
}

.article-section h2 {
    font-size: 2rem;
    color: #FF7F50;
    margin-bottom: 20px;
}

.article-section pre {
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}

.article-section code {
    color: #00FFA3;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }
}

footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    margin-top: 50px;
    font-size: 0.9rem;
    color: #CCCCCC;
}

