/* Стиль для страницы OneBlock */
body {
    background: url('https://i.ibb.co/SK2kSQL/image.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: Arial, sans-serif;
}

h1 {
    color: white;
    text-align: center;
    font-size: 3em;
    margin-top: 50px;
}

p {
    text-align: center;
    font-size: 1.2em;
    color: white;
}

.button-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    max-width: 1200px; /* Ограничиваем максимальную ширину */
    margin: 40px auto; /* Центрируем блок кнопок */
}

.btn {
    background: rgba(0, 0, 0, 0.7);
    padding: 30px 50px;
    color: white;
    text-decoration: none;
    font-size: 2.5em; /* Увеличиваем размер текста */
    border-radius: 15px;
    transition: background 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 250px; /* Минимальная ширина кнопки */
    max-width: 300px; /* Максимальная ширина кнопки */
    justify-content: center;
    text-align: center;
    height: 150px; /* Высота кнопки */
}

.btn:hover {
    background: rgba(255, 165, 0, 0.7);
    transform: scale(1.05); /* Увеличиваем кнопку при наведении */
}

.button-icon {
    width: 60px; /* Увеличиваем размер иконки */
    height: 60px;
    object-fit: contain;
}

/* Специальный стиль для кнопки "Стать частью сервера" */
.connect-btn {
    padding: 10px 20px; /* Маленькие отступы */
    font-size: 1.2em; /* Уменьшенный размер шрифта */
    height: auto; /* Снимаем фиксированную высоту */
    min-width: auto; /* Автоматическая ширина */
    max-width: none; /* Нет ограничений по ширине */
    width: auto; /* Не на всю ширину */
    text-align: center;
    border-radius: 10px; /* Скругление углов */
    background: rgba(0, 0, 0, 0.7); /* Простой фон */
    color: white; /* Белый текст */
    transition: background 0.3s;
}

.connect-btn:hover {
    background: rgba(255, 165, 0, 0.7);
}

/* Последние новости */
.news-panel {
    text-align: center;
    margin-top: 50px;
    color: white;
}

.news-panel h3 {
    font-size: 2em;
    margin-bottom: 10px;
}

.custom-separator {
    margin: 50px 0;
    border-top: 2px solid white;
}

.social-section {
    text-align: center;
    margin-top: 40px;
}

.social-link {
    color: white;
    font-size: 1.5em;
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-link:hover {
    color: #ff8c00;
}

footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
}
