
:root {
    --primary-color: #000099;
    --secondary-color: #6600CC;
    --accent-color: #33CCFF;
    --background-gradient: linear-gradient(135deg, #000099, #6600CC);
    --tab-hover: rgba(255, 255, 255, 0.5);
    --tab-active: rgba(255, 255, 255, 0.8);
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: #fff;
    background: var(--background-gradient);
    overflow-x: hidden;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    letter-spacing: 2px;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.tab-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: var(--font-secondary);
    font-size: 1rem;
}

.tab:hover {
    background: var(--tab-hover);
}

.tab.active {
    background: var(--tab-active);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.content {
    opacity: 0;
    transition: opacity 0.5s ease;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

.content.active {
    opacity: 1;
}

h2, h3 {
    font-family: var(--font-secondary);
    margin-bottom: 15px;
    color: var(--accent-color);
}

p {
    margin-bottom: 15px;
    line-height: 1.8;
}

pre {
    background: rgba(0, 0, 0, 0.6);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

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

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

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

    .tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    header h1 {
        font-size: 1.8rem;
    }

    .tab {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    pre {
        font-size: 0.8rem;
    }
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    animation: float 5s infinite ease-in-out;
    z-index: -1;
}

@keyframes float {
    0% { transform: translateY(-10px); }
    50% { transform: translateY(10px); }
    100% { transform: translateY(-10px); }
}

