
:root {
    --primary-color: #0a0a1a;
    --secondary-color: #1e1e2e;
    --accent-color: #00f0ff;
    --highlight-color: #a0f;
    --text-color: #e0e0e0;
    --card-bg: #1e1e1e;
    --border-radius: 12px;
    --box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

.header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #00f0ff, #a0f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    z-index: 2;
}

.header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.note {
    background: rgba(0, 240, 255, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 1rem;
    margin: 2rem auto;
    max-width: 800px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

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

.article {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

.article::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(160, 0, 255, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.article h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    position: relative;
    z-index: 1;
}

.article h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: #fff;
    position: relative;
    z-index: 1;
}

.article p {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.article span {
    color: var(--accent-color);
    font-weight: bold;
}

.article strong {
    color: #fff;
}

.code-container {
    background: #1a1a2e;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.code-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-color), var(--highlight-color));
}

pre {
    margin: 0;
    overflow: auto;
}

code {
    font-family: 'Courier New', monospace;
    color: #e0e0e0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.footer {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin-top: 3rem;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(160, 0, 255, 0.1) 0%, transparent 70%);
}

.navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.nav-link {
    padding: 0.5rem 1rem;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 20px;
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.nav-link:hover {
    background: rgba(0, 240, 255, 0.2);
    transform: translateY(-2px);
}

.abstract-shape {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

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

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8rem;
    }
    
    .article h2 {
        font-size: 1.5rem;
    }
    
    .article h3 {
        font-size: 1.3rem;
    }
}

