document.addEventListener('DOMContentLoaded', () => {
    const burgerBtn = document.getElementById('burger-btn');
    const mobileMenu = document.getElementById('mobile-menu');
    const mobileLinks = mobileMenu.querySelectorAll('.mobile-link');

    // Открытие/закрытие бургер меню
    burgerBtn.addEventListener('click', () => {
        if (mobileMenu.classList.contains('hidden')) {
            mobileMenu.classList.remove('hidden');
        } else {
            mobileMenu.classList.add('hidden');
        }
    });

    // Закрытие меню при клике на ссылку
    mobileLinks.forEach(link => {
        link.addEventListener('click', () => {
            mobileMenu.classList.add('hidden');
        });
    });
});

tailwind.config = {
    theme: {
        extend: {
            colors: {
                dark: '#0a0a0f',
                darker: '#0f0f1a',
                cyber: {
                    purple: '#7c3aed',
                    blue: '#3b82f6',
                    pink: '#ec4899',
                    dark: '#1a1a2e',
                    gray: '#2d2d3d'
                }
            },
            fontFamily: {
                sans: ['Inter', 'sans-serif'],
                mono: ['JetBrains Mono', 'monospace'],
                display: ['Montserrat', 'sans-serif'],
            }
        }
    }
}