
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #3498db, #8e44ad);
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    text-align: center;
    padding: 50px 20px;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    margin: 0;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 10%, transparent 10%);
    animation: moveLight 10s linear infinite;
}

@keyframes moveLight {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.module {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.module:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.module h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.module p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.particle {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    position: absolute;
    border-radius: 50%;
    animation: moveParticle 5s infinite alternate;
}

@keyframes moveParticle {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

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

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

    .module {
        padding: 15px;
    }

    pre code {
        font-size: 0.8rem;
        white-space: pre-wrap;
        word-break: break-word;
    }
}

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

code {
    color: #66fcf1;
    font-family: 'Courier New', Courier, monospace;
}

footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

