/* ================================================== */
/* 1. ОБЩИЕ НАСТРОЙКИ И ФИЛЬТРЫ */
/* ================================================== */
:root { --game-primary: #5e35b1; --game-secondary: #00c6a7; --card-bg: #ffffff; --text-dark: #515050; --text-muted: #6c757d; --border-radius: 12px; --transition: all 0.3s ease; }
.filters-section { padding: 20px 0; background: white; border-bottom: 1px solid #e9ecef; position: sticky; top: 80px; z-index: 100; }
.filters { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.filter-group { display: flex; align-items: center; gap: 10px; }
.filter-group label { font-weight: 600; font-size: 0.9rem; color: var(--text-muted); margin: 0; white-space: nowrap; }
.filter-select { padding: 8px 30px 8px 15px; border: 1px solid #e9ecef; border-radius: 8px; background: white; font-weight: 600; cursor: pointer; font-size: 0.9rem; color: var(--text-dark); outline: none; appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 10px center; background-size: 14px; }
.filter-select:hover { border-color: #667eea; }
.filter-tags { display: flex; gap: 10px; flex-wrap: wrap; font-size: 0.9rem; margin-left: auto; }
.filter-tag { text-decoration: none; display: inline-block; padding: 6px 14px; background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 20px; font-weight: 600; font-size: 0.85rem; color: var(--text-muted); transition: var(--transition); cursor: pointer; }
.filter-tag:hover { border-color: #667eea; color: #667eea; }
.filter-tag.active { background: var(--game-primary); color: white; border-color: var(--game-primary); }
.section-count { font-size: 0.95rem; color: var(--text-muted); font-weight: 500; }
.no-results { grid-column: 1 / -1; text-align: center; padding: 60px 20px; background: #f8f9fa; border-radius: 16px; }
.no-results i { color: #cbd5e0; margin-bottom: 20px; }
.no-results h3 { font-size: 1.5rem; margin-bottom: 10px; color: #1e293b; }
.no-results p { color: #64748b; margin-bottom: 20px; }

/* ================================================== */
/* 2. HERO БЛОК */
/* ================================================== */
.games-hero { background: linear-gradient(135deg, #673ab7 0%, #2196f3 100%); color: #ffffff; padding: 50px 0; position: relative; overflow: hidden; }
.games-hero .breadcrumbs { margin-bottom: 30px; font-size: 0.9rem; }
.games-hero .breadcrumbs a { color: rgba(255, 255, 255, 0.8); }
.games-hero .breadcrumbs a:hover { color: #ffffff; }
.games-hero .breadcrumbs .separator, .games-hero .breadcrumbs .current { color: rgba(255, 255, 255, 0.9); }
.hero-main-content { display: flex; align-items: center; gap: 40px; }
.hero-text-content { flex: 1; max-width: 850px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); padding: 8px 15px; border-radius: 20px; font-size: 0.9rem; font-weight: 500; margin-bottom: 20px; }
.hero-badge .fa-star { color: #ffc107; }
.games-hero h1 { font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; text-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.games-hero p { font-size: 1.1rem; color: #e2e8f0; margin-bottom: 40px; max-width: 750px; line-height: 1.6; }
.hero-stats-grid { display: flex; gap: 40px; margin-bottom: 40px; }
.hero-stat-item .stat-value { font-size: 1.5rem; font-weight: 700; color: white; }
.hero-stat-item .stat-label { font-size: 0.9rem; color: #cbd5e0; text-transform: uppercase; letter-spacing: 0.5px; }
.hero-buttons { display: flex; gap: 15px; }
.btn-hero-primary { background-color: #ffffff; color: #3a60d5; padding: 12px 25px; font-weight: 700; border-radius: 8px; }
.btn-hero-primary i { margin-right: 8px; }
.btn-hero-primary:hover { background-color: #f0f0f0; color: #3a60d5; transform: translateY(-2px); }
.btn-hero-secondary { background-color: rgba(255, 255, 255, 0.1); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.3); padding: 12px 25px; font-weight: 700; border-radius: 8px; }
.btn-hero-secondary i { margin-right: 8px; }
.btn-hero-secondary:hover { background-color: rgba(255, 255, 255, 0.2); color: #ffffff; transform: translateY(-2px); }
.hero-image-content { flex-shrink: 0; }
.hero-image-content img { max-width: 450px; opacity: 0.8; }

/* ================================================== */
/* 3. БЛОК: ИГРАЙ И ЗАРАБАТЫВАЙ (INTRO) */
/* ================================================== */
.games-intro-modern { padding: 40px 0; }
.intro-header { text-align: center; margin-bottom: 50px; }
.intro-title { font-size: 2rem; font-weight: 800; color: #1e293b; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; gap: 15px; }
.title-icon { width: 45px; height: 45px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #ffffff; }
.intro-subtitle { font-size: 1.1rem; color: #64748b; max-width: 700px; margin: 0 auto; line-height: 1.6; }
.intro-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-bottom: 50px; }
.intro-feature-card { background: #ffffff; border-radius: 16px; padding: 30px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); transition: var(--transition); border: 2px solid transparent; }
.intro-feature-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12); border-color: #e0e7ff; }
.feature-icon-box { width: 45px; height: 45px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.5rem; color: #ffffff; }
.intro-feature-card h3 { font-size: 1.3rem; font-weight: 700; color: #1e293b; margin-bottom: 12px; }
.intro-feature-card p { font-size: 1rem; color: #64748b; line-height: 1.6; }
.intro-stats-bar { display: flex; justify-content: space-around; background: linear-gradient(135deg, #673ab7 25%, #2196f3 100%); border-radius: 16px; padding: 35px 20px; color: #ffffff; }
.stat-bar-item { display: flex; align-items: center; gap: 15px; }
.stat-bar-icon { width: 50px; height: 50px; background: rgba(255, 255, 255, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.stat-bar-value { font-size: 2rem; font-weight: 700; line-height: 1; margin-bottom: 5px; }
.stat-bar-label { font-size: 0.9rem; opacity: 0.9; }

/* ================================================== */
/* 4. БЛОК: КАК ЗАРАБОТАТЬ (GUIDE) */
/* ================================================== */
.earning-guide-modern { background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); border-radius: 24px; margin-top: 40px; }
.guide-header-modern { text-align: center; margin-bottom: 50px; }
.guide-badge { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); color: #ffffff; padding: 8px 20px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; margin-bottom: 20px; }
.guide-title-modern { font-size: 2rem; font-weight: 800; color: #1e293b; margin-bottom: 15px; }
.guide-subtitle-modern { font-size: 1.1rem; color: #64748b; max-width: 650px; margin: 0 auto; }
.earning-methods-modern { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-bottom: 50px; }
.earning-method-modern { background: #ffffff; border-radius: 16px; padding: 30px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); position: relative; overflow: hidden; transition: var(--transition); border: 2px solid transparent; }
.earning-method-modern:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12); border-color: #e0e7ff; }
.method-number { position: absolute; top: -10px; right: 20px; font-size: 5rem; font-weight: 800; color: #f1f5f9; line-height: 1; z-index: 0; }
.method-content-modern { position: relative; z-index: 1; }
.method-icon-modern { width: 45px; height: 45px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #ffffff; margin-bottom: 20px; }
.earning-method-modern:nth-child(2) .method-icon-modern { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.earning-method-modern:nth-child(3) .method-icon-modern { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.earning-method-modern:nth-child(4) .method-icon-modern { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.method-content-modern h3 { font-size: 1.4rem; font-weight: 700; color: #1e293b; margin-bottom: 12px; }
.method-content-modern p { font-size: 1rem; color: #64748b; line-height: 1.6; margin-bottom: 20px; }
.method-stats { display: flex; gap: 15px; flex-wrap: wrap; }
.method-difficulty, .method-income { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; }
.method-difficulty.easy { background: #d1fae5; color: #065f46; }
.method-difficulty.medium { background: #fef3c7; color: #92400e; }
.method-difficulty.hard { background: #fee2e2; color: #991b1b; }
.method-income { background: #e0e7ff; color: #3730a3; }
.guide-cta-modern { background: linear-gradient(135deg, #667eea 25%, #764ba2 100%); border-radius: 16px; padding: 40px; display: flex; align-items: center; justify-content: space-between; color: #ffffff; }
.cta-content h3 { font-size: 1.8rem; font-weight: 700; margin-bottom: 10px; }
.cta-content p { font-size: 1.1rem; opacity: 0.9; max-width: 550px; }
.guide-cta-modern .btn { background: #ffffff; color: #5b21b6; padding: 15px 30px; font-size: 1.1rem; font-weight: 700; white-space: nowrap; }
.guide-cta-modern .btn:hover { background: #f3f4f6; color: #5b21b6; transform: translateY(-2px); }

/* ================================================== */
/* 5. БЛОК: ПОПУЛЯРНЫЕ БЛОКЧЕЙНЫ */
/* ================================================== */
.blockchain-section { padding: 40px 0; }
.section-subtitle { text-align: center; font-size: 1.1rem; color: #64748b; margin-top: -20px; margin-bottom: 40px; }
.blockchain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.blockchain-card { background: #ffffff; border-radius: 16px; padding: 20px 20px; text-align: center; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); transition: var(--transition); border: 2px solid transparent; }
.blockchain-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12); border-color: #e0e7ff; }
.blockchain-logo { width: 70px; height: 70px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; }
.blockchain-logo img { max-width: 100%; max-height: 100%; border-radius: 50%; }
.blockchain-card h3 { font-size: 1.3rem; font-weight: 700; color: #1e293b; margin-bottom: 12px; }
.blockchain-desc { font-size: 0.95rem; color: #64748b; margin-bottom: 20px; line-height: 1.5; }
.blockchain-stats { display: flex; justify-content: space-around; padding-top: 15px; border-top: 2px solid #f1f5f9; }
.bc-stat { display: flex; flex-direction: column; }
.bc-label { color: #94a3b8; margin-bottom: 5px; }
.bc-value { font-size: 1.1rem; font-weight: 700; color: #1e293b; }

/* ================================================== */
/* 6. СЕТКА ИГР И КАРТОЧКА */
/* ================================================== */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.game-card { display: flex; flex-direction: column; height: 100%; background: #ffffff; border-radius: 16px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); border: 2px solid transparent; transition: var(--transition); overflow: hidden; }
.game-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12); border-color: #e0e7ff; }
.game-banner { height: 180px; position: relative; overflow: hidden; }
.game-banner img { width: 100%; height: 100%; object-fit: cover; }
.game-platform { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.7); color: #fff; padding: 4px 10px; border-radius: 8px; font-size: 0.75rem; font-weight: 600; }
.game-content { display: flex; flex-direction: column; flex-grow: 1; padding: 20px; }
.game-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; color: #1e293b; }
.game-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.game-rating .stars { color: #ffc107; font-size: 0.9rem; }
.game-rating .rating-value { font-weight: 600; font-size: 0.85rem; color: #64748b; }
.game-description { color: #64748b; font-size: 0.95rem; line-height: 1.5; margin-bottom: 20px; }
.game-stats { margin-top: auto; display: flex; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.game-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; width: calc(50% - 5px); border-radius: 12px; padding: 12px 5px; }
.stat-label { font-size: 0.75rem; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
.stat-value { font-weight: 700; color: #334155; font-size: 1rem; }
.game-footer { display: flex; gap: 10px; }
.game-footer .btn { flex: 1; justify-content: center; }

/* ============================================ */
/* АДАПТИВНОСТЬ (MEDIA QUERIES) */
/* ============================================ */

/* 1200px */
@media (max-width: 1200px) {
.games-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
.intro-features-grid { grid-template-columns: 1fr; gap: 20px; }
.earning-methods-modern { grid-template-columns: 1fr; gap: 20px; }
.blockchain-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
.games-hero h1 { font-size: 2.5rem; }
.hero-image-content img { max-width: 380px; }
}

/* 992px */
@media (max-width: 992px) {
.filters-section { position: static; top: auto; }
.hero-main-content { flex-direction: column; text-align: center; }
.hero-text-content { max-width: 100%; }
.games-hero p { margin-left: auto; margin-right: auto; }
.games-hero h1 { font-size: 2.2rem; }
.hero-stats-grid { justify-content: center; }
.hero-buttons { justify-content: center; }
.hero-image-content { margin-top: 30px; order: 2; }
.hero-image-content img { max-width: 320px; }
.guide-cta-modern { flex-direction: column; text-align: center; gap: 25px; }
.cta-content p { max-width: 100%; }
.filters { flex-direction: column; align-items: stretch; gap: 15px; }
.filter-tags { margin-left: 0; justify-content: flex-start; }
.filters1 { flex-direction: column; align-items: stretch; gap: 15px; }
.filters1 .filter-tags { margin-left: 0; width: 100%; }
}

/* 768px */
@media (max-width: 768px) {
.games-hero { padding: 30px 0; }
.games-hero .breadcrumbs { margin-bottom: 20px; font-size: 0.85rem; }
.games-hero h1 { font-size: 1.5rem; line-height: 1.3; }
.games-hero p { font-size: 1rem; margin-bottom: 30px; }
.hero-badge { font-size: 0.8rem; padding: 6px 12px; }
.hero-stats-grid { flex-direction: column; gap: 15px; align-items: center; margin-bottom: 30px; }
.hero-stat-item { text-align: center; }
.hero-stat-item .stat-value { font-size: 1.3rem; }
.hero-stat-item .stat-label { font-size: 0.8rem; }
.hero-buttons { flex-direction: column; width: 100%; gap: 12px; }
.hero-buttons .btn, .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; padding: 14px 20px; }
.hero-image-content img { max-width: 250px; }
.games-grid { grid-template-columns: 1fr; gap: 20px; }
.blockchain-grid { grid-template-columns: 1fr; gap: 15px; }
.intro-title { font-size: 1.5rem; flex-direction: column; gap: 10px; }
.title-icon { width: 40px; height: 40px; font-size: 1.5rem; }
.intro-subtitle { font-size: 1rem; }
.intro-stats-bar { gap: 20px; padding: 25px 20px; }
.stat-bar-item { justify-content: center; }
.stat-bar-value { font-size: 1.8rem; }
.guide-title-modern { font-size: 1.8rem; }
.guide-subtitle-modern { font-size: 1rem; }
.filter-group { width: 100%; }
.filter-group label { min-width: auto; }
.filter-select { width: 100%; flex: 1; }
.filter-tags, .filters1 .filter-tags { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; padding-bottom: 10px; gap: 8px; scrollbar-width: none; -ms-overflow-style: none; }
.filter-tags::-webkit-scrollbar, .filters1 .filter-tags::-webkit-scrollbar { display: none; }
.filter-tag { flex-shrink: 0; white-space: nowrap; }
.section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
.section-count { font-size: 0.85rem; }
}

/* 576px */
@media (max-width: 576px) {
.section-subtitle { margin-top: 0px; }
.intro-stats-bar { flex-direction: column; gap: 20px; padding: 25px 70px; }
.stat-bar-item { justify-content: left; }
.games-hero { padding: 25px 0; }
.games-hero h1 { font-size: 1.5rem; }
.games-hero p { font-size: 1rem; }
.hero-badge { font-size: 0.75rem; padding: 5px 10px; }
.game-card { border-radius: 12px; }
.game-banner { height: 180px; }
.game-content { padding: 15px; }
.game-title { font-size: 1.1rem; }
.game-description { font-size: 0.9rem; margin-bottom: 15px; }
.game-stats { gap: 8px; margin-bottom: 12px; }
.game-stat { padding: 10px 5px; }
.stat-label { font-size: 0.7rem; }
.stat-value { font-size: 0.9rem; }
.game-footer { gap: 8px; }
.game-footer .btn { padding: 10px 12px; font-size: 0.85rem; }
.intro-header { margin-bottom: 30px; }
.intro-title { font-size: 1.5rem; }
.intro-feature-card { padding: 20px; }
.intro-feature-card h3 { font-size: 1.1rem; }
.intro-feature-card p { font-size: 0.9rem; }
.feature-icon-box { width: 40px; height: 40px; font-size: 1.2rem; }
.earning-method-modern { padding: 20px; }
.method-icon-modern { width: 40px; height: 40px; font-size: 1.2rem; }
.method-content-modern h3 { font-size: 1.15rem; }
.method-content-modern p { font-size: 0.9rem; }
.method-number { font-size: 4rem; top: -5px; right: 15px; }
.blockchain-card { padding: 20px 15px; }
.blockchain-logo { width: 55px; height: 55px; }
.blockchain-card h3 { font-size: 1.1rem; }
.blockchain-desc { font-size: 0.9rem; }
.guide-cta-modern { padding: 25px 20px; border-radius: 12px; }
.cta-content h3 { font-size: 1.3rem; }
.cta-content p { font-size: 0.95rem; }
.guide-cta-modern .btn { width: 100%; padding: 14px 20px; }
.section-title { font-size: 1.3rem; }
.guide-header-modern { margin-bottom: 30px; }
.guide-badge { font-size: 0.8rem; padding: 6px 15px; }
}

/* 480px */
@media (max-width: 480px) {
.games-hero { padding: 20px 0; }
.games-hero .breadcrumbs { font-size: 0.8rem; margin-bottom: 15px; }
.hero-image-content { display: none; }
.hero-stat-item .stat-value { font-size: 1.1rem; }
.hero-stat-item .stat-label { font-size: 0.75rem; }
.filters-section { padding: 12px 0; }
.filter-tag { padding: 5px 10px; font-size: 0.8rem; }
.filter-select { padding: 8px 25px 8px 12px; font-size: 0.85rem; }
.game-banner { height: 160px; }
.game-platform { padding: 3px 8px; font-size: 0.7rem; }
.stat-bar-value { font-size: 1.5rem; }
.stat-bar-label { font-size: 0.8rem; }
.stat-bar-icon { width: 40px; height: 40px; font-size: 1.1rem; }
.method-stats { flex-direction: column; gap: 8px; }
.method-difficulty, .method-income { font-size: 0.8rem; padding: 5px 10px; }
.intro-title { font-size: 1.3rem; }
.intro-subtitle { font-size: 0.9rem; }
.guide-title-modern { font-size: 1.5rem; }
.guide-subtitle-modern { font-size: 0.9rem; }
}

/* 375px */
@media (max-width: 375px) {
.hero-badge { font-size: 0.9rem; padding: 4px 8px; }
.hero-buttons .btn { font-size: 1rem; padding: 12px 15px; }
.game-banner { height: 140px; }
.game-content { padding: 12px; }
.game-title { font-size: 1rem; }
.game-stats { flex-direction: column; }
.game-stat { width: 100%; }
.game-footer .btn { font-size: 1rem; padding: 8px 10px; }
.intro-title { font-size: 1.2rem; }
.title-icon { width: 35px; height: 35px; font-size: 1.2rem; }
.intro-feature-card { padding: 15px; }
.feature-icon-box { width: 35px; height: 35px; font-size: 1rem; margin-bottom: 15px; }
.earning-method-modern { padding: 15px; }
.method-icon-modern { width: 35px; height: 35px; font-size: 1rem; }
.method-number { font-size: 3rem; }
.blockchain-card { padding: 15px; }
.blockchain-logo { width: 45px; height: 45px; margin-bottom: 15px; }
.cta-content h3 { font-size: 1.1rem; }
.cta-content p { font-size: 1rem; }
}

/* Фиксы для Touch */
@media (hover: none) and (pointer: coarse) {
.game-card:hover, .intro-feature-card:hover, .earning-method-modern:hover, .blockchain-card:hover { transform: none; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); }
.filter-tag:hover { transform: none; }
.btn-hero-primary:hover, .btn-hero-secondary:hover { transform: none; }
}
@media (max-width: 768px) {
.filter-tag { min-height: 38px; display: inline-flex; align-items: center; }
.game-footer .btn { min-height: 44px; }
.hero-buttons .btn { min-height: 48px; }
}
@supports (padding-bottom: env(safe-area-inset-bottom)) { .games-hero { padding-bottom: calc(30px + env(safe-area-inset-bottom)); } }