/* ОБНУЛЕНИЕ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Запрет на выделение всего, кроме ссылок */
    -webkit-user-select: none;
    user-select: none;
}

/* Разрешаем выделять текст в ссылках и лейблах */
.nav-link, .nav-label {
    -webkit-user-select: text;
    user-select: text;
}

/* ФОНОВОЕ ВИДЕО */
.bg-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Слой под всем контентом */
    pointer-events: none; /* Видео нельзя нажать или вызвать меню */
    overflow: hidden;
}

.bg-video-content {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Видео на весь экран без полос */
    opacity: 0.6; /* Можешь подкрутить яркость фона здесь */
}

/* ОСНОВНОЙ СТИЛЬ СТРАНИЦЫ */
body {
    min-height: 100vh;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    padding: 60px 20px;
}

/* Контент должен быть выше фона */
.main-content {
    position: relative;
    z-index: 1;
}

/* КОНТЕЙНЕР КОНТЕНТА */
.content-aligner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    width: fit-content;
    margin: auto;
}

/* ЛОГОТИП И ВИДЕО */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-logo { 
    height: 60px; 
    width: auto; 
    pointer-events: none; 
}

.logo-video { 
    height: 60px; 
    width: 60px; 
    object-fit: cover; 
    pointer-events: none;
    
    /* Запрещаем выделение и синее подсвечивание */
    -webkit-user-select: none;
    user-select: none;

    /* Запрещаем вызов системного меню (сохранить, скопировать) */
    -webkit-touch-callout: none;
    
    /* Отключаем перетаскивание на уровне браузера */
    -webkit-user-drag: none;
    
    /* Чтобы клик для звука точно проходил */
    pointer-events: auto;
}

/* СПИСОК ССЫЛОК */
.nav-rows {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.nav-row {
    display: flex;
    align-items: baseline;
    gap: 50px;
}

.nav-label {
    color: #ffffff;
    font-size: 14px;
    font-weight: 200;
    opacity: 0.3;
    letter-spacing: 1px;
    min-width: 150px; 
}

.links-group {
    display: flex;
    gap: 25px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    text-transform: lowercase;
    font-size: 14px;
    font-weight: 200;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
    opacity: 0.7;
    -webkit-user-select: text;
    user-select: text;
}

.nav-link:hover {
    opacity: 1;
}

/* ФУТЕР */
.footer {
    position: absolute;
    bottom: 50px;
    width: 100%;
    text-align: center;
    pointer-events: none;
    z-index: 1;
}

.footer-text {
    color: #ffffff;
    font-size: 10px;
    font-weight: 200;
    opacity: 0.15;
    letter-spacing: 2px;
    text-transform: lowercase;
}

/* АДАПТИВ */
@media (max-width: 768px) {
    body {
        justify-content: flex-start;
        padding-top: 80px;
    }

    .site-logo, .logo-video { height: 40px; }
    .logo-video { width: 40px; }

    .nav-row {
        flex-direction: column;
        gap: 8px;
    }

    .nav-label { min-width: 0; }

    .footer {
        position: relative;
        bottom: 0;
        margin-top: 60px;
        padding-bottom: 20px;
    }
}