
.main-header {
    padding: 0 85px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-header);
    min-height: 58px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 100;
}

.main-header .cta-button:hover {
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0);
    color: #ffffff;
}

.main-header .line-button:hover {
    transition: all 0.3s ease;
    background-color: var(--color-button);
    color: #ffffff;
}

.logo {
    /* background-color: #373737; */
    text-decoration: none;
    /* padding: 0.5rem; */
    /* border-radius: 8px; */
    display: flex;
    align-items: center;
    gap: 7px;
    color: #ffffff;

}

.logo h1 {
    font-weight: 500;
    font-size: 24px;
}

.logo-img {
    height: 40px;
    fill: #fe3838;
    /* Главный цвет иконки */
}

.site-nav {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
}

.user-nav {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.nav-link {
    color: #eef3ffc0;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-link);
}

#balanceButton {
    display: flex;
    align-items: center;
}

.hero {
    margin-top: 58px;
    position: relative;
    overflow: hidden;
    height: 500px;
    padding: 0 20%;
    text-align: center;
    color: #e1e1e1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.85) 0%,
            /* Верх — тёмный */
            rgba(0, 0, 0, 0.6) 23%,
            /* Ближе к центру — заметно затемнён */
            rgba(0, 0, 0, 0.6) 78%,
            /* Центр — тоже затемнён */
            rgba(0, 0, 0, 0.85) 100%
            /* Низ — тёмный */
        );
    z-index: 2;
    pointer-events: none;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-shadow: 0px 0px 10px rgb(0 0 0);
}

.hero-content h1 {
    font-weight: 400;
    font-size: 40px;
}

.hero-content a {
    font-size: 28px;
}

.hero-content h1,
.hero-content p {
    text-shadow:
        2px 2px 8px rgba(0, 0, 0, 0.7);
}

