
* {
    margin: 0;
    padding: 0;
    gap: 0;
    box-sizing: border-box;
    line-height: 100%;
    -webkit-tap-highlight-color: transparent;  
    font-family: "Poppins", sans-serif;
    z-index: 1;
    -webkit-font-smoothing: antialiased;
    -webkit-font-smoothing: subpixel-antialiased;

    & button {
        cursor: pointer;
    }
}

:root {
    --layout: #09090B;
    --border: #12121B;
    --white: #FFFFFF;
    --white05: #FFFFFF05;
    --black: #000000;
    --black60: #00000060;
    --text: #454554;
    --child: #0B0B0F;
    --child50: #0B0B0F50;
    --child95: #0B0B0F95;
    --accent: #5B52D8;
    --accent20: #5B52D820;
    --accent-hover: #868AFF;
    --widget: #0F0F14;
    --light-widget: #15151C;
    --on-widget: #1A1A24;
    --orange: #FFD4B6;
    --orange15: #FFD4B615;
    --green: #4CFF85;
    --alpha0: #00000000;
    --containers-max-width: 1160px;
    --padding75: 75px;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    z-index: 4;
    display: none;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: var(--on-widget);
    border-radius: 100px;
    background-clip: content-box;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: none !important;
    -webkit-text-fill-color: var(--white) !important;
    transition: background-color 5000s ease 0s !important;
}

.style_dot {
    width: 5px;
    height: 5px;
    min-width: 5px;
    max-width: 5px;
    min-height: 5px;
    max-height: 5px;
    background-color: var(--accent);
    border-radius: 100px;
    outline: 3px solid var(--accent20);
    margin: 0 3px;
}

.animated-button {
    padding: 24.5px 40.5px;
    background: var(--accent);
    border-radius: 8px;
    box-shadow: 0 0 30px 0 var(--black60);
    overflow: hidden;
    transition: all 0.2s ease;
    position: relative;
    display: inline-block;
    outline: none;
    border: none;
}

.animated-button:hover {
    background: var(--accent-hover);
    scale: 0.9;
}

.animated-button span {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    height: 11px;
    color: var(--black);
    transform: translateX(0);
    transition: all 0.2s ease;
}

.animated-button:hover span {
    transform: translateX(-15px);
}

.animated-button::after {
    z-index: 2;
    content: "";
    width: 12px;
    height: 24px;
    top: 50%;
    right: 40px;
    position: absolute;
    transform: translateX(0) translateY(-50%);
    opacity: 0;
    background-image: url('../svg/weui_arrow-filled.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.2s ease;
}

.animated-button:hover::after {
    right: 20px;
    transform: translateY(-50%); 
    opacity: 1;
}

.notify {
    position: absolute;
    top: 109px;
    left: 25px;
    transform: none; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    z-index: 10;
}

.notify__message {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    background-color: var(--child);
    border: 1px solid var(--border);
    border-radius: 8px;
    opacity: 0;
    transform: translateX(-100%); 
    animation: slideInRight 0.5s forwards, fadeOutRight 0.5s 4.5s forwards; 
}

.notify__message__header {
    display: flex;
    flex-direction: column;
    height: 29px;
    justify-content: space-between;
    gap: 5px;
    align-items: flex-start;
}

.notify__message__header .title {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
}

.notify__message__header .description {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
}

.notify__message__bottom {
    width: 100%;
    height: 8px;
    background-color: var(--light-widget);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.notify__message__bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 8px; 
    border-radius: 999px;
    background-color: var(--accent); 
    animation: progressBar 4s linear forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0%);
    }
}

@keyframes fadeOutRight {
    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

@keyframes progressBar {
    to {
        width: 100%;
    }
}

body, html {
    width: 100vw;
    height: 100vh;
    background: var(--layout);
    display: block;
    overflow-x: hidden;
}

.root {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    display: block;
}

.titlebar__container {
    width: 100%;
    height: 84px;
    border-bottom: 1px solid var(--border);
    position: fixed;
    z-index: 4;
    background-color: var(--child95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.titlebar__content {
    max-width: var(--containers-max-width);
    margin: 0 auto;
    display: flex;
    height: 100%;
}

.titlebar__item {
    width: 100%;
    display: flex;
    gap: 35px;
    align-items: center;
    height: 100%;
}

.titlebar__site__button {
    display: flex;
    gap: 35px;
    align-items: center;
    background: none;
    outline: none;
    border: none;
}

.titlebar__site__button img {
    width: 36.09px;
    height: 31.5px;
}

.titlebar__site__button__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
}

.titlebar__site__button__text .title {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
}

.titlebar__site__button__text .description {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
}

.titlebar__button {
    background: none;
    border: none;
    outline: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    transition: color 0.2s ease;
    text-transform: uppercase;
}

.titlebar__button:hover {
    color: var(--white);
}

.titlebar__profile__button {
    display: flex;
    gap: 15px;
    align-items: center;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    background: none;
    outline: none;
    border: none;
}

.titlebar__profile__button .avatar__container {
    width: 35px;
    height: 35px;
    border-radius: 100px;
    overflow: hidden;
}

.titlebar__profile__button .avatar__container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.guarantee__container {
    width: 100%;
    border-top: 1px solid var(--border);
}

.guarantee__content {
    max-width: var(--containers-max-width);
    padding: var(--padding75) 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
}

.guarantee__item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--border);
    background: var(--child);
    border-radius: 8px;
    padding: 25px;
    gap: 25px;
}

.guarantee__item:nth-child(-n+3) {
    grid-column: span 2;
}

/* Последние 2 элемента занимают по 2 колонки и выравниваются по центру */
.guarantee__item:nth-last-child(2):nth-child(4) {
    grid-column: 2 / span 2; /* Начинается со 2-й колонки, занимает 2 */
}

.guarantee__item:last-child:nth-child(5) {
    grid-column: 4 / span 2; /* Начинается с 4-й колонки, занимает 2 */
}

.guarantee__item .title {
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
}

.guarantee__item .description {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    text-align: center;
    line-height: 130%;
}

.guarantee__item img {
    width: 35px;
    height: 35px;
}

.footer__container {
    width: 100%;
    border-top: 1px solid var(--border);
}

.footer__content {
    max-width: var(--containers-max-width);
    padding: var(--padding75) 0;
    margin: 0 auto;
    display: flex;
}

.footer__item {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}

.footer__item.left img {
    width: 32px;
    height: 28px;
}

.footer__item.center span {
    font-size: 17px;
    font-weight: 500;
    color: var(--accent);
}

.contact-button {
    all: unset;
    width: 32px;
    height: 32px;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: cover;
    background-color: var(--text);
    outline: none;
    border: none;
    transition: all 0.2s ease;
}

.contact-button.youtube {
    mask-image: url('../svg/entypo-social_youtube-with-circle.svg');
}

.contact-button.telegram {
    mask-image: url('../svg/akar-icons_telegram-fill.svg');
}

.contact-button.discord {
    mask-image: url('../svg/Subtract-1.svg');
}

.contact-button:hover {
    background-color: var(--accent);
}

@media screen and (min-width:767px) and (max-width:1200px) {
    :root {
        --containers-max-width: 767px;
    }
    #titlebar__site__button__text {
        display: none;
    }
    #footer__text {
        display: none;
    }
}

@media screen and (max-width:767px) {
    :root {
        --containers-max-width: calc(100% - 30px);
        --padding75: 25px;
    }
    .titlebar__item:first-child {
        display: none;
    }
    #titlebar__site__button__text {
        display: none;
    }
    #footer__text {
        display: none;
    }
    #username {
        display: none;
    }
    .guarantee__content {
        display: flex;
        flex-direction: column;
    }
}


























