/* ========================================
   ABOUT CASINO SECTION STYLES
   Стили для секции "О казино"
   ======================================== */

/* ========================================
   RATING SYSTEM STYLES
   Стили для системы рейтингов
   ======================================== */

/* Рейтинг в Hero секции */
.site-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--accent-gold);
    border-radius: var(--border-radius);
    padding: 15px 25px;
    margin-bottom: 30px;
}

.rating-stars {
    display: flex;
    gap: 3px;
}

.rating-stars i {
    color: var(--accent-gold);
    font-size: 1.3em;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.rating-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.rating-score {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.rating-text {
    font-size: 0.95em;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Общий рейтинг в секции отзывов */
.overall-rating {
    margin: 20px 0;
    text-align: center;
}

.rating-summary {
    background: var(--bg-dark);
    border: 2px solid var(--accent-gold);
    border-radius: var(--border-radius);
    padding: 25px;
    display: inline-block;
}

.rating-number {
    font-size: 3em;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 10px;
}

.rating-stars-large {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}

.rating-stars-large i {
    color: var(--accent-gold);
    font-size: 1.5em;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

.rating-description {
    color: var(--text-secondary);
    font-size: 1.1em;
}

.rating-description strong {
    color: var(--text-primary);
}

/* Рейтинговая статистика */
.rating-stat {
    background: var(--gradient-gold) !important;
    color: var(--bg-dark) !important;
}

.stat-rating {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.stat-rating .stat-number {
    color: var(--bg-dark) !important;
    font-size: 2.2em !important;
}

.stat-sub {
    color: var(--bg-dark) !important;
    font-size: 0.9em;
    opacity: 0.8;
}

.rating-stat .stat-label {
    color: var(--bg-dark) !important;
    font-weight: 600;
}

/* Предотвращение горизонтального переполнения */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

.container {
    max-width: 100%;
    overflow-x: hidden;
}

.about-casino {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.info-section {
    background: var(--bg-dark);
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 50px;
    border: 1px solid var(--bg-light);
}

.info-content h3 {
    color: var(--primary-red);
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: 600;
}

.info-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.license-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--border-radius-small);
    color: var(--text-primary);
    font-weight: 500;
}

.feature-item i {
    color: var(--accent-gold);
    font-size: 1.3em;
    min-width: 24px;
}

/* Статистика казино */
.casino-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.stat-card {
    background: var(--gradient-primary);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-elevation);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 68, 68, 0.3);
}

.stat-number {
    display: block;
    font-size: 2.5em;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-primary);
    font-size: 1em;
    opacity: 0.9;
}

/* Игровые категории */
.game-categories-info {
    margin: 60px 0;
}

.game-categories-info h3 {
    text-align: center;
    color: var(--text-primary);
    font-size: 2em;
    margin-bottom: 40px;
    font-weight: 600;
}

.category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: var(--bg-dark);
    border: 1px solid var(--bg-light);
    border-radius: var(--border-radius);
    padding: 30px 25px;
    text-align: center;
    transition: var(--transition);
}

.category-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: var(--shadow-elevation);
}

.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin-bottom: 20px;
}

.category-icon i {
    font-size: 1.8em;
    color: var(--text-primary);
}

.category-card h4 {
    color: var(--primary-red);
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

.category-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95em;
}

/* Провайдеры */
.providers-section {
    background: var(--bg-dark);
    border-radius: var(--border-radius);
    padding: 40px;
    margin: 50px 0;
    text-align: center;
}

.providers-section h3 {
    color: var(--primary-red);
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: 600;
}

.providers-section p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1em;
}

.providers-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
}

.provider-badge {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--bg-dark);
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85em;
    transition: var(--transition);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.provider-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Дополнительные бонусы */
.additional-bonuses {
    margin: 60px 0;
}

.additional-bonuses h3 {
    text-align: center;
    color: var(--text-primary);
    font-size: 2em;
    margin-bottom: 40px;
    font-weight: 600;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.bonus-item {
    background: var(--bg-dark);
    border: 1px solid var(--bg-light);
    border-radius: var(--border-radius);
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition);
}

.bonus-item:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.2);
}

.bonus-item i {
    font-size: 2.5em;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.bonus-item h4 {
    color: var(--text-primary);
    font-size: 1.2em;
    margin-bottom: 12px;
    font-weight: 600;
}

.bonus-item p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9em;
}

/* ========================================
   НОВЫЕ СЕКЦИИ - ДОПОЛНИТЕЛЬНЫЕ СТИЛИ
   ======================================== */

/* Общие стили для всех секций */
.about-casino,
.registration-section,
.payments-section,
.mobile-app-section,
.mirrors-section,
.betting-section,
.support-section,
.geography-section,
.responsible-gaming,
.advantages-section,
.faq-section {
    padding: 60px 0;
}

.about-casino {
    background: var(--bg-secondary);
}

.registration-section {
    background: var(--bg-dark);
}

.payments-section {
    background: var(--bg-secondary);
}

/* Заголовки и подзаголовки */
.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2em;
    margin-bottom: 40px;
    font-style: italic;
}

/* Приветственный блок */
.welcome-block {
    background: var(--bg-dark);
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 50px;
    border-left: 4px solid var(--primary-red);
}

.welcome-block h3 {
    color: var(--primary-red);
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: 600;
}

.welcome-block p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.highlight {
    color: var(--accent-gold);
    font-weight: 600;
}

/* Стили для info-box, success-box, warning-box */
.info-box,
.success-box,
.warning-box {
    border-radius: var(--border-radius);
    padding: 30px;
    margin: 30px 0;
}

.info-box {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-red);
}

.success-box {
    background: rgba(40, 167, 69, 0.1);
    border-left: 4px solid #28a745;
}

.warning-box {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
}

.info-box h3,
.info-box h4,
.success-box h3,
.success-box h4,
.warning-box h3,
.warning-box h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.info-box p,
.success-box p,
.warning-box p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.info-box ul,
.success-box ul,
.warning-box ul {
    color: var(--text-secondary);
    margin-left: 20px;
}

.info-box li,
.success-box li,
.warning-box li {
    margin-bottom: 8px;
}

/* Философские карточки */
.philosophy-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.philosophy-card {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.philosophy-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: var(--shadow-elevation);
}

.card-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.philosophy-card h4 {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 1.3em;
    font-weight: 600;
}

.philosophy-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.95em;
}

/* Игровые типы */
.game-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.game-type {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition);
}

.game-type:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-elevation);
}

.type-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.game-type h4 {
    color: var(--primary-red);
    margin-bottom: 12px;
    font-size: 1.3em;
    font-weight: 600;
}

.game-type p {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Бонусная таблица */
.bonus-table {
    margin: 30px 0;
    width: 100%;
    overflow-x: auto;
}

.bonus-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    background: var(--bg-light);
    padding: 20px;
    margin-bottom: 10px;
    border-radius: var(--border-radius-small);
    border-left: 3px solid var(--primary-red);
    min-width: 100%;
    word-wrap: break-word;
}

.bonus-condition {
    color: var(--primary-red);
    font-weight: 600;
}

.bonus-details {
    color: var(--text-secondary);
}

.bonus-benefit {
    color: var(--accent-gold);
    font-weight: 500;
}

/* Еженедельные бонусы */
.weekly-bonuses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.weekly-bonus {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition);
}

.weekly-bonus:hover {
    transform: translateY(-3px);
    border-color: var(--accent-gold);
}

.bonus-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.weekly-bonus h5 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.2em;
    font-weight: 600;
}

/* Шаги регистрации */
.step-list {
    margin: 40px 0;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-secondary);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-red);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.2em;
    flex-shrink: 0;
}

.step-text {
    color: var(--text-secondary);
    font-size: 1.1em;
    line-height: 1.5;
}

/* CTA регистрации */
.registration-cta {
    text-align: center;
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: var(--border-radius);
    margin-top: 40px;
}

.registration-cta h3 {
    color: var(--primary-red);
    margin-bottom: 15px;
    font-size: 1.8em;
}

.registration-cta p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 1.1em;
}

/* Платежи */
.payment-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.payment-card {
    background: var(--gradient-primary);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    color: var(--text-primary);
}

.payment-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.payment-card h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
}

.payment-card p {
    margin-bottom: 8px;
    opacity: 0.9;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 20px 0;
    width: 100%;
    max-width: 100%;
}

.payment-method {
    background: var(--bg-light);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.payment-method:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
}

/* Мобильные платформы */
.mobile-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.platform-card {
    background: var(--bg-dark);
    border: 1px solid var(--bg-light);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.platform-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
}

.platform-icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.platform-card h3 {
    color: var(--primary-red);
    margin-bottom: 15px;
    font-size: 1.5em;
}

/* Поддержка */
.support-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.support-channel {
    text-align: center;
    background: var(--bg-dark);
    padding: 25px 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--bg-light);
}

.channel-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.support-channel h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.2em;
}

.support-channel p {
    color: var(--text-secondary);
}

/* Преимущества */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.advantage-card {
    background: var(--bg-dark);
    border: 1px solid var(--bg-light);
    border-radius: var(--border-radius);
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition);
}

.advantage-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
}

.advantage-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: var(--accent-gold);
}

.advantage-card h3 {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 1.3em;
}

.advantage-card p {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* FAQ */
.faq-list {
    margin: 40px 0;
}

.faq-item {
    background: var(--bg-dark);
    border: 1px solid var(--bg-light);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    background: var(--bg-light);
    padding: 20px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1em;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--primary-red);
    color: var(--text-primary);
}

.faq-answer {
    padding: 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Мобильная адаптация для рейтинговой системы */
@media (max-width: 768px) {
    /* Рейтинг в Hero секции - мобильная версия */
    .site-rating {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 20px 15px;
        margin-bottom: 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .rating-stars {
        justify-content: center;
        gap: 2px;
    }
    
    .rating-stars i {
        font-size: 1.1em;
    }
    
    .rating-info {
        align-items: center;
    }
    
    .rating-score {
        font-size: 1.5em;
    }
    
    .rating-text {
        font-size: 0.85em;
        text-align: center;
    }
    
    /* Общий рейтинг в секции отзывов - мобильная версия */
    .rating-summary {
        padding: 20px 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .rating-number {
        font-size: 2.5em;
    }
    
    .rating-stars-large {
        gap: 3px;
        margin-bottom: 10px;
    }
    
    .rating-stars-large i {
        font-size: 1.3em;
    }
    
    .rating-description {
        font-size: 1em;
        padding: 0 10px;
        text-align: center;
    }
    
    /* Статистика рейтинга - мобильная версия */
    .stat-rating .stat-number {
        font-size: 1.8em !important;
    }
    
    .stat-sub {
        font-size: 0.8em;
    }
    
    .rating-stat .stat-label {
        font-size: 0.9em;
    }
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 480px) {
    .site-rating {
        padding: 15px 10px;
        margin-bottom: 15px;
    }
    
    .rating-stars i {
        font-size: 1em;
    }
    
    .rating-score {
        font-size: 1.3em;
    }
    
    .rating-text {
        font-size: 0.8em;
    }
    
    .rating-number {
        font-size: 2em;
    }
    
    .rating-stars-large i {
        font-size: 1.2em;
    }
    
    .stat-rating .stat-number {
        font-size: 1.6em !important;
    }
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    /* Основные контейнеры */
    .about-casino,
    .registration-section,
    .payments-section,
    .mobile-app-section,
    .mirrors-section,
    .betting-section,
    .support-section,
    .geography-section,
    .responsible-gaming,
    .advantages-section,
    .faq-section {
        padding: 40px 15px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .welcome-block {
        padding: 25px 15px;
        margin-bottom: 30px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .casino-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        width: 100%;
    }
    
    .philosophy-cards,
    .game-types,
    .weekly-bonuses,
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        width: 100%;
    }
    
    .bonus-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .payment-overview,
    .mobile-platforms {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .support-channels {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .payment-methods,
    .providers-list {
        justify-content: flex-start;
        gap: 6px;
        width: 100%;
        max-width: 100%;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        width: 100%;
        padding: 15px;
        box-sizing: border-box;
    }
    
    .stat-number {
        font-size: 2em;
    }
    
    .section-subtitle {
        font-size: 1.1em;
        padding: 0 15px;
        text-align: center;
    }
    
    /* Исправление переполнений */
    .bonus-condition,
    .bonus-details,
    .bonus-benefit {
        word-break: break-word;
        hyphens: auto;
    }
    
    .provider-badge,
    .payment-method {
        min-width: 0;
        flex-shrink: 1;
        max-width: 45%;
    }
    
    /* Дополнительная защита от переполнения */
    h1, h2, h3, h4, h5, h6 {
        word-break: break-word;
        hyphens: auto;
    }
    
    p, span, div {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Дополнительная защита для очень маленьких экранов */
@media (max-width: 480px) {
    .provider-badge,
    .payment-method {
        max-width: 48%;
        font-size: 0.75em;
        padding: 6px 10px;
    }
    
    .casino-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .bonus-row {
        padding: 12px;
    }
    
    .step-item {
        padding: 12px;
    }
}