* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff4757;
    --secondary-color: #ffa502;
    --accent-color: #2f3542;
    --bg-dark: #0f1419;
    --bg-card: #1a1f29;
    --text-light: #ffffff;
    --text-gray: #8892b0;
    --gradient-primary: linear-gradient(135deg, #ff4757 0%, #ff6b7a 100%);
    --gradient-secondary: linear-gradient(135deg, #ffa502 0%, #ffb733 100%);
    --gradient-bg: linear-gradient(180deg, #0f1419 0%, #1a1f29 50%, #0f1419 100%);
    --hero-bg: linear-gradient(135deg, #1a237e 0%, #3949ab 25%, #5e35b1 50%, #8e24aa 75%, #c2185b 100%);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Стили заголовков */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-light);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

h5 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

h6 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Адаптивные заголовки */
@media (max-width: 768px) {
    h1 {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    h3 {
        font-size: 1.25rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    h4 {
        font-size: 1.125rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    h5, h6 {
        font-size: 1rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.3);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(26, 35, 126, 0.7));
    background-image: url(/assets/image/bg-desk.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero::after {
    display: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 6rem;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-text {
    text-align: left;
    order: 2;
}

.registration-form {
    order: 1;
}

.hero-logo {
    font-size: 4rem;
    font-weight: 800;
    color: #ff4757;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 2rem;
    text-shadow: 0 0 30px rgba(255, 71, 87, 0.5);
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-bonus {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #64b5f6 0%, #42a5f5 50%, #2196f3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(33, 150, 243, 0.5);
    line-height: 1.1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Registration Form */
.registration-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 3;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-input:focus {
    outline: none;
    border-color: #ff4757;
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.3);
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 1.2rem;
}

.form-agreement {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    text-align: center;
}

.form-agreement a {
    color: #64b5f6;
    text-decoration: none;
}

.register-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, #ff4757 0%, #ff6b7a 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 71, 87, 0.4);
}

.login-link {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.login-link a {
    color: #64b5f6;
    text-decoration: underline;
}

/* Floating Elements */
.floating-card {
    position: absolute;
    width: 60px;
    height: 80px;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: floatCard 6s ease-in-out infinite;
}

.floating-card:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 60%;
    left: 5%;
    animation-delay: 2s;
}

.floating-card:nth-child(3) {
    top: 30%;
    right: 25%;
    animation-delay: 4s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.floating-chips {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffd23f 0%, #ff6b35 100%);
    border-radius: 50%;
    border: 3px solid white;
    animation: floatChips 8s ease-in-out infinite;
}

.floating-chips:nth-child(4) {
    top: 15%;
    right: 15%;
    animation-delay: 1s;
}

.floating-chips:nth-child(5) {
    bottom: 20%;
    left: 15%;
    animation-delay: 3s;
}

@keyframes floatChips {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.1);
    }
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--bg-card);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 71, 87, 0.2);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Games Section */
.games {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.game-card {
    background: #1a1f29;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 320px;
    height: auto;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.game-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.game-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    min-height: 120px; /* Минимальная высота для размещения контента и кнопки */
}

.game-content {
    flex-grow: 1;
}

.game-text-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.game-provider {
    font-size: 0.8rem;
    color: #8892b0;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.game-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.3;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.game-play-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 0.5rem; /* Добавляем отступ сверху */
    text-transform: uppercase;
    font-size: 0.9rem;
    flex-shrink: 0; /* Предотвращаем сжатие кнопки */
    min-height: 44px; /* Минимальная высота для удобного нажатия */
}

.game-play-btn:hover {
    transform: translateY(-2px);
}

/* Bonuses Section */
.bonuses {
    padding: 6rem 0;
    background: var(--bg-card);
    width: 100%;
    min-height: auto;
}

.bonus-content {
    display: grid;
    gap: 4rem;
    align-items: flex-start;
    width: 100%;
}

.bonus-text {
    overflow-wrap: break-word; /* Переносим длинные слова */
    word-wrap: break-word;
    hyphens: auto;
    max-width: 100%; /* Ограничиваем ширину */
}

.bonus-text h1,
.bonus-text h2,
.bonus-text h3,
.bonus-text h4,
.bonus-text h5,
.bonus-text h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.bonus-text p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    margin-bottom: 1rem;
}

/* Стили для контента статьи */
.entry-content {
    max-width: 100%;
    overflow: hidden;
}

.article-content {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.article-content p {
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-content ul, 
.article-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Стили для таблиц */
.info-table, .bonus-table {
    width: 100%;
    overflow-x: auto;
    margin: 1rem 0;
}

.info-table table, .bonus-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.info-table th, .info-table td,
.bonus-table th, .bonus-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    word-wrap: break-word;
}

.info-table th, .bonus-table th {
    background: rgba(255, 71, 87, 0.2);
    font-weight: 600;
}

/* Оглавление */
.table-of-contents {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.table-of-contents h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.table-of-contents li::before {
    content: '📌';
    position: absolute;
    left: 0;
}

.table-of-contents a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.table-of-contents a:hover {
    color: var(--primary-color);
}

/* Важная заметка */
.important-note {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
    padding: 1rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    word-wrap: break-word;
}

.important-note p {
    margin: 0;
    color: #ffc107;
    font-weight: 500;
}

/* Цитата */
blockquote {
    background: rgba(100, 181, 246, 0.1);
    border-left: 4px solid #64b5f6;
    padding: 1rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    word-wrap: break-word;
}

blockquote p {
    margin: 0;
    color: #64b5f6;
}

.bonus-list {
    list-style: none;
    margin: 2rem 0;
}

.bonus-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    word-wrap: break-word;
}

.bonus-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.bonus-visual {
    background: var(--gradient-primary);
    height: 300px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

/* Reviews Section */
.reviews {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(255, 71, 87, 0.1);
}

.review-rating {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-text {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
    word-wrap: break-word;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: white;
}

.author-name {
    font-weight: 600;
    color: var(--text-light);
}

.author-date {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: var(--bg-card);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 3rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    word-wrap: break-word;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
    word-wrap: break-word;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: var(--bg-dark);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--accent-color);
    padding: 3rem 0 1rem;
    text-align: center;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.payment-icon {
    width: 50px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.footer-info {
    color: var(--text-gray);
    font-size: 0.9rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    word-wrap: break-word;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    color: var(--text-gray);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-text {
        order: 1;
    }

    .registration-form {
        max-width: 400px;
        margin: 0 auto;
        order: 2;
    }

    .hero::after {
        display: none;
    }

    .floating-card,
    .floating-chips {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-buttons {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-logo {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-bonus {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bonus-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Исправления для секции bonuses на мобильных */
    .bonuses {
        padding: 3rem 0;
        min-height: auto;
        height: auto;
    }

    .bonus-content {
        display: block;
        gap: 2rem;
    }

    .bonus-text {
        padding: 0;
        margin: 0;
        width: 100%;
        min-height: auto;
        height: auto;
    }

    .article-content {
        overflow-wrap: break-word;
        word-break: break-word;
        width: 100%;
        min-height: auto;
        height: auto;
    }

    .article-content h1,
    .article-content h2,
    .article-content h3 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        word-break: break-word;
        width: 100%;
        height: auto;
        min-height: auto;
    }

    .article-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
        width: 100%;
        height: auto;
        min-height: auto;
    }

    .table-of-contents {
        padding: 1rem;
        margin: 1rem 0;
        width: 100%;
        height: auto;
        min-height: auto;
        box-sizing: border-box;
    }

    .table-of-contents h2 {
        font-size: 1.25rem;
        height: auto;
        min-height: auto;
    }

    .table-of-contents li {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
        height: auto;
        min-height: auto;
    }

    .table-of-contents ul {
        height: auto;
        min-height: auto;
        width: 100%;
    }

    /* Адаптация таблиц для мобильных */
    .info-table, .bonus-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        margin: 1rem 0;
        height: auto;
        min-height: auto;
    }

    .info-table table, .bonus-table table {
        min-width: 300px;
        font-size: 0.85rem;
        width: 100%;
        height: auto;
        min-height: auto;
    }

    .info-table th, .info-table td,
    .bonus-table th, .bonus-table td {
        padding: 0.5rem;
        white-space: nowrap;
        height: auto;
        min-height: auto;
    }

    .important-note {
        padding: 0.75rem;
        margin: 1rem 0;
        font-size: 0.9rem;
        width: 100%;
        box-sizing: border-box;
        height: auto;
        min-height: auto;
    }

    blockquote {
        padding: 0.75rem;
        margin: 1rem 0;
        font-size: 0.9rem;
        width: 100%;
        box-sizing: border-box;
        height: auto;
        min-height: auto;
    }

    .payment-methods {
        gap: 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .faq-container {
        margin-top: 2rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 1rem;
        align-items: flex-start;
    }

    .faq-question span:first-child {
        flex: 1;
        padding-right: 1rem;
    }

    .faq-answer {
        padding: 0 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: 1fr;
    }

    .nav {
        padding: 1rem;
    }

    .registration-form {
        padding: 2rem 1.5rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .article-content h1,
    .article-content h2 {
        font-size: 1.25rem;
    }

    .article-content h3 {
        font-size: 1.125rem;
    }

    .article-content p,
    .article-content li {
        font-size: 0.9rem;
    }

    .info-table th, .info-table td,
    .bonus-table th, .bonus-table td {
        padding: 0.25rem;
        font-size: 0.8rem;
    }

    /* Исправления для карточек игр на мобильных */
    .game-card {
        min-height: 300px;
        height: auto;
    }

    .game-image {
        height: 180px; /* Уменьшаем высоту изображения на мобильных */
    }

    .game-info {
        min-height: 120px;
        padding: 0.75rem;
    }

    .game-play-btn {
        padding: 0.75rem;
        font-size: 0.85rem;
        min-height: 40px;
        margin-top: 0.5rem;
    }

    .game-title {
        font-size: 0.9rem;
        line-height: 1.2;
        min-height: 2.4em;
    }

    .game-provider {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
    border-collapse: collapse;
}

/* Дополнительные правки для предотвращения обрезания контента */
@media (max-width: 768px) {
    /* Общие правила для всех секций */
    section {
        width: 100%;
        min-height: auto;
        height: auto;
        overflow: visible;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
        min-height: auto;
        height: auto;
    }

    /* Исправления для блоков контента */
    .entry-content {
        width: 100%;
        height: auto;
        min-height: auto;
        overflow: visible;
    }

    /* Оглавление */
    .table-of-contents ul {
        width: 100%;
        height: auto;
        min-height: auto;
        overflow: visible;
    }

    .table-of-contents li {
        width: 100%;
        height: auto;
        min-height: auto;
        overflow: visible;
        white-space: normal;
    }

    .table-of-contents a {
        display: block;
        width: 100%;
        height: auto;
        min-height: auto;
        white-space: normal;
        word-wrap: break-word;
    }

    /* Списки */
    ul, ol {
        width: 100%;
        height: auto;
        min-height: auto;
        overflow: visible;
    }

    li {
        width: 100%;
        height: auto;
        min-height: auto;
        overflow: visible;
        white-space: normal;
    }

    /* Превращение таблиц в карточки на мобильных только при необходимости */
    .mobile-table table, 
    .mobile-table thead, 
    .mobile-table tbody, 
    .mobile-table th, 
    .mobile-table td, 
    .mobile-table tr {
        display: block;
        width: 100%;
        height: auto;
        min-height: auto;
    }
    
    .mobile-table tr {
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 10px;
        padding: 10px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
        width: 100%;
        box-sizing: border-box;
        height: auto;
        min-height: auto;
    }
    
    .mobile-table td {
        border: none;
        padding: 5px 0;
        text-align: left;
        position: relative;
        padding-left: 50%;
        width: 100%;
        height: auto;
        min-height: auto;
        white-space: normal;
        word-wrap: break-word;
    }
    
    .mobile-table td:before {
        content: attr(data-label) ": ";
        font-weight: bold;
        position: absolute;
        left: 6px;
        width: 45%;
        text-align: left;
        color: var(--primary-color);
        white-space: normal;
        word-wrap: break-word;
    }

    .mobile-table thead {
        display: none;
    }
}