
:root {
    --primary-color: #0000FF;
    --secondary-color: #8A2BE2;
    --accent-color: #00FF7F;
    --dark-bg: #121212;
    --light-bg: #f0f0f0;
    --text-color: #ffffff;
    --shadow-color: rgba(0, 0, 255, 0.3);
    --transition-speed: 0.4s;
}

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

header {
    position: relative;
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(90deg, #0000FF, #8A2BE2, #0000FF);
    color: var(--light-bg);
    box-shadow: 0 10px 20px var(--shadow-color);
}

header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

header p {
    font-size: 1.2rem;
    margin-top: 10px;
    opacity: 0.9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.section {
    background: var(--light-bg);
    color: #000;
    border-radius: 10px;
    margin: 20px 0;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

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

.grid-item {
    background: var(--dark-bg);
    color: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: background var(--transition-speed) ease;
}

.grid-item:hover {
    background: var(--secondary-color);
}

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

code {
    background: #1e1e1e;
    color: #00ff7f;
    padding: 10px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    display: block;
    white-space: pre-wrap;
    word-break: break-word;
}

.button {
    background: var(--primary-color);
    color: var(--light-bg);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background var(--transition-speed) ease;
}

.button:hover {
    background: var(--secondary-color);
}

footer {
    text-align: center;
    padding: 20px;
    background: var(--dark-bg);
    color: var(--light-bg);
    margin-top: 40px;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 15px;
    }
}

