/* Основные стили */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #1f1f1f;
    color: white;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Главный экран с фоновым изображением и анимацией */
.hero {
    position: relative;
    height: 100vh;
    background: url('background.webp') center/cover no-repeat;
    background-attachment: fixed;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    animation: zoomIn 20s infinite linear;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 1), 0 0 20px rgba(255, 215, 0, 0.6);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInText 2s forwards;
}

.hero span {
    color: #FFD700;
}

.btn {
    background-color: #FFD700;
    color: #2f2f2f;
    padding: 15px 30px;
    font-size: 1rem;
    border: none;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.btn:hover {
    transform: scale(1.1);
    background-color: #C0C0C0;
}

/* Секция "О сервере" */
.about-section {
    padding: 60px 0;
    text-align: center;
    background-color: #2f2f2f;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #FFD700;
}

.about-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.feature {
    background-color: #444444;
    padding: 30px;
    width: 280px;
    margin: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease-in-out, box-shadow 0.3s ease-in-out;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.feature p {
    font-size: 1rem;
}

/* Секция для скриншотов */
.screenshots-section {
    background-color: #2f2f2f;
    padding: 60px 0;
    text-align: center;
}

.screenshot-placeholder {
    background-color: #444444;
    padding: 40px;
    margin-top: 30px;
    color: #fff;
    font-size: 1.2rem;
    border-radius: 8px;
}

/* Секция "Разработка" */
.development {
    padding: 60px 0;
    background-color: #1f1f1f;
    text-align: center;
}

.development h2 {
    font-size: 2.5rem;
    color: #FFD700;
}

/* Секция "Присоединиться" */
.join {
    padding: 60px 0;
    background-color: #2f2f2f;
    text-align: center;
}

.join h2 {
    font-size: 2.5rem;
    color: #FFD700;
}

.join p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Футер */
.footer {
    background-color: #1c2833;
    padding: 20px 0;
    text-align: center;
    color: #BDC3C7;
}

/* Анимации */
@keyframes fadeInText {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .feature {
        width: 90%;
        margin-bottom: 30px;
    }

    .btn {
        font-size: 1rem;
        padding: 12px 25px;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
    }
}
