/* ======= Шрифт ======= */
@font-face {
    font-family: 'namupro';
    src: url("fonts/namu-pro-webfont.woff2") format('woff2'),
         url("fonts/namu-pro-webfont.woff") format('woff');
    font-weight: normal;
    font-style: normal;
}

/* ======= Общие стили ======= */
body {
    margin: 0;
    font-family: 'namupro', sans-serif;
}

::-webkit-scrollbar {
    width: 0;
}

/* ======= Навигация ======= */
.topmenu {
    margin-left: 4%;
}

.nav-item {
    list-style-type: none;
}

.loginbtn {
    width: 150px; 
    height: 50px;
    margin-right: 3vw;
}

/* ======= Контейнеры ======= */
.containertop {
    background: linear-gradient(90deg, rgba(66,66,66,1) 0%, rgba(139,139,139,1) 50%, rgba(66,66,66,1) 100%);
    font-size: 20px;
    position: fixed;
    width: 100%;
    z-index: 10;
}

.containertoo {
    background-color: #2f2f2f;
    min-height: 100vh;
}

.maintoo {
    max-height: 1080px;
}

.vhodreg, .vhodreg2 {
    background: rgba(5,5,5,.5);
    position: relative;
    width: 100%;
}

.vhodreg {
    margin-top: 5%;
    height: 30vh;
}

.vhodreg2 {
    height: 300px;
}

.endonepage {
    background: linear-gradient(90deg, rgba(66,66,66,1) 0%, rgba(139,139,139,1) 50%, rgba(66,66,66,1) 100%);
    height: 50px;
    position: absolute;
    width: 100%;
}

.toopagebottom {
    margin: 10% 20% 20% 20%;
    max-width: 100%;
}

.containerlogo {
    margin-top: 5%;
    margin-right: 5%;
    float: right;
    max-width: 60%;
}

.containertext {
    margin-top: 5%;
    margin-right: 40px;
}

/* ======= Кнопки ======= */
.btnred {
    float: right;
    margin-right: 15.5%;
    margin-top: 4%;
    font-size: 4vw;
    white-space: nowrap;
    z-index: 5;
    position: relative;
}

.btn-danger {
    background: #d93030;
    border: none;
    padding: 10px;
    font-size: 16px;
    border-radius: 8px;
    transition: 0.25s ease;
}

.btn-danger:hover {
    background: #ff4545;
    box-shadow: 0 0 14px rgba(255, 60, 60, 0.6);
    transform: translateY(-2px);
}

/* ======= Логотипы и картинки ======= */
.charlogo {
    position: absolute;
    width: 100vw;
    height: 100%;
    z-index: 3;
    margin-top: 1%;
}

.charlogoimg {
    object-fit: contain;
    position: relative;
    margin-left: 3%;
    max-height: 100%;
    height: 120%;
}

/* ======= Видео и интро ======= */
.intro {
    margin-top: 3%;
    max-height: 100vh;
    max-width: 100vw;
    overflow: hidden;
    position: relative;
}

.intro__content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}

.video {
    position: relative;
    z-index: 1;
    padding-bottom: 56.25%;
}

.video__media {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
}

.shadowimg {
    margin-top: -14%;
    position: relative; 
    z-index: 4; 
    width: 100%;  
}

.topage {
    z-index: 3;
    margin-top: 5%;
    width: 100vw;
}

.shadowbox2 {
    height: 300px;
    max-height: 500px;
    background-color: black;
}

/* ======= Футер ======= */
.footercontent {
    margin: 0 auto;
    text-align: center;
    max-width: 100vw;
    width: 50%;
    color: white;
}

.footerss {        
    max-height: 10vh;
    height: 10vh;
}

/* ======= Модальные окна ======= */
.modaldark {
    background: #141414;
    color: #fff;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
}

/* ======= Поля ввода ======= */
.inputdark, .form-control {
    background: #1c1c1c;
    border: 1px solid #2c2c2c;
    color: #eaeaea;
    border-radius: 10px;
    padding: 10px 14px;
    transition: 0.25s ease;
}

.inputdark:hover, .form-control:hover {
    border-color: #454545;
}

.inputdark:focus, .form-control:focus {
    background: #202020;
    border-color: #ff3d3d;
    box-shadow: 0 0 12px rgba(255, 50, 50, 0.4);
    color: #fff;
}

.inputdark::placeholder {
    color: #787878;
}

/* ======= Ссылки ======= */
.forgot-link {
    color: #ff8f8f;
    font-size: 14px;
    text-decoration: none;
    transition: 0.25s ease;
    padding: 6px 12px;
    border-radius: 8px;
}

.forgot-link:hover {
    color: #ffffff;
    background: rgba(255, 61, 61, 0.25);
    box-shadow: 0 0 14px rgba(255, 61, 61, 0.4);
}

.offer-link {
    color: #aee6ff;
    font-size: 12px;
    line-height: 1.35;
    transition: 0.25s ease;
    padding: 6px 8px;
    border-radius: 8px;
    display: inline-block;
}

.offer-link:hover {
    color: #fff;
    background: rgba(13, 202, 240, 0.18);
    box-shadow: 0 0 12px rgba(13, 202, 240, 0.25);
    transform: translateY(-2px);
}

/* ======= Заголовки ======= */
.modal-title {
    font-weight: 600;
    font-size: 20px;
}

/* ======= Адаптивность ======= */
@media screen and (max-width: 500px) {
    #logo { display: block; }
    #logo2 { display: none; }

    .loginbtn {
        width: auto;
        height: 40px;
        margin-right: 13vw;
    }

    .containertext {
        display: none;
    }

    .vhodreg {
        margin-top: 25%;
        height: 20vh;
    }

    .charlogoimg {
        max-height: 80%;
        margin-top: 5%;
    }

    .footercontent {
        max-height: 5vh;
        width: 90%;
    }

    .footerss {
        max-height: 5vh;
        height: auto;
    }
}

@media screen and (min-width: 501px) {
    #logo { display: none; }
    #logo2 { display: block; }
}