/* Blog Header Styles */
.blog-header {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 102, 255, 0.1));
    position: relative;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300ff88' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
}

.blog-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-header p {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Blog Main Content */
.blog-main {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Blog Post Styles */
.blog-post {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.post-header {
    margin-bottom: 2rem;
}

.post-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.post-meta {
    display: flex;
    gap: 1rem;
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
}

.post-content {
    color: var(--text-color);
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.post-content ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.post-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-header {
        padding: 6rem 1rem 3rem;
    }

    .blog-header h1 {
        font-size: 2.5rem;
    }

    .blog-main {
        padding: 2rem 1rem;
    }

    .blog-post {
        padding: 1.5rem;
    }

    .post-header h2 {
        font-size: 1.75rem;
    }
}

/* Active Navigation Link */
.nav-link.active {
    color: var(--primary-color);
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-1);
    border-radius: 2px;
}

/* Custom Scrollbar for Blog */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Add glow effect when scrolling */
::-webkit-scrollbar-thumb:active {
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    box-shadow: 0 0 20px var(--primary-color);
}