
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    text-align: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    z-index: -1;
}

header h1 {
    font-size: 2.5em;
    margin: 0;
    background: linear-gradient(90deg, #ffcc00, #ff6600);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

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

.card h3 {
    font-size: 1.5em;
    margin-top: 0;
}

.card p {
    font-size: 0.9em;
    color: #e0e0e0;
}

.card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    transition: bottom 0.5s ease;
}

.card:hover::after {
    bottom: -10%;
}

.article-section {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px 20px;
    margin: 20px 0;
    border-radius: 15px;
}

.article-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.article-section pre {
    background: #1e1e1e;
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
}

.article-section code {
    color: #ffcc00;
    font-size: 0.9em;
}

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

    .card {
        padding: 15px;
    }

    .article-section {
        padding: 30px 15px;
    }
}

