/* =============================================================================
   СТИЛИ ДЛЯ ПРОВАЙДЕРОВ - SlotReviews.ru
   Hero-блоки, карточки провайдеров, статистика
============================================================================= */

/* =============================================================================
   PROVIDER HERO SECTION
============================================================================= */

.provider-hero {
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 4rem 0 3rem;
    margin-bottom: 0;
}

/* Текстурный overlay */
.provider-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="white" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.provider-hero__content {
    position: relative;
    z-index: 2;
}

/* Header с логотипом и названием */
.provider-hero__header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.provider-logo {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    box-shadow: var(--shadow-xl);
    flex-shrink: 0;
    overflow: hidden;
}

.provider-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: calc(var(--border-radius-lg) - 2px);
}

.provider-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Мета-информация провайдера */
.provider-meta {
    display: flex;
    gap: 2rem;
    align-items: center;
    font-size: 1rem;
    opacity: 0.95;
    flex-wrap: wrap;
}

.provider-meta__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.provider-meta__icon {
    font-size: 1.125rem;
    opacity: 0.8;
}

/* Статистические карточки */
.provider-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-radius: var(--border-radius-lg);
    padding: 1.75rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
}

.stat-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.stat-card__icon {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    display: block;
    opacity: 0.9;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.stat-card__label {
    font-size: 0.875rem;
    opacity: 0.85;
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card__value {
    font-size: 1.875rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Кнопки действий */
.provider-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.btn {
    padding: 0.875rem 1.75rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: var(--font-family);
    line-height: 1.2;
    position: relative;
    overflow: hidden;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.btn:hover::before {
    opacity: 1;
}

.btn--primary {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    color: var(--primary-blue);
    text-decoration: none;
}

.btn--secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: var(--white);
    text-decoration: none;
}

/* =============================================================================
   PROVIDER CONTENT SECTION
============================================================================= */

.provider-content {
    padding: 5rem 0;
    background: var(--gray-50);
    position: relative;
}

.content-section {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.content-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.content-section p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 2.5rem;
}

/* Кнопки в контентной секции */
.content-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn--accent {
    background: var(--secondary-blue);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn--accent:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: var(--white);
    text-decoration: none;
}

.btn--outline {
    background: transparent;
    color: var(--secondary-blue);
    border: 2px solid var(--secondary-blue);
}

.btn--outline:hover {
    background: var(--secondary-blue);
    color: var(--white);
    transform: translateY(-2px);
    text-decoration: none;
}

/* =============================================================================
   KEY FEATURES SECTION
============================================================================= */

.key-features {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
}

.key-features-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.key-features-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.key-features-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #374151;
    text-align: left;
    max-width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .key-features {
        padding: 3rem 0;
    }

    .key-features-content h2 {
        font-size: 1.75rem;
    }

    .key-features-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .key-features {
        padding: 2.5rem 0;
    }

    .key-features-content h2 {
        font-size: 1.5rem;
    }
}
/* =============================================================================
   PROVIDER CARDS GRID (для списка провайдеров)
============================================================================= */

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.provider-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
}

.provider-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.provider-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--light-blue);
    color: inherit;
    text-decoration: none;
}

.provider-card:hover::before {
    transform: scaleX(1);
}

.provider-card__header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.provider-card__logo {
    width: 60px;
    height: 60px;
    background: var(--gray-100);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--gray-200);
}

.provider-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: calc(var(--border-radius) - 2px);
}

.provider-card__info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.provider-card__slots {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

.provider-card__description {
    color: var(--gray-700);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.provider-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.provider-card__meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.provider-card__cta {
    color: var(--secondary-blue);
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* =============================================================================
   PROVIDER STATS DETAILED (для подробной статистики)
============================================================================= */

.provider-detailed-stats {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.provider-detailed-stats h2 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.75rem;
}

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

.detailed-stat-card {
    background: var(--gray-50);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    text-align: center;
    border-left: 4px solid var(--secondary-blue);
    transition: all 0.3s ease;
}

.detailed-stat-card:hover {
    background: var(--very-light-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.detailed-stat-card__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.detailed-stat-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.detailed-stat-card__value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.detailed-stat-card__description {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* =============================================================================
   VOLATILITY DISTRIBUTION CHART
============================================================================= */

.volatility-distribution {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.volatility-distribution h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.volatility-chart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.volatility-item {
    background: var(--gray-50);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    text-align: center;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
}

.volatility-item:hover {
    border-color: var(--light-blue);
    background: var(--very-light-blue);
    transform: translateY(-2px);
}

.volatility-item__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.volatility-item__count {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.volatility-item__percentage {
    font-size: 0.8rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* =============================================================================
   RESPONSIVE DESIGN
============================================================================= */

/* Планшеты */
@media (max-width: 1024px) {
    .provider-hero {
        padding: 3rem 0 2.5rem;
    }

    .provider-hero__header {
        gap: 1.5rem;
    }

    .provider-info h1 {
        font-size: 2.25rem;
    }

    .provider-stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.25rem;
    }

    .provider-content {
        padding: 4rem 0;
    }

    .content-section h2 {
        font-size: 2rem;
    }

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

/* Мобильные устройства */
@media (max-width: 768px) {
    .provider-hero {
        padding: 2.5rem 0 2rem;
    }

    .provider-hero__header {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
        margin-bottom: 2rem;
    }

    .provider-logo {
        width: 70px;
        height: 70px;
        font-size: 1.25rem;
    }

    .provider-info h1 {
        font-size: 1.875rem;
        margin-bottom: 1rem;
    }

    .provider-meta {
        flex-direction: column;
        gap: 0.75rem;
        justify-content: center;
    }

    .provider-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-card__value {
        font-size: 1.625rem;
    }

    .provider-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .provider-content {
        padding: 3.5rem 0;
    }

    .content-section h2 {
        font-size: 1.75rem;
    }

    .content-section p {
        font-size: 1rem;
    }

    .content-actions {
        flex-direction: column;
        align-items: center;
    }

    .providers-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.5rem 0;
    }

    .provider-card {
        padding: 1.5rem;
    }

    .provider-card__header {
        gap: 1rem;
    }

    .provider-card__logo {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .provider-card__info h3 {
        font-size: 1.125rem;
    }

    .detailed-stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .volatility-chart {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .volatility-item {
        padding: 1rem;
    }
}

/* Маленькие мобильные */
@media (max-width: 480px) {
    .provider-hero {
        padding: 2rem 0 1.5rem;
    }

    .provider-logo {
        width: 60px;
        height: 60px;
        font-size: 1.125rem;
    }

    .provider-info h1 {
        font-size: 1.625rem;
        line-height: 1.25;
    }

    .stat-card {
        padding: 1.25rem;
    }

    .stat-card__icon {
        font-size: 2rem;
    }

    .stat-card__value {
        font-size: 1.5rem;
    }

    .provider-content {
        padding: 3rem 0;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .provider-card {
        padding: 1.25rem;
    }

    .provider-card__footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        text-align: center;
    }

    .volatility-chart {
        grid-template-columns: 1fr;
    }

    .detailed-stat-card {
        padding: 1.5rem;
    }

    .detailed-stat-card__icon {
        font-size: 2.25rem;
    }

    .detailed-stat-card__value {
        font-size: 1.75rem;
    }
}

/* =============================================================================
   ACCESSIBILITY IMPROVEMENTS
============================================================================= */

/* Focus states */
.provider-card:focus,
.btn:focus {
    outline: 3px solid var(--secondary-blue);
    outline-offset: 2px;
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .provider-card,
    .stat-card,
    .btn,
    .volatility-item,
    .detailed-stat-card {
        transition: none;
    }

    .provider-card:hover,
    .stat-card:hover,
    .btn:hover {
        transform: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .provider-hero {
        background: var(--primary-blue);
    }

    .stat-card {
        border: 2px solid rgba(255, 255, 255, 0.5);
    }

    .provider-card {
        border: 2px solid var(--gray-400);
    }
}

/* =============================================================================
   MARKET COMPARISON SECTION - Блок сравнения с рынком
   Добавить в providers.css
============================================================================= */

.market-comparison {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--secondary-blue);
}

.comparison-header {
    text-align: center;
    margin-bottom: 2rem;
}

.comparison-header h3 {
    color: var(--primary-blue);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

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

/* =============================================================================
   COMPARISON ITEMS
============================================================================= */

.comparison-item {
    background: var(--gray-50);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--gray-200);
    position: relative;
}

.comparison-item:hover {
    background: var(--very-light-blue);
    border-color: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Преимущество */
.comparison-item--advantage {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-color: var(--light-blue);
}

.comparison-item--advantage:hover {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-color: var(--secondary-blue);
}

/* =============================================================================
   COMPARISON CONTENT
============================================================================= */

.comparison-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.comparison-item--advantage .comparison-icon {
    background: var(--very-light-blue);
    border: 2px solid var(--light-blue);
}

.comparison-content {
    flex: 1;
    min-width: 0;
}

.comparison-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.comparison-desc {
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.comparison-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: var(--secondary-blue);
    color: var(--white);
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-item--advantage .comparison-badge {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
    box-shadow: var(--shadow-sm);
}

/* =============================================================================
   RESPONSIVE DESIGN
============================================================================= */

@media (max-width: 768px) {
    .market-comparison {
        padding: 2rem 1.5rem;
        margin: 1.5rem 0;
    }

    .comparison-header h3 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .comparison-item {
        padding: 1.25rem;
        gap: 0.75rem;
    }

    .comparison-icon {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

    .comparison-title {
        font-size: 0.95rem;
    }

    .comparison-desc {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .market-comparison {
        padding: 1.5rem 1rem;
    }

    .comparison-header h3 {
        font-size: 1.25rem;
    }

    .comparison-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .comparison-icon {
        align-self: center;
    }

    .comparison-content {
        text-align: center;
    }
}

/* =============================================================================
   ANIMATION EFFECTS
============================================================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comparison-item {
    animation: fadeInUp 0.6s ease-out;
}

.comparison-item:nth-child(1) { animation-delay: 0.1s; }
.comparison-item:nth-child(2) { animation-delay: 0.2s; }
.comparison-item:nth-child(3) { animation-delay: 0.3s; }
.comparison-item:nth-child(4) { animation-delay: 0.4s; }

/* Отключение анимации для пользователей с чувствительностью к движению */
@media (prefers-reduced-motion: reduce) {
    .comparison-item {
        animation: none;
    }

    .comparison-item:hover {
        transform: none;
    }
}

/* =============================================================================
   PROVIDER ACTIVITY SECTION - Блок активности провайдера
   Добавить в providers.css
============================================================================= */

.provider-activity {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--secondary-blue);
}

.activity-header {
    text-align: center;
    margin-bottom: 2rem;
}

.activity-header h3 {
    color: var(--primary-blue);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* =============================================================================
   ACTIVITY CARDS
============================================================================= */

.activity-card {
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

.activity-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Зеленая карточка - Последний релиз */
.activity-card--green {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #86efac;
}

.activity-card--green:hover {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border-color: #4ade80;
}

.activity-card--green .activity-icon {
    background: #dcfce7;
    color: #16a34a;
    border: 2px solid #86efac;
}

/* Синяя карточка - Текущий год */
.activity-card--blue {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-color: #93c5fd;
}

.activity-card--blue:hover {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: #60a5fa;
}

.activity-card--blue .activity-icon {
    background: #dbeafe;
    color: #2563eb;
    border: 2px solid #93c5fd;
}

/* Фиолетовая карточка - Тренд */
.activity-card--purple {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border-color: #c4b5fd;
}

.activity-card--purple:hover {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border-color: #a78bfa;
}

.activity-card--purple .activity-icon {
    background: #f3e8ff;
    color: #7c3aed;
    border: 2px solid #c4b5fd;
}

/* =============================================================================
   ACTIVITY CONTENT
============================================================================= */

.activity-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.activity-card:hover .activity-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-title {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.activity-card--green .activity-title {
    color: #15803d;
}

.activity-card--blue .activity-title {
    color: #1d4ed8;
}

.activity-card--purple .activity-title {
    color: #6b21a8;
}

.activity-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.activity-card--green .activity-value {
    color: #15803d;
}

.activity-card--blue .activity-value {
    color: #1d4ed8;
}

.activity-card--purple .activity-value {
    color: #6b21a8;
}

.activity-subtitle {
    font-size: 0.85rem;
    opacity: 0.7;
    line-height: 1.4;
    font-weight: 500;
}

.activity-card--green .activity-subtitle {
    color: #166534;
}

.activity-card--blue .activity-subtitle {
    color: #1e40af;
}

.activity-card--purple .activity-subtitle {
    color: #581c87;
}

/* =============================================================================
   DECORATIVE ELEMENTS
============================================================================= */

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.activity-card--green::before {
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
}

.activity-card--blue::before {
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
}

.activity-card--purple::before {
    background: linear-gradient(90deg, #8b5cf6 0%, #7c3aed 100%);
}

.activity-card:hover::before {
    opacity: 1;
}

/* =============================================================================
   RESPONSIVE DESIGN
============================================================================= */

@media (max-width: 768px) {
    .provider-activity {
        padding: 2rem 1.5rem;
        margin: 1.5rem 0;
    }

    .activity-header h3 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .activity-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .activity-card {
        padding: 1.5rem;
        gap: 0.75rem;
    }

    .activity-icon {
        width: 42px;
        height: 42px;
        font-size: 1.25rem;
    }

    .activity-value {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .provider-activity {
        padding: 1.5rem 1rem;
    }

    .activity-header h3 {
        font-size: 1.25rem;
    }

    .activity-card {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .activity-icon {
        align-self: center;
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }

    .activity-content {
        text-align: center;
    }

    .activity-value {
        font-size: 1.125rem;
    }
}

/* =============================================================================
   ANIMATION EFFECTS
============================================================================= */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.activity-card {
    animation: slideInUp 0.6s ease-out;
}

.activity-card:nth-child(1) { animation-delay: 0.1s; }
.activity-card:nth-child(2) { animation-delay: 0.2s; }
.activity-card:nth-child(3) { animation-delay: 0.3s; }

/* Отключение анимации для пользователей с чувствительностью к движению */
@media (prefers-reduced-motion: reduce) {
    .activity-card {
        animation: none;
    }

    .activity-card:hover {
        transform: none;
    }

    .activity-card:hover .activity-icon {
        transform: none;
    }
}


/* === GAMES DISTRIBUTION SECTION === */
.games-distribution {
    background: white;
    padding: 48px 0;
    border-bottom: 1px solid #e2e8f0;
}

.distribution-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.distribution-header .distribution-icon {
    font-size: 24px;
}

.distribution-header h3 {
    color: var(--primary-blue);
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.distribution-section {
    margin-bottom: 32px;
}

.distribution-section:last-child {
    margin-bottom: 0;
}

.distribution-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
}

.distribution-title .title-icon {
    font-size: 18px;
}

/* === RTP & VOLATILITY ITEMS === */
.distribution-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.distribution-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    position: relative;
}

.distribution-item:hover {
    border-color: var(--light-blue);
    box-shadow: var(--shadow-md);
}

.distribution-item--advantage {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border-color: #bbf7d0;
}

.distribution-item--advantage:hover {
    border-color: #86efac;
}

.distribution-item .item-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.item-content {
    flex: 1;
}

.item-label {
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.item-stats {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

.item-count {
    font-weight: 500;
    color: #374151;
}

.item-percentage {
    color: #6b7280;
}

.advantage-badge {
    font-size: 16px;
    flex-shrink: 0;
}

/* === ИСПРАВЛЕНИЯ ДЛЯ THEME ITEMS === */

.theme-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
    position: relative;
    min-height: 72px; /* Фиксированная минимальная высота */
}

.theme-item:hover {
    border-color: var(--light-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.theme-item--advantage {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border-color: #bbf7d0;
}

.theme-item--advantage:hover {
    border-color: #86efac;
}

/* === ВИЗУАЛЬНАЯ ЧАСТЬ ТЕМЫ === */
.theme-visual {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* ВАЖНО: не сжимается */
    background: #e5e7eb; /* Фолбэк фон */
    border: 2px solid #d1d5db;
}

.theme-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Убираем возможные отступы */
}

.theme-letter {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px; /* Чуть меньше родителя */
}

/* === КОНТЕНТ ТЕМЫ === */
.theme-content {
    flex: 1;
    min-width: 0; /* ВАЖНО: позволяет сжиматься */
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.theme-label {
    font-weight: 600;
    color: #111827;
    font-size: 14px;
    line-height: 1.3;
    word-wrap: break-word; /* Перенос длинных слов */
    overflow-wrap: break-word;
}

.theme-count {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

/* === ССЫЛКА НА ТЕМУ === */
.theme-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
    display: block; /* Занимает всю доступную ширину */
}

.theme-link:hover {
    color: #3b82f6;
}

.theme-link:hover .theme-label {
    text-decoration: underline;
}

/* === ЗНАЧОК ПРЕИМУЩЕСТВА === */
.advantage-badge {
    font-size: 16px;
    flex-shrink: 0; /* Не сжимается */
    line-height: 1;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .theme-item {
        padding: 12px;
        gap: 10px;
        min-height: 60px;
    }

    .theme-visual {
        width: 32px;
        height: 32px;
    }

    .theme-letter {
        font-size: 14px;
        border-radius: 4px;
    }

    .theme-label {
        font-size: 13px;
    }

    .theme-count {
        font-size: 11px;
    }

    .advantage-badge {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .theme-item {
        padding: 10px;
        gap: 8px;
        min-height: 56px;
    }

    .theme-visual {
        width: 28px;
        height: 28px;
    }

    .theme-letter {
        font-size: 12px;
    }

    .theme-label {
        font-size: 12px;
    }

    .theme-count {
        font-size: 10px;
    }
}

/* === ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ ИКОНКИ ТЕМЫ === */
.theme-item .theme-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border-radius: 8px;
    border: 2px solid #d1d5db;
}

/* Если используется старая структура без .theme-visual */
.theme-item:not(:has(.theme-visual)) .theme-icon {
    order: -1; /* Помещаем иконку в начало */
}

/* === СОСТОЯНИЯ ЗАГРУЗКИ === */
.theme-visual--loading {
    background: #f3f4f6;
    position: relative;
}

.theme-visual--loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === СОСТОЯНИЕ ОШИБКИ === */
.theme-visual--error {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #dc2626;
    font-size: 16px;
}

.theme-visual--error::before {
    content: '⚠️';
}

/* === BEST GAMES SECTION === */
.best-games {
    background: #f8fafc;
    padding: 48px 0;
    border-bottom: 1px solid #e2e8f0;
}

.best-games-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.best-games-header .games-icon {
    font-size: 24px;
}

.best-games-header h3 {
    color: var(--primary-blue);
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.games-section {
    margin-bottom: 32px;
}

.games-section:last-child {
    margin-bottom: 0;
}

.games-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
}

.games-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.game-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
}

.game-card:hover {
    border-color: var(--light-blue);
    box-shadow: var(--shadow-md);
}

.game-card--rtp {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fbbf24;
}

.game-card--new .new-badge {
    background: #ef4444;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.game-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.game-content {
    flex: 1;
}

.game-name {
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.game-meta {
    font-size: 14px;
    color: #6b7280;
}

.game-value {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.rtp-value {
    font-size: 18px;
    font-weight: 700;
    color: #f59e0b;
}

.rtp-label {
    font-size: 12px;
    color: #6b7280;
}

.game-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.play-btn {
    background: var(--secondary-blue);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.play-btn:hover {
    background: var(--primary-blue);
}

@media (max-width: 768px) {
    .best-games {
        padding: 32px 0;
    }

    .game-card {
        padding: 12px 16px;
        gap: 12px;
    }

    .game-actions {
        flex-direction: column;
        gap: 8px;
    }
}


/* === ДОПОЛНЕНИЯ К PROVIDERS.CSS === */
/* Добавить в конец файла или заменить существующую секцию .game-actions */

/* === ИГРОВЫЕ ДЕЙСТВИЯ В BEST GAMES === */
.best-games .game-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px; /* Фиксированная минимальная ширина */
}

/* === КНОПКА "ОБЗОР" === */
.best-games .btn--primary.btn--small {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
    white-space: nowrap;
}

.best-games .btn--primary.btn--small:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.best-games .btn--primary.btn--small:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

/* === БЕЙДЖ "NEW" === */
.best-games .new-badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(239, 68, 68, 0.3);
}

/* === ИСПРАВЛЕНИЯ ДЛЯ GAME-CARD === */
.best-games .game-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s ease;
    min-height: 72px; /* Фиксированная высота */
}

.best-games .game-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.best-games .game-card--rtp {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #f59e0b;
}

.best-games .game-card--new {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #86efac;
}

/* === ИКОНКИ ИГРОВЫХ КАРТОЧЕК === */
.best-games .game-icon {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
}

.best-games .game-card--rtp .game-icon {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
}

.best-games .game-card--new .game-icon {
    background: linear-gradient(135deg, #bbf7d0 0%, #86efac 100%);
}

/* === КОНТЕНТ ИГРОВОЙ КАРТОЧКИ === */
.best-games .game-content {
    flex: 1;
    min-width: 0; /* Позволяет сжиматься */
}

.best-games .game-name {
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
    font-size: 15px;
    line-height: 1.3;
    /* Обрезка длинных названий */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.best-games .game-meta {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

/* === ЗНАЧЕНИЕ RTP === */
.best-games .game-value {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.best-games .rtp-value {
    font-size: 18px;
    font-weight: 700;
    color: #f59e0b;
    line-height: 1;
}

.best-games .rtp-label {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === RESPONSIVE ИСПРАВЛЕНИЯ === */
@media (max-width: 768px) {
    .best-games .game-card {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
        min-height: auto;
    }

    .best-games .game-content {
        text-align: center;
    }

    .best-games .game-value {
        margin-right: 0;
        margin-bottom: 8px;
        align-self: center;
    }

    .best-games .game-actions {
        justify-content: center;
        min-width: auto;
    }

    .best-games .game-name {
        white-space: normal;
        overflow: visible;
        text-overflow: initial;
    }
}

@media (max-width: 480px) {
    .best-games .game-card {
        padding: 12px;
        gap: 10px;
    }

    .best-games .game-icon {
        width: 32px;
        height: 32px;
        font-size: 20px;
        align-self: center;
    }

    .best-games .game-name {
        font-size: 14px;
    }

    .best-games .game-meta {
        font-size: 12px;
    }

    .best-games .rtp-value {
        font-size: 16px;
    }

    .best-games .btn--primary.btn--small {
        padding: 6px 10px;
        font-size: 12px;
        gap: 3px;
    }

    .best-games .new-badge {
        font-size: 9px;
        padding: 3px 6px;
    }
}

/* === ДОПОЛНИТЕЛЬНЫЕ СОСТОЯНИЯ === */
.best-games .btn--primary.btn--small:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.best-games .game-card:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* === АНИМАЦИЯ ПОЯВЛЕНИЯ === */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.best-games .game-card {
    animation: slideInFromLeft 0.5s ease-out;
}

.best-games .game-card:nth-child(1) { animation-delay: 0.1s; }
.best-games .game-card:nth-child(2) { animation-delay: 0.2s; }
.best-games .game-card:nth-child(3) { animation-delay: 0.3s; }

/* Отключение анимации для пользователей с чувствительностью к движению */
@media (prefers-reduced-motion: reduce) {
    .best-games .game-card {
        animation: none;
    }

    .best-games .game-card:hover,
    .best-games .btn--primary.btn--small:hover {
        transform: none;
    }
}


/* =============================================================================
   ALL GAMES SECTION - ПОЛНОСТЬЮ ПЕРЕПИСАННЫЕ СТИЛИ
   Секция "Все игры провайдера" с адаптивным дизайном
============================================================================= */

.all-games {
    background: #f8fafc;
    padding: 3rem 0;
    border-top: 1px solid #e2e8f0;
}

/* =============================================================================
   ЗАГОЛОВОК СЕКЦИИ
============================================================================= */

.games-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.games-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.games-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.games-header h3 {
    color: var(--primary-blue);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.games-count {
    color: #6b7280;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
}

/* =============================================================================
   ФИЛЬТРЫ - ПОЛНОСТЬЮ НОВЫЙ ДИЗАЙН
============================================================================= */

.games-filters {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.filters-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}

.filters-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0;
}

.filters-reset {
    margin-left: auto;
    background: none;
    border: none;
    color: #6b7280;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.filters-reset:hover {
    color: var(--primary-blue);
    background: #f3f4f6;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin: 0;
}

/* Стили для селектов */
.filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    background: white;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.filter-select:hover {
    border-color: #9ca3af;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Стили для поиска */
.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    background: white;
    color: #374151;
    transition: all 0.2s ease;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z'/%3e%3c/svg%3e");
    background-position: left 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
}

.search-input:hover {
    border-color: #9ca3af;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-input::placeholder {
    color: #9ca3af;
}

/* =============================================================================
   СЕТКА ИГР - АДАПТИВНАЯ
============================================================================= */

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

/* =============================================================================
   КАРТОЧКИ ИГР - НОВЫЙ ДИЗАЙН
============================================================================= */

.game-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.game-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #93c5fd;
}

/* Кликабельные карточки */
.game-card--link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.game-card--link:hover {
    color: inherit;
    text-decoration: none;
}

.game-card--link:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* =============================================================================
   ЗАГОЛОВОК КАРТОЧКИ
============================================================================= */

.game-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    min-height: 3rem;
}

.game-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-blue), #1e40af);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.game-info {
    flex: 1;
    min-width: 0;
}

.game-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.game-themes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.theme-tag {
    background: #f3f4f6;
    color: #6b7280;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

/* =============================================================================
   СТАТИСТИКА ИГРЫ
============================================================================= */

.game-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    border: 1px solid #f3f4f6;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.stat-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
}

.stat-value--rtp {
    color: #059669;
}

.stat-value--win {
    color: #dc2626;
}

/* =============================================================================
   ОСОБЕННОСТИ ИГРЫ
============================================================================= */

.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    min-height: 1.5rem;
}

.feature-badge {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* =============================================================================
   ДЕЙСТВИЯ / ИНДИКАТОР ССЫЛКИ
============================================================================= */

.game-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: auto;
}

.game-link-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid #bae6fd;
    border-radius: 0.75rem;
    margin-top: auto;
    transition: all 0.2s ease;
}

.link-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0369a1;
}

.link-arrow {
    font-size: 1rem;
    color: #0369a1;
    transform: translateX(0);
    transition: transform 0.2s ease;
}

.game-card--link:hover .game-link-indicator {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    border-color: #7dd3fc;
}

.game-card--link:hover .link-arrow {
    transform: translateX(0.25rem);
}

/* =============================================================================
   СООБЩЕНИЕ "НЕТ РЕЗУЛЬТАТОВ"
============================================================================= */

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: #6b7280;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results h4 {
    color: #374151;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.no-results p {
    margin: 0;
    font-size: 1rem;
}

/* =============================================================================
   АДАПТИВНЫЙ ДИЗАЙН
============================================================================= */

/* Планшеты */
@media (max-width: 1024px) {
    .all-games {
        padding: 2.5rem 0;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.25rem;
    }

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

/* Мобильные устройства */
@media (max-width: 768px) {
    .all-games {
        padding: 2rem 0;
    }

    .games-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .games-header h3 {
        font-size: 1.5rem;
    }

    .games-filters {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .filters-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .game-card {
        padding: 1.25rem;
    }

    .game-card-header {
        gap: 0.75rem;
    }

    .game-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    .game-title {
        font-size: 1rem;
    }

    .game-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .stat-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .game-actions {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* Маленькие мобильные */
@media (max-width: 480px) {
    .all-games {
        padding: 1.5rem 0;
    }

    .games-filters {
        padding: 1rem;
        border-radius: 0.75rem;
    }

    .game-card {
        padding: 1rem;
        border-radius: 0.75rem;
    }

    .game-card-header {
        margin-bottom: 1rem;
    }

    .game-icon {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.875rem;
    }

    .game-title {
        font-size: 0.95rem;
    }

    .theme-tag {
        font-size: 0.6875rem;
        padding: 0.0625rem 0.375rem;
    }

    .feature-badge {
        font-size: 0.6875rem;
        padding: 0.1875rem 0.5rem;
    }

    .game-link-indicator {
        padding: 0.625rem;
    }

    .link-text {
        font-size: 0.8125rem;
    }

    .no-results {
        padding: 3rem 1rem;
    }
}

/* =============================================================================
   СОСТОЯНИЯ И АНИМАЦИИ
============================================================================= */

/* Состояние загрузки */
.games-grid--loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Анимация появления карточек */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card {
    animation: fadeInUp 0.4s ease-out;
}

.game-card:nth-child(odd) { animation-delay: 0.05s; }
.game-card:nth-child(even) { animation-delay: 0.1s; }

/* Отключение анимации для accessibility */
@media (prefers-reduced-motion: reduce) {
    .game-card,
    .game-card--link,
    .link-arrow,
    .filter-select,
    .search-input {
        animation: none;
        transition: none;
    }

    .game-card:hover,
    .game-card--link:hover {
        transform: none;
    }
}

/* Высокий контраст */
@media (prefers-contrast: high) {
    .game-card {
        border: 2px solid #374151;
    }

    .filter-select,
    .search-input {
        border: 2px solid #374151;
    }

    .game-link-indicator {
        border: 2px solid #0369a1;
    }
}


/* === ДОПОЛНЕНИЯ К CSS ДЛЯ ЛОГОТИПОВ СЛОТОВ === */
/* Добавить в конец файла providers.css после существующих стилей .game-icon */

/* Обновленные стили для иконки игры */
.game-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--primary-blue), #1e40af);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    overflow: hidden;
    position: relative;
}

/* Стили для логотипа игры */
.game-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
    display: block;
    background: white;
    padding: 0.125rem;
    box-sizing: border-box;
}

/* Fallback эмодзи (скрыт по умолчанию) */
.game-logo-fallback {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: linear-gradient(135deg, var(--primary-blue), #1e40af);
    border-radius: 0.75rem;
}

/* Состояние загрузки логотипа */
.game-icon:has(.game-logo[src=""]) {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.game-icon:has(.game-logo[src=""]):after {
    content: '📷';
    position: absolute;
    color: #9ca3af;
    font-size: 1rem;
}

/* Адаптивные размеры */
@media (max-width: 768px) {
    .game-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    .game-logo {
        border-radius: 0.625rem;
    }

    .game-logo-fallback {
        font-size: 1rem;
        border-radius: 0.625rem;
    }
}

@media (max-width: 480px) {
    .game-icon {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.875rem;
    }

    .game-logo {
        border-radius: 0.5rem;
    }

    .game-logo-fallback {
        font-size: 0.875rem;
        border-radius: 0.5rem;
    }
}

/* Эффекты при наведении */
.game-card:hover .game-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.game-card--link:hover .game-icon {
    transform: scale(1.05);
}

/* Специальные стили для определенных типов логотипов */

/* Квадратные логотипы */
.game-logo[src*="square"],
.game-logo[src*="sq"] {
    object-fit: contain;
    padding: 0.25rem;
}

/* Круглые логотипы */
.game-logo[src*="circle"],
.game-logo[src*="round"] {
    border-radius: 50%;
    object-fit: cover;
    padding: 0.0625rem;
}

/* Логотипы с прозрачным фоном */
.game-logo[src*="transparent"],
.game-logo[src*="png"] {
    background: transparent;
    object-fit: contain;
    padding: 0.1875rem;
}

/* Логотипы-иконки */
.game-logo[src*="icon"],
.game-logo[src*="ico"] {
    object-fit: contain;
    padding: 0.375rem;
    background: rgba(255, 255, 255, 0.9);
}

/* Анимация загрузки логотипа */
.game-logo {
    transition: all 0.3s ease;
    opacity: 0;
}

.game-logo.loaded {
    opacity: 1;
}

/* JavaScript класс для успешно загруженных логотипов */
.game-icon--has-logo {
    background: white;
    border: 2px solid #e5e7eb;
}

.game-icon--has-logo:hover {
    border-color: #93c5fd;
}

/* Стили для ошибки загрузки */
.game-logo-error {
    display: none;
}

/* Accessibility улучшения */
.game-logo:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Высокий контраст */
@media (prefers-contrast: high) {
    .game-icon {
        border: 2px solid #000;
    }

    .game-logo {
        border: 1px solid #000;
    }

    .game-icon--has-logo {
        border: 2px solid #000;
    }
}

/* Уменьшенное движение */
@media (prefers-reduced-motion: reduce) {
    .game-icon,
    .game-logo {
        transition: none;
    }

    .game-card:hover .game-icon,
    .game-card--link:hover .game-icon {
        transform: none;
    }
}

/* === COMPETITORS COMPARISON SECTION === */
.competitors-comparison {
    background: #f8fafc;
    padding: 48px 0;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.comparison-header .comparison-icon {
    font-size: 24px;
}

.comparison-header h3 {
    color: var(--primary-blue);
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

/* === COMPARISON GRID === */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.comparison-category {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.category-icon {
    font-size: 18px;
}

.category-header h4 {
    color: #374151;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

/* === PROVIDER BARS === */
.providers-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.provider-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
}

.provider-bar--current {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 8px;
    padding: 12px 16px;
    border: 2px solid #f59e0b;
}

.provider-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 200px;
}

.provider-name {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.provider-bar--current .provider-name {
    font-weight: 600;
    color: #92400e;
}

.provider-value {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.provider-bar--current .provider-value {
    color: #92400e;
}

/* === PROGRESS BARS === */
.progress-bar {
    width: 120px;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--secondary-blue);
    border-radius: 4px;
    transition: width 0.8s ease;
    min-width: 2px;
}

.progress-bar--green .progress-fill {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.progress-bar--orange .progress-fill {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.provider-bar--current .progress-fill {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

/* === CATEGORY SUMMARY === */
.category-summary {
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}

.summary-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f3f4f6;
    color: #6b7280;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.summary-badge--success {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    border: 1px solid #bbf7d0;
}

.market-info {
    margin-top: 8px;
    font-size: 12px;
    color: #9ca3af;
}

/* === FINAL ASSESSMENT === */
.final-assessment {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--light-blue);
}

.final-assessment h4 {
    color: #374151;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.assessment-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.metric {
    text-align: center;
    padding: 16px 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.metric-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.metric-label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
    line-height: 1.3;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .provider-info {
        min-width: 160px;
    }

    .progress-bar {
        width: 100px;
    }

    .assessment-metrics {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .metric {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 16px;
    }

    .metric-value {
        margin-bottom: 0;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .competitors-comparison {
        padding: 32px 0;
    }

    .comparison-grid {
        gap: 24px;
        margin-bottom: 32px;
    }

    .comparison-category {
        padding: 20px 16px;
    }

    .provider-bar {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .provider-info {
        min-width: auto;
    }

    .progress-bar {
        width: 100%;
        margin-top: 8px;
    }

    .final-assessment {
        padding: 20px 16px;
    }

    .metric-value {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .comparison-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .provider-bar--current {
        padding: 12px;
    }

    .provider-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .assessment-metrics {
        gap: 12px;
    }

    .metric {
        padding: 12px;
        gap: 12px;
    }

    .metric-value {
        font-size: 18px;
    }

    .metric-label {
        font-size: 11px;
    }
}

/* === PROS & CONS SECTION === */
.pros-cons {
    background: white;
    padding: 48px 0;
    border-bottom: 1px solid #e2e8f0;
}

.pros-cons-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.pros-cons-header .pros-cons-icon {
    font-size: 24px;
}

.pros-cons-header h3 {
    color: var(--primary-blue);
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

/* === PROS SECTION === */
.pros-section {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 1px solid #bbf7d0;
    border-radius: var(--border-radius-lg);
    padding: 24px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.section-header--pros h4 {
    color: #065f46;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.section-icon {
    font-size: 20px;
}

.pros-content {
    color: #065f46;
    font-size: 15px;
    line-height: 1.6;
}

.pros-content p {
    margin: 0 0 12px 0;
    padding-left: 24px;
    position: relative;
}

.pros-content p:before {
    content: "✅";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
}

.pros-content p:last-child {
    margin-bottom: 0;
}

/* === CONS SECTION === */
.cons-section {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fca5a5;
    border-radius: var(--border-radius-lg);
    padding: 24px;
}

.section-header--cons h4 {
    color: #991b1b;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.cons-content {
    color: #991b1b;
    font-size: 15px;
    line-height: 1.6;
}

.cons-content p {
    margin: 0 0 12px 0;
    padding-left: 24px;
    position: relative;
}

.cons-content p:before {
    content: "❌";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
}

.cons-content p:last-child {
    margin-bottom: 0;
}

/* === COMPANY INFORMATION SECTION === */
.company-info {
    background: #f8fafc;
    padding: 48px 0;
    border-bottom: 1px solid #e2e8f0;
}

.company-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.company-header .company-icon {
    font-size: 24px;
}

.company-header h3 {
    color: var(--primary-blue);
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

/* === INFO SECTION === */
.info-section {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.info-section h4 {
    color: #374151;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.info-item:last-child {
    border-bottom: none;
}

.info-icon {
    font-size: 18px;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.info-label {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 14px;
    color: #374151;
    font-weight: 600;
}

.about-company {
    border-top: 1px solid #f3f4f6;
    padding-top: 20px;
}

.about-company h5 {
    color: #374151;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.about-company p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* === ИСТОРИЯ КОМПАНИИ === */
.company-history {
    border-top: 1px solid #f3f4f6;
    padding-top: 20px;
}

.company-history h5 {
    color: #374151;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.company-history p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* === LICENSES SECTION === */
.licenses-section {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.title-icon {
    font-size: 18px;
}

.section-title h4 {
    color: #374151;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.licenses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.license-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 1px solid #bbf7d0;
    border-radius: 8px;
}

.license-icon {
    font-size: 16px;
}

.license-name {
    font-size: 14px;
    font-weight: 600;
    color: #065f46;
}

/* === SPECIALIZATION === */
.specialization {
    border-top: 1px solid #f3f4f6;
    padding-top: 20px;
}

.specialization h5 {
    color: #374151;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px 0;
}

.specialization-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spec-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    align-items: center;
    gap: 12px;
}

.spec-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.spec-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.spec-fill {
    height: 100%;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 4px;
    transition: width 0.8s ease;
}

.spec-percent {
    font-size: 13px;
    font-weight: 600;
    color: #f59e0b;
    min-width: 32px;
    text-align: right;
}

/* === CONTACTS SECTION === */
.contacts-section {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.contacts-section h4 {
    color: #374151;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.contact-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

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

.contact-btn--website:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    color: white;
}

.contact-btn--linkedin {
    background: #0077b5;
    color: white;
}

.contact-btn--linkedin:hover {
    background: #005885;
    color: white;
    transform: translateY(-2px);
}

.contact-btn--twitter {
    background: #1da1f2;
    color: white;
}

.contact-btn--twitter:hover {
    background: #0d8bd9;
    color: white;
    transform: translateY(-2px);
}

.contact-btn--youtube {
    background: #ff0000;
    color: white;
}

.contact-btn--youtube:hover {
    background: #cc0000;
    color: white;
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 16px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .pros-cons-grid,
    .company-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .contact-buttons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pros-cons,
    .company-info {
        padding: 32px 0;
    }

    .pros-section,
    .cons-section,
    .info-section,
    .licenses-section,
    .contacts-section {
        padding: 20px 16px;
    }

    .info-items {
        gap: 12px;
    }

    .spec-item {
        grid-template-columns: 100px 1fr auto;
        gap: 8px;
    }

    .spec-label {
        font-size: 12px;
    }

    .contact-buttons {
        gap: 8px;
    }

    .contact-btn {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .pros-content p,
    .cons-content p {
        padding-left: 20px;
        font-size: 14px;
    }

    .info-item {
        gap: 8px;
        padding: 8px 0;
    }

    .spec-item {
        grid-template-columns: 1fr;
        gap: 4px;
        text-align: left;
    }

    .spec-percent {
        text-align: left;
    }

    .about-company p {
        font-size: 13px;
    }
}


/* === СТИЛИ ДЛЯ ПАГИНАЦИИ И КРАТКОЙ СТРАНИЦЫ ПРОВАЙДЕРА === */
/* Добавить в конец файла providers.css */

/* =============================================================================
   ХЛЕБНЫЕ КРОШКИ
============================================================================= */

.breadcrumbs-section {
    background: #f8fafc;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.breadcrumb-item {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #9ca3af;
    font-weight: 500;
}

.breadcrumb-current {
    color: #374151;
    font-weight: 600;
}

/* =============================================================================
   КРАТКАЯ ИНФОРМАЦИЯ О ПРОВАЙДЕРЕ
============================================================================= */

.provider-summary {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2rem 0;
    border-bottom: 1px solid #bae6fd;
}

.provider-summary__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.provider-summary__header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.provider-logo--small {
    width: 4rem;
    height: 4rem;
    background: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    flex-shrink: 0;
    overflow: hidden;
}

.provider-logo--small img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: calc(1rem - 2px);
}

.provider-summary__info h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0369a1;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.provider-summary__meta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.meta-item {
    font-size: 0.875rem;
    color: #0369a1;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.provider-summary__actions {
    flex-shrink: 0;
}

/* =============================================================================
   ИНФОРМАЦИЯ О ПАГИНАЦИИ
============================================================================= */

.games-pagination-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pagination-text {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
    white-space: nowrap;
}

/* =============================================================================
   ПАГИНАЦИЯ
============================================================================= */

.pagination-nav {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 100%;
}

.pagination-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 120px;
    justify-content: center;
}

.pagination-link:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #111827;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pagination-link--prev {
    flex-direction: row;
}

.pagination-link--next {
    flex-direction: row-reverse;
}

.pagination-link--disabled {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
    border-color: #e5e7eb;
}

.pagination-link--disabled:hover {
    background: #f3f4f6;
    color: #9ca3af;
    transform: none;
    box-shadow: none;
}

.pagination-icon {
    font-size: 1rem;
    font-weight: 600;
}

.pagination-info {
    flex: 1;
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

/* =============================================================================
   МОДИФИКАЦИИ ДЛЯ ПАГИНИРОВАННЫХ СТРАНИЦ
============================================================================= */

.all-games--paginated {
    background: white;
    padding: 2rem 0 3rem;
}

.all-games--paginated .games-header h2 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* =============================================================================
   АДАПТИВНЫЙ ДИЗАЙН
============================================================================= */

/* Планшеты */
@media (max-width: 1024px) {
    .provider-summary {
        padding: 1.5rem 0;
    }

    .provider-summary__content {
        gap: 1.5rem;
    }

    .provider-summary__header {
        gap: 1.25rem;
    }

    .provider-summary__info h1 {
        font-size: 1.5rem;
    }

    .pagination {
        gap: 0.75rem;
    }

    .pagination-link {
        padding: 0.625rem 1.25rem;
        min-width: 100px;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .breadcrumbs {
        font-size: 0.8125rem;
        gap: 0.375rem;
    }

    .provider-summary {
        padding: 1.25rem 0;
    }

    .provider-summary__content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .provider-summary__header {
        width: 100%;
        gap: 1rem;
    }

    .provider-logo--small {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.125rem;
    }

    .provider-summary__info h1 {
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .provider-summary__meta {
        gap: 1rem;
    }

    .meta-item {
        font-size: 0.8125rem;
    }

    .provider-summary__actions {
        width: 100%;
    }

    .provider-summary__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .games-pagination-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

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

    .pagination-link {
        width: 100%;
        min-width: auto;
        padding: 1rem;
    }

    .pagination-info {
        order: -1;
        width: 100%;
    }
}

/* Маленькие мобильные */
@media (max-width: 480px) {
    .breadcrumbs {
        font-size: 0.75rem;
    }

    .provider-summary {
        padding: 1rem 0;
    }

    .provider-summary__header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }

    .provider-logo--small {
        width: 3rem;
        height: 3rem;
        font-size: 1rem;
    }

    .provider-summary__info h1 {
        font-size: 1.125rem;
    }

    .provider-summary__meta {
        justify-content: center;
        gap: 0.75rem;
    }

    .meta-item {
        font-size: 0.75rem;
    }

    .pagination-link {
        padding: 0.875rem;
        font-size: 0.8125rem;
    }

    .pagination-info {
        font-size: 0.8125rem;
        padding: 0.625rem;
    }
}

/* =============================================================================
   СОСТОЯНИЯ И АНИМАЦИИ
============================================================================= */

/* Анимация появления */
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.provider-summary {
    animation: fadeInSlide 0.5s ease-out;
}

.pagination-nav {
    animation: fadeInSlide 0.6s ease-out 0.2s both;
}

/* Отключение анимации для accessibility */
@media (prefers-reduced-motion: reduce) {
    .provider-summary,
    .pagination-nav,
    .pagination-link {
        animation: none;
        transition: none;
    }

    .pagination-link:hover {
        transform: none;
    }
}

/* Высокий контраст */
@media (prefers-contrast: high) {
    .breadcrumb-item {
        border-bottom: 1px solid transparent;
    }

    .breadcrumb-item:hover {
        border-bottom-color: currentColor;
    }

    .pagination-link {
        border: 2px solid #374151;
    }

    .pagination-link:hover {
        background: #111827;
        color: white;
    }

    .pagination-link--disabled {
        border: 2px solid #9ca3af;
    }
}


/* === ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ ПАГИНАЦИИ НА ОСНОВНОЙ СТРАНИЦЕ === */
/* Добавить в конец файла providers.css */

/* Информация о пагинации для основной страницы */
.pagination-info {
    flex: 1;
    text-align: center;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

.pagination-current {
    display: block;
    font-size: 0.875rem;
    color: #374151;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.pagination-pages {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

/* Дополнительная информация */
.pagination-extra {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 0.75rem;
    text-align: center;
}

.pagination-notice {
    margin: 0;
    font-size: 0.875rem;
    color: #0369a1;
    line-height: 1.5;
}

.pagination-notice strong {
    color: #1d4ed8;
    font-weight: 700;
}

/* Стили для основной страницы vs пагинированной */
.all-games:not(.all-games--paginated) .pagination-info {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #bbf7d0;
}

.all-games:not(.all-games--paginated) .pagination-current {
    color: #166534;
}

.all-games:not(.all-games--paginated) .pagination-pages {
    color: #16a34a;
}

/* Адаптивность для основной страницы */
@media (max-width: 768px) {
    .pagination-info {
        order: -1;
        width: 100%;
        margin-bottom: 1rem;
    }

    .pagination-current,
    .pagination-pages {
        font-size: 0.8125rem;
    }

    .pagination-extra {
        margin-top: 1rem;
        padding: 1rem;
    }

    .pagination-notice {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .pagination-current {
        font-size: 0.75rem;
    }

    .pagination-pages {
        font-size: 0.6875rem;
    }

    .pagination-extra {
        padding: 0.875rem;
    }

    .pagination-notice {
        font-size: 0.75rem;
    }
}

/* Анимация для дополнительной информации */
.pagination-extra {
    animation: fadeInSlide 0.6s ease-out 0.3s both;
}

/* Hover эффекты для информационных блоков */
.pagination-extra:hover {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
    transition: all 0.3s ease;
}

/* Отключение анимации для accessibility */
@media (prefers-reduced-motion: reduce) {
    .pagination-extra {
        animation: none;
        transition: none;
    }

    .pagination-extra:hover {
        transform: none;
    }
}

/* =============================================================================
   UNIVERSAL QUOTE STYLES - Универсальные стили цитат
============================================================================= */

/* Основная цитата */
blockquote {
    position: relative;
    margin: 2rem 0;
    padding: 1.5rem 2rem 1.5rem 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-left: 4px solid var(--primary-blue);
    border-radius: 0 0.75rem 0.75rem 0;
    font-style: italic;
    color: #374151;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Кавычки */
blockquote::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    left: 0.75rem;
    font-size: 3rem;
    color: var(--primary-blue);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

/* Текст цитаты */
blockquote p {
    margin: 0 0 1rem 0;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #374151;
}

blockquote p:last-child {
    margin-bottom: 0;
}

/* Автор цитаты */
blockquote cite,
blockquote .quote-author {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #6b7280;
    font-style: normal;
    font-weight: 600;
    text-align: right;
}

blockquote cite::before,
blockquote .quote-author::before {
    content: '— ';
}

/* =============================================================================
   ЦВЕТОВЫЕ ВАРИАНТЫ
============================================================================= */

/* Успех/позитив */
.quote--success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left-color: #22c55e;
}

.quote--success::before {
    color: #22c55e;
}

/* Предупреждение */
.quote--warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-left-color: #f59e0b;
}

.quote--warning::before {
    color: #f59e0b;
}

/* Информация */
.quote--info {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left-color: #3b82f6;
}

.quote--info::before {
    color: #3b82f6;
}

/* Ошибка/внимание */
.quote--error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-left-color: #ef4444;
}

.quote--error::before {
    color: #ef4444;
}

/* =============================================================================
   РАЗМЕРНЫЕ ВАРИАНТЫ
============================================================================= */

/* Маленькая цитата */
.quote--small {
    padding: 1rem 1.5rem 1rem 2.5rem;
    margin: 1.5rem 0;
}

.quote--small::before {
    font-size: 2rem;
    top: 0.25rem;
    left: 0.5rem;
}

.quote--small p {
    font-size: 1rem;
}

/* Большая цитата */
.quote--large {
    padding: 2.5rem 3rem 2.5rem 4rem;
    margin: 3rem 0;
}

.quote--large::before {
    font-size: 4rem;
    top: 0.75rem;
    left: 1rem;
}

.quote--large p {
    font-size: 1.25rem;
    line-height: 1.7;
}

/* =============================================================================
   СТИЛИ БЕЗ КАВЫЧЕК
============================================================================= */

.quote--no-quotes::before {
    display: none;
}

.quote--no-quotes {
    padding-left: 2rem;
}

/* =============================================================================
   ЦЕНТРИРОВАННАЯ ЦИТАТА
============================================================================= */

.quote--centered {
    text-align: center;
    border-left: none;
    border-top: 4px solid var(--primary-blue);
    border-radius: 0.75rem;
    padding: 2rem;
}

.quote--centered::before {
    position: static;
    display: block;
    margin-bottom: 1rem;
}

.quote--centered cite,
.quote--centered .quote-author {
    text-align: center;
}

/* =============================================================================
   АДАПТИВНЫЙ ДИЗАЙН
============================================================================= */

@media (max-width: 768px) {
    blockquote {
        padding: 1.25rem 1.5rem 1.25rem 2.5rem;
        margin: 1.5rem 0;
    }

    blockquote::before {
        font-size: 2.5rem;
        top: 0.25rem;
        left: 0.5rem;
    }

    blockquote p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .quote--large {
        padding: 2rem 2rem 2rem 3rem;
        margin: 2rem 0;
    }

    .quote--large::before {
        font-size: 3rem;
        left: 0.75rem;
    }

    .quote--large p {
        font-size: 1.125rem;
    }

    .quote--centered {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    blockquote {
        padding: 1rem 1rem 1rem 2rem;
        margin: 1rem 0;
    }

    blockquote::before {
        font-size: 2rem;
        top: 0rem;
        left: 0.25rem;
    }

    blockquote p {
        font-size: 0.95rem;
    }

    blockquote cite,
    blockquote .quote-author {
        font-size: 0.85rem;
        text-align: left;
        margin-top: 0.75rem;
    }

    .quote--small {
        padding: 0.875rem 0.875rem 0.875rem 1.75rem;
    }

    .quote--large {
        padding: 1.5rem 1.5rem 1.5rem 2.5rem;
    }

    .quote--centered {
        padding: 1.25rem;
    }
}

/* =============================================================================
   ACCESSIBILITY И АНИМАЦИИ
============================================================================= */

/* Плавное появление */
@keyframes fadeInQuote {
    from {
        opacity: 0;
        transform: translateX(-1rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

blockquote {
    animation: fadeInQuote 0.6s ease-out;
}

/* Отключение анимации */
@media (prefers-reduced-motion: reduce) {
    blockquote {
        animation: none;
    }
}

/* Высокий контраст */
@media (prefers-contrast: high) {
    blockquote {
        border-left-width: 6px;
        box-shadow: 0 0 0 1px #374151;
    }

    blockquote::before {
        opacity: 0.8;
    }
}

/* =============================================================================
   UNIVERSAL QUOTE STYLES - Универсальные стили цитат
============================================================================= */

/* Основная цитата */
blockquote {
    position: relative;
    margin: 2rem 0;
    padding: 1.5rem 2rem 1.5rem 3rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-left: 4px solid var(--primary-blue);
    border-radius: 0 0.75rem 0.75rem 0;
    font-style: italic;
    color: #374151;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Кавычки */
blockquote::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    left: 0.75rem;
    font-size: 3rem;
    color: var(--primary-blue);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

/* Текст цитаты */
blockquote p {
    margin: 0 0 1rem 0;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #374151;
}

blockquote p:last-child {
    margin-bottom: 0;
}

/* Автор цитаты */
blockquote cite,
blockquote .quote-author {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #6b7280;
    font-style: normal;
    font-weight: 600;
    text-align: right;
}

blockquote cite::before,
blockquote .quote-author::before {
    content: '— ';
}

/* =============================================================================
   ЦВЕТОВЫЕ ВАРИАНТЫ
============================================================================= */

/* Успех/позитив */
.quote--success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left-color: #22c55e;
}

.quote--success::before {
    color: #22c55e;
}

/* Предупреждение */
.quote--warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-left-color: #f59e0b;
}

.quote--warning::before {
    color: #f59e0b;
}

/* Информация */
.quote--info {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left-color: #3b82f6;
}

.quote--info::before {
    color: #3b82f6;
}

/* Ошибка/внимание */
.quote--error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-left-color: #ef4444;
}

.quote--error::before {
    color: #ef4444;
}

/* =============================================================================
   РАЗМЕРНЫЕ ВАРИАНТЫ
============================================================================= */

/* Маленькая цитата */
.quote--small {
    padding: 1rem 1.5rem 1rem 2.5rem;
    margin: 1.5rem 0;
}

.quote--small::before {
    font-size: 2rem;
    top: 0.25rem;
    left: 0.5rem;
}

.quote--small p {
    font-size: 1rem;
}

/* Большая цитата */
.quote--large {
    padding: 2.5rem 3rem 2.5rem 4rem;
    margin: 3rem 0;
}

.quote--large::before {
    font-size: 4rem;
    top: 0.75rem;
    left: 1rem;
}

.quote--large p {
    font-size: 1.25rem;
    line-height: 1.7;
}

/* =============================================================================
   СТИЛИ БЕЗ КАВЫЧЕК
============================================================================= */

.quote--no-quotes::before {
    display: none;
}

.quote--no-quotes {
    padding-left: 2rem;
}

/* =============================================================================
   ЦЕНТРИРОВАННАЯ ЦИТАТА
============================================================================= */

.quote--centered {
    text-align: center;
    border-left: none;
    border-top: 4px solid var(--primary-blue);
    border-radius: 0.75rem;
    padding: 2rem;
}

.quote--centered::before {
    position: static;
    display: block;
    margin-bottom: 1rem;
}

.quote--centered cite,
.quote--centered .quote-author {
    text-align: center;
}

/* =============================================================================
   АДАПТИВНЫЙ ДИЗАЙН
============================================================================= */

@media (max-width: 768px) {
    blockquote {
        padding: 1.25rem 1.5rem 1.25rem 2.5rem;
        margin: 1.5rem 0;
    }

    blockquote::before {
        font-size: 2.5rem;
        top: 0.25rem;
        left: 0.5rem;
    }

    blockquote p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .quote--large {
        padding: 2rem 2rem 2rem 3rem;
        margin: 2rem 0;
    }

    .quote--large::before {
        font-size: 3rem;
        left: 0.75rem;
    }

    .quote--large p {
        font-size: 1.125rem;
    }

    .quote--centered {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    blockquote {
        padding: 1rem 1rem 1rem 2rem;
        margin: 1rem 0;
    }

    blockquote::before {
        font-size: 2rem;
        top: 0rem;
        left: 0.25rem;
    }

    blockquote p {
        font-size: 0.95rem;
    }

    blockquote cite,
    blockquote .quote-author {
        font-size: 0.85rem;
        text-align: left;
        margin-top: 0.75rem;
    }

    .quote--small {
        padding: 0.875rem 0.875rem 0.875rem 1.75rem;
    }

    .quote--large {
        padding: 1.5rem 1.5rem 1.5rem 2.5rem;
    }

    .quote--centered {
        padding: 1.25rem;
    }
}

/* =============================================================================
   ACCESSIBILITY И АНИМАЦИИ
============================================================================= */

/* Плавное появление */
@keyframes fadeInQuote {
    from {
        opacity: 0;
        transform: translateX(-1rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

blockquote {
    animation: fadeInQuote 0.6s ease-out;
}

/* Отключение анимации */
@media (prefers-reduced-motion: reduce) {
    blockquote {
        animation: none;
    }
}

/* Высокий контраст */
@media (prefers-contrast: high) {
    blockquote {
        border-left-width: 6px;
        box-shadow: 0 0 0 1px #374151;
    }

    blockquote::before {
        opacity: 0.8;
    }
}

.contact-btn--facebook {
    background: #1877f2;
    color: white;
}

.contact-btn--facebook:hover {
    background: #166fe5;
    color: white;
    transform: translateY(-2px);
}

.no-contacts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 1rem;
    color: #6b7280;
    font-style: italic;
}

.contact-btn--instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.contact-btn--instagram:hover {
    background: linear-gradient(45deg, #e6683c 0%, #dc2743 25%, #cc2366 50%, #bc1888 75%, #8b0063 100%);
    color: white;
    transform: translateY(-2px);
}