/* Общие стили */
body {
    margin: 0;
    font-family: 'Benzin', sans-serif; /* Подключение шрифта Benzin Bold */
    background: #0a0a15; /* Основной цвет фона */
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden; /* Скрываем горизонтальный overflow */
    position: relative;
}

/* Применение шрифта к заголовкам */
h1, h2, h3 {
    font-family: 'Benzin', sans-serif; /* Применение шрифта Benzin Bold к заголовкам */
    font-weight: 700; /* Жирный шрифт */
}

/* Canvas для эффекта шторма */
canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Отправляем canvas на задний план */
}

/* Стиль для стеклянного эффекта */
.glass-panel {
    background: rgba(10, 10, 21, 0.5); /* Полупрозрачный темный фон */
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

/* Верхняя панель */
header {
    width: 100%;
    max-width: 1200px;
    margin-top: 20px;
    position: relative; /* Убедимся, что header находится поверх фона */
    z-index: 1; /* Поднимаем header над фоном */
}

header nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

/* Логотип */
header nav .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

header nav .logo img {
    height: 50px;
    width: auto;
    border-radius: 10px;
    transition: filter 0.3s ease;
}

header nav .logo:hover img {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.7));
}

/* Ссылки */
header nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 25px;
    transition: background 0.3s ease, transform 0.3s ease;
}

header nav ul li a i {
    margin-right: 8px;
}

header nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Блок "О нас" */
.about-us {
    max-width: 800px;
    text-align: center;
    margin-top: 50px;
    position: relative; /* Убедимся, что блок находится поверх фона */
    z-index: 1; /* Поднимаем блок над фоном */
}

.about-us h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-us p {
    font-size: 18px;
    line-height: 1.6;
}

/* Кнопка */
.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* Раздел с кряками */
.cheats-section {
    width: 100%;
    max-width: 1200px;
    margin-top: 50px;
    text-align: center;
    position: relative; /* Убедимся, что блок находится поверх фона */
    z-index: 1; /* Поднимаем блок над фоном */
}

.cheats-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.cheats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 20px;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .cheats-grid {
        grid-template-columns: 1fr;
    }
}

/* Стили для карточек */
.cheat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    max-width: 300px;
    background: rgba(10, 10, 21, 0.5); /* Полупрозрачный темный фон */
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cheat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.cheat-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.cheat-card p {
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px;
}

.cheat-card .btn {
    margin-top: auto;
}

/* Блок с предупреждением */
.warning-box {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    text-align: center;
    background: rgba(10, 10, 21, 0.5); /* Полупрозрачный темный фон */
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative; /* Убедимся, что блок находится поверх фона */
    z-index: 1; /* Поднимаем блок над фоном */
}

.warning-box h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #ff6b6b;
}

.warning-box p {
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
}

/* Подключение шрифта Benzin Bold */
@font-face {
    font-family: 'Benzin';
    src: url('fonts/Benzin-Bold.woff2') format('woff2'), /* Формат WOFF2 */
         url('fonts/Benzin-Bold.woff') format('woff');   /* Формат WOFF */
    font-weight: 700; /* Жирный шрифт */
    font-style: normal;
}


/* Стили для футера */
.footer {
    width: 100%;
    background: rgba(10, 10, 21, 0.8); /* Полупрозрачный темный фон */
    backdrop-filter: blur(10px);
    padding: 20px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    border-radius: 10px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: white;
    font-size: 24px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.footer-copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Стили для страниц с документами */
.document-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background: rgba(10, 10, 21, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
}

.document-container h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.document-container h2 {
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.document-container p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Стилизация скроллбара */
body::-webkit-scrollbar {
    width: 12px; /* Ширина скроллбара */
}

body::-webkit-scrollbar-track {
    background: rgba(10, 10, 21, 0.5); /* Цвет трека (фона) скроллбара */
    border-radius: 10px; /* Закругленные углы трека */
}

body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3); /* Цвет ползунка скроллбара */
    border-radius: 10px; /* Закругленные углы ползунка */
    border: 2px solid rgba(10, 10, 21, 0.5); /* Граница ползунка */
}

body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5); /* Цвет ползунка при наведении */
}

/* Для Firefox */
body {
    scrollbar-width: thin; /* Тонкий скроллбар */
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(10, 10, 21, 0.5); /* Цвет ползунка и трека */
}

/* Общие стили */
body {
    margin: 0;
    font-family: 'Benzin', sans-serif;
    background: #0a0a15;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Стилизация скроллбара для Google Chrome */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 10, 21, 0.5);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    border: 2px solid rgba(10, 10, 21, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

::-webkit-scrollbar-corner {
    background: rgba(10, 10, 21, 0.5);
}

/* Остальные стили... */
/* Стили для кнопок авторизации */
.auth-buttons {
    display: flex;
    gap: 10px; /* Расстояние между кнопками */
    margin-left: auto; /* Выравнивание кнопок вправо */
}

.btn-auth {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1); /* Полупрозрачный фон */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Граница */
    border-radius: 25px; /* Закругленные углы */
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px; /* Расстояние между иконкой и текстом */
}

.btn-auth:hover {
    background: rgba(255, 255, 255, 0.2); /* Изменение фона при наведении */
    transform: scale(1.05); /* Увеличение кнопки при наведении */
}

.btn-auth i {
    font-size: 18px; /* Размер иконки */
}


/* Стили для контейнера авторизации/регистрации */
.auth-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 20px;
    text-align: center;
}

.auth-container h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
}

.input-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
}

.auth-link {
    margin-top: 15px;
    font-size: 14px;
}

.auth-link a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.auth-link a:hover {
    color: white;
}