@font-face {
    font-family: "sfprodisplay";
    src: url(../fonts/SFPRODISPLAYMEDIUM.woff2) format('woff2');
}
@font-face {
    font-family: "sfprodisplay_bold";
    src: url(../fonts/SFPRODISPLAYBOLD.woff2) format('woff2');
}
* {
    color: white;
    user-select: none;
}
::-webkit-scrollbar {
    width: 0;
    display: none;
}
body {
    background-color: black;
    overflow-x: hidden;
    scrollbar-width: none;
}
body::-webkit-scrollbar {
    width: 0;
    background: transparent;
}


.main-cont {
    width: 100%;
    max-width: 1440px;
    text-align: center;
    margin: 0 auto;
}


.header {
    margin-top: 20px;
    height: 70px;
    width: 100%;
    max-width: 1440px;
    color: white;
    display: flex;
    justify-content: space-between;
    padding-inline: 50px;

    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 30px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 0px 0px rgba(255, 255, 255, 0);
    overflow: hidden;
    position: fixed;

    z-index: 6;
}
.header::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 30px;
    pointer-events: none;
    padding: 1px; /* толщина "рамки" */

    /* два радиальных градиента в углах — они и гаснут */
    background:
        radial-gradient(160% 160% at 0% 100%, rgba(255,255,255,0.30) 0%, transparent 65%),
        radial-gradient(160% 160% at 100% 0%, rgba(255,255,255,0.30) 0%, transparent 65%);

    /* вырезаем центр, чтобы не светился фон */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;

    /* рамка поверх фоновых эффектов, но под контентом */
    z-index: 1;
}
/* Поднимаем контент (текст, кнопки, лого) над рамкой */
.header > * {
  position: relative;
  z-index: 2;
}
.logo-title {
    display: flex;
}
.logo-div img {
    margin-top: 8px;
    width: 54px;
    filter: brightness(75%);
}
.title {
    font-size: 24px;
    margin-left: 10px;
    height: 70px;
    line-height: 70px; /* должно равняться высоте контейнера */
    font-family: 'sfprodisplay';
}
.header-btn {
    margin-left: 40px;
    height: 56px;
    line-height: 70px;
    text-decoration: none;
    color: white;
    font-family: "sfprodisplay";
    font-size: 20px;
    background-color: #121212;
    padding: 15px 30px;
    border-radius: 40px;
    overflow: hidden;
    position: relative;

    transition: 0.3s;
}
.header-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px; /* толщина границы */
    
    background:
        radial-gradient(120% 120% at 0% 100%, rgba(255,255,255,0.32) 0%, transparent 65%),
        radial-gradient(120% 120% at 100% 0%, rgba(255,255,255,0.32) 0%, transparent 65%);

    /* Вырезаем центр, оставляя только границу */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
}
.header-btn img {
    width: 30px;
    margin-left: 10px;
}
.header-btn:hover {
    filter: brightness(1.5);
}