/* ИСПРАВЛЕНИЕ ВИЗУАЛЬНЫХ ЭФФЕКТОВ ДЛЯ ТОЧНОГО ПОВТОРЕНИЯ GITHUB ВЕРСИИ */

/* 1. СВЕЧЕНИЕ ТЕКСТА И ЗАГОЛОВКОВ */

/* Главный заголовок - усиленное свечение */
.development-center__title {
    text-shadow: 
        0 0 20px rgba(120, 119, 198, 0.8),
        0 0 40px rgba(120, 119, 198, 0.6),
        0 0 60px rgba(120, 119, 198, 0.4),
        0 0 80px rgba(120, 119, 198, 0.2),
        0 0 100px rgba(168, 167, 255, 0.15);
    animation: titleGlow 3s ease-in-out infinite alternate;
    filter: brightness(1.2);
}

/* Мобильный заголовок - свечение */
.nav__mobile-title {
    text-shadow: 
        0 0 20px rgba(120, 119, 198, 0.8),
        0 0 40px rgba(168, 167, 255, 0.6),
        0 0 60px rgba(120, 119, 198, 0.4);
    animation: mobileTitleGlow 3s ease-in-out infinite alternate;
}

/* Анимация свечения заголовка */
@keyframes titleGlow {
    0% {
        filter: brightness(1.2) drop-shadow(0 0 25px rgba(120, 119, 198, 0.6));
    }
    100% {
        filter: brightness(1.5) drop-shadow(0 0 40px rgba(168, 167, 255, 0.8));
    }
}

/* Анимация свечения мобильного заголовка */
@keyframes mobileTitleGlow {
    0% {
        filter: brightness(1) drop-shadow(0 0 20px rgba(120, 119, 198, 0.6));
    }
    100% {
        filter: brightness(1.3) drop-shadow(0 0 30px rgba(168, 167, 255, 0.8));
    }
}

/* Заголовки секций - свечение */
.section-title {
    text-shadow: 
        0 0 15px rgba(120, 119, 198, 0.6),
        0 0 30px rgba(120, 119, 198, 0.4),
        0 0 45px rgba(120, 119, 198, 0.2);
    color: #ffffff;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 167, 255, 0.5), transparent);
}

/* Подзаголовки - легкое свечение */
.section-subtitle {
    text-shadow: 
        0 0 10px rgba(120, 119, 198, 0.4),
        0 0 20px rgba(120, 119, 198, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

/* Hero заголовок - максимальное свечение */
.hero__title {
    text-shadow: 
        0 0 25px rgba(120, 119, 198, 0.9),
        0 0 50px rgba(120, 119, 198, 0.7),
        0 0 75px rgba(120, 119, 198, 0.5),
        0 0 100px rgba(168, 167, 255, 0.3);
    animation: heroTitleGlow 2s ease-in-out infinite alternate;
}

.title-accent {
    background: linear-gradient(135deg, #ffffff 0%, #a8a7ff 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 
        0 0 30px rgba(168, 167, 255, 0.8),
        0 0 60px rgba(168, 167, 255, 0.6),
        0 0 90px rgba(168, 167, 255, 0.4);
}

/* Карточки Таро - свечение символов */
.card__symbol {
    text-shadow: 
        0 0 15px rgba(255, 255, 255, 0.8),
        0 0 30px rgba(255, 255, 255, 0.6),
        0 0 45px rgba(255, 255, 255, 0.4);
    animation: cardSymbolGlow 2.5s ease-in-out infinite alternate;
}

.card__name {
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.6),
        0 0 20px rgba(255, 255, 255, 0.4);
}

/* 2. РАМКИ И ГРАНИЦЫ */

/* Основные блоки - усиленные рамки */
.container {
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    background: rgba(10, 10, 15, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 0 50px rgba(120, 119, 198, 0.1),
        0 10px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Карточки программ */
.program-card {
    border: 2px solid rgba(120, 119, 198, 0.3);
    border-radius: 20px;
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.8) 0%, 
        rgba(22, 33, 62, 0.8) 50%,
        rgba(26, 26, 46, 0.8) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 0 30px rgba(120, 119, 198, 0.2),
        0 15px 35px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        transparent 0%, 
        rgba(120, 119, 198, 0.1) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.program-card:hover::before {
    opacity: 1;
}

.program-card:hover {
    border-color: rgba(168, 167, 255, 0.5);
    box-shadow: 
        0 0 50px rgba(120, 119, 198, 0.4),
        0 20px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-5px) scale(1.02);
}

/* About карточки */
.about__item {
    border: 2px solid rgba(120, 119, 198, 0.25);
    border-radius: 20px;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(15px);
    box-shadow: 
        0 0 25px rgba(120, 119, 198, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.about__item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        #7877c6, #a8a7ff, #7877c6, #a8a7ff);
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    animation: borderGlow 3s linear infinite;
}

.about__item:hover::before {
    opacity: 0.6;
}

.about__item:hover {
    border-color: rgba(168, 167, 255, 0.4);
    box-shadow: 
        0 0 40px rgba(120, 119, 198, 0.3),
        0 15px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

/* Special карточки */
.special-card {
    border: 2px solid rgba(120, 119, 198, 0.3);
    border-radius: 20px;
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 0 35px rgba(120, 119, 198, 0.25),
        0 15px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.special-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(168, 167, 255, 0.2), 
        transparent);
    transition: left 0.6s ease;
}

.special-card:hover::before {
    left: 100%;
}

.special-card:hover {
    border-color: rgba(255, 119, 198, 0.4);
    box-shadow: 
        0 0 60px rgba(120, 119, 198, 0.4),
        0 20px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-5px) scale(1.02);
}

/* 3. КНОПКИ */

/* Основные кнопки */
.btn {
    border: 2px solid rgba(120, 119, 198, 0.5);
    border-radius: 15px;
    background: linear-gradient(135deg, 
        rgba(120, 119, 198, 0.2) 0%, 
        rgba(168, 167, 255, 0.2) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 0 20px rgba(120, 119, 198, 0.3),
        0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    border-color: rgba(168, 167, 255, 0.7);
    box-shadow: 
        0 0 35px rgba(120, 119, 198, 0.5),
        0 12px 35px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.btn--primary {
    background: linear-gradient(135deg, 
        rgba(120, 119, 198, 0.4) 0%, 
        rgba(168, 167, 255, 0.4) 100%);
    border-color: rgba(168, 167, 255, 0.6);
}

.btn--primary:hover {
    background: linear-gradient(135deg, 
        rgba(120, 119, 198, 0.6) 0%, 
        rgba(168, 167, 255, 0.6) 100%);
}

/* Кнопки "Подробнее" */
.step-dropdown-btn,
.level-nav-btn,
.special-card__more-btn {
    border: 1px solid rgba(120, 119, 198, 0.4);
    border-radius: 10px;
    background: rgba(120, 119, 198, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 0 15px rgba(120, 119, 198, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.step-dropdown-btn:hover,
.level-nav-btn:hover,
.special-card__more-btn:hover {
    border-color: rgba(168, 167, 255, 0.6);
    box-shadow: 
        0 0 25px rgba(120, 119, 198, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

/* 4. ВЫПАДАЮЩИЕ БЛОКИ */

/* Study steps - выпадающие блоки */
.step-content {
    border: 1px solid rgba(120, 119, 198, 0.3);
    border-radius: 15px;
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(15px);
    box-shadow: 
        0 0 25px rgba(120, 119, 198, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-content.active {
    max-height: 2000px;
    opacity: 1;
    padding: 20px;
    margin-top: 15px;
}

/* Level panels */
.level-panel {
    border: 2px solid rgba(120, 119, 198, 0.2);
    border-radius: 20px;
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 0 30px rgba(120, 119, 198, 0.1),
        0 15px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 30px;
    transition: all 0.4s ease;
}

.level-panel.active {
    border-color: rgba(168, 167, 255, 0.4);
    box-shadow: 
        0 0 50px rgba(120, 119, 198, 0.3),
        0 20px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* 5. АНИМАЦИИ СВЕЧЕНИЯ */

@keyframes titleGlow {
    0% {
        filter: brightness(1) drop-shadow(0 0 20px rgba(120, 119, 198, 0.6));
        transform: scale(1);
    }
    50% {
        filter: brightness(1.3) drop-shadow(0 0 40px rgba(120, 119, 198, 0.8));
        transform: scale(1.02);
    }
    100% {
        filter: brightness(1.5) drop-shadow(0 0 60px rgba(168, 167, 255, 0.9));
        transform: scale(1.05);
    }
}

@keyframes mobileTitleGlow {
    0% {
        filter: brightness(1) drop-shadow(0 0 25px rgba(120, 119, 198, 0.6));
    }
    100% {
        filter: brightness(1.5) drop-shadow(0 0 40px rgba(168, 167, 255, 0.8));
    }
}

@keyframes heroTitleGlow {
    0% {
        filter: brightness(1) drop-shadow(0 0 30px rgba(120, 119, 198, 0.8));
        transform: translateY(0);
    }
    50% {
        filter: brightness(1.4) drop-shadow(0 0 50px rgba(168, 167, 255, 0.9));
        transform: translateY(-2px);
    }
    100% {
        filter: brightness(1.8) drop-shadow(0 0 70px rgba(255, 255, 255, 1));
        transform: translateY(-3px);
    }
}

@keyframes cardSymbolGlow {
    0% {
        filter: brightness(1) drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
        transform: scale(1);
    }
    100% {
        filter: brightness(1.5) drop-shadow(0 0 30px rgba(255, 255, 255, 1));
        transform: scale(1.1);
    }
}

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

/* 6. ДОПОЛНИТЕЛЬНЫЕ ЭФФЕКТЫ */

/* Навигационные ссылки */
.nav__link {
    border: 1px solid transparent;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 0 15px rgba(120, 119, 198, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.nav__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(168, 167, 255, 0.2), 
        transparent);
    transition: left 0.6s ease;
}

.nav__link:hover::before {
    left: 100%;
}

.nav__link:hover {
    border-color: rgba(168, 167, 255, 0.4);
    box-shadow: 
        0 0 25px rgba(120, 119, 198, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.nav__link.active {
    border-color: rgba(168, 167, 255, 0.5);
    background: rgba(120, 119, 198, 0.2);
    box-shadow: 
        0 0 30px rgba(120, 119, 198, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

/* Process steps */
.process__step {
    border: 2px solid rgba(120, 119, 198, 0.3);
    border-radius: 20px;
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(15px);
    box-shadow: 
        0 0 25px rgba(120, 119, 198, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.process__step::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(168, 167, 255, 0.15), 
        transparent);
    transition: left 0.8s ease;
}

.process__step:hover::before {
    left: 100%;
}

.process__step:hover {
    border-color: rgba(168, 167, 255, 0.4);
    box-shadow: 
        0 0 40px rgba(120, 119, 198, 0.3),
        0 15px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Process number */
.process__number {
    border: 2px solid rgba(168, 167, 255, 0.5);
    background: linear-gradient(135deg, 
        rgba(120, 119, 198, 0.3) 0%, 
        rgba(168, 167, 255, 0.3) 100%);
    box-shadow: 
        0 0 20px rgba(168, 167, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Tags */
.special-card__tags span,
.arcan-tag {
    border: 1px solid rgba(120, 119, 198, 0.4);
    background: rgba(120, 119, 198, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 
        0 0 10px rgba(120, 119, 198, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
}

.arcan-tag {
    border-color: rgba(255, 119, 198, 0.5);
    background: rgba(255, 119, 198, 0.15);
    box-shadow: 
        0 0 15px rgba(255, 119, 198, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* 7. МОБИЛЬНАЯ АДАПТАЦИЯ */

@media (max-width: 768px) {
    .development-center__title {
        text-shadow: 
            0 0 15px rgba(120, 119, 198, 0.6),
            0 0 30px rgba(120, 119, 198, 0.4),
            0 0 45px rgba(120, 119, 198, 0.2);
    }
    
    .hero__title {
        text-shadow: 
            0 0 20px rgba(120, 119, 198, 0.7),
            0 0 40px rgba(120, 119, 198, 0.5),
            0 0 60px rgba(168, 167, 255, 0.3);
    }
    
    .program-card,
    .about__item,
    .special-card {
        border-width: 1px;
        box-shadow: 
            0 0 20px rgba(120, 119, 198, 0.1),
            0 8px 25px rgba(0, 0, 0, 0.15);
    }
    
    .btn {
        border-width: 1px;
        box-shadow: 
            0 0 15px rgba(120, 119, 198, 0.2),
            0 5px 15px rgba(0, 0, 0, 0.15);
    }
}

/* 8. УСИЛЕНИЕ ЭФФЕКТОВ ПРИ НАВЕДЕНИИ */

/* Дополнительные hover эффекты */
.about__icon:hover {
    transform: scale(1.1) rotate(5deg);
    text-shadow: 
        0 0 25px rgba(255, 255, 255, 1),
        0 0 50px rgba(255, 255, 255, 0.8);
}

.program-card__icon:hover {
    transform: scale(1.1);
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.9),
        0 0 40px rgba(255, 255, 255, 0.7);
}

/* Карточки карусели */
.carousel-item {
    border: 2px solid rgba(120, 119, 198, 0.2);
    border-radius: 15px;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(15px);
    box-shadow: 
        0 0 20px rgba(120, 119, 198, 0.1),
        0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.carousel-item:hover {
    border-color: rgba(168, 167, 255, 0.4);
    box-shadow: 
        0 0 30px rgba(120, 119, 198, 0.25),
        0 12px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}
