
:root {
    --primary-color: #0A192F;
    --secondary-color: #1E2D3D;
    --accent-color: #FFC67D;
    --highlight-color: #56DE4E;
    --text-color: #FFFFFF;
    --retro-border: 2px solid #FFC67D;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--primary-color), #050A13);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    text-align: center;
    padding: 50px 20px;
    background: rgba(10, 25, 47, 0.8);
    position: relative;
    overflow: hidden;
}

header h1 {
    font-family: 'Bodoni Poster', serif;
    font-size: 3rem;
    color: var(--accent-color);
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

header .subtitle {
    font-size: 1.2rem;
    color: var(--highlight-color);
    margin-top: 10px;
}

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

.module {
    background: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    padding: 20px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    position: relative;
    overflow: hidden;
}

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

.module img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
}

.module h2 {
    font-family: 'Bodoni Poster', serif;
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.module p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.code-block {
    background: #0A192F;
    color: #56DE4E;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

.retro-image {
    filter: grayscale(20%) contrast(1.2) brightness(0.9);
    border: var(--retro-border);
    border-radius: 10px;
    transition: filter 0.3s;
}

.retro-image:hover {
    filter: grayscale(0%) contrast(1.2) brightness(1.1);
}

.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: var(--highlight-color);
    border-radius: 50%;
    animation: particles 5s infinite linear;
    top: 50%;
    left: 50%;
}

@keyframes particles {
    0% { transform: translate(-50%, -50%) translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translate(-50%, -50%) translateX(100%); opacity: 0; }
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: var(--highlight-color);
    background: rgba(10, 25, 47, 0.8);
    margin-top: 40px;
}

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

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

    .module {
        padding: 15px;
    }
}

@media (min-width: 1024px) {
    .container {
        grid-template-columns: repeat(3, 1fr);
    }
}

