
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap"); /* Poppins */
@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@200..900&display=swap');                  /* Unbounded */

html {
    scroll-behavior: smooth;
}

.fm{
    font-family: "Unbounded", normal;
}

.fs-13{
    font-size: 13px !important;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body::-webkit-scrollbar {
    width: 7px;
  }
   
body::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar-thumb {
    background-color: #312b3b;
    border-radius: 4px;
    cursor:pointer;
}

#width1200{
    width: 1199px;
}

#main{
    margin-top: -30px;
    min-height: auto;
    width: 100%;
    left: 0;
    position: relative;
    background-color: #1A1919;
    display: flex;
    justify-content: center;
}

#main_body{
    margin-top: -30px;
    min-height: auto;
    width: 100%;
    left: 0;
    position: relative;
    background-color: #100b0b;
    display: flex;
    justify-content: center;
}

.start_game_background{
    background-image: url(../image/background/background2.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
}

.mt-30{
    padding-top: 30px;
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}


.back_fons {
    background-image: 
        linear-gradient(
            to bottom, 
            #130e0e 0%,                /* Полный цвет фона сверху */
            rgb(20 15 15 / 74%) 15%,   /* Ваше затемнение */
            rgb(19 14 14 / 63%) 85%,   /* Ваше затемнение */
            #130e0e 100%               /* Полный цвет фона снизу */
        ), 
        url(../image/background/fons.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
}

/* Базовые стили футера */
.main-footer {
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding: 30px 0 15px; /* Уменьшили отступы */
    border-top: 2px solid #ff8c00;
    font-family: sans-serif;
}

/* Сетка футера - адаптивная */
.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap; /* Позволяет блокам переноситься */
    justify-content: space-between;
    gap: 30px;
}

/* Колонки */
.footer-col {
    flex: 1;
    min-width: 250px; /* Чтобы не сжимались слишком сильно */
}

/* Заголовки */
.footer-col h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 16px;
    border-left: 3px solid #ff8c00;
    padding-left: 12px;
    text-transform: uppercase;
}

.footer-text { 
    font-size: 13px; 
    line-height: 1.5; 
    color: #999; 
}

/* Контакты */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 8px; font-size: 13px; color: #ccc; }

/* Ссылки (сброс синего цвета) */
.main-footer a {
    text-decoration: none !important; 
    color: #ff8c00 !important; 
    transition: 0.2s;
}

.main-footer a:hover {
    color: #ffae42 !important;
}

/* Форма (компактная) */
.footer-form input, 
.footer-form textarea {
    width: 100%;
    box-sizing: border-box; /* Чтобы не вылезали за края */
    padding: 8px 12px;
    margin-bottom: 8px;
    background: #252525;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
}

.footer-btn {
    background: #ff8c00;
    color: #111 !important;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    width: 100%;
    transition: 0.3s;
}

.footer-btn:hover { 
    background: #ffae42;
}

/* Нижняя панель */
.footer-bottom {
    margin-top: 25px;
    padding: 15px 20px 0;
    text-align: center;
    border-top: 1px solid #252525;
    font-size: 12px;
}

.footer-legal-links {
    margin-top: 8px;
}

.footer-legal-links a {
    color: #666 !important;
    margin: 0 8px;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 900px) {
    .footer-container {
        justify-content: center; /* Центрируем блоки на планшетах */
    }
    .footer-col {
        min-width: 40%; /* Две колонки в ряд */
    }
}

@media (max-width: 600px) {
    .main-footer {
        padding: 20px 0 10px;
        text-align: center; /* Центрируем текст на телефонах */
    }
    .footer-col {
        min-width: 100%; /* Одна колонка во всю ширину */
    }
    .footer-col h4 {
        border-left: none;
        border-bottom: 2px solid #ff8c00;
        padding-left: 0;
        display: inline-block;
        padding-bottom: 5px;
    }
}
