html, body {
    overflow-x: hidden;
}
body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    overflow-x: hidden;
    scrollbar-width: thin; 
    scrollbar-color: #3B3B3B #101010; 

    background-color: #101010;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

body {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

/* Общий фон */
.background {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #101010;
}


/* Мобильный контейнер (имитация "экрана" мобильного устройства) */
.mobile-container {
    width: 100%;
    max-width: 420px;
    background-color: #101010;
    border-radius: 30px 30px 0 0;
    box-shadow: 
        -3px -3px 0 #000000, 
        2px 2px 0 #3B3B3B; 
    margin: 50px auto 0;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    min-height: 100vh;
    padding-bottom: 30px;
    z-index: 1;
}

/* Скролл */
::-webkit-scrollbar {
    width: 10px; 
    height: 12px; 
}
::-webkit-scrollbar-thumb {
    background: #1C1C1C; 
    border-radius: 10px; 
}
::-webkit-scrollbar-thumb:hover {
    background: #717171; 
}

.hidden {
    display: none;
}

h3 {
    color: #CDCDCD;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}




@media (max-width: 768px) {
    html, body {
        margin: 0;
        padding: 0;
        height: 100vh;
        overflow: hidden;
        background-color: #1c1c1c;
    }

    .background {
        background: none !important;
        background-color: #fff !important;
        height: 100vh;
        overflow: hidden;
    }

    .mobile-container {
        height: 100vh;
        overflow-y: auto; /* Разрешает вертикальную прокрутку */
        -webkit-overflow-scrolling: touch; /* Плавная прокрутка на iOS */
        display: flex;
        flex-direction: column;
        border-radius: 0px;
        margin: 0 auto; 
    }

    /* Скрываем скроллбар в Firefox и IE/Edge */
    html, body, .mobile-container {
        scrollbar-width: none;        /* Firefox */
        -ms-overflow-style: none;     /* IE 10+ */
    }

    /* Скрываем скроллбар в WebKit-браузерах (Chrome, Safari, Opera) */
    html::-webkit-scrollbar,
    .mobile-container::-webkit-scrollbar {
        display: none;
    }

    /* При этом позволяем прокручивать содержимое */
    html, body {
        overflow: auto;
    }
}
