/* ============================================
   Адаптивные стили
   ============================================ */

/* Планшеты */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    /* Глобальные стили для мобильных */
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    html {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Навигация */
    nav {
        display: none;
    }
    
    .header-buttons {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Логотип на мобильных */
    .logo {
        font-size: 1.3rem !important;
    }
    
    /* Бонус на мобильных */
    .bonus-amount {
        font-size: 2rem !important;
    }
    
    .bonus-highlight h3 {
        font-size: 1.5rem !important;
    }
    
    /* Hero секция на мобильных */
    .hero-content .card {
        margin-bottom: 1.5rem !important;
    }
    
    .hero-content .card > div {
        grid-template-columns: 1fr !important;
    }
    
    /* Карта на мобильных */
    .map-container iframe {
        height: 300px !important;
    }
    
    .contact-map {
        padding: 60px 0 !important;
    }
    
    .mobile-menu .header-buttons {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }
    
    .mobile-menu .btn {
        width: 100%;
    }
    
    /* Hero секция */
    .hero {
        min-height: auto;
        padding: 120px 0 60px !important;
    }
    
    .hero h1 {
        font-size: 2rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        line-height: 1.3 !important;
        max-width: 100% !important;
        margin-top: 1rem !important;
        padding-top: 0.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.2rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        line-height: 1.5 !important;
        max-width: 100% !important;
        margin-top: 1rem !important;
    }
    
    /* Hero секция на странице контактов и других страницах */
    .hero[style*="min-height: 60vh"] {
        min-height: auto !important;
        padding: 120px 0 40px !important;
    }
    
    .hero[style*="min-height: 60vh"] h1 {
        font-size: 1.75rem !important;
        margin-bottom: 1rem !important;
        margin-top: 1rem !important;
        padding-top: 0.5rem !important;
    }
    
    .hero[style*="min-height: 60vh"] .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-top: 1rem !important;
    }
    
    /* Hero Content на мобильных */
    .hero-content {
        padding-top: 1rem !important;
        margin-top: 0.5rem !important;
    }
    
    .hero-bonus {
        padding: 20px;
    }
    
    .hero-bonus h2 {
        font-size: 1.5rem;
    }
    
    .bonus-main {
        font-size: 1.1rem;
    }
    
    /* Типографика */
    h1 {
        font-size: 2rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        line-height: 1.3 !important;
        max-width: 100% !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        line-height: 1.3 !important;
        max-width: 100% !important;
    }
    
    h3 {
        font-size: 1.5rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        line-height: 1.3 !important;
        max-width: 100% !important;
    }
    
    h4 {
        font-size: 1.3rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        line-height: 1.3 !important;
        max-width: 100% !important;
    }
    
    h5 {
        font-size: 1.1rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        line-height: 1.4 !important;
        max-width: 100% !important;
    }
    
    .section-title {
        font-size: 2rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        line-height: 1.3 !important;
        max-width: 100% !important;
    }
    
    /* Секции */
    section {
        padding: 60px 0;
    }
    
    /* Карточки */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Character Cards на мобильных */
    .character-image-container {
        height: 200px !important;
        max-width: 250px !important;
        margin: 1rem auto !important;
    }
    
    .character-card {
        padding: 2rem !important;
    }
    
    .character-card h3 {
        text-align: center !important;
        margin-bottom: 1rem !important;
    }
    
    /* Кнопки */
    .btn-large {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    /* Hero секция - кнопки и текст */
    .hero-content .btn-large {
        font-size: 1rem !important;
        padding: 15px 25px !important;
        width: 100%;
        max-width: 100%;
        text-align: center;
        white-space: normal;
        word-wrap: break-word;
    }
    
    /* Кнопка для перехода на игру в hero */
    .hero-game-btn {
        font-size: 1.1rem !important;
        padding: 16px 40px !important;
    }
    
    /* Bonus highlight на мобильных */
    .bonus-highlight {
        padding: 1.5rem !important;
    }
    
    .bonus-highlight p {
        font-size: 1rem !important;
    }
    
    .bonus-description {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
    
    /* Информационный блок на мобильных */
    .hero-content .card p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
    
    /* Hero карточки с информацией */
    .hero-content > div {
        max-width: 100% !important;
    }
    
    /* Секция Erken Erişim на мобильных */
    section .card .bonus-highlight h2 {
        font-size: 1.5rem !important;
    }
    
    section .card .bonus-highlight p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
    
    section .card .bonus-amount {
        font-size: 2rem !important;
    }
    
    section .card .btn-large {
        font-size: 0.95rem !important;
        padding: 12px 20px !important;
        width: 100%;
        white-space: normal;
        word-wrap: break-word;
    }
    
    /* Информационный блок в hero */
    .hero-content .card[style*="background: linear-gradient"] {
        padding: 1rem !important;
    }
    
    .hero-content .card[style*="background: linear-gradient"] p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
    
    /* Формы */
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-buttons .btn {
        width: 100%;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Contact Grid */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }
    
    /* Container на мобильных */
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    /* Contact Form на мобильных */
    .card:has(.contact-form) {
        padding: 1.25rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .contact-form {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .contact-form .form-group {
        margin-bottom: 1.25rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 1rem !important;
        padding: 12px 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        overflow: visible !important;
        margin: 0 !important;
        border-radius: 8px !important;
    }
    
    .contact-form select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300FF88' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: right 15px center !important;
        background-size: 12px !important;
        padding-right: 40px !important;
    }
    
    .contact-form textarea {
        min-height: 120px !important;
        resize: vertical !important;
    }
    
    .contact-form label {
        font-size: 0.95rem !important;
        margin-bottom: 0.5rem !important;
        display: block !important;
    }
    
    /* Заголовок формы */
    .card h2 {
        font-size: 1.75rem !important;
        margin-bottom: 1.5rem !important;
        word-wrap: break-word !important;
        padding: 0 !important;
    }
    
    /* Форма в карточке */
    .card .contact-form {
        margin-top: 0 !important;
        width: 100% !important;
    }
    
    /* Кнопка формы */
    .contact-form button,
    .contact-form .btn {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }
    
    /* Contact Info на мобильных */
    .card h1,
    .card h2,
    .card h3,
    .card h4 {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        line-height: 1.3 !important;
        max-width: 100% !important;
    }
    
    .card h3 {
        font-size: 1.4rem !important;
    }
    
    .card p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        word-wrap: break-word !important;
    }
    
    .card p strong {
        font-size: 1rem !important;
        word-wrap: break-word !important;
    }
    
    /* Contact Map на мобильных */
    .contact-map {
        padding: 60px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .contact-map .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
    }
    
    .contact-map h2 {
        font-size: 1.75rem !important;
        margin-bottom: 1.5rem !important;
        word-wrap: break-word !important;
        padding: 0 !important;
    }
    
    .map-container {
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .map-container iframe {
        height: 300px !important;
        border-radius: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
    }
    
    /* Contact Section заголовки */
    section h2 {
        font-size: 1.75rem !important;
    }
    
    section h2.section-title {
        font-size: 1.75rem !important;
        margin-bottom: 2rem !important;
    }
    
    /* Секции на странице контактов */
    section {
        padding: 60px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    section[style*="background"] {
        padding: 60px 0 !important;
    }
    
    /* Hero Wrapper на мобильных */
    .hero-wrapper {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Hero Image на мобильных */
    .hero-image-container {
        width: 100% !important;
        max-width: 100% !important;
        order: -1 !important;
    }
    
    .hero-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 300px !important;
        max-height: 450px !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
    }
    
    .hero-image:hover {
        transform: none !important;
    }
    
    /* Hero Content на странице контактов */
    .hero-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .hero-content h1 {
        word-wrap: break-word !important;
        line-height: 1.3 !important;
    }
    
    .hero-content .hero-subtitle {
        word-wrap: break-word !important;
        max-width: 100% !important;
    }
    
    /* Contact Form кнопка */
    .contact-form .btn-large,
    .contact-form button[type="submit"] {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 1rem !important;
        padding: 15px 25px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        margin-top: 0.5rem !important;
    }
    
    /* Contact Info карточки */
    .card {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Карточка с формой на мобильных */
    .card:has(form) {
        padding: 1.25rem !important;
    }
    
    /* Fade-in элементы */
    .fade-in {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Контактная информация в карточке */
    .card p {
        margin-bottom: 1rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .card p:last-child {
        margin-bottom: 0 !important;
    }
    
    .card a {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        display: inline-block !important;
        max-width: 100% !important;
    }
    
    /* Контактная информация - адрес */
    .card p strong {
        display: block !important;
        margin-bottom: 0.25rem !important;
    }
    
    /* Аккордеоны на мобильных */
    .accordion {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .accordion-item {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 0.5rem !important;
    }
    
    .accordion-header {
        padding: 1rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .accordion-header h3,
    .accordion-header h4 {
        font-size: 1.1rem !important;
        margin: 0 !important;
        flex: 1 !important;
        word-wrap: break-word !important;
        padding-right: 1rem !important;
    }
    
    .accordion-icon {
        flex-shrink: 0 !important;
        font-size: 0.8rem !important;
    }
    
    .accordion-content {
        padding: 1rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }
    
    .accordion-content h5 {
        font-size: 1rem !important;
        word-wrap: break-word !important;
        line-height: 1.5 !important;
    }
    
    .accordion-content p {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        line-height: 1.6 !important;
    }
    
    /* Таблицы на мобильных - универсальные стили */
    .card:has(.table-container),
    .contact-hours-card {
        overflow: visible !important;
        padding: 1.5rem 0 !important;
    }
    
    .table-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 1.5rem !important;
        box-sizing: border-box !important;
        position: relative !important;
    }
    
    /* Таблицы внутри аккордеонов */
    .accordion-content .table-container {
        margin: 1rem 0 !important;
        padding: 0 0.5rem !important;
    }
    
    .accordion-content table {
        font-size: 0.7rem !important;
        table-layout: auto !important;
    }
    
    .accordion-content table th,
    .accordion-content table td {
        padding: 0.5rem 0.4rem !important;
        font-size: 0.7rem !important;
        min-width: 50px !important;
    }
    
    /* Универсальные стили для всех таблиц */
    table {
        font-size: 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
        border-collapse: collapse !important;
        margin: 0 !important;
        display: table !important;
        table-layout: auto !important;
    }
    
    table th,
    table td {
        padding: 0.5rem 0.4rem !important;
        text-align: left !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        vertical-align: top !important;
        hyphens: auto !important;
    }
    
    /* Для таблиц с большим количеством колонок - делаем более компактными */
    table th {
        font-size: 0.7rem !important;
        white-space: normal !important;
        line-height: 1.2 !important;
        font-weight: 600 !important;
    }
    
    table td {
        font-size: 0.7rem !important;
        white-space: normal !important;
        line-height: 1.3 !important;
    }
    
    /* Адаптивные ширины для колонок - равномерное распределение */
    table th:first-child,
    table td:first-child {
        width: auto !important;
        min-width: 0 !important;
    }
    
    table th:nth-child(2),
    table td:nth-child(2) {
        width: auto !important;
        min-width: 0 !important;
    }
    
    table th:nth-child(3),
    table td:nth-child(3) {
        width: auto !important;
        min-width: 0 !important;
    }
    
    table th:nth-child(4),
    table td:nth-child(4) {
        width: auto !important;
        min-width: 0 !important;
    }
    
    table th:nth-child(5),
    table td:nth-child(5) {
        width: auto !important;
        min-width: 0 !important;
    }
    
    table th:nth-child(6),
    table td:nth-child(6) {
        width: auto !important;
        min-width: 0 !important;
    }
    
    /* Для таблиц с длинным текстом - разрешаем перенос */
    table td strong {
        display: inline !important;
        word-wrap: break-word !important;
        font-weight: 600 !important;
    }
    
    /* Текст под таблицей */
    .table-note {
        margin-top: 1rem !important;
        font-size: 0.85rem !important;
        word-wrap: break-word !important;
        padding: 0 1.5rem !important;
    }
    
    /* Заголовок таблицы */
    .contact-hours-card h3 {
        padding: 0 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .card:has(.table-container) h3 {
        padding: 0 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Статьи на мобильных */
    .support-articles-section {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .support-articles-section .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
    }
    
    .article {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .article:last-child {
        margin-bottom: 0 !important;
    }
    
    .article-header {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .article-header h3 {
        font-size: 1.3rem !important;
        margin-bottom: 0.75rem !important;
        line-height: 1.4 !important;
        word-wrap: break-word !important;
    }
    
    .article-meta {
        font-size: 0.85rem !important;
        margin-bottom: 1rem !important;
        word-wrap: break-word !important;
    }
    
    .article-content {
        margin-bottom: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .article-content p {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
        margin-bottom: 1rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .article-content p:last-child {
        margin-bottom: 0 !important;
    }
    
    .article-tags {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        margin-top: 1rem !important;
        width: 100% !important;
    }
    
    .article-tag {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.8rem !important;
        word-wrap: break-word !important;
    }
    
    /* Мини-игра на мобильных */
    #game-area {
        height: 300px !important;
    }
    
    #game-score,
    #game-timer {
        font-size: 1.5rem !important;
    }
    
    .lightning {
        min-width: 40px !important;
        min-height: 40px !important;
    }
    
    .lightning::before {
        font-size: 1.2rem !important;
    }
}

/* Thank You Section */
.thank-you-section {
    padding: 100px 0 80px;
}

/* Маленькие мобильные устройства */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-bonus {
        padding: 15px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 12px 25px;
        font-size: 0.9rem !important;
    }
    
    /* Hero секция на маленьких экранах */
    .hero-content .btn-large {
        font-size: 0.9rem !important;
        padding: 12px 20px !important;
    }
    
    .bonus-highlight h3 {
        font-size: 1.3rem !important;
    }
    
    .bonus-highlight p {
        font-size: 0.95rem !important;
    }
    
    .bonus-description {
        font-size: 0.9rem !important;
    }
    
    .bonus-amount {
        font-size: 1.8rem !important;
    }
    
    /* Секция Erken Erişim на маленьких экранах */
    section .card .bonus-highlight h2 {
        font-size: 1.3rem !important;
    }
    
    section .card .bonus-highlight p {
        font-size: 0.95rem !important;
    }
    
    section .card .bonus-amount {
        font-size: 1.8rem !important;
    }
    
    section .card .btn-large {
        font-size: 0.9rem !important;
        padding: 12px 18px !important;
    }
    
    /* Информационный блок */
    .hero-content .card[style*="background: linear-gradient"] p {
        font-size: 0.95rem !important;
    }
    
    .hero-content .card p {
        font-size: 0.95rem !important;
    }
    
    /* Contact Page на маленьких экранах */
    .contact-grid {
        gap: 1.5rem !important;
    }
    
    .contact-form .form-group {
        margin-bottom: 1rem !important;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 0.95rem !important;
        padding: 10px 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .contact-form select {
        padding-right: 35px !important;
        background-size: 10px !important;
    }
    
    .contact-form textarea {
        min-height: 100px !important;
    }
    
    .contact-form label {
        font-size: 0.9rem !important;
        margin-bottom: 0.4rem !important;
    }
    
    /* Заголовок формы на маленьких экранах */
    .card h2:first-child {
        font-size: 1.4rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    .card h3 {
        font-size: 1.3rem !important;
    }
    
    .card h2 {
        font-size: 1.5rem !important;
    }
    
    .card p {
        font-size: 0.9rem !important;
    }
    
    .contact-map {
        padding: 40px 0 !important;
    }
    
    .contact-map h2 {
        font-size: 1.5rem !important;
    }
    
    .map-container iframe {
        height: 250px !important;
    }
    
    section h2.section-title {
        font-size: 1.5rem !important;
    }
    
    .article {
        padding: 1rem !important;
    }
    
    .article-header h3 {
        font-size: 1.2rem !important;
    }
    
    .article-content p {
        font-size: 0.9rem !important;
    }
    
    /* Hero секция на странице контактов для маленьких экранов */
    .hero {
        padding: 130px 0 40px !important;
    }
    
    .hero[style*="min-height: 60vh"] {
        padding: 130px 0 30px !important;
    }
    
    .hero[style*="min-height: 60vh"] h1 {
        font-size: 1.5rem !important;
        margin-top: 1.5rem !important;
        padding-top: 0.5rem !important;
    }
    
    .hero[style*="min-height: 60vh"] .hero-subtitle {
        font-size: 0.95rem !important;
        margin-top: 1rem !important;
    }
    
    .hero h1 {
        margin-top: 1.5rem !important;
        padding-top: 0.5rem !important;
    }
    
    .hero-subtitle {
        margin-top: 1rem !important;
    }
    
    .hero-content {
        width: 100% !important;
        max-width: 100% !important;
        padding-top: 1.5rem !important;
        margin-top: 0.5rem !important;
    }
    
    /* Hero Image на маленьких экранах */
    .hero-image {
        min-height: 250px !important;
        max-height: 400px !important;
        border-radius: 10px !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3) !important;
    }
    
    /* Character Cards на маленьких экранах */
    .character-image-container {
        height: 180px !important;
        max-width: 200px !important;
        margin: 1rem auto !important;
    }
    
    .character-card h3 {
        font-size: 1.3rem !important;
        text-align: center !important;
        margin-bottom: 1rem !important;
    }
    
    .character-card p {
        font-size: 0.9rem !important;
        text-align: center !important;
    }
    
    /* Секции на маленьких экранах */
    section {
        padding: 40px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    section[style*="background"] {
        padding: 40px 0 !important;
    }
    
    section h2.section-title {
        font-size: 1.4rem !important;
        margin-bottom: 1.5rem !important;
        word-wrap: break-word !important;
    }
    
    /* Contact Grid на маленьких экранах */
    .contact-grid {
        gap: 1.5rem !important;
    }
    
    /* Карточки на маленьких экранах */
    .card {
        padding: 1.25rem !important;
    }
    
    /* Статьи на маленьких экранах */
    .article {
        padding: 1.25rem !important;
    }
    
    .article-header h3 {
        font-size: 1.15rem !important;
    }
    
    .article-meta {
        font-size: 0.8rem !important;
    }
    
    .article-content p {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }
    
    .article-tag {
        font-size: 0.75rem !important;
        padding: 0.35rem 0.7rem !important;
    }
    
    /* Таблица на маленьких экранах */
    .contact-hours-card,
    .card:has(.table-container) {
        padding: 1.25rem 0 !important;
    }
    
    .table-container {
        padding: 0 1.25rem !important;
    }
    
    table {
        font-size: 0.65rem !important;
        width: 100% !important;
        table-layout: auto !important;
    }
    
    table th,
    table td {
        padding: 0.4rem 0.3rem !important;
        font-size: 0.65rem !important;
    }
    
    table th {
        font-size: 0.65rem !important;
        line-height: 1.2 !important;
    }
    
    table td {
        line-height: 1.3 !important;
    }
    
    /* Таблицы внутри аккордеонов на маленьких экранах */
    .accordion-content .table-container {
        padding: 0 0.5rem !important;
    }
    
    .accordion-content table {
        font-size: 0.65rem !important;
        table-layout: auto !important;
    }
    
    .accordion-content table th,
    .accordion-content table td {
        padding: 0.4rem 0.3rem !important;
        font-size: 0.65rem !important;
        min-width: 45px !important;
    }
    
    /* Убираем минимальные ширины для полной адаптивности */
    table th:first-child,
    table td:first-child,
    table th:nth-child(2),
    table td:nth-child(2),
    table th:nth-child(3),
    table td:nth-child(3),
    table th:nth-child(4),
    table td:nth-child(4),
    table th:nth-child(5),
    table td:nth-child(5),
    table th:nth-child(6),
    table td:nth-child(6) {
        width: auto !important;
        min-width: 0 !important;
    }
    
    .table-note {
        padding: 0 1.25rem !important;
        font-size: 0.8rem !important;
    }
    
    .contact-hours-card h3 {
        padding: 0 1.25rem !important;
    }
    
    .card:has(.table-container) h3 {
        padding: 0 1.25rem !important;
    }
    
    /* Контактная информация */
    .card p {
        font-size: 0.9rem !important;
        word-wrap: break-word !important;
    }
    
    /* Заголовки в карточках на маленьких экранах */
    .card h1,
    .card h2,
    .card h3,
    .card h4 {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        line-height: 1.3 !important;
        max-width: 100% !important;
    }
    
    .card h3 {
        font-size: 1.2rem !important;
    }
    
    .card h2 {
        font-size: 1.3rem !important;
    }
    
    /* Заголовки секций на маленьких экранах */
    section h1,
    section h2,
    section h3,
    section h4,
    section h5 {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        line-height: 1.3 !important;
        max-width: 100% !important;
    }
    
    /* Аккордеоны на маленьких экранах */
    .accordion {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .accordion-item {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .accordion-header h3,
    .accordion-header h4 {
        font-size: 1rem !important;
        word-wrap: break-word !important;
    }
    
    .accordion-content h5 {
        font-size: 0.95rem !important;
        word-wrap: break-word !important;
    }
    
    .accordion-content p {
        font-size: 0.9rem !important;
        word-wrap: break-word !important;
    }
    
    /* Статьи на маленьких экранах */
    .support-articles-section {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .article {
        padding: 1.25rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .article-header h3 {
        font-size: 1.15rem !important;
        word-wrap: break-word !important;
    }
    
    .article-content p {
        font-size: 0.9rem !important;
        word-wrap: break-word !important;
    }
    
    /* Карта на маленьких экранах */
    .contact-map {
        padding: 40px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .contact-map h2 {
        font-size: 1.5rem !important;
        word-wrap: break-word !important;
    }
    
    .map-container iframe {
        height: 250px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Форма на маленьких экранах */
    .card:has(.contact-form) {
        padding: 1rem !important;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 0.95rem !important;
        padding: 10px 12px !important;
    }
    
    .contact-form .form-group {
        margin-bottom: 1rem !important;
    }
    
    .contact-form .btn-large,
    .contact-form button[type="submit"] {
        font-size: 0.95rem !important;
        padding: 12px 20px !important;
    }
    
    .card h2 {
        font-size: 1.4rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    /* Кнопка для перехода на игру в hero */
    .hero-game-btn {
        font-size: 1rem !important;
        padding: 15px 30px !important;
        width: 100%;
        max-width: 100%;
    }
}

