


/* ЗАГОТОВКИ */

/* Цвета */
:root {
    --color-white: #ffffff; 
    --color-yellow: #f1b62e;
    --color-text1: #79786e;
    --color-text2: #a9a8a4;

/* Параметры блоков */
    --width: 1620px;
    --spacing-block: 30px;
    --spacing: 100px;
    --radius: 30px;
}


/* КАСТОМНЫЕ ШРИФТЫ */

/* Заголовок */
@font-face {
    font-family: 'ZilapMinimalist';
    src: url('../fonts/ZilapMinimalist.woff2') format('woff2'),
        url('../fonts/ZilapMinimalist.ttf') format('truetype');
    font-display: swap;
}
/* Подзаголовок */
@font-face {
    font-family: 'Comfortaa';
    src: url('../fonts/Comfortaa.woff2') format('woff2'),
        url('../fonts/Comfortaa.ttf') format('truetype');
    font-display: swap;
}
/* Текст */
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto.woff2') format('woff2'),
        url('../fonts/Roboto.ttf') format('truetype');
    font-display: swap;
}


/* СКРОЛ */

/* Для Webkit браузеров (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--color-yellow); 
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e6b800; /* темнее при ховере */
}

/* Для Safari (требует включения в настройках) */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    body {
        -webkit-overflow-scrolling: touch;
    }
}

/* Для Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--color-yellow) #f1f1f1;
}



/*-- СБРОС ПО УМОЛЧАНИЮ --*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Сброс стиля ссылки */
.footer-button-link {
    text-decoration: none;
    display: inline-block;
}

/* Простые стили ссылок */
a { color: #ff8562; text-decoration: none; }



/*-------------------------------------------------*/

body {
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', Arial, sans-serif;
    height: 100vh;
    color: var(--color-text1);
    min-width: 300px;
    overflow-x: hidden;

    /* Запрет на выделение */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

@media (max-width: 768px), (max-height: 500px) {
}

/*-------------------------------------------------*/


.separator-line {
    height: 1px;
    background: #F0B93A;
    margin: 60px 0 10px 0;
    width: 70%;
}
@media (max-width: 768px) {
    .separator-line {
        display: none;
    }
}


h1 {
    font-family: 'Comfortaa', Arial, sans-serif;
    color: var(--color-white);
    font-size: 1.8rem;
    font-weight: lighter;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
@media (max-width: 768px) {
    h1 {
        font-size: 1.4rem;
    }
}



/* Кнопка */
.footer-button {
    all: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Comfortaa', Arial, sans-serif;
    font-weight: lighter;
    font-size: 1.4em;
    text-transform: uppercase;
    color: var(--color-white);
    background-color: var(--color-yellow);
    width: 300px;
    height: 60px;
    cursor: pointer;
    position: relative; 
    border: none;
    border-radius: 0px;
    box-sizing: border-box;
}
.footer-button:hover {
    background-color: var(--color-yellow);
    color: transparent;
}
.footer-button:hover::before {
    content: "Click";
    color: var(--color-white);
    position: absolute; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; 
    text-align: center; 
}


/* КУКИ */
.cookie-base {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    color: var(--color-text1);
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
    border-top: 1px solid var(--color-yellow);
    z-index: 1000;
}
.cookie-ok {
    background: var(--color-yellow);
    color: var(--color-white);
    border: none;
    padding: 10px 24px;
    border-radius: 2px;
    cursor: pointer;
    margin-left: 15px;
    font-weight: normal;
}
.cookie-ok:hover {
    background: var(--color-text1);
}