/* Контейнер */
.container {
    padding: 0 10%; 
    max-width: 1200px; 
    margin: 0 auto; 
}
/* General Styles */
body {
    margin: 0;
    font-family: 'Futura', sans-serif;
    color: #FFFFFF;
    background: linear-gradient(150deg, #3B0469, #07063E);
    overflow-x: hidden;
}

/* Header Styles */

.header {
    position: sticky; /* Задаем прилипание шапки */
    top: 0; /* Прикрепляем шапку к верхней части экрана */
    z-index: 1000; /* Устанавливаем приоритет над другими элементами */
    background: rgba(255, 255, 255, 0.9); /* Фон для шапки, чтобы она была видимой */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Легкая тень */
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    padding: 10px 5px;
}

/* Контейнер для шапки */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Полная ширина */
    max-width: 1200px; /* Ограничение ширины */
}

/* Логотип */
.logo {
    display: flex;
    align-items: center;
    gap: 10px; /* Отступ между изображением и текстом */
}

.logo img {
    width: 210px;
    height: 65px;
}

.logo h1 {
    font-size: 24px;
    color: #6A0DAD; /* Фиолетовый цвет текста */
    margin: 0;
}

/* Навигация */
.nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 15px; /* Отступы между кнопками */
}

.nav ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.nav ul li a {
    text-decoration: none;
    color: #07063E; /* Фиолетовый цвет ссылок */
    font-weight: bold;
    padding: 5px 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav ul li a:hover {
    color: #1E1EFA; /* Синий цвет при наведении */
    transform: scale(1.1); /* Легкое увеличение */
}

.nav ul li.separator {
    color: #CCCCCC; /* Цвет прочерков */
    font-size: 32px;
    margin: 0 1px;
}

/* About Section */
.about-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 10%;
    background: rgba(0, 0, 0, 0.4); /* Легкий белый фон с прозрачностью */
    border-radius: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Контейнер для содержимого */
.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px; /* Отступ между текстом и логотипом */
}

/* About Text */
.about-text {
    flex: 2; /* Текст занимает больше пространства */
    color: #FFFFFF;
}

.about-text h2 {
    font-size: 18px;
    color: #FF0084; /* Золотистый цвет для заголовка */
    margin-bottom: 10px;
}

.about-text h3 {
    font-size: 40px;
    color: #ffffff; /* Акцентный синий цвет */
    margin-bottom: 20px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9); /* Светло-белый текст */
}

/* About Logo */
.about-logo {
    flex: 1; /* Логотип занимает меньше пространства */
    display: flex;
    justify-content: flex-end; /* Выровнять логотип по правому краю */
}

.about-logo img {
    max-width: 100%; /* Логотип адаптивен и не выходит за рамки */
    height: auto;
    /*border-radius: 10px; !* Легкое скругление углов *!*/
    /*box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); !* Тень для выделения *!*/
}
.about-text .follow-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
    color: #FFD700; /* Золотой цвет */
    text-decoration: none;
    border: 2px solid #FFD700; /* Золотая рамка */
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.about-text .follow-link:hover {
    background: #FFD700; /* Золотой фон при наведении */
    color: #000000; /* Чёрный текст */
    transform: scale(1.05); /* Легкое увеличение */
}

/* Games Section */
.games-section {
    padding: 40px 20px;
}

.games-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Game Card General Styles */
.game-card {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Content State */
.game-card-content {
    text-align: center;
    padding: 20px;
    z-index: 1;
    position: relative;
}

.game-card-content img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.game-card-content h3 {
    font-size: 18px;
    margin: 10px 0 0;
    color: #FFFFFF;
}

/* Hover State */
.game-card-hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    color: #FFFFFF;
}

.game-card:hover .game-card-hover {
    opacity: 1;
}

.game-card-hover p {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
    color: aliceblue;
}

/* Platform Icons */
.platform-icons {
    display: flex;
    gap: 15px;
}

.platform-icons a img {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.platform-icons a img:hover {
    transform: scale(1.1);
    opacity: 0.8;
}


/* Footer Section */
.footer {
    background: rgba(0, 0, 0, 0.4); /* Легкий белый фон с прозрачностью */
    padding: 40px 10%;



}

.footer-content {
    display: flex;
    justify-content: space-between; /* Элементы располагаются по сторонам */
    align-items: center;
    flex-wrap: wrap; /* Перенос элементов на новые строки для мобильных устройств */
    gap: 20px;
}

.footer-follow {
    flex: 1;
    display: flex; /* Устанавливаем flexbox для выравнивания текста и иконок */
    flex-direction: column; /* Элементы располагаются вертикально */
    align-items: flex-start; /* Выровнять по левому краю */
    text-align: left;
}

.footer-follow h2 {
    font-size: 20px;
    color: #FFD700; /* Золотой цвет заголовка */
    margin-bottom: 15px;
}

.social-icons {
    display: flex; /* Горизонтальное расположение иконок */
    gap: 15px; /* Расстояние между иконками */
    flex-wrap: wrap; /* Перенос строк для мобильных устройств */
    margin-top: 10px; /* Отступ между заголовком и иконками */
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1); /* Увеличение при наведении */
    opacity: 0.8;
}

.social-icons img {
    width: 100%;
    height: 100%;
    border-radius: 50%; /* Округлые иконки */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Тень для выделения */
}

/* Contact Us (Правая часть) */
.footer-contact {
    flex: 1;
    text-align: right;
}

.footer-contact h2 {
    font-size: 20px;
    color: #FFD700; /* Золотой цвет заголовка */
    margin-bottom: 10px;
}

.footer-contact p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact a {
    color: #ffffff; /* Цвет ссылки */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #FFD700; /* Золотой цвет при наведении */
}


/* Follow Us Section */
.follow-section {
    padding: 40px 10%;
    text-align: center;
    background: rgba(255, 255, 255, 0.1); /* Легкий фон для выделения */
    border-radius: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.follow-section h2 {
    font-size: 24px;
    color: #FFD700; /* Золотой цвет текста */
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px; /* Расстояние между иконками */
    flex-wrap: wrap; /* Перенос строк для мобильных устройств */
}

.social-icons a {
    display: inline-block;
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1); /* Увеличение при наведении */
    opacity: 0.8;
}

.social-icons img {
    width: 100%;
    height: 100%;
    border-radius: 10%; /* Округлые иконки */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Тень для выделения */
}




@media (max-width: 768px) {
    /* Шапка сайта */
    .header {
        flex-direction: column;
        align-items: center;

    }

    .header-container {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .logo img {
        display: none;
    }

    .logo h1 {
        font-size: 20px;
    }

    .nav ul {
        flex-direction: row;
        gap: 10px;
    }

    .nav ul li {
        font-size: 18px;
    }

    /* About Us Section */
    .about-section {
        flex-direction: column;
        align-items: center;
        padding: 20px 5%;
    }

    .about-content {
        flex-direction: column;
        gap: 20px;
    }

    .about-text {
        text-align: center;
    }

    .about-logo img {
        max-width: 70%;
        height: auto;
    }

    .footer-follow {
        align-items: center; /* Центрируем элементы */
        text-align: center; /* Центрируем текст */
    }
    .social-icons {
        justify-content: center; /* Центрируем иконки */
    }
}



