:root {
    --primary-color: #3b82f6;
    --accent-color: #1d4ed8;
    --bg-color: #f8fafc;
    --text-color: #1f2937;
    --text-secondary: #6b7280;
    --card-bg: #ffffff;
    --border-radius: 12px;
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --secondary-gradient: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-bg-dark: rgba(248, 250, 252, 0.95);
    --dark-bg: #f1f5f9;
    --card-border: rgba(59, 130, 246, 0.1);
    --cs-font: 'Stratum2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
}

@font-face {
    font-family: 'Stratum2';
    src: url('fonts/Stratum2-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

/* Dark mode - отключен для мобильных устройств для предотвращения проблем с читаемостью */
@media (prefers-color-scheme: dark) and (min-width: 769px) {
    :root {
        --bg-color: var(--dark-bg);
        --text-color: #e5e7eb;
        --card-bg: rgba(17, 24, 39, 0.7);
    }

    .article-card {
        border: 1px solid var(--card-border);
        backdrop-filter: blur(12px);
    }

    .code-block {
        background: #1f2937;
    }
}

/* Принудительно светлая тема для мобильных устройств 
   Исправляет проблему с белым текстом на светлом фоне на мобильных устройствах */
@media (max-width: 768px) {
    :root {
        --bg-color: #f8fafc !important;
        --text-color: #1f2937 !important;
        --card-bg: #ffffff !important;
    }
    
    body {
        background: var(--bg-color) !important;
        color: var(--text-color) !important;
    }
    
    .article-card {
        background: var(--card-bg) !important;
        color: var(--text-color) !important;
    }
    
    .code-block {
        background: #f3f4f6 !important;
        color: #1f2937 !important;
        border: 1px solid #d1d5db !important;
    }
    
    .code-block pre {
        color: #1f2937 !important;
        background: transparent !important;
    }
    
    .code-block code {
        color: #1f2937 !important;
        background: transparent !important;
    }
    
    /* Основной текст */
    h1, h2, h3, h4, h5, h6, p, span, div, li, a {
        color: var(--text-color) !important;
    }
    
    /* Inline код */
    code {
        background: #f3f4f6 !important;
        color: #1f2937 !important;
        padding: 0.2rem 0.4rem !important;
        border-radius: 4px !important;
        border: 1px solid #d1d5db !important;
    }
    
    /* Pre блоки */
    pre {
        background: #f3f4f6 !important;
        color: #1f2937 !important;
        border: 1px solid #d1d5db !important;
    }
    
    pre code {
        background: transparent !important;
        color: #1f2937 !important;
        border: none !important;
        padding: 0 !important;
    }
    
    /* Исключения для элементов, которые должны остаться белыми */
    .site-header, .site-header *, 
    .site-footer, .site-footer *,
    .btn-primary, .btn-primary *,
    .hero-badge, .hero-badge *,
    .rank-badge, .rank-badge *,
    .game-tag, .game-tag *,
    .promo-code, .promo-code * {
        color: white !important;
    }
    
    /* Ссылки навигации */
    .dropdown-menu a {
        color: #374151 !important;
    }
    
    .dropdown-menu a:hover {
        color: #1f2937 !important;
    }
    
    /* Кнопки копирования кода */
    .copy-code,
    button.copy-code {
        background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
        color: white !important;
        border: none !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .copy-code:hover,
    button.copy-code:hover {
        background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
        color: white !important;
    }
    
    /* Исправление для игровых тегов на мобильных */
    .game-tag {
        background: #f3f4f6 !important;
        color: #1f2937 !important;
        border: 1px solid #d1d5db !important;
    }
    
    .game-tag:hover {
        background: #e5e7eb !important;
        color: #111827 !important;
    }
    
    /* Исправление промокода на мобильных */
    .promo-code {
        background: #f3f4f6 !important;
        color: #1f2937 !important;
        border: 1px solid #d1d5db !important;
    }
    
    .promo-code code {
        background: transparent !important;
        color: #1f2937 !important;
    }
}

/* Modern components */
.glass-effect {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Предотвращение горизонтальной прокрутки для всех элементов */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

img, video, iframe, table, pre, code, .code-block {
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
}

body {
    font-family: var(--cs-font);
    line-height: 1.6;
    background: var(--bg-color) url('images/cs2-bg-pattern.png') repeat;
    color: var(--text-color);
    margin: 0;
    width: 100%;
    min-width: 320px; /* Минимальная ширина для мобильных */
    overflow-x: hidden; /* Предотвращает горизонтальную прокрутку */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%; /* Важно для мобильной адаптации */
}

/* Мобильные стили для контейнера */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Исправление цвета текста для мобильных устройств */
    .games-section h2,
    .guides-section h2,
    .coming-soon-content h1,
    .coming-soon-content h3,
    .quick-guide-btn h3,
    .feature-list li,
    .game-card h3,
    .faq-section h2,
    .hosting-promo h2,
    .hero-section h1,
    .faq-question span:first-child {
        color: #1f2937 !important;
    }
    
    .coming-soon-content p,
    .guide-desc,
    .game-card p,
    .hosting-promo p,
    .hero-description,
    .game-guides-count {
        color: #4b5563 !important;
    }
    
    .game-link,
    .faq-answer,
    .faq-answer p,
    .faq-answer li {
        color: #374151 !important;
    }
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .mobile-menu-toggle {
        display: block !important;
        font-size: 1.5rem !important;
        padding: 0.5rem !important;
    }
}

/* Дополнительные стили для мобильного меню на маленьких экранах */
@media (max-width: 480px) {
    .main-nav {
        padding: 1.5rem 0.75rem !important;
        gap: 1rem !important;
    }
    
    .main-nav a {
        padding: 0.75rem 1rem !important;
        font-size: 0.95rem !important;
        max-width: 260px !important;
    }
    
    .dropdown {
        max-width: 260px !important;
    }
    
    .dropdown-trigger {
        display: none !important; /* Скрываем на маленьких экранах */
    }
    
    .dropdown-menu {
        max-width: 260px !important;
        margin-top: 0 !important;
        display: block !important; /* Всегда показываем */
    }
    
    .dropdown-menu a {
        padding: 0.75rem 1rem !important;
        font-size: 0.95rem !important;
        margin-bottom: 0.75rem !important;
    }
}

/* Стили для очень узких экранов */
@media (max-width: 360px) {
    .main-nav {
        padding: 1rem 0.5rem !important;
        gap: 0.75rem !important;
    }
    
    .main-nav a {
        padding: 0.6rem 0.75rem !important;
        font-size: 0.9rem !important;
        max-width: 240px !important;
    }
    
    .dropdown {
        max-width: 240px !important;
    }
    
    .dropdown-trigger {
        display: none !important; /* Скрываем на очень узких экранах */
    }
    
    .dropdown-menu {
        max-width: 240px !important;
        display: block !important; /* Всегда показываем */
        margin-top: 0 !important;
    }
    
    .dropdown-menu a {
        padding: 0.6rem 0.75rem !important;
        font-size: 0.9rem !important;
        margin-bottom: 0.75rem !important;
    }
}

/* Принудительно темный фон для хедера */
header, .site-header, header.site-header {
    background: #1e293b !important;
    background-color: #1e293b !important;
    background-image: linear-gradient(135deg, #1e293b, #334155) !important;
}

/* Header and Footer Complete Styles */
.site-header {
    background: #1e293b !important;
    background-color: #1e293b !important;
    background-image: linear-gradient(135deg, #1e293b, #334155) !important;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 15px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.9;
}

.logo svg {
    color: #3b82f6;
    flex-shrink: 0;
}

.logo h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-menu-toggle {
    display: none;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.3);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mobile-menu-toggle.active {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #ef4444;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.main-nav a:hover {
    color: #60a5fa;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.main-nav a.active {
    color: #60a5fa;
    background: rgba(255, 255, 255, 0.1);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #ffffff !important;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: #f8fafc;
    color: #3b82f6;
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    color: #e2e8f0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #3b82f6;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: #3b82f6;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    font-size: 0.875rem;
    color: #94a3b8;
}

/* Mobile Responsive for Header/Footer */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block !important;
        position: relative;
        z-index: 1001;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem 1rem;
        gap: 1.5rem;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 1000;
        box-sizing: border-box;
        overflow-y: auto;
    }
    
    .main-nav.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav a {
        padding: 1rem 1.5rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        text-align: center;
        display: block;
        width: 100%;
        max-width: 280px;
        color: #ffffff !important;
        font-weight: 600;
        font-size: 1rem;
        border: 2px solid rgba(59, 130, 246, 0.3);
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
        transition: all 0.3s ease;
        backdrop-filter: blur(5px);
        box-sizing: border-box;
    }
    
    .main-nav a:hover {
        background: rgba(59, 130, 246, 0.2);
        border-color: rgba(59, 130, 246, 0.6);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    }
    
    /* В мобильном меню скрываем dropdown-trigger и показываем все ссылки сразу */
    .dropdown {
        width: 100%;
        max-width: 280px;
        box-sizing: border-box;
    }
    
    .dropdown-trigger {
        display: none !important; /* Полностью скрываем кнопку "Игры" */
    }
    
    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
        margin-top: 0 !important;
        width: 100% !important;
        max-width: 280px !important;
        box-sizing: border-box !important;
        display: block !important; /* Всегда показываем меню игр */
    }
    
    .dropdown-menu a {
        background: rgba(59, 130, 246, 0.15) !important;
        margin-bottom: 0.75rem !important;
        padding: 1rem 1.5rem !important;
        border: 2px solid rgba(59, 130, 246, 0.3) !important;
        font-size: 1rem !important;
        max-width: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 12px !important;
        backdrop-filter: blur(5px) !important;
        transition: all 0.3s ease !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7) !important;
        font-weight: 600 !important;
    }
    
    .dropdown-menu a:hover {
        background: rgba(59, 130, 246, 0.25) !important;
        border-color: rgba(59, 130, 246, 0.6) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important;
    }
    
    .logo h1 {
        font-size: 1.25rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    /* Предотвращаем скролл когда меню открыто */
    body.menu-open {
        overflow: hidden;
    }
}

.categories {
    display: none;
}

.category-btn {
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
    border: none;
    background: #f1f5f9;
    color: var(--text-color);
    font-weight: 500;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-btn.active {
    background: var(--primary-color);
    color: white;
}

.category-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-btn:hover::after {
    transform: scaleX(1);
}

.articles {
    display: none;
}

.article-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    animation: fadeUp 0.5s ease forwards;
    animation-play-state: paused;
    border: 1px solid var(--card-border);
}

.article-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.2);
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.article-card:hover::before {
    opacity: 0.1;
}

.article-card.visible {
    animation-play-state: running;
}

.article-image {
    display: none;
}

.article-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    color: var(--primary-color);
}

.article-icon svg {
    transition: transform 0.3s ease;
}

.article-card:hover .article-icon svg {
    transform: scale(1.1);
}

.article-tag {
    display: none;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent-color);
    text-decoration: none;
}



/* Styles for manual pages */
.manual-content {
    padding: 2rem 0;
    max-width: 900px;
    line-height: 1.8;
}

.manual-section {
    margin: 3rem 0;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.manual-section p, 
.manual-section ul, 
.manual-section ol {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 1.5rem 0;
}

.manual-section li {
    margin: 1rem 0;
}

.back-link {
    position: absolute;
    left: 20px;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    background: rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
    background: transparent;
}

.back-link:hover {
    background: rgba(37, 99, 235, 0.2);
}

.code-block {
    background: var(--dark-bg);
    border-radius: 4px;
    padding: 1rem;
    margin: 2rem 0;
    overflow-x: auto;
    border: 1px solid var(--card-border);
    font-size: 1.1rem;
}

.code-block pre {
    margin: 0;
    font-family: monospace;
}

.flags-list {
    list-style: none;
    padding: 0;
}

.flags-list li {
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 4px;
}

.manual-section h2 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
    font-family: var(--cs-font);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.manual-section h3 {
    color: var(--primary-color);
    margin: 1.2rem 0 0.8rem;
    font-family: var(--cs-font);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rating-block {
    margin: 2rem 0;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--card-border);
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.star {
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
}

.rating-info {
    font-size: 0.9rem;
    color: #666;
}

.rating-count {
    color: var(--accent-color);
    font-weight: bold;
}

/* Button styles */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.2s;
    gap: 0.5rem;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    background: transparent;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.btn:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
    filter: brightness(110%);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Form styles */
.subscribe-form {
    display: none;
}

.form-group {
    margin-bottom: 1rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

/* Modern animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 4px;
}

/* Screenshots gallery */
.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.screenshot-item {
    position: relative;
    cursor: pointer;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.screenshot-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

.screenshot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.screenshot-overlay.active {
    opacity: 1;
    visibility: visible;
    display: flex;
}

.screenshot-overlay img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.screenshot-overlay.active img {
    transform: scale(1);
}

.close-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--primary-color);
}

.logo svg {
    width: 40px;
    height: 40px;
}

.intro-section {
    padding: 3rem 2rem;
    margin: 2rem 0;
    border-radius: var(--border-radius);
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    max-width: 800px;
    margin: 1.5rem auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.benefit-item svg {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-family: var(--cs-font);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.benefit-item p {
    color: var(--text-color);
    font-size: 0.95rem;
}

.articles h2 {
    text-align: center;
    margin: 3rem 0 2rem;
    color: var(--primary-color);
    font-family: var(--cs-font);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Hosting styles */
.hosting-promo {
    text-align: center;
    padding: 3rem 2rem;
    margin: 3rem 0;
}

.hosting-hero {
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 2rem;
}

.hosting-card {
    padding: 2rem;
    margin-bottom: 3rem;
}

.hosting-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tariff-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid var(--card-border);
}

.tariff-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.15);
}

.discount-badge {
    background: var(--primary-gradient);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

.tariff-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.tariff-features li {
    margin: 0.5rem 0;
    color: var(--text-color);
}

.tariff-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

.timer-block {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--border-radius);
}

.countdown {
    font-size: 2rem;
    font-weight: bold;
    margin: 1rem 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.advantage-item {
    text-align: center;
    padding: 1.5rem;
}

.advantage-item svg {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.advantage-item p {
    margin-top: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.quick-start {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.top-badge {
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1rem;
}

.hosting-title {
    display: flex;
    align-items: center;
}

.business-section {
    margin: 3rem 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.earning-info {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--border-radius);
}

.earning-amount {
    display: block;
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.tariff-card.business {
    border: 2px solid var(--primary-color);
}

.tariffs-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tariff-range {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tariff-range.business {
    border: 2px solid var(--primary-color);
}

.price-range {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

/* New Sections Grid */
.guides-sections {
    display: none;
}

.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.section-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.section-card:hover {
    transform: translateY(-5px);
}

.section-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.section-links {
    list-style: none;
    margin-top: 1rem;
}

.section-links li {
    margin: 0.5rem 0;
}

.section-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.section-links a:hover {
    color: var(--primary-color);
}

/* Featured Guides */
.featured-guides {
    display: none;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.guide-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid var(--card-border);
}

.guide-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.15);
}

.guide-card.featured {
    grid-column: 1 / -1;
}

.guide-content {
    display: flex;
    padding: 2rem;
    gap: 2rem;
}

.guide-info {
    flex: 1;
}

.guide-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-gradient);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    background: var(--primary-color);
    color: var(--dark-bg);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.guide-meta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 0.875rem;
    color: var(--text-color);
}

.reading-time, .difficulty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.promo-block {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    border: 1px solid var(--card-border);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

.promo-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.promo-code {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--dark-bg);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    background: var(--dark-bg);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.promo-code code {
    font-family: monospace;
    font-size: 1.2rem;
    color: white;
    letter-spacing: 1px;
}

.btn-copy {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-copy.copied {
    background: var(--primary-color);
    border-color: transparent;
}

.btn-copy svg {
    width: 16px;
    height: 16px;
}

.guides {
    margin: 4rem 0;
}

.guides-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.guide-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid var(--card-border);
}

.guide-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.15);
}

.guide-content {
    display: flex;
    padding: 2rem;
    gap: 2rem;
    align-items: flex-start;
}

.guide-icon {
    flex-shrink: 0;
    color: var(--primary-color);
}

.guide-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-family: var(--cs-font);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.guide-info p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .guide-content {
        flex-direction: column;
        text-align: center;
    }
    
    .guide-icon {
        margin: 0 auto 1.5rem;
    }
    
    .quick-start {
        flex-direction: column;
        gap: 1rem;
    }
    
    .promo-block {
        flex-direction: column;
        text-align: center;
    }
}

.hosting-logo {
    max-height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.hosting-logo:hover {
    transform: scale(1.05);
}

/* Стили для кликабельного логотипа */
.hosting-header a {
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 8px;
    padding: 8px;
}

.hosting-header a:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    background: rgba(255, 152, 0, 0.1);
}

.hosting-header a:hover .hosting-logo {
    transform: scale(1.1);
}

.external-resources {
    margin-top: 4rem;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
}

.resource-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.time-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.read-time, .practice-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.read-time svg, .practice-time svg {
    color: var(--primary-color);
}

.article-meta .rating-block {
    margin: 0;
}

/* Добавляем новые стили для шапки и подвала */
.site-header {
    background: var(--dark-bg);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 15px;
}

.site-nav {
    display: flex;
    gap: 2rem;
}

.site-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.site-nav a:hover {
    color: var(--primary-color);
}

.site-nav a.active {
    color: var(--primary-color);
}

/* Обновляем стили для гайдов */
.guide-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.guide-article {
    background: transparent;
    border: none;
    box-shadow: none;
}

.guide-header {
    margin-bottom: 3rem;
}



/* Selection criteria */
.selection-criteria {
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: 8px;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Why choose section */
.why-choose {
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: 8px;
}

.tariff-specs ul {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
}

.tariff-specs li {
    padding: 0.2rem 0;
    position: relative;
    padding-left: 1rem;
}

.tariff-specs li::before {
    content: "✓";
    color: var(--success-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.hosting-tagline {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    margin: 0;
}

.reviews-count {
    font-size: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
}

/* Responsive improvements */
@media (max-width: 768px) {
    /* Основные настройки для мобильных */
    .container {
        padding: 0 15px;
    }
    
    body {
        font-size: 14px;
    }
    
    /* Шапка */
    .site-header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        padding: 1rem 15px;
    }
    
    .logo {
        flex-direction: row;
        text-align: left;
        gap: 0.5rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
        margin: 0;
    }
    

    
    /* Навигационные крошки */
    .breadcrumbs {
        padding: 0.5rem 0;
    }
    
    .breadcrumbs ol {
        flex-wrap: wrap;
        font-size: 0.8rem;
    }
    
    /* Заголовки */
    h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    /* Основные секции */
    .intro-section {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .intro-text {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    /* Сетки */
    .benefits-grid,
    .advantages-grid,
    .reasons-grid,
    .stats-grid,
    .comparison-stats,
    .methods-grid,
    .server-types-grid,
    .hosting-criteria,
    .optimization-tips,
    .related-grid,
    .criteria-grid,
    .guides-grid,
    .sections-grid,
    .tariffs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tariffs-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    /* Карточки */
    .article-card,
    .guide-card,
    .tariff-card,
    .reason-item,
    .advantage-item,
    .benefit-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Навигация внутри контента */
    .guide-content {
        flex-direction: column;
        text-align: center;
    }
    
    .guide-icon {
        margin: 0 auto 1.5rem;
    }
    
    /* Промо блок */
    .quick-start {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .promo-block {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        gap: 1rem;
    }
    
    .promo-code {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .btn-copy {
        width: 100%;
        justify-content: center;
        padding: 0.75rem;
    }
    
    /* Кнопки */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        width: 100%;
        padding: 1rem;
        text-align: center;
    }
    
    /* Ресурсы */
    .resource-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Мета информация */
    .article-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .guide-meta {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    /* Шаги */
    .steps-guide {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    /* Таблицы */
    .features-table {
        overflow-x: auto;
    }
    
    .feature-row {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .feature-name {
        font-weight: bold;
    }
    
    /* FAQ */
    .faq-item {
        margin-bottom: 0.5rem;
    }
    
    .faq-item summary {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .faq-answer {
        padding: 1rem;
    }
    
    /* Подвал */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section {
        padding: 1rem 0;
    }
    
    .footer-bottom {
        padding: 1rem 0;
        font-size: 0.8rem;
    }
    
    /* Комментарии */
    .comment-item {
        padding: 1rem;
    }
    
    .comment-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    /* Формы */
    .comment-form {
        padding: 1rem;
    }
    
    .form-input {
        font-size: 16px; /* Предотвращает зум на iOS */
    }
    
    /* Тарифы */
    .tariff-price {
        font-size: 1.5rem;
    }
    
    .tariff-features {
        margin: 1rem 0;
    }
    
    /* Галерея скриншотов */
    .screenshots-gallery {
        grid-template-columns: 1fr;
    }
    
    .screenshot-item {
        margin-bottom: 1rem;
    }
    
    /* Оценки */
    .rating-block {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .stars {
        justify-content: center;
    }
    
    /* Код блоки - исправление проблемы с белым текстом на светлом фоне на мобильных */
    .code-block {
        margin: 1rem 0;
        border-radius: 8px;
        position: relative;
        background: #f3f4f6 !important;
        border: 1px solid #d1d5db !important;
    }
    
    .code-block pre {
        padding: 1rem;
        font-size: 0.8rem;
        overflow-x: auto;
        white-space: pre-wrap;
        word-break: break-all;
        color: #1f2937 !important;
        background: transparent !important;
    }
    
    .code-block code {
        color: #1f2937 !important;
        background: transparent !important;
    }
    
    /* Дополнительные исправления для промо-блоков */
    .promo-block {
        background: #f3f4f6 !important;
        border: 1px solid #d1d5db !important;
    }
    
    .promo-code-container {
        background: #f3f4f6 !important;
        border: 1px solid #d1d5db !important;
    }
    
    button.copy-code {
    position: absolute !important;
    top: 0.75rem !important;
    right: 0.75rem !important;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.25), 0 2px 4px rgba(59, 130, 246, 0.15) !important;
    z-index: 10 !important;
    font-family: var(--cs-font) !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

button.copy-code:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 8px 15px rgba(59, 130, 246, 0.35), 0 4px 8px rgba(59, 130, 246, 0.25) !important;
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
}

button.copy-code:active {
    transform: translateY(-1px) scale(1.02) !important;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3) !important;
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%) !important;
}

button.copy-code::before {
    content: '' !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 8px;
    pointer-events: none;
}

.code-block {
    position: relative;
    background: #1f2937;
    border-radius: 12px;
    margin: 1.5rem 0;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.code-block pre {
    padding: 1.5rem 4rem 1.5rem 1.5rem;
    margin: 0;
    background: transparent;
    color: #e5e7eb;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: auto;
}

/* Force copy button visibility */
.code-block .copy-code {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
    
    /* Убираем лишние отступы */
    .manual-section {
        padding: 1rem;
    }
    
    .manual-content {
        padding: 1rem;
    }
    
    /* Тонкие настройки для очень маленьких экранов */
    @media (max-width: 480px) {
        .container {
            padding: 0 10px;
        }
        
        h1 {
            font-size: 1.3rem;
        }
        
        .article-card,
        .guide-card {
            padding: 1rem;
        }
        
        .btn {
            padding: 0.5rem 1rem;
            font-size: 0.8rem;
        }
        
        .promo-code code {
            font-size: 0.9rem;
            padding: 0.5rem;
        }
        
        .step-number {
            width: 40px;
            height: 40px;
            font-size: 1.2rem;
        }
        
        .mobile-menu-toggle {
            padding: 0.75rem;
            font-size: 1.2rem;
        }
        
        .logo svg {
            width: 30px;
            height: 30px;
        }
        
        .logo h1 {
            font-size: 1rem;
        }
    }
    
    /* Touch-friendly улучшения */
    @media (pointer: coarse) {
        .btn, 
        .mobile-menu-toggle,
        .main-nav a,
        .site-nav a {
            min-height: 44px;
            min-width: 44px;
        }
        
        .copy-code,
        .btn-copy {
            min-height: 48px;
        }
        
        /* Увеличиваем область нажатия для ссылок */
        .breadcrumbs a,
        .footer-links a {
            padding: 0.5rem;
            margin: -0.5rem;
        }
        
        /* Делаем FAQ элементы более удобными для касания */
        .faq-item summary {
            min-height: 48px;
            display: flex;
            align-items: center;
        }
    }
    
    /* Улучшения для landscape режима на мобильных */
    @media (max-width: 768px) and (orientation: landscape) {
        .site-header {
            position: relative;
        }
        
        .main-nav {
            position: fixed;
            max-height: 80vh;
            overflow-y: auto;
            justify-content: flex-start;
            padding-top: 1rem;
            gap: 0.75rem;
        }
        
        .main-nav a {
            max-width: 240px;
            padding: 0.6rem 1rem;
            font-size: 0.9rem;
        }
        
        .dropdown {
            max-width: 240px;
        }
        
        .dropdown-trigger {
            display: none !important; /* Скрываем в landscape режиме */
        }
        
        .dropdown-menu {
            max-width: 240px;
            margin-top: 0 !important;
            display: block !important; /* Всегда показываем */
        }
        
        .dropdown-menu a {
            padding: 0.5rem 0.75rem !important;
            font-size: 0.8rem !important;
            margin-bottom: 0.5rem !important;
        }
        
        .intro-section {
            padding: 1rem;
        }
    }
}

/* Мобильное меню */


/* Оптимизация изображений на мобильных */
.hosting-logo,
.article-image img,
.screenshot-item img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.hosting-logo {
    max-height: 40px;
}

/* Ленивая загрузка изображений */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Планшеты */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        padding: 0 20px;
    }
    
    /* Сетки для планшетов */
    .benefits-grid,
    .advantages-grid,
    .reasons-grid,
    .criteria-grid,
    .guides-grid,
    .sections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tariffs-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    /* Шапка для планшетов */
    .site-header .container {
        padding: 1rem 20px;
    }
    
    .main-nav {
        gap: 1.5rem;
    }
    
    /* Карточки */
    .article-card,
    .guide-card {
        padding: 1.5rem;
    }
    
    /* Промо блок */
    .promo-code {
        flex-direction: row;
        gap: 1rem;
    }
    
    .btn-copy {
        width: auto;
        min-width: 150px;
    }
}

/* Мобильные устройства */

/* Hero Section */
.hero-section {
    position: relative;
    padding: 5rem 2rem;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.15) 0%, 
        rgba(29, 78, 216, 0.1) 50%, 
        rgba(0, 0, 0, 0.05) 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 70%),
                radial-gradient(circle at 70% 80%, rgba(29, 78, 216, 0.08) 0%, transparent 70%);
    opacity: 0.7;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.2;
}

.accent-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Games Section */
.games-section {
    margin-bottom: 4rem;
}

.games-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.game-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.2);
}

.game-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.game-card p {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.game-guides-count {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.game-link {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s ease;
}

.game-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Guides Section Updates */
.guides-section {
    margin-bottom: 4rem;
}

.guides-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

/* Quick Guides Buttons */
.quick-guides {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.quick-guide-btn {
    background: var(--card-bg);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-guide-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.quick-guide-btn:hover::before {
    left: 100%;
}

.quick-guide-btn:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, var(--card-bg) 100%);
}

.quick-guide-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.quick-guide-btn:hover .quick-guide-icon {
    transform: scale(1.1);
    background: rgba(59, 130, 246, 0.2);
}

.quick-guide-btn h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: var(--text-color);
    font-weight: 600;
}

.guide-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

.guide-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1) 0%, rgba(245, 124, 0, 0.05) 100%);
}

.guide-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.guide-tag.cs2 {
    background: #ff6b35;
    color: white;
}

.difficulty {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.difficulty.beginner {
    background: #10b981;
    color: white;
}

.difficulty.intermediate {
    background: #f59e0b;
    color: white;
}

.difficulty.advanced {
    background: #ef4444;
    color: white;
}

.guide-link {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.guide-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-trigger {
    cursor: pointer;
    user-select: none;
}

.dropdown-arrow {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 200px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: var(--primary-color);
    color: white;
}

/* Hosting Promo Section */
.hosting-promo {
    text-align: center;
    padding: 3rem;
    background: var(--glass-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    margin-bottom: 4rem;
}

.hosting-promo h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.hosting-promo p {
    margin-bottom: 2rem;
    opacity: 0.8;
    font-size: 1.1rem;
}

/* Button Styles */
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .game-card {
        padding: 1.5rem;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        margin-top: 1rem;
    }
    
    .dropdown-menu a {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding: 0.5rem 0;
    }
    
    .quick-guides {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .quick-guide-btn {
        padding: 1.5rem;
    }
}

/* Coming Soon Styles */
.coming-soon-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.coming-soon-icon {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.coming-soon-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.coming-soon-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.feature-list {
    text-align: left;
    max-width: 400px;
    margin: 0 auto 2rem;
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
    color: var(--text-color);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Hero Decoration */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(29, 78, 216, 0.05));
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .floating-element {
        width: 80px;
        height: 80px;
    }
    
    .coming-soon-content {
        padding: 2rem 1rem;
    }
    
    .coming-soon-content h3 {
        font-size: 1.5rem;
    }
}

/* Hosting Ranking Styles */
.hosting-ranking {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
}

.ranking-item {
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.ranking-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15);
}

.rank-badge {
    position: absolute;
    top: -8px;
    left: 2rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.rank-1 .rank-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.rank-2 .rank-badge {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

.rank-3 .rank-badge {
    background: linear-gradient(135deg, #cd7c2f, #92400e);
}

.rank-number {
    background: rgba(255, 255, 255, 0.2);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.hosting-card {
    padding: 2rem;
    padding-top: 2.5rem;
}

.hosting-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hosting-logo {
    flex-shrink: 0;
}

.logo-background {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #f1f5f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo-background img {
    width: 60px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

.logo-fallback {
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    text-align: center;
    line-height: 1.2;
}

.hosting-info {
    flex: 1;
    min-width: 200px;
}

.hosting-info h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: #1f2937;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.stars {
    color: #f59e0b;
    font-size: 1.125rem;
}

.rating-value {
    font-weight: 600;
    color: #1f2937;
}

.reviews-count {
    color: #6b7280;
    font-size: 0.875rem;
}

.hosting-price {
    text-align: right;
    flex-shrink: 0;
}

.price-from {
    color: #6b7280;
    font-size: 0.875rem;
}

.price-value {
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
    display: block;
    line-height: 1;
}

.price-period {
    color: #6b7280;
    font-size: 0.875rem;
}

.hosting-features {
    margin-bottom: 2rem;
}

.hosting-features h3 {
    margin: 0 0 1rem 0;
    color: #1f2937;
    font-size: 1.125rem;
}

.hosting-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
}

.hosting-features li {
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.5;
}

.hosting-games {
    margin-bottom: 2rem;
}

.hosting-games h3 {
    margin: 0 0 1rem 0;
    color: #1f2937;
    font-size: 1.125rem;
}

.games-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.game-tag {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #1d4ed8;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #bfdbfe;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.game-tag:hover {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.hosting-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.promo-text {
    color: #059669;
    font-size: 0.875rem;
    margin: 0;
    text-align: center;
}

.promo-text strong {
    color: #047857;
    font-weight: 700;
}

.hosting-status {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.coming-soon {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border-radius: 12px;
    border: 2px dashed #9ca3af;
}

.coming-soon h3 {
    margin: 0 0 1rem 0;
    color: #6b7280;
    font-size: 1.125rem;
}

.coming-soon p {
    margin: 0;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Criteria Grid */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.criteria-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.1);
    border: 1px solid #e5e7eb;
}

.criteria-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.criteria-item h3 {
    margin: 0 0 1rem 0;
    color: #1f2937;
    font-size: 1.125rem;
}

.criteria-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.criteria-item li {
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.criteria-item li:before {
    content: '•';
    color: #3b82f6;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* FAQ Styles */
.faq-section {
    margin: 4rem 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
    font-size: 2rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.1);
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

/* FAQ Button Structure (hostings.html) */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question[aria-expanded="true"] {
    background: #eff6ff;
    color: #1d4ed8;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: #3b82f6;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #374151;
    line-height: 1.6;
    display: none;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

.faq-answer ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}



@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hosting-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .hosting-price {
        text-align: center;
    }
    
    .price-value {
        font-size: 1.5rem;
    }
    
    .hosting-features ul {
        grid-template-columns: 1fr;
    }
    
    .criteria-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-background {
        width: 60px;
        height: 60px;
        background: #ffffff;
        border: 2px solid #f1f5f9;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .logo-background img {
        width: 40px;
        max-height: 40px;
    }
}

/* Promo Code Styles */
.promo-block {
    margin-top: 1rem;
    text-align: center;
}

.promo-text {
    color: #059669;
    font-size: 0.875rem;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

.promo-code-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 0.75rem;
}

.promo-code {
    background: white;
    color: #047857;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 700;
    border: 1px solid #a7f3d0;
    letter-spacing: 1px;
}

.btn-copy {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    background: linear-gradient(135deg, #047857, #065f46);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.btn-copy.copied {
    background: linear-gradient(135deg, #10b981, #059669);
}

.btn-copy.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.btn-copy svg {
    width: 14px;
    height: 14px;
}

.copy-text {
    font-size: 0.75rem;
}

/* Mobile responsive for promo code */
@media (max-width: 480px) {
    .promo-code-container {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .promo-code {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
}



/* FAQ Styles */

/* Стили для пошаговых инструкций и красивых блоков */

/* Step Cards - Карточки для пошаговых инструкций */
.step-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.step-card:hover {
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.step-number {
    background: var(--primary-gradient);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin: 0 0 0.75rem 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.step-content p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

/* Info Blocks - Информационные блоки */
.info-block {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 1px solid #93c5fd;
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    position: relative;
}

.info-block::before {
    content: "ℹ️";
    position: absolute;
    left: 1rem;
    top: 1rem;
    font-size: 1.2rem;
}

.info-block p {
    margin: 0;
    padding-left: 2rem;
    color: #1e40af;
    font-weight: 500;
}

.warning-block {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    position: relative;
}

.warning-block::before {
    content: "⚠️";
    position: absolute;
    left: 1rem;
    top: 1rem;
    font-size: 1.2rem;
}

.warning-block p {
    margin: 0;
    padding-left: 2rem;
    color: #92400e;
    font-weight: 500;
}

.critical-note {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 1px solid #ef4444;
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    position: relative;
}

.critical-note::before {
    content: "🚨";
    position: absolute;
    left: 1rem;
    top: 1rem;
    font-size: 1.2rem;
}

.critical-note p {
    margin: 0;
    padding-left: 2rem;
    color: #dc2626;
    font-weight: 600;
}

/* Requirements Checklist */
.requirements-checklist, .requirements-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.requirement-item {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.requirement-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.requirement-item h3 {
    margin: 0 0 0.75rem 0;
    color: var(--primary-color);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.requirement-item p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Download Process */
.download-process, .download-steps, .installation-steps, .installation-guide, .config-steps, .testing-steps, .verification-steps {
    margin: 2rem 0;
}

/* System Requirements */
.system-requirements, .system-specs {
    background: var(--glass-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.system-requirements h3, .system-specs h3 {
    margin: 0 0 1rem 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.system-requirements ul, .system-specs ul {
    margin: 0;
    padding-left: 1.5rem;
}

.system-requirements li, .system-specs li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Hosting Comparison */
.hosting-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.hosting-option {
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 2px solid;
}

.hosting-option.good {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #10b981;
}

.hosting-option.bad {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #ef4444;
}

.hosting-option h3 {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
}

.hosting-option.good h3 {
    color: #059669;
}

.hosting-option.bad h3 {
    color: #dc2626;
}

.hosting-option ul {
    margin: 0;
    padding-left: 1.5rem;
}

.hosting-option li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Hosting CTA */
.hosting-cta {
    background: var(--primary-gradient);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.hosting-cta p {
    margin: 0;
    font-weight: 500;
}

.hosting-cta .btn-link {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

.hosting-cta .btn-link:hover {
    text-decoration: none;
}

/* Hosting Benefits */
.hosting-benefits {
    background: var(--glass-bg-dark);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.hosting-benefits h3 {
    margin: 0 0 1rem 0;
    color: var(--primary-color);
}

.hosting-benefits ul {
    margin: 0;
    padding-left: 1.5rem;
}

.hosting-benefits li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

/* Success Indicators */
.success-indicators {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #10b981;
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
    margin: 1rem 0;
}

.success-indicators h4 {
    margin: 0 0 0.75rem 0;
    color: #059669;
    font-size: 1.1rem;
}

.success-indicators ul {
    margin: 0;
    padding-left: 1.5rem;
}

.success-indicators li {
    margin-bottom: 0.5rem;
    color: #065f46;
    line-height: 1.6;
}

/* Problems List */
.problems-list, .troubleshooting-list {
    margin: 2rem 0;
}

.problem-item {
    background: var(--card-bg);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.problem-item summary {
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    background: var(--glass-bg);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    user-select: none;
}

.problem-item summary:hover {
    background: rgba(59, 130, 246, 0.05);
}

.solution {
    padding: 1.25rem;
}

.solution h4 {
    margin: 0 0 1rem 0;
    color: var(--text-color);
    font-size: 1.1rem;
}

.solution ol, .solution ul {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.solution li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Config Examples */
.config-example, .example-config {
    background: var(--glass-bg-dark);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.config-example h3, .example-config h3 {
    margin: 0 0 1rem 0;
    color: var(--primary-color);
}

/* Hosting Notes */
.hosting-note, .hosting-restart {
    background: #ffffff;
    border: 2px solid #3b82f6;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.1);
    position: relative;
}

.hosting-note::before {
    content: "💡";
    position: absolute;
    left: 1rem;
    top: 1rem;
    font-size: 1.2rem;
}

.hosting-note p, .hosting-restart p {
    margin: 0;
    padding-left: 2rem;
    color: #1f2937;
    font-weight: 500;
    line-height: 1.6;
}

.hosting-note a, .hosting-restart a {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #3b82f6;
    transition: all 0.3s ease;
}

.hosting-note a:hover, .hosting-restart a:hover {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
    background: rgba(59, 130, 246, 0.05);
    padding: 0 4px;
    border-radius: 4px;
}

/* Hosting Tip */
.hosting-tip {
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
}

.hosting-tip * {
    color: white !important;
}

.hosting-tip h3 {
    margin: 0 0 0.75rem 0;
    font-size: 1.2rem;
    color: white !important;
}

.hosting-tip p {
    margin: 0;
    line-height: 1.6;
}

.hosting-tip a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

/* Hosting Support */
.hosting-support {
    background: var(--glass-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.hosting-support h3 {
    margin: 0 0 1rem 0;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.hosting-support p {
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Debug Commands */
.debug-commands {
    background: #1f2937;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.debug-commands p {
    margin: 0 0 0.5rem 0;
    color: #e5e7eb;
    font-weight: 600;
}

/* Save Tips */
.save-tips {
    background: var(--glass-bg-dark);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.save-tips ul {
    margin: 0;
    padding-left: 1.5rem;
}

.save-tips li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Download Note */
.download-note {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
}

.download-note p {
    margin: 0;
    color: #92400e;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Compatibility Note */
.compatibility-note {
    background: var(--glass-bg);
    border-left: 4px solid var(--warning-color);
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.compatibility-note p {
    margin: 0;
    color: #92400e;
    font-weight: 500;
    line-height: 1.6;
}

/* Next Actions */
.next-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.action-item {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.action-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.action-item h3 {
    margin: 0 0 0.75rem 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.action-item p {
    margin: 0 0 1rem 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Related Grid */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.related-item {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    display: block;
}

.related-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
}

.related-item h4 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.related-item p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .step-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1rem;
    }
    
    .step-number {
        margin: 0 auto;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .hosting-comparison {
        grid-template-columns: 1fr;
    }
    
    .requirements-checklist, .requirements-list {
        grid-template-columns: 1fr;
    }
    
    .next-actions {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .info-block, .warning-block, .critical-note {
        padding: 0.75rem 1rem;
    }
    
    .info-block p, .warning-block p, .critical-note p {
        padding-left: 1.5rem;
    }
}

/* Benefit icons */
.benefit-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
    text-align: center;
}

.benefit-item {
    text-align: center;
}

/* Guide Highlight */
.guide-highlight {
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.highlight-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.highlight-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: white;
}

.highlight-content p {
    margin: 0;
    line-height: 1.6;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .guide-highlight {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.1);
}

.section-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.section-title h2 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
}

.section-title p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Action Icons */
.action-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Modern TOC Styles */
.toc-modern {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 0;
    margin: 2rem 0;
    border: 1px solid rgba(59, 130, 246, 0.1);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.toc-header {
    background: var(--primary-gradient);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toc-icon {
    font-size: 1.5rem;
}

.toc-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.toc-content {
    padding: 0;
}

.toc-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.toc-item:last-child {
    border-bottom: none;
}

.toc-item:hover {
    background: rgba(59, 130, 246, 0.05);
    transform: translateX(4px);
}

.toc-number {
    background: var(--primary-color);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
}

.toc-item a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    flex: 1;
    transition: color 0.3s ease;
}

.toc-item:hover a {
    color: var(--primary-color);
}

.toc-item:hover .toc-number {
    background: var(--accent-color);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .toc-header {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .toc-item {
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }
    
    .toc-number {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .toc-item a {
        font-size: 0.9rem;
    }
}

/* More Guides Section */
.more-guides-section {
    margin-top: 2rem;
    text-align: center;
}

.guides-divider {
    position: relative;
    margin: 2rem 0;
}

.guides-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.3) 50%, transparent 100%);
}

.guides-divider span {
    background: var(--card-bg);
    padding: 0 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.guides-cta {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
    margin-top: 1rem;
}

.guides-cta h3 {
    margin: 0 0 0.75rem 0;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
}

.guides-cta p {
    margin: 0 0 1.5rem 0;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.05rem;
}

.btn-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
}

.btn-large svg {
    transition: transform 0.3s ease;
}

.btn-large:hover svg {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .guides-cta {
        padding: 1.5rem;
    }
    
    .guides-cta h3 {
        font-size: 1.1rem;
    }
    
    .guides-cta p {
        font-size: 0.95rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}



/* Дополнительные стили для админ-гайда */
.hosting-advice {
    background: white;
    border: 1px solid #0ea5e9;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.hosting-advice::before {
    content: '💡';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 1.5rem;
}

.hosting-advice h3 {
    margin: 0 0 0.75rem 3rem;
    color: #0c4a6e;
    font-size: 1.125rem;
    font-weight: 700;
}

.hosting-advice p {
    margin: 0 0 0 3rem;
    color: #1f2937;
    line-height: 1.6;
}

.hosting-advice a {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.hosting-advice a:hover {
    border-bottom-color: #0ea5e9;
}

/* Исправляем контрастность в блоках сравнения хостинга */
.hosting-comparison .hosting-option.good .hosting-cta {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.hosting-comparison .hosting-option.good .hosting-cta p {
    color: #1f2937 !important;
    margin: 0 0 0.5rem 0;
}

.hosting-comparison .hosting-option.good .hosting-cta .btn-link {
    color: #3b82f6 !important;
    text-decoration: none;
    font-weight: 600;
}

.hosting-comparison .hosting-option.good .hosting-cta .btn-link:hover {
    color: #1d4ed8 !important;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hosting-advice {
        padding: 1rem;
    }
    
    .hosting-advice h3 {
        margin-left: 2.5rem;
        font-size: 1rem;
    }
    
    .hosting-advice p {
        margin-left: 2.5rem;
        font-size: 0.9rem;
    }
}
