* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    padding-top: 80px;
    background: #000000;
}

header {
    background-color: #000000;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 80px;
}

.logo {
    color: white;
    font-size: 2rem;
    margin: 10px 0;
    position: relative;
    transform: none;
}

.menu-btn {
    display: none;
}

.nav-menu {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 8px 15px;
    position: relative;
    transition: all 0.3s ease;
}

/* Добавляем новую анимацию для пунктов меню */
.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.nav-menu a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-menu a:hover {
    color: var(--light-purple);
    text-shadow: 0 0 8px rgba(147, 112, 219, 0.8);
    letter-spacing: 1px;
}

.nav-menu li {
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.nav-menu li:hover {
    transform: translateY(-3px);
}

/* Скрываем мобильные элементы на десктопе */
.menu-btn,
.menu-close,
.mobile-footer {
    display: none;
}

/* Мобильные стили */
@media screen and (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    header {
        flex-direction: row;
        justify-content: center;
        padding: 0 20px;
        height: 60px;
        min-height: auto;
    }

    .logo {
        font-size: 1.8rem;
        margin: 0;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .menu-btn {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1002;
    }

    .menu-close {
        display: block;
        position: fixed;
        right: 20px;
        top: 20px;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1003;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 60px 20px 20px;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1001;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu ul {
        width: 100%;
        max-width: 280px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin: 20px 0;
        padding: 0;
    }

    .nav-menu a {
        width: 100%;
        padding: 15px 30px;
        background: #FFFFFF;
        color: #000000;
        border-radius: 50px;
        text-align: center;
        font-size: 1.1rem;
        font-weight: 500;
        text-transform: uppercase;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover {
        transform: translateY(-3px);
        background: #F5F5F5;
        box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
    }

    /* Социальные кнопки в меню */
    .mobile-footer {
        width: 100%;
        max-width: 280px;
        margin-top: auto;
        padding: 20px 0;
    }

    .mobile-footer .social-links {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .mobile-footer .social-btn {
        width: 100%;
        padding: 12px 20px;
        border-radius: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-size: 1rem;
        color: #FFFFFF;
        transition: all 0.3s ease;
    }

    .mobile-footer .social-btn i {
        font-size: 1.2rem;
    }

    .mobile-footer .social-btn.vk {
        background: #4C75A3;
    }

    .mobile-footer .social-btn.telegram {
        background: #0088cc;
    }

    .mobile-footer .social-btn.instagram {
        background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    }

    /* Стили для иконок в кнопках соцсетей */
    .mobile-footer .social-btn i {
        font-size: 1.2rem;
        color: #FFFFFF;
        flex-shrink: 0;
    }

    /* Стили для текста в кнопках соцсетей */
    .mobile-footer .social-btn span {
        color: #FFFFFF;
        font-weight: 500;
        flex-shrink: 0;
        font-size: 1.1rem;
        padding: 0 5px;
    }

    /* Стили для кнопок меню */
    .nav-menu a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 280px;
        padding: 15px 30px;
        border-radius: 50px;
        font-size: 1.2rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 2px;
        background-color: #FFFFFF;
        color: #000000;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }

    .nav-menu a:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }

    /* Стили для иконок в кнопках (если нужны) */
    .nav-menu a i {
        margin-right: 10px;
        font-size: 1.2rem;
    }

    /* Убираем подчеркивание при наведении */
    .nav-menu a::before {
        display: none;
    }

    /* Стили для активной кнопки */
    .nav-menu a:active {
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    }

    /* Убираем наложение меню */
    .menu-btn.active {
        display: none;
    }

    .logo {
        font-size: 1.8rem;
    }
}

/* Обновленные стили для футера */
.footer {
    background-color: #000000;
    padding: 30px 0;
    margin: 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
}

.footer-section {
    text-align: center;
    width: 100%;
    max-width: 600px;
}

.footer-section h3 {
    color: #FFFFFF;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Обновленные стили для социальных кнопок */
.footer .social-links {
    display: flex;
    flex-direction: row; /* Кнопки в ряд */
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.footer .social-btn {
    min-width: 160px;
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

/* Медиа-запросы */
@media screen and (max-width: 768px) {
    .footer .social-links {
        flex-direction: column; /* На мобильных - друг под другом */
        align-items: center;
        width: 100%;
        max-width: 280px;
        margin: 20px auto;
    }

    .footer .social-btn {
        width: 100%;
    }
}

.footer-bottom {
    margin-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #FFFFFF;
    font-size: 0.9rem;
}

/* Обновляем стили для социальных иконок */
.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 30px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-5px);
}

.social-btn span {
    font-size: 1rem;
    font-weight: 500;
}

/* Цвета для разных соцсетей */
.social-btn.vk {
    background: #4C75A3;
}

.social-btn.telegram {
    background: #0088cc;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* Медиа-запросы для адаптивности */
@media screen and (max-width: 768px) {
    .footer {
        padding: 20px;
        width: 100%;
        overflow: hidden;
    }

    .social-links {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .social-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .footer-content {
        padding: 0;
        width: 100%;
    }

    .footer-section {
        width: 100%;
        padding: 0 10px;
    }
}
/* Вертикальное расположение кнопок социальных сетей в мобильном меню */
.mobile-footer .social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-footer .social-links a {
    margin: 5px 0;
}

/* Запрещаем горизонтальную прокрутку */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.footer-section h2 {
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
}
/* Обновляем стили для маленьких экранов */
@media screen and (max-width: 380px) {
    body {
        padding-top: 50px;
    }

    header {
        height: 50px;
        padding: 0 15px;
        display: flex;
        align-items: center;
    }

    .logo {
        font-size: 1.6rem;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .menu-btn {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.4rem;
        display: flex;
        align-items: center;
        padding: 10px;
    }

    .nav-menu {
        padding-top: 60px;
    }

    .nav-menu ul {
        padding: 10px;
        margin-top: 20px;
    }

    .menu-close {
        top: 15px;
        right: 15px;
        font-size: 1.4rem;
    }

    .social-btn {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-decoration: none;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-link i {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.social-username {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.5);
}
