[file name]: index-style.css
[file content begin]
/* Стили для latest-videos */
.latest-videos {
    padding: 40px 0;
    background-color: transparent;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px;
    width: 100%;
}

.video-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    aspect-ratio: 16/9;
    position: relative;
    cursor: pointer;
    animation: fadeIn 0.5s ease forwards;
    border: 3px solid #e0e0e0;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.video-item:nth-child(1) {
    border-color: #5dade2;
    animation-delay: 0.1s;
}

.video-item:nth-child(2) {
    border-color: #58d68d;
    animation-delay: 0.2s;
}

.video-item:nth-child(3) {
    border-color: #f1948a;
    animation-delay: 0.3s;
}

.video-item:nth-child(4) {
    border-color: #f7dc6f;
    animation-delay: 0.4s;
}

.video-item:nth-child(5) {
    border-color: #bb8fce;
    animation-delay: 0.5s;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 6px;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 6px;
}

.video-item:hover {
    border-color: #3498db;
    transform: translateY(-5px);
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-details {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 10px;
    box-sizing: border-box;
    color: white;
}

.video-title {
    font-size: 14px;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-author {
    font-size: 12px;
    color: #3498db;
}

.video-author::before {
    content: "@";
}

.video-hover-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 15px;
    box-sizing: border-box;
    text-align: center;
}

.video-item:hover .video-hover-modal {
    opacity: 1;
}

.hover-modal-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.hover-modal-author {
    font-size: 16px;
    color: #3498db;
}

.hover-modal-author::before {
    content: "@";
}

/* Стили для разделителя */
.separator-section {
    background-color: #ffffff00;
    padding: 24px 0;
}

.color-separator {
    display: flex;
    width: 100%;
    height: 7px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.color-block {
    flex: 1;
    height: 100%;
    transition: all 0.3s ease;
}

.color-block.block-1 { background-color: #3498db; }
.color-block.block-2 { background-color: #2ecc71; }
.color-block.block-3 { background-color: #e74c3c; }
.color-block.block-4 { background-color: #f39c12; }
.color-block.block-5 { background-color: #9b59b6; }

/* Стили для hero секции */
.hero {
    position: relative;
    width: 100%;
    height: 56.25vw; /* 16:9 соотношение (9/16 = 0.5625) */
    max-height: 100vh; /* Ограничение максимальной высоты */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: fill; /* Растягивает без сохранения пропорций */
    filter: brightness(0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 33%;
    min-width: 350px;
    max-width: 450px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    padding: 3rem 2.5rem;
    margin-left: 10%;
    clip-path: polygon(
        5% 30%,
        55% 10%,
        80% 80%,
        30% 85%
    );
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    border: 2px solid rgba(52, 152, 219, 0.4);
    transform: rotate(-1deg);
    transition: all 0.4s ease;
}

.hero-content:hover {
    transform: rotate(0deg) translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.35);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
    clip-path: polygon(
        5% 25%,
        65% 0%,
        90% 60%,
        20% 95%
    );
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    color: #2c3e50;
    line-height: 1.3;
    text-align: center;
    transform: translate(-3px, -2px);
    transition: transform 0.4s ease;
}

.hero-content:hover h1 {
    transform: translate(0, 0);
}

.hero-content p {
    font-size: 1.1rem;
    color: #5d6d7e;
    margin-bottom: 2rem;
    line-height: 1.5;
    text-align: center;
    transform: translate(-2px, -1px);
    transition: transform 0.4s ease;
}

.hero-content:hover p {
    transform: translate(0, 0);
}

.catalog-btn {
    display: block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    border: 2px solid transparent;
    text-align: center;
    margin: 0 auto;
    transform: translate(-1px, 0);
    transition: all 0.4s ease;
    width: 80%;
}

.hero-content:hover .catalog-btn {
    transform: translate(0, 0);
}

.catalog-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.5);
    background: linear-gradient(135deg, #2980b9, #3498db);
}

/* Стили для features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-card {
    max-width: 500px;
    margin: 2rem auto;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feature-card p {
    color: #7f8c8d;
}

/* Стили для video-gallery */
.video-gallery {
    width: 100%;
    margin: 2rem 0;
}

/* Стили для модального окна видео */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.video-modal.active {
    display: flex;
}

.modal-content {
    width: 75%;
    max-width: 700px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.modal-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

.modal-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.modal-video-info {
    padding: 20px;
    background: #f8f8f8;
    border-top: 1px solid #e0e0e0;
}

.modal-video-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: bold;
}

.modal-video-meta {
    margin-bottom: 15px;
}

.modal-video-author {
    font-size: 0.9rem;
    color: #3498db;
    display: inline-block;
    padding: 3px 8px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 4px;
}

.modal-video-author::before {
    content: "@";
}

.modal-video-description {
    line-height: 1.6;
    color: #7f8c8d;
    font-size: 0.95rem;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.close-modal:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Адаптивность */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        height: 70vh;
        justify-content: center;
    }
    
    .hero-content {
        width: 85%;
        margin: 0 auto;
        transform: none;
        min-width: 280px;
        padding: 2.5rem 2rem;
    }
    
    .hero-content h1 {
        font-size: 1.7rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 60vh;
    }
    
    .hero-content {
        width: 90%;
        padding: 2rem 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .catalog-btn {
        width: 90%;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
}
[file content end]