/* === СТИЛИ ДЛЯ БЛОКА ONLINER === */
.onliner-special-main {
    margin: 80px 0;
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* Фоновые декорации */
.onliner-special-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
}

.onliner-special-main::after {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.03) 0%, rgba(59, 130, 246, 0.03) 100%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.special-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Брендинг и заголовок */
.special-branding {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.special-branding .logo-mv {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.special-branding .logo-onliner {
    height: 32px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.special-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.badge-divider {
    color: #cbd5e1;
    font-weight: 400;
}

.special-header {
    text-align: center;
    margin-bottom: 50px;
}

.special-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 16px;
    line-height: 1.2;
}

.special-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Сетка видео - адаптивная */
.special-videos-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 50px;
}

/* Десктоп - 3 видео в ряд */
.desktop-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* Мобильные - 1 видео */
.mobile-grid {
    grid-template-columns: 1fr;
}

/* Десктоп-версия карточек */
.desktop-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.desktop-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #d1d5db;
}

/* Мобильная версия карточки (более крупная) */
.mobile-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    margin: 0 auto;
    max-width: 500px;
    width: 100%;
}

.mobile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #d1d5db;
}

/* Общие стили для превью */
.special-video-preview {
    position: relative;
    padding-bottom: 56.25%;
    background: #111827;
    overflow: hidden;
    flex-shrink: 0;
}

.special-video-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.special-video-card:hover .special-video-thumb {
    transform: scale(1.05);
}

.special-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.special-video-card:hover .special-play-overlay {
    opacity: 1;
}

.special-play-button {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.special-play-button:hover {
    background: white;
    transform: scale(1.1);
}

.special-play-icon {
    width: 20px;
    height: 20px;
    fill: #1d4ed8;
    margin-left: 2px;
}

/* Контент для десктопа */
.desktop-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.desktop-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 8px;
}

.desktop-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
    flex: 1;
}

.special-video-badge {
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    white-space: nowrap;
}

.desktop-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Контент для мобильных (более крупный) */
.mobile-content {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px;
}

.mobile-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
    flex: 1;
}

.mobile-description {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 24px;
}

/* Кнопки */
.special-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.2);
    width: 100%;
    margin-top: auto;
}

.special-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(29, 78, 216, 0.3);
    color: white;
}

.special-cta-button:active {
    transform: translateY(-1px);
}

/* Большая кнопка "Смотреть все видео" */
.special-cta {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
    margin-top: 20px;
}

.main-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    color: white;
    padding: 16px 40px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(29, 78, 216, 0.25);
}

.main-cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(29, 78, 216, 0.35);
    color: white;
}

.special-arrow {
    transition: transform 0.3s ease;
}

.main-cta-button:hover .special-arrow {
    transform: translateX(6px);
}

/* Блок подтверждения партнерства */
.partnership-proof {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    border-radius: 16px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
    border: 1px solid #e5e7eb;
    backdrop-filter: blur(10px);
}

.partnership-proof h3 {
    color: #1d4ed8;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 700;
}

.proof-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.proof-item {
    text-align: center;
    min-width: 140px;
}

.proof-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1d4ed8;
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.proof-label {
    font-size: 0.875rem;
    color: #475569;
    font-weight: 600;
    line-height: 1.4;
}

.proof-year {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 4px;
}

/* Адаптивность */
@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
    
    .desktop-only {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .onliner-special-main {
        margin: 40px 0;
        padding: 40px 0;
        border-radius: 20px;
    }
    
    .special-branding {
        flex-direction: column;
        gap: 12px;
    }
    
    .special-branding .logo-mv {
        height: 40px;
    }
    
    .special-branding .logo-onliner {
        height: 28px;
    }
    
    .special-badge {
        font-size: 12px;
        padding: 8px 20px;
    }
    
    .special-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .special-subtitle {
        font-size: 1rem;
    }
    
    .special-videos-grid {
        margin-bottom: 40px;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    .main-cta-button {
        width: 100%;
        max-width: 320px;
        padding: 16px 24px;
        font-size: 16px;
    }
    
    .partnership-proof {
        padding: 20px;
        margin: 30px 0;
    }
    
    .proof-stats {
        gap: 30px;
    }
    
    .proof-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .onliner-special-main {
        margin: 30px 0;
        padding: 30px 0;
        border-radius: 16px;
    }
    
    .mobile-card {
        border-radius: 20px;
    }
    
    .mobile-content {
        padding: 24px 20px;
    }
    
    .mobile-title {
        font-size: 1.125rem;
    }
    
    .mobile-description {
        font-size: 0.9375rem;
    }
    
    .special-badge {
        font-size: 11px;
        padding: 6px 16px;
    }
    
    .special-cta {
        padding-top: 20px;
        margin-top: 10px;
    }
    
    .main-cta-button {
        font-size: 15px;
        padding: 14px 20px;
    }
    
    .proof-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .proof-item {
        min-width: auto;
    }
}

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

.onliner-special-main {
    animation: fadeInUpSpecial 0.6s ease-out;
}