body {
    background: linear-gradient(135deg, #1e1e1e, #0a0a0a);
    color: #f0f0f0;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.video-viewer {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 20;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    margin: 0;
    letter-spacing: 2px;
}

#video-container {
    width: 100%;
    max-width: 400px; 
    height: 100%;
    max-height: 720px;
    background-color: #000;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    z-index: 15;
}

.nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.nav-btn:active {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(0.9);
}

.nav-btn svg {
    width: 30px;
    height: 30px;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .logo-container {
        top: 10px;
        left: 10px;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }

    #video-container {
        max-width: 90%;
        max-height: 80vh;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 2rem;
        background-color: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}