document.addEventListener('DOMContentLoaded', function() { initHeader(); initCasinoCards(); initAnimations(); initSearch(); initSmoothScroll(); initScrollEffects(); }); document.addEventListener('click', e => { const a = e.target.closest('a[href="#"]'); if (a) { e.preventDefault(); } }); const casinos = [ { id: 1, name: '7K CASINO', url: 'https://match-sevenkpartnerstraffic.com/l/6974c388bffefb2c5f06d6f2', logo: '⭐', rating: 4.8, reviews: 3120, bonus: '100% до 150 000 ₽', freeSpins: 500, minDeposit: '100 ₽', payoutSpeed: '30 мин', license: 'Curacao', paymentMethods: ['card', 'wallet', 'crypto', 'mobile'], features: ['5000+ игр', 'Live казино', 'Мобильное приложение'], badge: 'Популярное', badgeColor: 'primary' }, { id: 2, name: 'BEEF CASINO', url: 'https://beef-way-three.com/c39e458e3', logo: '🪙', rating: 4.9, reviews: 2780, bonus: '100% до 200 000 ₽', freeSpins: 180, minDeposit: '1000 ₽', payoutSpeed: '10 мин', license: 'Curacao', paymentMethods: ['card', 'crypto'], features: ['Криптовалюта', 'Мгновенные выплаты', 'VIP программа'], badge: 'Лучший выбор', badgeColor: 'primary' }, { id: 3, name: 'MARTIN CASINO', url: 'https://martin-route-six.com/c73a1ed3a', logo: '⚡', rating: 4.8, reviews: 980, bonus: '100% до 100 000 ₽', freeSpins: 150, minDeposit: '500 ₽', payoutSpeed: '5 мин', license: 'Curacao', paymentMethods: ['card', 'wallet', 'crypto'], features: ['Самые быстрые выплаты', 'Без комиссии', 'High rollers'], badge: 'Хит', badgeColor: 'secondary' }, { id: 4, name: 'FLAGMAN CASINO', url: 'https://flagman-way-four.com/c587a2df9', logo: '☀️', rating: 4.5, reviews: 210, bonus: '100% до 200 000 ₽', freeSpins: 200, minDeposit: '500 ₽', payoutSpeed: '20 мин', license: 'Curacao', paymentMethods: ['crypto'], features: ['Solana сеть', 'Low fees', 'NFT коллекции'], badge: 'NEW', badgeColor: 'success' }, { id: 5, name: 'AZINO777', url: 'https://l9p.bhf5727b0f.com/promo/click/68e911fe6b4fb', logo: '🎲', rating: 4.8, reviews: 1560, bonus: '100% до 200 000 ₽', freeSpins: 250, minDeposit: '500 ₽', payoutSpeed: '25 мин', license: 'Curacao', paymentMethods: ['card', 'wallet', 'crypto'], features: ['Эксклюзивные игры', 'Быстрая верификация', '24/7 поддержка'], badge: 'Рекомендуем', badgeColor: 'secondary' }, { id: 6, name: 'PLAYFORTUNA', url: 'https://fortuna-promo1.net/alt/playfortuna/registration?c85a63b593552902626a0fccfd1b8a5c', logo: '🎰', rating: 4.9, reviews: 2450, bonus: '100% до 100 000 ₽', freeSpins: 200, minDeposit: '500 ₽', payoutSpeed: '15 мин', license: 'Curacao', paymentMethods: ['card', 'wallet', 'crypto'], features: ['Мгновенные выплаты', 'Бонус на депозит', 'VIP программа'], badge: 'Топ', badgeColor: 'secondary' }, { id: 7, name: 'VAVADA CASINO', url: 'https://gate707.com/?promo=86859097-b30c-4ce6-931b-42f64c40b82e&target=register', logo: '💎', rating: 4.7, reviews: 1890, bonus: '100% до 100 000 ₽', freeSpins: 100, minDeposit: '300 ₽', payoutSpeed: '20 мин', license: 'Curacao', paymentMethods: ['card', 'wallet', 'crypto'], features: ['Турниры', 'Кэшбэк 10%', 'Без верификации'], badge: null, badgeColor: null }, { id: 8, name: 'RIOBET CASINO', url: 'https://tracker.referilink.com/link?btag=103028746_478044', logo: '🌴', rating: 4.6, reviews: 2100, bonus: '100% до 150 000 ₽', freeSpins: 200, minDeposit: '500 ₽', payoutSpeed: '30 мин', license: 'Curacao', paymentMethods: ['card', 'wallet', 'crypto'], features: ['Турниры', 'VIP программа', 'Live чат'], badge: null, badgeColor: null }, { id: 9, name: 'JOYCASINO', url: 'https://52199.call2me.pro/en/registration?partner=p52199p3326563pe729', logo: '😊', rating: 4.7, reviews: 3200, bonus: '200% до 100 000 ₽', freeSpins: 100, minDeposit: '100 ₽', payoutSpeed: '20 мин', license: 'Curacao', paymentMethods: ['card', 'wallet', 'crypto'], features: ['Большой выбор слотов', 'Быстрые выплаты', 'Мобильная версия'], badge: null, badgeColor: null }, { id: 10, name: 'IRWIN CASINO', url: 'https://irwinroute1.com/c40749c93', logo: '🎯', rating: 4.8, reviews: 890, bonus: '100% до 500 000 ₽', freeSpins: 400, minDeposit: '1000 ₽', payoutSpeed: '10 мин', license: 'Curacao', paymentMethods: ['card', 'crypto'], features: ['Provably fair', 'Sports betting', 'Live streaming'], badge: 'HOT', badgeColor: 'warning' }, { id: 11, name: 'GIZBO CASINO', url: 'https://gzb-blcp10.com/c9e65f538', logo: '🎮', rating: 4.5, reviews: 1500, bonus: '100% до 150 000 ₽', freeSpins: 150, minDeposit: '300 ₽', payoutSpeed: '15 мин', license: 'Curacao', paymentMethods: ['card', 'wallet', 'crypto'], features: ['Современный дизайн', 'Быстрая регистрация', 'Кэшбэк'], badge: null, badgeColor: null }, { id: 12, name: 'LEX CASINO', url: 'https://lex-blcp10.com/c548a516d', logo: '🏛️', rating: 4.4, reviews: 1200, bonus: '100% до 100 000 ₽', freeSpins: 100, minDeposit: '500 ₽', payoutSpeed: '25 мин', license: 'Curacao', paymentMethods: ['card', 'wallet', 'crypto'], features: ['Классические игры', 'Надежность', 'Поддержка 24/7'], badge: null, badgeColor: null }, { id: 13, name: '1GO CASINO', url: 'https://1go-blcp10.com/cc4a4605e', logo: '🚀', rating: 4.6, reviews: 1800, bonus: '100% до 200 000 ₽', freeSpins: 200, minDeposit: '200 ₽', payoutSpeed: '10 мин', license: 'Curacao', paymentMethods: ['card', 'wallet', 'crypto', 'mobile'], features: ['Быстрые выплаты', 'Мобильная оптимизация', 'Турниры'], badge: null, badgeColor: null }, { id: 14, name: 'MONRO CASINO', url: 'https://monroway1.com/cbbcc7331', logo: '💰', rating: 4.5, reviews: 1600, bonus: '100% до 150 000 ₽', freeSpins: 150, minDeposit: '300 ₽', payoutSpeed: '20 мин', license: 'Curacao', paymentMethods: ['card', 'wallet', 'crypto'], features: ['Кэшбэк', 'VIP программа', 'Большой выбор игр'], badge: null, badgeColor: null }, { id: 15, name: 'DRIP CASINO', url: 'https://drp-blcp10.com/caa284b8f', logo: '💧', rating: 4.3, reviews: 900, bonus: '100% до 100 000 ₽', freeSpins: 100, minDeposit: '500 ₽', payoutSpeed: '30 мин', license: 'Curacao', paymentMethods: ['card', 'wallet', 'crypto'], features: ['Стильный дизайн', 'Бонусы', 'Удобный интерфейс'], badge: null, badgeColor: null }, { id: 16, name: 'STARDA CASINO', url: 'https://strd-blcp21.com/cb4b05d78', logo: '⭐', rating: 4.4, reviews: 1300, bonus: '100% до 150 000 ₽', freeSpins: 150, minDeposit: '300 ₽', payoutSpeed: '25 мин', license: 'Curacao', paymentMethods: ['card', 'wallet', 'crypto'], features: ['Космическая тематика', 'Турниры', 'Кэшбэк'], badge: null, badgeColor: null }, { id: 17, name: 'LEGZO CASINO', url: 'https://gzo-blcp10.com/c402e3152', logo: '🎰', rating: 4.5, reviews: 1400, bonus: '100% до 200 000 ₽', freeSpins: 200, minDeposit: '200 ₽', payoutSpeed: '15 мин', license: 'Curacao', paymentMethods: ['card', 'wallet', 'crypto'], features: ['Быстрые выплаты', 'Большой выбор слотов', 'VIP программа'], badge: null, badgeColor: null }, { id: 18, name: 'VOLNA CASINO', url: 'https://vln-blcp10.com/c561979ce', logo: '🌊', rating: 4.6, reviews: 1700, bonus: '100% до 150 000 ₽', freeSpins: 150, minDeposit: '300 ₽', payoutSpeed: '20 мин', license: 'Curacao', paymentMethods: ['card', 'wallet', 'crypto'], features: ['Морская тематика', 'Турниры', 'Кэшбэк'], badge: null, badgeColor: null }, { id: 19, name: 'JET CASINO', url: 'https://jtb-emufrap.com/cdde45a17', logo: '✈️', rating: 4.7, reviews: 2000, bonus: '100% до 200 000 ₽', freeSpins: 200, minDeposit: '200 ₽', payoutSpeed: '10 мин', license: 'Curacao', paymentMethods: ['card', 'wallet', 'crypto', 'mobile'], features: ['Быстрые выплаты', 'Мобильная оптимизация', 'Турниры'], badge: null, badgeColor: null }, { id: 20, name: 'IZZI CASINO', url: 'https://izzi-bal03.com/c40ac99d4', logo: '🎨', rating: 4.4, reviews: 1100, bonus: '100% до 100 000 ₽', freeSpins: 100, minDeposit: '500 ₽', payoutSpeed: '25 мин', license: 'Curacao', paymentMethods: ['card', 'wallet', 'crypto'], features: ['Творческий подход', 'Бонусы', 'Удобный интерфейс'], badge: null, badgeColor: null } ]; const newCasinos = [ { id: 21, name: 'Beef', url: 'https://beef-way-three.com/c39e458e3', logo: '🔮', rating: 4.6, reviews: 320, bonus: '200% до 300 000 ₽', freeSpins: 350, minDeposit: '200 ₽', payoutSpeed: '10 мин', license: 'Curacao', paymentMethods: ['crypto'], features: ['Только крипта', 'Анонимность', 'NFT бонусы'], badge: 'NEW', badgeColor: 'success' }, { id: 22, name: 'Martin', url: 'https://martin-route-six.com/c7ca1c5b1', logo: '🚀', rating: 4.7, reviews: 450, bonus: '150% до 250 000 ₽', freeSpins: 300, minDeposit: '300 ₽', payoutSpeed: '15 мин', license: 'Curacao', paymentMethods: ['card', 'wallet', 'crypto', 'mobile'], features: ['VR казино', 'Social gaming', 'Гонки слотов'], badge: 'NEW', badgeColor: 'success' }, { id: 23, name: 'Flagman', url: 'https://flagman-way-four.com/c587a2df9', logo: '☀️', rating: 4.5, reviews: 210, bonus: '100% до 200 000 ₽', freeSpins: 200, minDeposit: '500 ₽', payoutSpeed: '20 мин', license: 'Curacao', paymentMethods: ['crypto'], features: ['Solana сеть', 'Low fees', 'NFT коллекции'], badge: 'NEW', badgeColor: 'success' }, { id: 24, name: 'Irwin', url: 'https://irwinroute1.com/ce0e89171', logo: '🎯', rating: 4.8, reviews: 890, bonus: '100% до 500 000 ₽', freeSpins: 400, minDeposit: '1000 ₽', payoutSpeed: '10 мин', license: 'Curacao', paymentMethods: ['card', 'crypto'], features: ['Provably fair', 'Sports betting', 'Live streaming'], badge: 'HOT', badgeColor: 'warning' } ]; function initHeader() { const header = document.querySelector('header'); let lastScroll = 0; window.addEventListener('scroll', () => { const currentScroll = window.pageYOffset; if (currentScroll > 100) { header.classList.add('bg-gray-950/95', 'backdrop-blur-lg', 'shadow-lg'); } else { header.classList.remove('bg-gray-950/95', 'backdrop-blur-lg', 'shadow-lg'); } lastScroll = currentScroll; }); } function initCasinoCards() { renderCasinoCards(casinos, 'casinos-grid'); renderCasinoCards(newCasinos, 'new-casinos-grid'); } function renderCasinoCards(casinosList, containerId) { const container = document.getElementById(containerId); if (!container) return; container.innerHTML = casinosList.map((casino, index) => `