body {
    font-family: 'Impact', 'Arial Black', sans-serif;
}

#menu-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    color: #FFD700;
    font-family: 'Courier New', monospace;
    margin: 0;
    padding: 0;
    overflow: hidden;
    perspective: 1000px;
}

#menu-content {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* Фон с 3D-эффектом */
.digital-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index: 1;
}

/* Основной контент меню */
.menu-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    text-align: center;
    padding: 30px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: menuAppear 0.15s ease-out forwards;
}

.menu-screen.fade-out {
    animation: menuDisappear 0.15s ease-in forwards;
    pointer-events: none;
}

/* Заголовок */
h1 {
    font-size: 140px;
    margin: 0 0 40px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-weight: 900;
    background: linear-gradient(
        180deg,
        #FFF 15%,
        #FFD700 30%,
        #B8860B 70%
    );
    background-clip: text;
    -webkit-background-clip: text;
    line-height: 1;
    transform: scaleY(1.2);
    white-space: nowrap;
    z-index: 1;
    text-align: center;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Добавляем глитч-эффект */
h1::before {
    content: attr(data-text);
    position: absolute;
    left: -2px;
    text-shadow: 2px 0 #ff0000;
    top: 0;
    color: #FFD700;
    background: #000;
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: glitch-anim 2s infinite linear alternate-reverse;
    width: 100%;
    height: 100%;
    z-index: -1;
}

h1::after {
    content: attr(data-text);
    position: absolute;
    left: 2px;
    text-shadow: -2px 0 #0000ff;
    top: 0;
    color: #FFD700;
    background: #000;
    overflow: hidden;
    clip: rect(0, 900px, 0, 0);
    animation: glitch-anim2 3s infinite linear alternate-reverse;
    width: 100%;
    height: 100%;
    z-index: -2;
}

/* Добавляем анимации для глитч-эффекта */
@keyframes glitch-anim {
    0% {
        clip: rect(44px, 9999px, 56px, 0);
    }
    5% {
        clip: rect(12px, 9999px, 76px, 0);
    }
    10% {
        clip: rect(89px, 9999px, 98px, 0);
    }
    15% {
        clip: rect(56px, 9999px, 78px, 0);
    }
    20% {
        clip: rect(67px, 9999px, 45px, 0);
    }
    25% {
        clip: rect(0, 9999px, 0, 0);
    }
    100% {
        clip: rect(0, 9999px, 0, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(65px, 9999px, 32px, 0);
    }
    5% {
        clip: rect(34px, 9999px, 87px, 0);
    }
    10% {
        clip: rect(56px, 9999px, 98px, 0);
    }
    15% {
        clip: rect(23px, 9999px, 45px, 0);
    }
    20% {
        clip: rect(89px, 9999px, 44px, 0);
    }
    25% {
        clip: rect(0, 9999px, 0, 0);
    }
    100% {
        clip: rect(0, 9999px, 0, 0);
    }
}

/* Добавляем сканирующую линию */
@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

/* Добавляем мерцающий эффект */
@keyframes flicker {
    0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% {
        opacity: 1;
    }
    20%, 21.999%, 63%, 63.999%, 65%, 69.999% {
        opacity: 0.8;
    }
}

h1 {
    animation: flicker 4s linear infinite;
}

/* Контейнер кнопок */
.menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Общие стили для всех кнопок */
.menu-button, .social-button {
    position: relative;
    background: rgba(20, 15, 0, 0.95);
    color: #FFD700;
    font-family: 'Impact', 'Arial Black', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #DAA520;
    overflow: hidden;
    border-radius: 2px;
    font-weight: 900;
    letter-spacing: 1px;
    box-shadow: 
        inset 0 0 10px rgba(255, 215, 0, 0.2),
        0 0 10px rgba(255, 215, 0, 0.1);
    border-image: linear-gradient(
        45deg,
        rgba(255, 215, 0, 0.8),
        rgba(218, 165, 32, 0.4),
        rgba(255, 215, 0, 0.8)
    ) 1;
    background-image: 
        linear-gradient(
            45deg,
            rgba(0, 0, 0, 0.9) 25%,
            rgba(20, 15, 0, 0.95) 25%,
            rgba(20, 15, 0, 0.95) 50%,
            rgba(0, 0, 0, 0.9) 50%,
            rgba(0, 0, 0, 0.9) 75%,
            rgba(20, 15, 0, 0.95) 75%
        );
    background-size: 4px 4px;
}

/* Основные кнопки меню */
.menu-button {
    width: 100%;
    padding: 15px 30px;
    font-size: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 5px 0;
    font-weight: bold;
}

/* Социальные кнопки */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
    max-width: 400px;
    margin: 5px 0;
    order: 999;
    padding-top: 17px;
}

.social-button {
    width: calc((100% - 30px) / 3);
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-button .icon {
    font-size: 20px;
    font-weight: bold;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

/* Терминальные эффекты для кнопок */
.menu-button::after,
.social-button::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgb(255, 215, 0);
    opacity: 0.5;
    background-size: 100% 4px;
    animation: terminalLines 20s linear infinite;
    border-radius: 8px;
}

.menu-button::before,
.social-button::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-top: 2px solid rgba(255, 215, 0, 0.6);
    border-left: 2px solid rgba(255, 215, 0, 0.6);
    top: -1px;
    left: -1px;
}

.menu-button::after,
.social-button::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.6);
    border-right: 2px solid rgba(255, 215, 0, 0.6);
    bottom: -1px;
    right: -1px;
}

/* Эффекты при наведении */
.menu-button:hover,
.social-button:hover {
    background: rgba(30, 25, 0, 0.95);
    box-shadow: 
        inset 0 0 15px rgba(255, 215, 0, 0.3),
        0 0 15px rgba(255, 215, 0, 0.2);
    transform: translateY(-1px);
    border-image: linear-gradient(
        45deg,
        rgba(255, 215, 0, 1),
        rgba(218, 165, 32, 0.6),
        rgba(255, 215, 0, 1)
    ) 1;
}

.menu-button:hover::after,
.social-button:hover::after {
    opacity: 1;
    border-color: #DAA520;
    box-shadow: 
        inset 0 0 15px rgba(218, 165, 32, 0.4),
        0 0 15px rgba(184, 134, 11, 0.3);
}

/* Добавляем эффект при нажатии */
.menu-button:active,
.social-button:active {
    transform: translateY(1px);
    box-shadow: 
        inset 0 0 20px rgba(255, 215, 0, 0.4),
        0 0 10px rgba(255, 215, 0, 0.1);
}

/* Сетки для контента */
.characters-grid, .levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px 0;
    justify-items: center;
}

.character-card, .level-card {
    border: 1px solid rgb(255, 215, 0);
    padding: 20px;
    background: rgba(25, 20, 0, 0.95);
    width: 100%;
    font-size: 16px;
    border-radius: 12px;
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-weight: 900;
    letter-spacing: 1px;
}

/* Заголовки и контент */
h2 {
    font-size: 32px;
    margin-bottom: 25px;
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-weight: 900;
    letter-spacing: 1px;
}

.faq-content, .about-content {
    text-align: left;
    margin: 40px auto;
    max-width: 800px;
    font-size: 16px;
    line-height: 1.6;
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-weight: 900;
    letter-spacing: 1px;
}

/* Уведомления */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: rgba(30, 20, 0, 0.95);
    color: #DAA520;
    padding: 12px 25px;
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(218, 165, 32, 0.2);
    backdrop-filter: blur(5px);
    box-shadow: 
        0 0 15px rgba(218, 165, 32, 0.1),
        inset 0 0 5px rgba(218, 165, 32, 0.1);
    z-index: 1000;
}

.notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Сетка с перспективой */
.grid-perspective {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    perspective: 500px;
    z-index: 1;
    overflow: hidden;
}

.grid-perspective::before {
    content: '';
    position: absolute;
    width: 400%;
    height: 400%;
    top: -150%;
    left: -150%;
    background-image: 
        linear-gradient(rgba(218, 165, 32, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(218, 165, 32, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
    transform: rotateX(45deg);
    animation: 
        gridMove 40s linear infinite,
        gridPulse 8s ease-in-out infinite;
    z-index: -1;
    filter: drop-shadow(0 0 2px rgba(218, 165, 32, 0.3))
           drop-shadow(0 0 5px rgba(184, 134, 11, 0.2))
           drop-shadow(0 0 10px rgba(205, 133, 63, 0.1));
    will-change: transform;
}

/* Карусель персонажей */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 500px;
    margin: -50px auto 80px;
    overflow: visible;
    padding: 0 60px;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 80px;
    background: rgba(25, 20, 0, 0.95);
    border: 1px solid rgb(255, 215, 0);
    color: rgb(255, 215, 0);
    font-size: 24px;
    z-index: 100;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.carousel-button.prev { left: 10px; }
.carousel-button.next { right: 10px; }

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    position: relative;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    background: rgba(218, 165, 32, 0.2);
    border: 1px solid #DAA520;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.carousel-indicator.active {
    background: #FFD700;
    box-shadow: 0 0 10px rgba(218, 165, 32, 0.5);
}

/* Анимации */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

@keyframes terminalLines {
    0% { background-position: 0 0; }
    100% { background-position: 0 100%; }
}

@keyframes menuAppear {
    0% {
        opacity: 0;
        transform: translate(-50%, -48%) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes menuDisappear {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -52%) scale(1.02);
    }
}

@keyframes gridMove {
    0% { transform: rotateX(45deg) translateY(0); }
    100% { transform: rotateX(45deg) translateY(40px); }
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.6;
        background-image: 
            linear-gradient(rgba(218, 165, 32, 0.15) 1px, transparent 1px),
            linear-gradient(90deg, rgba(218, 165, 32, 0.15) 1px, transparent 1px);
    }
    50% {
        opacity: 0.8;
        background-image: 
            linear-gradient(rgba(255, 215, 0, 0.25) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 215, 0, 0.25) 1px, transparent 1px);
    }
}

/* Добавляем сканирующую линию */
@keyframes buttonScan {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.menu-button::before,
.social-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 215, 0, 0.2),
        transparent
    );
    animation: buttonScan 3s linear infinite;
}

/* Медиа-запросы */
@media (max-width: 768px) {
    .grid-perspective::before,
    .grid-perspective::after {
        animation: none;
    }
    
    .menu-button::before,
    .social-button::before {
        animation: none;
    }
}

/* Обновляем стили сетки персонажей */
.characters-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 700px;
    perspective: 2000px;
    position: relative;
    margin: 40px 0;
}

.character-card {
    position: absolute;
    width: 500px;
    padding: 20px;
    background: rgba(15, 10, 0, 0.95);
    border: 1px solid rgba(255, 215, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform-style: preserve-3d;
}

.character-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateZ(0) rotateY(0deg);
    left: 50%;
    z-index: 3;
}

.character-card.prev {
    opacity: 0.7;
    visibility: visible;
    transform: translateX(-90%) translateZ(-200px) rotateY(35deg);
    left: 50%;
    z-index: 2;
}

.character-card.next {
    opacity: 0.7;
    visibility: visible;
    transform: translateX(-10%) translateZ(-200px) rotateY(-35deg);
    left: 50%;
    z-index: 2;
}

/* Добавляем кнопки навигации */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 215, 0, 0.6);
    color: #FFD700;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-nav.prev {
    left: 5%;
}

.carousel-nav.next {
    right: 5%;
}

/* Добавляем индикаторы */
.carousel-indicators {
    position: relative;
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: -60px;
    z-index: 4;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.unit-id {
    color: #FFD700;
    font-size: 14px;
    font-weight: bold;
}

.unit-status {
    color: #00FF00;
    font-size: 14px;
}

.image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.2);
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 215, 0, 0.5);
    animation: scan 2s linear infinite;
}

.corner-decoration {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 215, 0, 0.6);
}

.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.unit-info {
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.description-container,
.stats-container,
.weapon-info {
    margin: 10px 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.description-header,
.stats-header,
.weapon-header {
    color: #FFD700;
    font-size: 12px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.description-text {
    color: rgba(255, 215, 0, 0.8);
    font-size: 14px;
    line-height: 1.4;
}

.stat-bar {
    margin: 8px 0;
}

.stat-progress {
    height: 4px;
    background: rgba(255, 215, 0, 0.1);
    position: relative;
}

.stat-fill {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #DAA520);
    transition: width 0.3s ease;
}

.deploy-button {
    margin-top: auto;
    background: rgba(20, 15, 0, 0.9);
}

/* Эффекты при наведении */
.character-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.1),
        0 0 40px rgba(255, 215, 0, 0.05);
}

.character-card:hover .scan-line {
    animation-duration: 1s;
}

/* Анимация сканирующей линии */
@keyframes scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* Добавляем эффект при наведении на карточки */
.character-card.active:hover {
    transform: translateX(-50%) translateZ(50px) rotateY(0deg);
}

.character-card.prev:hover {
    transform: translateX(-90%) translateZ(-150px) rotateY(30deg);
}

.character-card.next:hover {
    transform: translateX(-10%) translateZ(-150px) rotateY(-30deg);
}

/* Обновляем стили для контейнера статистики */
.stats-container {
    margin: 10px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.1);
    overflow: hidden; /* Предотвращаем выход содержимого за пределы */
}

/* Обновляем стили для заголовка статистики */
.stats-header {
    color: #FFD700;
    font-size: 12px;
    margin-bottom: 10px;
    text-transform: uppercase;
    padding: 0 5px;
}

/* Обновляем стили для полосок статистики */
.stat-bar {
    margin: 12px 5px;
    position: relative;
}

.stat-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 12px;
    color: rgba(255, 215, 0, 0.8);
}

.stat-progress {
    height: 4px;
    background: rgba(255, 215, 0, 0.1);
    position: relative;
    border-radius: 2px;
    overflow: hidden; /* Предотвращаем выход полоски за пределы */
}

.stat-fill {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #DAA520);
    transition: width 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

/* Обновляем стили для контента карточки */
.card-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Делим на две равные колонки */
    gap: 15px;
    margin-top: 15px;
}

/* Левая колонка */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Правая колонка */
.right-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Растягиваем заголовок на всю ширину */
.card-header {
    grid-column: 1 / -1;
}

/* Обновляем размеры изображения */
.image-container {
    height: 250px;
    margin-bottom: 10px;
}

/* Обновляем размеры контейнеров */
.description-container,
.stats-container,
.weapon-info {
    margin: 0;
}

/* Кнопка на всю ширину внизу */
.deploy-button {
    grid-column: 1 / -1;
    margin-top: 15px;
}

/* Обновляем позиционирование для страницы выбора персонажа */
.characters-menu {
    padding-top: 0; /* Убираем верхний отступ */
}

.characters-grid {
    margin: 0 0 20px 0; /* Убираем верхний отступ, оставляем нижний */
    height: 720px; /* Немного уменьшаем высоту */
}

/* Обновляем позиционирование индикаторов */
.carousel-indicators {
    margin-top: -40px; /* Поднимаем индикаторы выше */
}

/* Обновляем позиционирование кнопки возврата */
.characters-menu .back-button {
    margin-top: 10px; /* Уменьшаем отступ сверху */
}

/* Обновляем позиционирование навигационных кнопок */
.carousel-nav {
    top: 45%; /* Немного поднимаем кнопки навигации */
}

/* Стили для карточки уровня */
.level-card {
    background: rgba(15, 10, 0, 0.95);
    border: 1px solid rgba(var(--primary-color), 0.3);
    padding: 20px;
    margin: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.level-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(var(--primary-color), 0.2);
}

.level-id {
    color: rgb(var(--primary-color));
    font-size: 14px;
    font-weight: bold;
}

.level-status {
    color: #00FF00;
    font-size: 14px;
}

.level-description {
    margin: 15px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(var(--primary-color), 0.1);
}

.description-header {
    color: rgb(var(--primary-color));
    font-size: 12px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.description-text {
    color: rgba(var(--primary-color), 0.8);
    font-size: 14px;
    line-height: 1.4;
    padding: 5px;
}

/* Эффект при наведении */
.level-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 0 20px rgba(var(--primary-color), 0.1),
        0 0 40px rgba(var(--primary-color), 0.05);
}

/* Обновляем стили для контейнера уровней */
.levels-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 700px;
    perspective: 2000px;
    position: relative;
}

/* Стили для карточек уровней в карусели */
.level-card {
    position: absolute;
    width: 400px;
    transform-origin: center center -400px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
}

.level-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateZ(0) rotateY(0deg);
    left: 50%;
    z-index: 3;
    box-shadow: 
        0 0 30px rgba(var(--primary-color), 0.1),
        0 0 60px rgba(var(--primary-color), 0.05);
}

.level-card.prev,
.level-card.next {
    opacity: 0.7;
    visibility: visible;
    left: 50%;
    z-index: 2;
}

.level-card.prev {
    transform: translateX(-90%) translateZ(-200px) rotateY(35deg);
}

.level-card.next {
    transform: translateX(-10%) translateZ(-200px) rotateY(-35deg);
}

/* Эффекты при наведении для карточек в карусели */
.level-card.active:hover {
    transform: translateX(-50%) translateZ(50px) rotateY(0deg);
    box-shadow: 
        0 0 40px rgba(var(--primary-color), 0.15),
        0 0 80px rgba(var(--primary-color), 0.1);
}

.level-card.prev:hover {
    transform: translateX(-90%) translateZ(-150px) rotateY(30deg);
    box-shadow: 
        0 0 20px rgba(var(--primary-color), 0.1);
}

.level-card.next:hover {
    transform: translateX(-10%) translateZ(-150px) rotateY(-30deg);
    box-shadow: 
        0 0 20px rgba(var(--primary-color), 0.1);
}

/* Обновляем стили для навигационных кнопок */
.levels-menu .carousel-nav {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    z-index: 10;
}

.levels-menu .carousel-nav.prev {
    left: 5%;
}

.levels-menu .carousel-nav.next {
    right: 5%;
}

/* Обновляем стили для названия уровня */
.level-name {
    font-size: 28px;
    margin: 15px 0;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

/* Обновляем стили для кнопки выбора уровня */
.level-deploy-button {
    background: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid rgb(var(--button-primary)) !important;
    color: rgb(var(--button-primary)) !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

/* Добавляем точку слева от кнопки */
.level-deploy-button::after {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 8px;
    height: 8px;
    background: rgb(var(--button-primary));
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgb(var(--button-primary));
    animation: dotPulse 2s infinite;
}

/* Анимация сканирующей линии */
.level-deploy-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(var(--button-primary), 0.2),
        transparent
    );
    transition: all 0.5s ease;
}

/* Эффекты при наведении */
.level-deploy-button:hover {
    background: rgba(var(--button-primary), 0.1) !important;
    border-color: rgb(var(--button-secondary)) !important;
    color: rgb(var(--button-secondary)) !important;
    box-shadow: 
        0 0 15px rgba(var(--button-primary), 0.3),
        0 0 30px rgba(var(--button-primary), 0.1);
    transform: translateY(-2px);
}


/* Анимация пульсации точки */
@keyframes dotPulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-50%) scale(1.3);
        opacity: 1;
    }
}

/* Пульсация для активной карточки */
.level-card.active .level-deploy-button {
    animation: activeButtonPulse 2s infinite;
}

@keyframes activeButtonPulse {
    0%, 100% {
        box-shadow: 
            0 0 15px rgba(var(--button-primary), 0.3),
            0 0 30px rgba(var(--button-primary), 0.1);
        border-color: rgba(var(--button-primary), 0.8);
    }
    50% {
        box-shadow: 
            0 0 20px rgba(var(--button-primary), 0.4),
            0 0 40px rgba(var(--button-primary), 0.2);
        border-color: rgba(var(--button-primary), 1);
    }
}

/* Эффект при нажатии */
.level-deploy-button:active {
    transform: translateY(1px);
    box-shadow: 
        0 0 10px rgba(var(--button-primary), 0.2),
        0 0 20px rgba(var(--button-primary), 0.1);
}

/* Обновляем стили для карточки уровня при наведении */
.level-card:hover .level-name {
    color: rgb(var(--secondary-color)) !important;
    text-shadow: 
        0 0 15px rgba(var(--secondary-color), 0.7),
        0 0 30px rgba(var(--secondary-color), 0.3);
}

/* Обновляем стили для активной карточки */
.level-card.active .level-name {
    transform: scale(1.05);
}

/* FAQ стили */
.faq-menu {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

.faq-content {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(var(--primary-color), 0.3);
    padding: 30px;
    border-radius: 5px;
    margin: 20px 0;
    position: relative;
    overflow-y: auto;
    max-height: 70vh;
}

.faq-content::-webkit-scrollbar {
    width: 8px;
}

.faq-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.faq-content::-webkit-scrollbar-thumb {
    background: rgba(var(--primary-color), 0.5);
    border-radius: 4px;
}

.faq-content h3 {
    color: rgba(var(--primary-color), 0.9);
    font-size: 28px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(var(--primary-color), 0.5);
}

.faq-item {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-left: 3px solid rgba(var(--primary-color), 0.5);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(0, 0, 0, 0.3);
    border-left-color: rgba(var(--primary-color), 0.8);
    transform: translateX(5px);
}

.faq-item h4 {
    color: rgba(var(--secondary-color), 0.9);
    font-size: 24px;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(var(--secondary-color), 0.5);
}

.faq-item p {
    color: rgba(var(--primary-color), 0.8);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.faq-item ul {
    list-style: none;
    padding-left: 20px;
}

.faq-item li {
    color: rgba(var(--primary-color), 0.8);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 8px;
    position: relative;
}

.faq-item li:before {
    content: '>';
    position: absolute;
    left: -20px;
    color: rgba(var(--secondary-color), 0.8);
}

/* Анимация для элементов FAQ */
.faq-item {
    animation: fadeInSlide 0.5s ease forwards;
    opacity: 0;
    transform: translateX(-20px);
}

@keyframes fadeInSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Добавляем задержку для каждого последующего элемента */
.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-item:nth-child(6) { animation-delay: 0.6s; }
.faq-item:nth-child(7) { animation-delay: 0.7s; }

/* Дополнительные стили для About секции */
.about-link {
    color: rgba(var(--secondary-color), 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(var(--secondary-color), 0.3);
}

.about-link:hover {
    color: rgba(var(--secondary-color), 1);
    border-bottom-color: rgba(var(--secondary-color), 0.8);
    text-shadow: 0 0 10px rgba(var(--secondary-color), 0.5);
}

.wallet-address {
    font-family: monospace;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    border: 1px solid rgba(var(--primary-color), 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.wallet-address:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(var(--primary-color), 0.5);
    transform: translateX(5px);
}