
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Lora:ital,wght@0,400;1,700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #00008B, #000000);
    color: #ffffff;
    line-height: 1.6;
}

header {
    position: relative;
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #00008B, #000040);
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #00ff99;
    text-shadow: 0 0 10px rgba(0, 255, 153, 0.5);
}

.dot-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 20px);
    background-size: 20px 20px;
    animation: grid-animation 10s infinite linear;
}

@keyframes grid-animation {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-20px) translateY(-20px); }
}

section {
    padding: 40px 20px;
    position: relative;
}

.module {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 153, 0.2), transparent);
    transform: rotate(45deg);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

.button {
    background: #00ff99;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.5s ease;
}

.button:active::after {
    width: 200%;
    height: 200%;
    opacity: 0;
}

code {
    background: rgba(0, 255, 153, 0.1);
    color: #00ff99;
    padding: 5px;
    border-radius: 5px;
    display: block;
    overflow-x: auto;
}

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

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

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