
:root {
    --main-bg-color: #121212;
    --accent-color: #4B0082;
    --secondary-accent: #00BFFF;
    --text-color: #FFFFFF;
    --hover-glow: rgba(75, 0, 130, 0.8);
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    --gradient-bg: linear-gradient(135deg, #121212, #2C3E50);
    --code-bg: #1E1E1E;
    --code-text: #D4D4D4;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: var(--gradient-bg);
    color: var(--text-color);
    line-height: 1.6;
    letter-spacing: 0.5px;
}

header {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--gradient-bg);
}

header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--secondary-accent);
}

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

section {
    margin-bottom: 2rem;
    background: var(--main-bg-color);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
}

h2, h3 {
    font-family: 'Fira Code', monospace;
    font-weight: bold;
    color: var(--secondary-accent);
}

p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

pre {
    background: var(--code-bg);
    color: var(--code-text);
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
}

button {
    background: var(--accent-color);
    color: var(--text-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px var(--hover-glow);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1rem 0;
}

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

    section {
        padding: 1rem;
    }

    pre {
        font-size: 0.8rem;
    }
}

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

    p {
        font-size: 0.9rem;
    }
}

.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: particle-animation 2s infinite;
}

@keyframes particle-animation {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

