/* ============================================ */
/* 1450px — Ноутбуки (фикс шапки) */
/* ============================================ */
@media screen and (max-width: 1450px) {
.nav-item { padding: 0 8px; }
.nav-item a, .nav-item .nav-link-text { font-size: 0.95rem; }
.search-container { width: 70px; }
.search-input { padding: 8px 35px 8px 10px; }
.header-right { gap: 8px; }
}

/* ============================================ */
/* 1200px — Маленькие ноутбуки */
/* ============================================ */
@media screen and (max-width: 1200px) {
.sidebar .widget:nth-child(1), .sidebar .widget:nth-child(2), .sidebar .widget:nth-child(3), .sidebar .widget:nth-child(4), .sidebar .widget:nth-child(5), .sidebar .widget:nth-child(6) { display: none; }
.homepage-content .sidebar .widget:nth-child(1), .homepage-content .sidebar .widget:nth-child(2), .homepage-content .sidebar .widget:nth-child(3), .homepage-content .sidebar .widget:nth-child(4), .homepage-content .sidebar .widget:nth-child(5), .homepage-content .sidebar .widget:nth-child(6) { display: block !important; margin-bottom: 20px; }
.container { max-width: 960px; padding: 0 20px; }
.logo-text { font-size: 1.3rem; }
.tagline { font-size: 0.9rem; }
.search-container { width: 180px; }
.logo-container, .header-right { flex-shrink: 0; }
.main-nav { display: none; }
.nav-list { display: flex; justify-content: flex-start; width: max-content; padding-right: 20px; }
.nav-item { padding: 0 10px; flex-shrink: 0; white-space: nowrap; }
.hero-title { font-size: 2.5rem; }
.hero-subtitle { font-size: 1.1rem; }
.sidebar { width: 280px; min-width: 280px; }
.latest-news .news-grid { grid-template-columns: repeat(12, 1fr); }
.latest-news .news-card { grid-column: span 6; }
.latest-news .news-card.featured { grid-column: span 12; grid-row: span 1; }
.news-card.featured .news-image img { height: 350px; }
.games-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.exchanges-slider { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.donate-option { width: calc(50% - 15px); }
.footer-nav { grid-template-columns: repeat(4, 1fr); gap: 25px; }
.mobile-menu { display: block; }
.search-container { display: none !important; }
.mobile-menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 36px; height: 36px; cursor: pointer; z-index: 1001; background: transparent; border: none; padding: 0; margin-left: 5px; }
.mobile-menu-toggle span { display: block; width: 24px; height: 2px; background-color: var(--text-dark); border-radius: 2px; transition: all 0.3s ease; }
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================ */
/* 992px — Планшеты (альбом) */
/* ============================================ */
@media screen and (max-width: 992px) {
.container { max-width: 720px; }
.main-nav { display: none; }
.language-switcher { display: block; margin-right: 12px; }
.current-language { padding: 6px 10px; font-size: 0.85rem; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; display: flex; align-items: center; gap: 6px; height: 36px; font-weight: 400; }
.current-language span { font-weight: 400; }
.header-right { display: flex; align-items: center; gap: 0; }
.mobile-menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 36px; height: 36px; cursor: pointer; z-index: 1001; background: transparent; border: none; padding: 0; margin-left: 5px; }
.mobile-menu-toggle span { display: block; width: 24px; height: 2px; background-color: var(--text-dark); border-radius: 2px; transition: all 0.3s ease; }
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.logo img { height: 45px; }
.logo-text { font-size: 1.3rem; line-height: 1.1; }
.search-container { display: none; }
.comparison-header { flex-direction: column; align-items: flex-start; gap: 15px; }
.comparison-header h2 { font-size: 1.5rem; }
.comparison-table { display: block; width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 20px; border: 1px solid #e9ecef; border-radius: 12px; background: #fff; margin-left: 0; margin-right: 0; padding: 0; }
.comparison-table table { width: max-content; min-width: 100%; border-collapse: separate; border-spacing: 0; margin: 0; }
.comparison-table th:first-child, .comparison-table td:first-child { position: sticky; left: 0; z-index: 10; background-color: #fff; border-right: 1px solid #e9ecef; box-shadow: 2px 0 5px rgba(0,0,0,0.05); }
.comparison-table th:first-child { z-index: 11; }
.comparison-table th, .comparison-table td { padding: 12px 10px; font-size: 0.85rem; white-space: nowrap; }
.hero-section { padding: 40px 0; }
.hero-content { flex-direction: column; text-align: center; }
.hero-text { margin-right: 0; margin-bottom: 30px; order: 1; }
.hero-image { max-width: 70%; order: 2; }
.hero-title { font-size: 2.2rem; }
.hero-cta { justify-content: center; }
.main-content { flex-direction: column; }
.sidebar { width: 100%; position: static; order: 2; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.content-area { order: 1; min-width: 0; width: 100%; }
.latest-news .news-card { grid-column: span 6; }
.latest-news .news-card.featured { grid-column: span 12; }
.games-grid { grid-template-columns: repeat(2, 1fr); }
.exchanges-slider { grid-template-columns: repeat(2, 1fr); }
.subscribe-inner { flex-direction: column; text-align: center; }
.subscribe-content { margin-right: 0; margin-bottom: 30px; }
.subscribe-image { max-width: 50%; }
.donate-option { width: calc(50% - 15px); }
.footer-top { flex-direction: column; text-align: center; gap: 20px; }
.footer-nav { grid-template-columns: repeat(3, 1fr); }
.mobile-menu { display: block; }
}

/* ============================================ */
/* 768px — Планшеты (портрет) */
/* ============================================ */
@media screen and (max-width: 768px) {
.container { max-width: 100%; padding: 0 15px; }
.header-inner { height: auto; min-height: 65px; padding: 12px 0; }
.logo img { height: 42px; }
.logo-text { font-size: 1.25rem; }
.tagline { display: block !important; font-size: 0.8rem; line-height: 1.2; color: #9ca3af; margin-top: 4px; max-width: 100%; white-space: normal; }
.logo-info { display: flex; flex-direction: column; justify-content: center; }
.content-area { min-width: 0; width: 100%; }
.crypto-ticker { padding: 8px 0; }
.ticker-item { margin-right: 20px; }
.ticker-name { font-size: 0.85rem; }
.ticker-price { font-size: 0.85rem; }
.hero-section { padding: 30px 0; }
.hero-title { font-size: 1.8rem; line-height: 1.3; }
.hero-subtitle { font-size: 1rem; margin-bottom: 25px; }
.hero-image { max-width: 80%; }
.section-header { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 25px; }
.section-title { font-size: 1.5rem; }
.section-title:after { width: 40px; height: 3px; }
.sidebar { grid-template-columns: 1fr; }
.latest-news .news-grid { grid-template-columns: 1fr; gap: 20px; }
.latest-news .news-card, .latest-news .news-card.featured { grid-column: span 1; grid-row: span 1; }
.news-image img, .news-card.featured .news-image img { height: 200px; }
.news-title { font-size: 1.1rem; }
.news-card.featured .news-title { font-size: 1.2rem; }
.news-content { padding: 15px; }
.news-excerpt { font-size: 0.9rem; margin-bottom: 15px; }
.games-grid { grid-template-columns: 1fr; gap: 20px; }
.game-banner { height: 200px; }
.game-content { padding: 15px; }
.game-footer { flex-direction: row; }
.game-footer .btn { flex: 1; padding: 10px 15px; font-size: 0.9rem; }
.exchanges-slider { grid-template-columns: 1fr; gap: 20px; }
.exchange-card { padding: 25px 20px; }
.exchange-features { grid-template-columns: 1fr 1fr; }
.ad-banner { padding: 20px 0; }
.donate-inner { padding: 25px 15px; }
.donate-title { font-size: 1.5rem; }
.donate-options { flex-direction: column; gap: 20px; }
.donate-option { width: 100%; }
.donate-qr img { width: 120px; }
.subscribe-section { padding: 50px 0; }
.subscribe-title { font-size: 1.5rem; }
.subscribe-text { font-size: 1rem; }
.subscribe-image { max-width: 60%; }
.form-group { flex-direction: column; }
.subscribe-input { border-radius: var(--border-radius-md); margin-bottom: 10px; }
.subscribe-button { border-radius: var(--border-radius-md); width: 100%; padding: 15px; }
.footer-nav { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
.footer-nav-title { font-size: 1rem; }
.footer-bottom { padding: 20px 0; }
.footer-disclaimer { font-size: 0.8rem; }
.filters-section { position: static !important; top: auto !important; padding: 15px 0; }
.filters1 { padding: 12px; }
.filters1 .filter-group { width: 100%; }
.filters1 .filter-group label { min-width: 80px; }
.filters1 .filter-tags { margin-left: 0; margin-top: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; padding-bottom: 5px; width: 100%; }
.filters1 .filter-tags::-webkit-scrollbar { display: none; }
.filters1 .filter-tag { flex-shrink: 0; }
.btn, .filter-category, .mobile-menu-toggle, .mobile-menu-close, .social-icon, .news-actions button { min-height: 38px; }
.quick-start-wrapper, .methods-wrapper, .calculator-wrapper { padding: 25px 20px; }
.hero-stats { gap: 20px; display: grid; grid-template-columns: repeat(3, 1fr); justify-items: center; }
.hero-stat { flex-direction: column; }
.hero-stat .value { margin-right: 0; font-size: 1.8rem; }
.detailed-methods .filter-container { flex-direction: column; align-items: stretch; gap: 15px; background: transparent; padding: 0; box-shadow: none; }
.filter-group-left { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 10px; gap: 10px; margin-right: -15px; padding-right: 15px; }
.filter-group-left::-webkit-scrollbar { display: none; }
.filter-category { white-space: nowrap; flex-shrink: 0; font-size: 0.85rem; padding: 8px 14px; }
.filter-sort { width: 100%; }
.sort-select { width: 100%; padding: 10px; }
.footer-logo .logo { flex-direction: column; justify-content: center; gap: 5px; }
.footer-logo .logo img { margin-right: 0; margin-bottom: 5px; width: 60px; height: 60px; }
.footer-logo .logo-info { align-items: center; text-align: center; }
}

/* ============================================ */
/* 576px — Большие телефоны */
/* ============================================ */
@media screen and (max-width: 576px) {
.header-inner { height: 55px; }
.logo img { height: 38px; margin-right: 8px; }
.logo-text { font-size: 1.2rem; }
.hero-section { padding: 25px 0; }
.hero-title { font-size: 1.5rem; }
.hero-image { max-width: 90%; }
.btn-lg { padding: 12px 20px; font-size: 1rem; }
.widget-content { padding: 15px; }
.widget-title { font-size: 1rem; margin-bottom: 15px; }
.fear-greed-meter { width: 180px; height: 90px; }
.fear-greed-arc { width: 180px; height: 105px; box-shadow: inset 0 0 0 15px #ffffff, inset 0 0 0 17px #e5e7eb; }
.fear-greed-pointer { height: 70px; }
.fear-greed-value { font-size: 32px; }
.fear-greed-label { font-size: 16px; }
.market-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-item { padding: 15px 10px; }
.stat-value { font-size: 1.1rem; }
.news-image img { height: 180px; }
.news-meta { gap: 10px; font-size: 0.75rem; }
.author-avatar { width: 25px; height: 25px; }
.author-name { font-size: 0.85rem; }
.news-actions .btn-audio, .news-actions .btn-share { width: 38px; height: 38px; }
.pagination-more { width: 100%; padding: 15px; }
.footer-nav { grid-template-columns: 1fr; gap: 25px; text-align: center; }
.footer-nav-title:after { left: 50%; transform: translateX(-50%); }
.footer-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; }
.footer-menu li { margin-bottom: 0; }
.hero-cta { flex-direction: column; gap: 15px; width: 100%; }
.hero-cta .btn { width: 100%; max-width: 100%; justify-content: center; }
body { font-size: 1rem; line-height: 1.6; }
p { line-height: 1.7; }
.earning-hero h1 { font-size: 2rem; }
.earning-hero p { font-size: 1rem; }
.hero-stats { grid-template-columns: 1fr; gap: 15px; }
.hero-stat { flex-direction: row; justify-content: center; }
.hero-stat .value { margin-right: 10px; font-size: 1.5rem; }
.method-header { flex-direction: column; align-items: flex-start; gap: 15px; }
.method-header-icon { margin-bottom: 5px; }
.method-types ul { grid-template-columns: 1fr; }
.method-details { padding: 12px; }
.detail-item { font-size: 0.85rem; }
.method-footer { padding: 20px; flex-direction: column; gap: 15px; }
.method-footer .btn { width: 100%; margin-right: 0; }
.method-actions { width: 100%; justify-content: center; }
.story-header { flex-direction: column; text-align: center; }
.story-avatar { width: 60px; height: 60px; margin-bottom: 5px; }
.tools-grid { gap: 15px; }
}

/* ============================================ */
/* 480px — Средние телефоны */
/* ============================================ */
@media screen and (max-width: 480px) {
.current-language span { display: none; }
.current-language:after { content: attr(data-lang); font-size: 0.85rem; font-weight: 400; color: var(--text-dark); }
.container { padding: 0 15px; }
.logo img { height: 36px; margin-right: 8px; }
.logo-text { font-size: 1.1rem; }
.tagline { font-size: 0.85rem; max-width: 90%; }
.header-inner { height: auto; padding: 8px 0; }
.ticker-item { margin-right: 15px; }
.ticker-item img { width: 16px; height: 16px; }
.ticker-name, .ticker-price, .ticker-change { font-size: 0.8rem; }
.section { padding: 20px 0; }
.section-title { font-size: 1.3rem; }
.game-footer .btn, .exchange-footer .btn { font-size: 0.85rem; padding: 8px 12px; }
.donate-title { font-size: 1.3rem; }
.donate-text { font-size: 0.9rem; }
.crypto-name { font-size: 1rem; }
.address-input { font-size: 0.75rem; padding: 8px 35px 8px 8px; }
.subscribe-section { padding: 40px 0; }
.subscribe-title { font-size: 1.3rem; }
.subscribe-input { padding: 12px; font-size: 0.95rem; }
.subscribe-button { padding: 12px; font-size: 0.95rem; }
.form-agreement { font-size: 0.8rem; }
.calculator-wrapper { padding: 20px 15px; }
.result-amount { font-size: 2.5rem; }
.method-badges .badge { font-size: 0.7rem; padding: 3px 8px; }
.quick-start-cta .btn-lg { width: 100%; padding: 12px 20px; }
}

/* ============================================ */
/* 375px — iPhone SE и маленькие телефоны */
/* ============================================ */
@media screen and (max-width: 375px) {
.container { padding: 0 10px; }
.logo-container { flex-shrink: 10; }
.heatmap-item { min-width: 70px !important; min-height: 70px !important; flex-basis: 70px !important; }
.logo img { height: 35px; }
.btn-lg { padding: 10px 16px; font-size: 0.9rem; }
.fear-greed-meter { width: 160px; height: 80px; }
.fear-greed-arc { width: 160px; height: 95px; }
.fear-greed-pointer { height: 60px; }
.fear-greed-value { font-size: 28px; }
.news-title { font-size: 1rem; }
.news-image img { height: 160px; }
.btn { font-size: 0.85rem; padding: 8px 12px; }
}

/* ============================================ */
/* МОБИЛЬНОЕ МЕНЮ */
/* ============================================ */
@media screen and (max-width: 1200px) {
.mobile-menu { position: fixed; top: 0; right: -100%; width: 85%; max-width: 320px; height: 100vh; background-color: var(--card-bg); z-index: 2000; transition: right 0.3s ease; overflow-y: auto; box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15); }
.mobile-menu.active { right: 0; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-bottom: 1px solid rgba(0, 0, 0, 0.1); background-color: #f8f9fa; }
.mobile-menu-close { font-size: 1.5rem; color: var(--text-dark); padding: 5px; cursor: pointer; }
.mobile-menu-content { padding: 20px; padding-bottom: 100px; }
.mobile-search { position: relative; margin-bottom: 25px; }
.mobile-search input { width: 100%; padding: 12px 45px 12px 15px; border: 1px solid #e5e7eb; border-radius: 10px; font-size: 1rem; background-color: #f8f9fa; }
.mobile-search input:focus { border-color: var(--primary-color); background-color: #fff; }
.mobile-search button { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--text-medium); font-size: 1rem; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
.mobile-nav > ul > li > a, .mobile-nav > ul > li > span { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; font-size: 1rem; font-weight: 500; color: var(--text-dark); cursor: pointer; }
.mobile-nav > ul > li > a i, .mobile-nav > ul > li > span i { font-size: 0.75rem; transition: transform 0.3s ease; }
.mobile-nav > ul > li.active > a i, .mobile-nav > ul > li.active > span i { transform: rotate(180deg); }
.mobile-nav > ul > li.active > a, .mobile-nav .active > a { color: var(--primary-color); }
.mobile-nav .submenu { display: none; padding-left: 15px; padding-bottom: 10px; }
.mobile-nav .has-submenu.active .submenu { display: block; }
.mobile-nav .submenu li a { display: block; padding: 10px 0; font-size: 0.95rem; color: var(--text-medium); }
.mobile-nav .submenu li a:hover { color: var(--primary-color); }
.mobile-language { margin-top: 25px; padding-top: 20px; border-top: 1px solid rgba(0, 0, 0, 0.1); }
.mobile-language-title { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text-dark); margin-bottom: 15px; }
.mobile-language-list { display: flex; flex-wrap: wrap; gap: 10px; }
.mobile-language-list a { padding: 8px 16px; background-color: #f3f4f6; border-radius: 20px; font-size: 0.9rem; color: var(--text-dark); transition: all 0.2s ease; }
.mobile-language-list a:hover { background-color: var(--primary-color); color: white; }
.mobile-social { display: flex; justify-content: center; gap: 15px; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(0, 0, 0, 0.1); }
.mobile-social .social-icon { width: 45px; height: 45px; border-radius: 50%; background-color: #f3f4f6; display: flex; justify-content: center; align-items: center; font-size: 1.2rem; color: var(--text-dark); transition: all 0.2s ease; }
.mobile-social .social-icon:hover { background-color: var(--primary-color); color: white; transform: scale(1.1); }
.mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 1999; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
}

/* ============================================ */
/* ДОПОЛНИТЕЛЬНЫЕ ФИКСЫ */
/* ============================================ */
@media (hover: none) {
.btn:hover, .news-card:hover, .game-card:hover, .exchange-card:hover { transform: none; box-shadow: var(--shadow-sm); }
}
@supports (padding-bottom: env(safe-area-inset-bottom)) {
.main-footer { padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
.mobile-menu { padding-bottom: env(safe-area-inset-bottom); }
}