/* Reset and Base Styles - Performance Optimized */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: calc(0.9rem + 0.1vw);
    scroll-behavior: smooth;
    line-height: 1.6;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Performance Critical Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0f;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    font-size: 1rem;
    padding-top: 100px;
    contain: layout style paint;
    will-change: scroll-position;
}

/* Image Optimization - Lazy Loading */
img {
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform: translateZ(0);
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

img[src] {
    opacity: 1;
}

/* Background Image Optimization - Fixed */
[style*="background-image"] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.3s ease;
    opacity: 0;
}

[style*="background-image"].loaded {
    opacity: 1;
}

/* Keep original background images visible */
.special-card__image,
.about__item {
    opacity: 1 !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* GPU Acceleration for Performance */
.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
    will-change: transform;
}

/* Container Optimization */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    contain: layout style paint;
}

/* Critical Above-the-Fold Content */
.above-fold {
    contain: layout style paint;
    will-change: auto;
}

/* Reduce Paint on Scroll */
.main-content {
    contain: layout style paint;
    will-change: auto;
}

/* Font Loading Optimization */
@font-face {
    font-family: 'Inter';
    font-display: swap;
    src: local('Inter'), url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
}

/* Animation Performance */
* {
    animation-duration: 0.01ms;
    animation-delay: 0.01ms;
    animation-iteration-count: 1;
}

/* Disable transitions on low-end devices */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Loading State */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

/* Animated Background */
.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 119, 198, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(120, 219, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    z-index: -2;
}

.stars-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 40px 70px, white, transparent),
        radial-gradient(1px 1px at 50px 50px, white, transparent),
        radial-gradient(1px 1px at 80px 10px, white, transparent),
        radial-gradient(2px 2px at 130px 80px, white, transparent);
    background-size: 200px 200px;
    animation: stars 120s linear infinite;
    opacity: 0.3;
}

@keyframes stars {
    from { transform: translateX(0); }
    to { transform: translateX(-200px); }
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Центр саморазвития */
.development-center {
    background: 
        radial-gradient(circle at 30% 20%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 119, 198, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, rgba(26, 26, 46, 0.6) 0%, rgba(22, 33, 62, 0.6) 100%);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 40px 0;
    margin: 60px 0 0;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.development-center::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(120, 119, 198, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.development-center::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 167, 255, 0.3), transparent);
    pointer-events: none;
}

.development-center__content {
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.development-center__title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    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);
    padding: 15px 30px;
    line-height: 1.1;
    letter-spacing: 0.8px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
    flex-shrink: 1;
    word-break: keep-all;
    hyphens: auto;
    text-align: center;
    white-space: nowrap; /* Одна строка на десктопе */
    display: inline-block;
}

/* Мобильные стили для development-center__title */
@media (max-width: 768px) {
    .development-center__title {
        font-size: 1.8rem;
        letter-spacing: 0.6px;
        padding: 12px 20px;
        line-height: 1.2;
        white-space: normal; /* Разрешить перенос строк */
        display: block; /* Блочное отображение для переноса */
    }
}

/* Адаптивные стили для development-center__title */
@media (max-width: 1400px) {
    .development-center__title {
        font-size: 2.5rem;
    }
}

@media (max-width: 1200px) {
    .development-center__title {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .development-center__title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .development-center__title {
        font-size: 1.8rem;
        letter-spacing: 0.8px;
    }
}

@media (max-width: 480px) {
    .development-center__title {
        font-size: 1.6rem;
        letter-spacing: 0.6px;
        padding: 12px 20px;
        line-height: 1.0;
    }
}

/* Дополнительный фикс для проблемных разрешений */
@media (max-width: 500px) and (min-width: 401px) {
    .development-center__title {
        font-size: 1.4rem;
        letter-spacing: 0.5px;
        padding: 10px 15px;
        line-height: 1.0;
    }
}

@keyframes titleGlow {
    0% {
        filter: brightness(1);
        transform: scale(1);
    }
    100% {
        filter: brightness(1.1);
        transform: scale(1.02);
    }
}

.development-center__subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.5px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Скрыть блок на мобильных устройствах */
@media (max-width: 768px) {
    .development-center {
        display: none;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(120, 219, 255, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, rgba(10, 10, 15, 0.8) 0%, rgba(26, 26, 46, 0.8) 50%, rgba(22, 33, 62, 0.8) 100%);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 32px;
    background: rgba(120, 119, 198, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: calc(100% - 64px);
    max-width: 1200px;
    margin: 20px auto 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(120, 119, 198, 0.2);
}

.nav__links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav__mobile-title {
    display: none !important; /* Скрыт на десктопе по умолчанию */
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #ffffff, #f0f0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    flex: 1;
    order: 2;
    letter-spacing: 0.5px;
    position: relative;
    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);
    animation: mobileTitleGlow 3s ease-in-out infinite alternate;
    white-space: nowrap; /* Одна строка на десктопе */
    display: inline-block;
}

/* Дополнительная защита для десктопов */
@media (min-width: 768px) {
    .nav__mobile-title {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
    }
}

/* Мобильные стили для nav__mobile-title */
@media (max-width: 767px) {
    .nav__mobile-title {
        display: block !important; /* Показать на всех мобильных */
        font-size: 1.2rem;
        letter-spacing: 0.6px;
        white-space: normal; /* Разрешить перенос строк */
        line-height: 1.3;
    }
}

@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));
    }
}

/* Мобильные стили для nav__mobile-title */
@media (max-width: 768px) {
    .nav__mobile-title {
        font-size: 1.2rem;
        letter-spacing: 0.6px;
    }
}

@media (max-width: 480px) {
    .nav__mobile-title {
        font-size: 1.4rem;
        letter-spacing: 0.7px;
        font-weight: 700;
    }
}

@media (max-width: 360px) {
    .nav__mobile-title {
        font-size: 1.6rem;
        letter-spacing: 0.8px;
        font-weight: 800;
    }
}

.nav__mobile-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    right: -10px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 167, 255, 0.3), transparent);
    transform: translateY(-50%);
    pointer-events: none;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav__logo:hover {
    transform: scale(1.05);
    color: #a8a7ff;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(120, 119, 198, 0.3);
    transition: all 0.3s ease;
}

.nav__logo:hover .logo-icon {
    transform: rotate(360deg);
    box-shadow: 0 6px 20px rgba(120, 119, 198, 0.4);
}

.nav__menu {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav__link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav__link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav__link.active {
    color: #ffffff;
    background: rgba(120, 119, 198, 0.3);
}

/* Mobile Menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(17, 17, 35, 0.98);
    backdrop-filter: blur(25px);
    z-index: 1000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
    right: 0;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: #ffffff;
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Dropdown Menu Container */
.mobile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    max-height: 0;
    background: rgba(17, 17, 35, 0.98);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.mobile-dropdown.active {
    max-height: 400px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-dropdown-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.mobile-dropdown-header .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7877c6, #a8a7ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 10px;
}

.mobile-dropdown-header span {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
}

.mobile-dropdown-content {
    padding: 10px 0;
}

.mobile-dropdown-link {
    display: block;
    padding: 15px 25px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.mobile-dropdown-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding-left: 35px;
}

.mobile-dropdown-link:last-child {
    border-bottom: none;
}

/* Scrollbar for dropdown */
.mobile-dropdown::-webkit-scrollbar {
    width: 6px;
}

.mobile-dropdown::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.mobile-dropdown::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #7877c6, #a8a7ff);
    border-radius: 3px;
}

.mobile-dropdown::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #8584d0, #b8b8ff);
}

.nav__mobile {
    display: none;
    position: relative;
}

/* Desktop Navigation Enhancements */
@media (min-width: 1200px) {
    .nav {
        width: calc(100% - 80px);
        max-width: 1400px;
    }
    
    .nav__menu {
        gap: 12px;
    }
    
    .nav__link {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .nav {
        max-width: 1600px;
    }
    
    .nav__menu {
        gap: 16px;
    }
    
    .nav__link {
        font-size: 1.1rem;
        padding: 12px 24px;
    }
}

/* Tablet Navigation */
@media (max-width: 1024px) {
    .nav {
        padding: 10px 24px;
        width: calc(100% - 48px);
    }
    
    .nav__logo {
        font-size: 1.2rem;
        gap: 8px;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .nav__menu {
        gap: 6px;
    }
    
    .nav__link {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
}

/* Medium Tablets - перенос ссылок на следующую строку */
@media (max-width: 1024px) {
    .nav {
        flex-wrap: wrap;
        gap: 15px;
        align-items: center;
        align-content: flex-start;
    }
    
    .nav__logo {
        order: 1;
        flex-shrink: 0;
        margin-right: 0;
    }
    
    .nav__links {
        order: 2;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
        flex: 1;
        min-width: 0;
    }
    
    .nav__link {
        white-space: nowrap;
    }
}

/* Mobile Navigation */
@media (max-width: 767px) {
    .nav {
        padding: 8px 20px;
        width: calc(100% - 40px);
        margin: 15px auto 0;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .nav__logo {
        font-size: 1.1rem;
        gap: 6px;
        order: 1;
    }
    
    .nav__mobile-title {
        display: block; /* Показать на мобильных где есть бургер меню */
        order: 2;
        font-size: 0.95rem;
        padding: 0 10px;
    }
    
    .nav__links {
        display: none;
    }
    
    .nav__mobile {
        display: block;
        order: 3;
        margin-left: auto;
    }
    
    .logo-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-overlay {
        display: block;
    }
    
    .mobile-dropdown {
        position: fixed;
        top: 70px;
        right: 20px;
        width: calc(100% - 40px);
        max-width: 350px;
    }
    
    .mobile-dropdown.active {
        max-height: 60vh;
    }
    
    .nav__link {
        font-size: 1.1rem;
        padding: 15px 25px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav__link:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(5px);
    }
    
    .nav__link.active {
        background: rgba(120, 119, 198, 0.3);
        color: #ffffff;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .nav {
        padding: 6px 16px;
        width: calc(100% - 32px);
        margin: 10px auto 0;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .nav__logo {
        font-size: 1rem;
        gap: 4px;
        order: 1;
        width: 100%;
        justify-content: center;
    }
    
    .nav__mobile-title {
        display: block;
        order: 2;
        font-size: 0.85rem;
        padding: 5px 0;
    }
    
    .nav__mobile {
        order: 3;
        margin-left: 0;
    }
    
    .logo-icon {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .mobile-menu-btn {
        width: 40px;
        height: 40px;
    }
    
    .mobile-menu-btn span {
        width: 18px;
        height: 2px;
    }
    
    .mobile-dropdown {
        top: 60px;
        right: 16px;
        width: calc(100% - 32px);
        max-width: 320px;
    }
    
    .mobile-dropdown.active {
        max-height: 50vh;
    }
    
    .mobile-dropdown-header {
        padding: 15px;
    }
    
    .mobile-dropdown-header .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .mobile-dropdown-header span {
        font-size: 1.1rem;
    }
    
    .nav__link {
        font-size: 1rem;
        padding: 12px 20px;
    }
}

/* Coming Soon Banner */
.coming-soon-banner {
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.15), rgba(168, 167, 255, 0.15));
    border: 1px solid rgba(120, 119, 198, 0.25);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

.coming-soon-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.banner-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.banner-content h4 {
    color: #a8a7ff;
    font-weight: 600;
    font-size: 1rem;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.banner-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

/* Level Panel Banner Specific */
.level-panel .coming-soon-banner {
    margin: 5px auto 20px auto;
    max-width: 600px;
}

/* Responsive for banners */
@media (max-width: 768px) {
    .coming-soon-banner {
        padding: 14px 18px;
        gap: 12px;
        margin: 16px 0;
    }
    
    .banner-icon {
        font-size: 1.5rem;
    }
    
    .banner-content h4 {
        font-size: 0.95rem;
    }
    
    .banner-content p {
        font-size: 0.8rem;
    }
    
    .level-panel .coming-soon-banner {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .coming-soon-banner {
        padding: 12px 16px;
        gap: 10px;
        margin: 12px 0;
        flex-direction: column;
        text-align: center;
    }
    
    .banner-icon {
        font-size: 1.3rem;
    }
    
    .banner-content h4 {
        font-size: 0.9rem;
    }
    
    .banner-content p {
        font-size: 0.75rem;
    }
}

/* Image Options Menu */
.image-options-menu {
    position: fixed;
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 200px;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.2s ease;
}

.image-options-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.image-options-item:hover {
    background: rgba(255, 119, 198, 0.1);
    color: #ffffff;
}

.option-icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Image Notification */
.image-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(120, 119, 198, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 20px;
    color: #ffffff;
    font-size: 0.9rem;
    z-index: 10001;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Study Plan Section */
.study-plan {
    padding: 120px 0;
    background: linear-gradient(135deg, 
        rgba(10, 10, 15, 0.8) 0%, 
        rgba(20, 20, 30, 0.8) 100%);
    backdrop-filter: blur(10px);
    position: relative;
}

.study-plan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.3"/></svg>');
    background-size: 50px 50px;
    opacity: 0.1;
}

.study-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 1;
}

/* Level Navigation */
.level-nav {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow-x: auto;
}

.level-nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 180px;
    text-align: left;
}

.level-nav-btn:hover {
    background: rgba(255, 119, 198, 0.1);
    border-color: rgba(255, 119, 198, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

.level-nav-btn.active {
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.3), rgba(255, 119, 198, 0.3));
    border-color: rgba(255, 119, 198, 0.5);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(255, 119, 198, 0.2);
}

.level-nav-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.level-nav-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.level-nav-text small {
    font-size: 0.8rem;
    opacity: 0.8;
}

.level-content {
    position: relative;
}

.level-panel {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.level-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Glossary Section */
.glossary {
    padding: 120px 0;
    background: linear-gradient(135deg, 
        rgba(10, 10, 15, 0.8) 0%, 
        rgba(20, 20, 30, 0.8) 100%);
    backdrop-filter: blur(10px);
    position: relative;
}

.glossary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.3"/></svg>');
    background-size: 50px 50px;
    opacity: 0.1;
}

.glossary-content {
    position: relative;
    z-index: 1;
}

.glossary-text {
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
}

.glossary-text h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glossary-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
}

.glossary-intro {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

.glossary-image {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.glossary-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.glossary-image:hover .glossary-img {
    transform: scale(1.05);
}

.sephirot-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    max-width: 800px;
    margin: 0 auto;
}

.sephirot-content:hover {
    background: rgba(255, 119, 198, 0.05);
    border-color: rgba(255, 119, 198, 0.2);
    transform: translateY(-2px);
}

.sephirot-content h4 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ff77c6;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sephirot-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
    width: 100%;
}

.sephirot-text p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
    font-size: 0.6rem;
    margin: 0;
    text-align: left;
}

.sephirot-text strong {
    color: #ff77c6;
    font-weight: 600;
}

.glossary-terms {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.term-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.term-item:hover {
    background: rgba(255, 119, 198, 0.05);
    border-color: rgba(255, 119, 198, 0.2);
    transform: translateY(-2px);
}

.term-item strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff77c6;
    margin-bottom: 12px;
}

.term-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.term-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.term-image:hover {
    transform: scale(1.05);
}

.term-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    font-size: 1rem;
    margin: 0;
    text-align: left;
}

.glossary-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.glossary-terms {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.term-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.term-item:hover {
    background: rgba(255, 119, 198, 0.05);
    border-color: rgba(255, 119, 198, 0.2);
    transform: translateY(-2px);
}

.term-item strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff77c6;
    margin-bottom: 12px;
}

.term-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.term-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.term-image:hover {
    transform: scale(1.05);
}

.term-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    font-size: 1rem;
    margin: 0;
    text-align: left;
}

.study-step {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.study-step:hover {
    border-color: rgba(255, 119, 198, 0.3);
    box-shadow: 0 10px 30px rgba(120, 119, 198, 0.2);
}

.step-header {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.1), rgba(255, 119, 198, 0.1));
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-header:hover {
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.15), rgba(255, 119, 198, 0.15));
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-info {
    flex: 1;
}

.step-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.step-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.step-dropdown-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 10px 20px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.step-dropdown-btn:hover {
    background: rgba(255, 119, 198, 0.2);
    border-color: rgba(255, 119, 198, 0.4);
    transform: translateY(-2px);
}

.step-arrow {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.study-step.active .step-arrow {
    transform: rotate(180deg);
}

.step-content {
    display: none;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.study-step.active .step-content {
    display: block;
    max-height: 600px;
    opacity: 1;
}

.step-items {
    padding: 30px;
    display: grid;
    gap: 20px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.step-items::-webkit-scrollbar {
    width: 8px;
}

.step-items::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.step-items::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    border-radius: 4px;
}

.step-items::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff77c6, #7877c6);
}

.step-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.step-item:hover {
    background: rgba(255, 119, 198, 0.05);
    border-color: rgba(255, 119, 198, 0.2);
    transform: translateX(5px);
}

.item-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-right: 15px;
    flex-shrink: 0;
}

.item-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.item-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    font-size: 1rem;
}

.step-items-empty {
    padding: 60px 30px;
    text-align: center;
}

.step-items-empty p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    font-style: italic;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow-x: hidden;
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    justify-items: center;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
    line-height: 1.1;
}

.title-accent {
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Buttons */
.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    color: white;
    box-shadow: 0 8px 25px rgba(120, 119, 198, 0.3);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(120, 119, 198, 0.4);
}

.btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Tarot Cards Animation */
.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

.tarot-cards {
    display: flex;
    gap: 20px;
    position: relative;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.card {
    width: 120px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    cursor: pointer;
    flex-shrink: 0;
}

.card-1 {
    transform: rotateY(0deg) translateZ(0);
    animation: float1 6s ease-in-out infinite;
}

.card-2 {
    transform: rotateY(0deg) translateZ(0);
    animation: float2 8s ease-in-out infinite;
}

.card-3 {
    transform: rotateY(0deg) translateZ(0);
    animation: float3 7s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotateY(0deg); }
    50% { transform: translateY(-20px) rotateY(180deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px) rotateY(0deg); }
    50% { transform: translateY(-15px) rotateY(180deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0px) rotateY(0deg); }
    50% { transform: translateY(-25px) rotateY(180deg); }
}

.card__front,
.card__back {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.2), rgba(255, 119, 198, 0.2));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    backface-visibility: hidden;
    padding: 10px;
    box-sizing: border-box;
}

.card__symbol {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.card__name {
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.card__back {
    transform: rotateY(180deg);
}

/* Scroll Indicator */
.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0% { top: 8px; opacity: 1; }
    50% { top: 20px; opacity: 0.5; }
    100% { top: 8px; opacity: 1; }
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.about__item {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.about__item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about__icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.about__item h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #ffffff;
}

.about__item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Programs Section */
.programs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.program-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.program-card__header {
    padding: 30px;
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.1), rgba(255, 119, 198, 0.1));
    text-align: center;
}

.program-card__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.program-card__header h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.program-card__level {
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.program-card__content {
    padding: 30px;
}

.program-card__content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.program-card__features {
    list-style: none;
    margin-bottom: 20px;
}

.program-card__features li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.program-card__features li::before {
    content: '✨';
    position: absolute;
    left: 0;
    color: #7877c6;
}


/* Special Programs */
.special-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.special-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.special-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.special-card__image {
    height: 200px;
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.2), rgba(255, 119, 198, 0.2));
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Tablet adaptation for carousel cards - 2 cards without overlap */
@media (min-width: 768px) and (max-width: 1024px) {
    .carousel-wrapper {
        overflow: hidden;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .carousel-track {
        gap: 20px;
        width: 100%;
    }
    
    .carousel-item {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
        width: calc(50% - 10px);
        box-sizing: border-box;
    }
    
    .special-card {
        margin: 0;
        width: 100%;
        box-sizing: border-box;
        border-radius: 16px;
        overflow: hidden;
        height: auto;
    }
    
    .special-card__image {
        height: 160px;
        min-height: 160px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        border-radius: 16px 16px 0 0;
    }
    
    .special-card__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 16px 16px 0 0;
    }
    
    .special-card__content {
        padding: 18px;
    }
    
    .special-card__content h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .special-card__content p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 14px;
    }
    
    .special-card__tags {
        gap: 5px;
    }
    
    .special-card__tags span {
        font-size: 0.75rem;
        padding: 2px 6px;
    }
}

/* Tablet carousel buttons */
@media (min-width: 768px) and (max-width: 1024px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
        left: 10px;
        right: 10px;
    }
    
    .carousel-btn.carousel-btn-prev {
        left: 10px;
    }
    
    .carousel-btn.carousel-btn-next {
        right: 10px;
    }
    
    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }
}
@media (max-width: 767px) {
    .carousel-wrapper {
        overflow: hidden;
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .carousel-track {
        gap: 0;
        width: 100%;
    }
    
    .carousel-item {
        flex: 0 0 100%;
        min-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .special-card {
        margin: 0;
        width: 100%;
        box-sizing: border-box;
        border-radius: 16px;
        overflow: hidden;
        height: auto;
    }
    
    .special-card__image {
        height: 180px;
        min-height: 180px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        border-radius: 16px 16px 0 0;
    }
    
    .special-card__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 16px 16px 0 0;
    }
    
    .special-card__content {
        padding: 20px;
    }
    
    .special-card__content h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .special-card__content p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 16px;
    }
    
    .special-card__tags {
        gap: 6px;
    }
    
    .special-card__tags span {
        font-size: 0.8rem;
        padding: 3px 8px;
    }
}

@media (max-width: 480px) {
    .carousel-wrapper {
        padding: 0 8px;
    }
    
    .special-card__image {
        height: 160px;
        min-height: 160px;
    }
    
    .special-card__content {
        padding: 16px;
    }
    
    .special-card__content h3 {
        font-size: 1.1rem;
    }
    
    .special-card__content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 320px) {
    .carousel-wrapper {
        padding: 0 5px;
    }
    
    .special-card__image {
        height: 140px;
        min-height: 140px;
    }
    
    .special-card__content {
        padding: 12px;
    }
    
    .special-card__content h3 {
        font-size: 1rem;
    }
    
    .special-card__content p {
        font-size: 0.8rem;
    }
    
    .special-card__tags span {
        font-size: 0.75rem;
        padding: 2px 6px;
    }
}

.special-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
}

.special-card__icon {
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

.special-card__content {
    padding: 30px;
}

.special-card__content h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #ffffff;
}

.special-card__content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.special-card__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.special-card__tags span {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.special-card__tags span.arcan-tag {
    background: linear-gradient(135deg, #ff77c6, #7877c6);
    color: #ffffff;
    padding: 5px 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 119, 198, 0.3);
    border: 1px solid rgba(255, 119, 198, 0.4);
}

.special-card__tags span.arcan-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 119, 198, 0.4);
}

/* Process Section */
.process__timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.process__step {
    position: relative;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.process__step:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.process__number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.process__content h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #ffffff;
}

.process__content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.process__link {
    color: #7877c6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.process__link:hover {
    color: #ff77c6;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.1), rgba(255, 119, 198, 0.1));
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact__text {
    padding: 40px;
}

.contact__info {
    margin-top: 30px;
}

.contact__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

.contact__icon {
    font-size: 1.5rem;
}

.contact__item strong {
    color: #ffffff;
    margin-right: 8px;
}

.contact__item a {
    color: #7877c6;
    text-decoration: none;
    font-weight: 600;
}

.contact__item a:hover {
    color: #ff77c6;
}

/* Mystical Orb */
.contact__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mystical-orb {
    width: 200px;
    height: 200px;
    position: relative;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orb-inner {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(120, 119, 198, 0.8), rgba(255, 119, 198, 0.4));
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(120, 119, 198, 0.5);
}

.orb-particles {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, transparent 30%, rgba(255, 255, 255, 0.1) 70%, transparent 100%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

/* Footer */
.footer {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

.footer__text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer__social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .header {
        padding: 12px 0;
    }
    
    .nav {
        padding: 8px 24px;
    }
    
    .nav__logo {
        font-size: 1.2rem;
        gap: 8px;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .study-plan {
        padding: 100px 0;
    }
    
    .level-nav {
        gap: 15px;
        padding: 15px;
        margin-bottom: 30px;
    }
    
    .level-nav-btn {
        padding: 12px 15px;
        min-width: 150px;
    }
    
    .level-nav-icon {
        font-size: 1.3rem;
    }
    
    .level-nav-text strong {
        font-size: 0.9rem;
    }
    
    .level-nav-text small {
        font-size: 0.75rem;
    }
    
    .glossary {
        padding: 100px 0;
    }
    
    .glossary-intro {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .glossary-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .sephirot-content {
        padding: 25px;
        max-width: 700px;
    }
    
    .sephirot-content h4 {
        font-size: 1.6rem;
    }
    
    .sephirot-text {
        gap: 12px;
    }
    
    .sephirot-text p {
        font-size: 0.95rem;
    }
    
    .glossary-terms {
        gap: 15px;
    }
    
    .glossary-text {
        margin-bottom: 30px;
    }
    
    .glossary-text h3 {
        font-size: 1.8rem;
    }
    
    .glossary-text p {
        font-size: 0.8rem;
        max-width: 600px;
        margin: 0 auto;
        text-align: left;
    }
    
    .glossary-intro {
        gap: 30px;
        text-align: center;
    }
    
    .glossary-image {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .glossary-terms {
        gap: 15px;
        margin-top: 25px;
    }
    
    .term-item {
        padding: 15px;
    }
    
    .term-item strong {
        font-size: 1rem;
    }
    
    .term-content {
        gap: 8px;
    }
    
    .term-image {
        max-width: 180px;
    }
    
    .term-item p {
        font-size: 0.8rem;
    }
    
    .glossary-content {
        padding: 20px 0;
    }
    
    .step-header {
        padding: 20px 25px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-right: 15px;
    }
    
    .step-info h3 {
        font-size: 1.3rem;
    }
    
    .step-info p {
        font-size: 0.9rem;
    }
    
    .step-dropdown-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .step-items {
        padding: 25px;
        gap: 15px;
        max-height: 400px;
        overflow-y: auto;
        padding-right: 8px;
    }
    
    .step-items::-webkit-scrollbar {
        width: 6px;
    }
    
    .step-item {
        padding: 15px;
    }
    
    .item-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        margin-right: 12px;
    }
    
    .item-content h4 {
        font-size: 1rem;
    }
    
    .item-content p {
        font-size: 0.85rem;
    }
    
    .hero__content {
        gap: 60px;
    }
    
    .programs__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .special-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: calc(0.8rem + 0.15vw);
    }
    
    body {
        padding-top: 80px;
    }
    
    .header {
        padding: 10px 0;
        background: 
            radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.12) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(255, 119, 198, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 40% 20%, rgba(120, 219, 255, 0.08) 0%, transparent 50%),
            linear-gradient(135deg, rgba(10, 10, 15, 0.7) 0%, rgba(26, 26, 46, 0.7) 50%, rgba(22, 33, 62, 0.7) 100%);
        backdrop-filter: blur(10px);
    }
    
    .container {
        padding: 0 16px;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .hero__content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 0 16px;
        width: 100%;
        justify-items: center;
    }
    
    .hero__text {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    
    .hero__visual {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding: 0 10px;
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }
    
    .tarot-cards {
        gap: 15px;
        width: 100%;
        max-width: 100%;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
    
    .card {
        width: 90px;
        height: 150px;
        flex-shrink: 0;
    }
    
    .card__symbol {
        font-size: 1.2rem;
    }
    
    .card__name {
        font-size: 0.5rem;
    }
    
    .nav {
        padding: 6px 20px;
    }
    
    .nav__logo {
        font-size: 1.1rem;
        gap: 6px;
    }
    
    .logo-icon {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }
    
    .study-plan {
        padding: 80px 0;
    }
    
    .level-nav {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        margin-bottom: 25px;
    }
    
    .level-nav-btn {
        padding: 10px 15px;
        min-width: auto;
        width: 100%;
    }
    
    .level-nav-icon {
        font-size: 1.2rem;
    }
    
    .level-nav-text strong {
        font-size: 0.85rem;
    }
    
    .level-nav-text small {
        font-size: 0.7rem;
    }
    
    .glossary {
        padding: 80px 0;
    }
    
    .glossary-intro {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .glossary-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .glossary-text h3 {
        font-size: 1.6rem;
    }
    
    .glossary-text p {
        font-size: 0.95rem;
    }
    
    .glossary-features {
        justify-content: center;
        gap: 15px;
    }
    
    .glossary-feature {
        padding: 10px 15px;
    }
    
    .glossary-content {
        padding: 30px 0;
    }
    
    .step-header {
        padding: 15px 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-right: 0;
    }
    
    .step-info h3 {
        font-size: 1.2rem;
    }
    
    .step-info p {
        font-size: 0.85rem;
    }
    
    .step-dropdown-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
    
    .step-items {
        padding: 20px;
        gap: 12px;
        max-height: 350px;
        overflow-y: auto;
        padding-right: 6px;
    }
    
    .step-items::-webkit-scrollbar {
        width: 5px;
    }
    
    .step-item {
        padding: 12px;
        flex-direction: column;
        text-align: center;
    }
    
    .item-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .item-content h4 {
        font-size: 0.95rem;
    }
    
    .item-content p {
        font-size: 0.8rem;
    }
    
    .hero {
        padding-top: 60px;
    }
    
    .nav__menu {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 30px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav__menu.active {
        right: 0;
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-overlay {
        display: block;
    }
    
    .nav__link {
        font-size: 1.1rem;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }
    
    .hero__content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero__buttons {
        justify-content: center;
        align-items: center;
        gap: 16px;
        width: 100%;
    }
    
    .tarot-cards {
        transform: scale(0.8);
    }
    
    .about__grid,
    .programs__grid,
    .special-grid,
    .process__timeline {
        grid-template-columns: 1fr;
    }
    
    .contact__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer__content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .hero__buttons {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 1rem;
    }
    
    .tarot-cards {
        transform: scale(0.8);
    }
    
    .about__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .program-card__header {
        padding: 24px;
    }
    
    .program-card__content {
        padding: 24px;
    }
    
    .program-card__icon {
        font-size: 2rem;
    }
    
    .program-card__header h3 {
        font-size: 1.3rem;
    }
    
    .special-card {
        padding: 20px;
    }
    
    .process__step {
        padding: 20px;
    }
    
    .process__number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .programs__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .special-grid {
        grid-template-columns: 1fr;
    }
    
    .process__timeline {
        gap: 30px;
    }
    
    .contact__text {
        text-align: center;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer__logo {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: calc(0.75rem + 0.2vw);
    }
    
    body {
        padding-top: 70px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .header {
        padding: 8px 0;
        background: 
            radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(255, 119, 198, 0.06) 0%, transparent 50%),
            radial-gradient(circle at 40% 20%, rgba(120, 219, 255, 0.06) 0%, transparent 50%),
            linear-gradient(135deg, rgba(10, 10, 15, 0.6) 0%, rgba(26, 26, 46, 0.6) 50%, rgba(22, 33, 62, 0.6) 100%);
        backdrop-filter: blur(8px);
    }
    
    .nav {
        padding: 4px 16px;
    }
    
    .nav__logo {
        font-size: 1rem;
        gap: 4px;
    }
    
    .logo-icon {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    
    .study-plan {
        padding: 60px 0;
    }
    
    .level-nav {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
        margin-bottom: 20px;
    }
    
    .level-nav-btn {
        padding: 8px 12px;
        min-width: auto;
        width: 100%;
    }
    
    .level-nav-icon {
        font-size: 1.1rem;
    }
    
    .level-nav-text strong {
        font-size: 0.8rem;
    }
    
    .level-nav-text small {
        font-size: 0.65rem;
    }
    
    .glossary {
        padding: 80px 0;
    }
    
    .glossary-intro {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .glossary-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .glossary-text h3 {
        font-size: 1.4rem;
    }
    
    .glossary-text p {
        font-size: 0.9rem;
    }
    
    .sephirot-content {
        padding: 10px;
        max-width: 350px;
    }
    
    .sephirot-content h4 {
        font-size: 1rem;
    }
    
    .sephirot-text {
        gap: 5px;
    }
    
    .sephirot-text p {
        font-size: 0.7rem;
    }
    
    .glossary-terms {
        gap: 10px;
        margin-top: 20px;
    }
    
    .term-item {
        padding: 10px;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .term-item strong {
        font-size: 0.95rem;
    }
    
    .term-content {
        gap: 10px;
    }
    
    .term-image {
        max-width: 200px;
    }
    
    .term-item p {
        font-size: 0.9rem;
    }
    
    .glossary-content {
        padding: 40px 0;
    }
    
    .glossary-text {
        margin-bottom: 20px;
    }
    
    .coming-soon {
        font-size: 1.1rem;
    }
    
    .step-header {
        padding: 12px 15px;
        flex-direction: column;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, #7877c6, #ff77c6);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        margin-right: 0;
    }
    
    .step-info h3 {
        font-size: 1.1rem;
    }
    
    .step-info p {
        font-size: 0.8rem;
    }
    
    .step-dropdown-btn {
        padding: 5px 12px;
        font-size: 0.75rem;
    }
    
    .step-items {
        padding: 15px;
        gap: 10px;
        max-height: 300px;
        overflow-y: auto;
        padding-right: 5px;
    }
    
    .step-items::-webkit-scrollbar {
        width: 4px;
    }
    
    .step-item {
        padding: 10px;
        flex-direction: column;
        text-align: center;
    }
    
    .item-number {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .item-content h4 {
        font-size: 0.9rem;
    }
    
    .item-content p {
        font-size: 0.75rem;
    }
    
    .hero {
        padding-top: 50px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero__title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero__subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .hero__buttons {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 1rem;
    }
    
    .tarot-cards {
        transform: scale(0.7);
    }
    
    .about__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .program-card__header {
        padding: 20px;
    }
    
    .program-card__content {
        padding: 20px;
    }
    
    .program-card__icon {
        font-size: 1.8rem;
    }
    
    .program-card__header h3 {
        font-size: 1.2rem;
    }
    
    .program-card__level {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    
    .special-card {
        padding: 16px;
    }
    
    .process__step {
        padding: 16px;
    }
    
    .process__number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact__text {
        text-align: center;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }
    
    .footer__logo {
        justify-content: center;
    }
    
    .footer__text {
        font-size: 0.8rem;
    }
}

/* Extra Small Mobile - 360px (iPhone SE, Galaxy S5) */
@media (max-width: 360px) {
    html {
        font-size: calc(0.7rem + 0.25vw);
    }
    
    body {
        padding-top: 60px;
    }
    
    .container {
        padding: 0 10px;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .hero__content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
        padding: 0 10px;
        width: 100%;
        justify-items: center;
    }
    
    .hero__text {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    
    .hero__visual {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding: 0 3px;
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }
    
    .tarot-cards {
        gap: 8px;
        width: 100%;
        max-width: 100%;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
    
    .card {
        width: 60px;
        height: 100px;
        flex-shrink: 0;
    }
    
    .card__symbol {
        font-size: 0.9rem;
    }
    
    .card__name {
        font-size: 0.4rem;
    }
    
    .nav {
        padding: 4px 12px;
    }
    
    .nav__logo {
        font-size: 0.9rem;
        gap: 3px;
    }
    
    .logo-icon {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }
    
    .mobile-menu-btn {
        width: 35px;
        height: 35px;
    }
    
    .hero__title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero__subtitle {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .study-plan {
        padding: 50px 0;
    }
    
    .level-nav {
        padding: 10px;
        gap: 6px;
    }
    
    .level-nav-btn {
        padding: 6px 10px;
    }
    
    .level-nav-icon {
        font-size: 1rem;
    }
    
    .level-nav-text strong {
        font-size: 0.75rem;
    }
    
    .level-nav-text small {
        font-size: 0.6rem;
    }
    
    .coming-soon-banner {
        padding: 10px 12px;
        gap: 8px;
        margin: 10px 0;
    }
    
    .banner-icon {
        font-size: 1.1rem;
    }
    
    .banner-content h4 {
        font-size: 0.85rem;
    }
    
    .banner-content p {
        font-size: 0.7rem;
    }
    
    .step-header {
        padding: 10px 12px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .step-info h3 {
        font-size: 1rem;
    }
    
    .step-info p {
        font-size: 0.75rem;
    }
    
    .step-dropdown-btn {
        padding: 4px 10px;
        font-size: 0.7rem;
    }
    
    .step-items {
        padding: 12px;
        gap: 8px;
        max-height: 250px;
    }
    
    .step-item {
        padding: 8px;
    }
    
    .item-number {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
        margin-bottom: 6px;
    }
    
    .item-content h4 {
        font-size: 0.85rem;
    }
    
    .item-content p {
        font-size: 0.7rem;
    }
    
    .program-card__header {
        padding: 16px;
    }
    
    .program-card__content {
        padding: 16px;
    }
    
    .program-card__icon {
        font-size: 1.5rem;
    }
    
    .program-card__header h3 {
        font-size: 1.1rem;
    }
    
    .program-card__level {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .glossary {
        padding: 60px 0;
    }
    
    .glossary-text h3 {
        font-size: 1.3rem;
    }
    
    .glossary-text p {
        font-size: 0.85rem;
    }
    
    .sephirot-content {
        padding: 12px;
    }
    
    .sephirot-content h4 {
        font-size: 1.1rem;
    }
    
    .sephirot-text p {
        font-size: 0.8rem;
    }
    
    .term-item {
        padding: 8px;
    }
    
    .term-item strong {
        font-size: 0.9rem;
    }
    
    .term-content p {
        font-size: 0.85rem;
    }
    
    .term-image {
        max-width: 150px;
    }
    
    .special-card {
        padding: 12px;
    }
    
    .special-card__content {
        padding: 16px;
    }
    
    .special-card__content h3 {
        font-size: 1.1rem;
    }
    
    .special-card__content p {
        font-size: 0.85rem;
    }
    
    .process__step {
        padding: 12px;
    }
    
    .process__number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .process__content h3 {
        font-size: 1.1rem;
    }
    
    .process__content p {
        font-size: 0.85rem;
    }
    
    .contact__text {
        padding: 20px;
    }
    
    .contact__item {
        padding: 12px;
    }
    
    .footer__content {
        padding: 20px 12px;
    }
    
    .footer__text {
        font-size: 0.75rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .mystical-orb {
        width: 150px;
        height: 150px;
    }
}

/* Ultra Small Mobile - 480px and down */
@media (max-width: 480px) {
    html {
        font-size: calc(0.75rem + 0.2vw);
    }

    .container {
        padding: 0 12px;
        margin: 0 auto;
    }

    .hero__content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 0 12px;
        width: 100%;
        justify-items: center;
    }
    
    .hero__text {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    
    .hero__visual {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding: 0 5px;
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }
    
    .tarot-cards {
        gap: 10px;
        width: 100%;
        max-width: 100%;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
    
    .card {
        width: 70px;
        height: 120px;
        flex-shrink: 0;
    }
    
    .card__symbol {
        font-size: 1rem;
    }
    
    .card__name {
        font-size: 0.45rem;
    }

    .nav {
        padding: 2px 8px;
    }

    
    .nav__logo {
        font-size: 0.8rem;
        gap: 2px;
    }
    
    .logo-icon {
        width: 16px;
        height: 16px;
        font-size: 0.6rem;
    }
    
    .mobile-menu-btn {
        width: 30px;
        height: 30px;
    }
    
    .hero__title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .hero__subtitle {
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 12px 16px;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
    }
    
    .study-plan {
        padding: 40px 0;
    }
    
    .level-nav {
        padding: 8px;
        gap: 4px;
    }
    
    .level-nav-btn {
        padding: 4px 6px;
    }
    
    .level-nav-icon {
        font-size: 0.8rem;
    }
    
    .level-nav-text strong {
        font-size: 0.65rem;
    }
    
    .level-nav-text small {
        font-size: 0.5rem;
    }
    
    .coming-soon-banner {
        padding: 8px 10px;
        gap: 6px;
        margin: 8px 0;
    }
    
    .banner-icon {
        font-size: 0.9rem;
    }
    
    .banner-content h4 {
        font-size: 0.75rem;
    }
    
    .banner-content p {
        font-size: 0.6rem;
    }
    
    .step-header {
        padding: 8px 10px;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        margin-right: 0;
    }
    
    .step-info h3 {
        font-size: 0.85rem;
    }
    
    .step-info p {
        font-size: 0.7rem;
    }
    
    .step-dropdown-btn {
        padding: 3px 8px;
        font-size: 0.65rem;
    }
    
    .step-items {
        padding: 10px;
        gap: 6px;
        max-height: 200px;
    }
    
    .step-items::-webkit-scrollbar {
        width: 3px;
    }
    
    .step-item {
        padding: 6px;
    }
    
    .item-number {
        width: 18px;
        height: 18px;
        font-size: 0.55rem;
        margin-right: 0;
        margin-bottom: 4px;
    }
    
    .item-content h4 {
        font-size: 0.75rem;
    }
    
    .item-content p {
        font-size: 0.6rem;
        line-height: 1.3;
    }
    
    .program-card__header {
        padding: 12px;
    }
    
    .program-card__content {
        padding: 12px;
    }
    
    .program-card__icon {
        font-size: 1.2rem;
    }
    
    .program-card__header h3 {
        font-size: 1rem;
    }
    
    .program-card__level {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    
    .glossary {
        padding: 40px 0;
    }
    
    .glossary-text h3 {
        font-size: 1.2rem;
    }
    
    .glossary-text p {
        font-size: 0.8rem;
    }
    
    .sephirot-content {
        padding: 8px;
        max-width: 280px;
    }
    
    .sephirot-content h4 {
        font-size: 0.9rem;
    }
    
    .sephirot-text {
        gap: 4px;
    }
    
    .sephirot-text p {
        font-size: 0.65rem;
        line-height: 1.3;
    }
    
    .glossary-terms {
        gap: 6px;
        margin-top: 15px;
    }
    
    .term-item {
        padding: 6px;
        max-width: 250px;
    }
    
    .term-item strong {
        font-size: 0.8rem;
    }
    
    .term-content {
        gap: 6px;
    }
    
    .term-image {
        max-width: 100px;
    }
    
    .term-item p {
        font-size: 0.6rem;
        line-height: 1.3;
    }
    
    .special-card {
        padding: 8px;
    }
    
    .special-card__content {
        padding: 10px;
    }
    
    .special-card__content h3 {
        font-size: 0.9rem;
    }
    
    .special-card__content p {
        font-size: 0.7rem;
    }
    
    .process__step {
        padding: 8px;
    }
    
    .process__number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .process__content h3 {
        font-size: 0.9rem;
    }
    
    .process__content p {
        font-size: 0.65rem;
        line-height: 1.3;
    }
    
    .contact__text {
        padding: 15px;
    }
    
    .contact__item {
        padding: 8px;
    }
    
    .footer__content {
        padding: 15px 8px;
    }
    
    .footer__text {
        font-size: 0.7rem;
    }
    
    .social-link {
        width: 30px;
        height: 30px;
    }
    
    .mystical-orb {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 320px) {
    html {
        font-size: calc(0.5rem + 0.45vw);
    }
    
    .container {
        padding: 0 8px;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .hero__content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
        padding: 0 8px;
        width: 100%;
        justify-items: center;
    }
    
    .hero__text {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    
    .hero__visual {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding: 0 2px;
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }
    
    .tarot-cards {
        gap: 6px;
        width: 100%;
        max-width: 100%;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
    
    .card {
        width: 50px;
        height: 85px;
        flex-shrink: 0;
    }
    
    .card__symbol {
        font-size: 0.8rem;
    }
    
    .card__name {
        font-size: 0.35rem;
    }
    
    .hero__title {
        font-size: 1.4rem;
    }
    
    .hero__subtitle {
        font-size: 0.75rem;
    }
    
    .btn {
        width: 100%;
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .level-nav-btn {
        padding: 4px 6px;
        font-size: 0.7rem;
    }
    
    .level-nav-icon {
        font-size: 0.9rem;
    }
    
    .level-nav-text strong {
        font-size: 0.6rem;
    }
    
    .level-nav-text small {
        font-size: 0.5rem;
    }
    
    .banner-icon {
        font-size: 1rem;
    }
    
    .banner-content h4 {
        font-size: 0.7rem;
    }
    
    .banner-content p {
        font-size: 0.6rem;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .step-info h3 {
        font-size: 0.8rem;
    }
    
    .step-info p {
        font-size: 0.65rem;
    }
    
    .item-number {
        width: 18px;
        height: 18px;
        font-size: 0.5rem;
    }
    
    .item-content h4 {
        font-size: 0.7rem;
    }
    
    .item-content p {
        font-size: 0.6rem;
    }
    
    .program-card__icon {
        font-size: 1.3rem;
    }
    
    .program-card__header h3 {
        font-size: 1rem;
    }
    
    .term-image {
        max-width: 120px;
    }
    
    .mystical-orb {
        width: 120px;
        height: 120px;
    }
}

/* Large Tablets - 1024px to 1366px */
@media (min-width: 1024px) and (max-width: 1366px) {
    html {
        font-size: calc(0.85rem + 0.08vw);
    }
    
    .container {
        padding: 0 40px;
    }
    
    .hero__content {
        gap: 50px;
    }
    
    .tarot-cards {
        transform: scale(0.9);
    }
    
    .programs__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .special-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .process__timeline {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
    
    .about__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
    
    .sephirot-content {
        max-width: 750px;
    }
    
    .glossary-text p {
        max-width: 700px;
    }
}

/* Extra Large Desktop - 1920px and up */
@media (min-width: 1920px) {
    html {
        font-size: calc(0.95rem + 0.05vw);
    }
    
    .container {
        max-width: 1400px;
        padding: 0 60px;
    }
    
    .hero__title {
        font-size: 4.5rem;
    }
    
    .hero__subtitle {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
    
    .section-subtitle {
        font-size: 1.4rem;
    }
    
    .tarot-cards {
        transform: scale(1.2);
    }
    
    .card {
        width: 140px;
        height: 240px;
    }
    
    .programs__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
    
    .special-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .process__timeline {
        grid-template-columns: repeat(4, 1fr);
        gap: 50px;
    }
    
    .about__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 50px;
    }
    
    .contact__content {
        max-width: 1200px;
    }
    
    .mystical-orb {
        width: 250px;
        height: 250px;
    }
    
    .sephirot-content {
        max-width: 900px;
    }
    
    .glossary-text p {
        max-width: 800px;
    }
}

/* Ultra Wide Desktop - 2560px and up */
@media (min-width: 2560px) {
    html {
        font-size: calc(1rem + 0.02vw);
    }
    
    .container {
        max-width: 1600px;
        padding: 0 80px;
    }
    
    .hero__title {
        font-size: 5rem;
    }
    
    .section-title {
        font-size: 4rem;
    }
    
    .tarot-cards {
        transform: scale(1.4);
    }
    
    .card {
        width: 160px;
        height: 280px;
    }
    
    .programs__grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 50px;
    }
    
    .sephirot-content {
        max-width: 1000px;
    }
    
    .glossary-text p {
        max-width: 900px;
    }
}

/* Landscape orientations for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 50px;
    }
    
    .hero__content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .hero__title {
        font-size: 2rem;
        margin-bottom: 16px;
    }
    
    .hero__subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero__buttons {
        flex-direction: row;
        gap: 12px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: auto;
    }
    
    .tarot-cards {
        transform: scale(0.6);
    }
    
    .study-plan {
        padding: 40px 0;
    }
    
    .level-nav {
        flex-direction: row;
        gap: 10px;
        padding: 10px;
    }
    
    .level-nav-btn {
        min-width: auto;
        width: auto;
        padding: 8px 12px;
    }
    
    .step-items {
        max-height: 200px;
    }
    
    .glossary {
        padding: 40px 0;
    }
    
    section {
        padding: 40px 0;
    }
    
    .sephirot-content {
        max-width: 600px;
    }
    
    .glossary-text p {
        max-width: 500px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .card__front,
    .card__back {
        image-rendering: -webkit-optimize-contrast;
    }
    
    .glossary-img,
    .term-image {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Touch devices specific */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .level-nav-btn:hover,
    .program-card:hover,
    .special-card:hover,
    .about__item:hover,
    .process__step:hover,
    .step-item:hover,
    .term-item:hover,
    .social-link:hover {
        transform: none;
    }
    
    .btn:active,
    .level-nav-btn:active,
    .program-card:active,
    .special-card:active,
    .about__item:active,
    .process__step:active,
    .step-item:active,
    .term-item:active,
    .social-link:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .mobile-dropdown {
        -webkit-overflow-scrolling: touch;
    }
    
    .step-items {
        -webkit-overflow-scrolling: touch;
    }
}

/* Telegram Floating Button - Full Page Scroll Animation */
.telegram-float-btn {
    position: fixed;
    top: 0px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0088cc, #00aaff);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.1s ease-out;
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.3);
    text-decoration: none;
    opacity: 0;
    transform: translateX(100px);
}

.telegram-float-btn.visible {
    opacity: 1;
    transform: translateX(0);
}

.telegram-float-btn:hover {
    transform: translateX(-5px) scale(1.05);
    box-shadow: 0 6px 30px rgba(0, 136, 204, 0.6);
    background: linear-gradient(135deg, #00aaff, #0088cc);
}

.telegram-float-btn svg {
    width: 28px;
    height: 28px;
    fill: white;
    transition: transform 0.3s ease;
}

.telegram-float-btn:hover svg {
    transform: scale(1.1);
}

/* Mobile responsive for Telegram button */
@media (max-width: 768px) {
    .telegram-float-btn {
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .telegram-float-btn svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .telegram-float-btn {
        right: 15px;
        width: 45px;
        height: 45px;
    }

    .telegram-float-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* =====================================================
   КАРУСЕЛЬ - ИСПРАВЛЕННАЯ ВЕРСИЯ ДЛЯ ДЕСКТОПА
   ===================================================== */

.glossary-carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 80px; /* Отступы для кнопок */
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center; /* Центрирование контейнера */
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1040px; /* 3 карточки по 320px + 2 gaps по 20px */
    overflow: hidden; /* СКРЫВАЕМ все что выходит за пределы */
    margin: 0 auto; /* Центрирование */
}

.carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 20px;
    will-change: transform;
    justify-content: flex-start; /* Выравнивание по левому краю */
}

.carousel-item {
    flex: 0 0 320px; /* Фиксированная ширина карточек */
    min-width: 0;
    max-width: 320px; /* Ограничение максимальной ширины */
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.carousel-item-visible {
    opacity: 1;
    transform: scale(1);
}

.carousel-item-active {
    opacity: 1;
    transform: scale(1.02);
    z-index: 2;
}

.carousel-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(120, 119, 198, 0.2);
    z-index: 2;
}

.special-card {
    min-width: 0;
    flex-shrink: 0;
}

/* Mobile: 1 карточка */
@media (max-width: 767px) {
    .glossary-carousel {
        padding: 20px 50px; /* Меньше отступы для мобильных */
    }
    .carousel-item {
        flex: 0 0 100% !important;
    }
}

/* Tablet: 2 карточки */
@media (min-width: 768px) and (max-width: 1023px) {
    .glossary-carousel {
        padding: 20px 55px;
    }
    .carousel-item {
        flex: 0 0 calc(50% - 10px) !important;
    }
}

/* Desktop: 3 карточки */
@media (min-width: 1024px) {
    .glossary-carousel {
        padding: 20px 60px;
    }
    .carousel-item {
        flex: 0 0 calc(33.333% - 14px) !important;
    }
}

/* Улучшенные кнопки */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.95), rgba(168, 167, 255, 0.95));
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(120, 119, 198, 0.3);
}

.carousel-btn:hover {
    background: linear-gradient(135deg, rgba(120, 119, 198, 1), rgba(168, 167, 255, 1));
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 30px rgba(120, 119, 198, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
}

.carousel-btn:hover svg {
    transform: scale(1.1);
}

.carousel-btn-prev {
    left: 10px;
}

.carousel-btn-next {
    right: 10px;
}

/* Mobile кнопки */
@media (max-width: 767px) {
    .carousel-btn {
        width: 44px;
        height: 44px;
        border-width: 1.5px;
    }
    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }
    .carousel-btn-prev {
        left: 5px;
    }
    .carousel-btn-next {
        right: 5px;
    }
}

/* Tablet кнопки */
@media (min-width: 768px) and (max-width: 1023px) {
    .carousel-btn {
        width: 48px;
        height: 48px;
    }
    .carousel-btn svg {
        width: 22px;
        height: 22px;
    }
    .carousel-btn-prev {
        left: 8px;
    }
    .carousel-btn-next {
        right: 8px;
    }
}

/* Desktop кнопки */
@media (min-width: 1024px) {
    .carousel-btn {
        width: 50px;
        height: 50px;
    }
    .carousel-btn svg {
        width: 24px;
        height: 24px;
    }
    .carousel-btn-prev {
        left: 10px;
    }
    .carousel-btn-next {
        right: 10px;
    }
}

/* Анимация появления */
.carousel-btn {
    animation: btnAppear 0.5s ease;
}

@keyframes btnAppear {
    from {
        opacity: 0;
        transform: translateY(-50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

/* Состояние скрытых кнопок */
.carousel-btn.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(0.8);
}

/* Исправлено: только для навигационного dropdown */
.nav__links .dropdown-menu{
display:block !important;
opacity:1 !important;
visibility:visible !important;
}

.price-block {
    margin: 30px 0 !important;
    padding: 20px !important;
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.15), rgba(255, 119, 198, 0.15)) !important;
    border: 2px solid rgba(120, 119, 198, 0.3) !important;
    border-radius: 16px !important;
    position: relative !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 8px 32px rgba(120, 119, 198, 0.2) !important;
}

.price-block::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent) !important;
    transform: translateX(-100%) !important;
    transition: transform 0.6s ease !important;
}

.price-block:hover::before {
    transform: translateX(100%) !important;
}

.price-container {
    text-align: center !important;
    position: relative !important;
    z-index: 2 !important;
}

.price-label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-bottom: 15px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.price-icon {
    font-size: 1.5em !important;
    animation: sparkle 2s infinite !important;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

.price-value {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    margin-bottom: 15px !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #7877c6, #ff77c6) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 0 0 20px rgba(120, 119, 198, 0.5) !important;
}

.price-currency {
    font-size: 1.8rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.price-amount {
    color: transparent !important;
    background: linear-gradient(135deg, #7877c6, #ff77c6) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.price-description {
    margin-bottom: 20px !important;
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.4 !important;
    font-style: italic !important;
}

.price-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 24px !important;
    background: linear-gradient(135deg, #0088cc, #0052cc) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
}

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

.price-btn:hover::before {
    left: 100% !important;
}

.price-btn:hover {
    background: linear-gradient(135deg, #00a0ff, #0066ff) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.5) !important;
    text-decoration: none !important;
    color: #ffffff !important;
}

.btn-icon {
    font-size: 1.1em !important;
    animation: pulse 2s infinite !important;
}

/* АДАПТИВНОСТЬ ДЛЯ ЦЕНЫ */
@media (max-width: 767px) {
    .price-block {
        margin: 20px 0 !important;
        padding: 15px !important;
        border-radius: 12px !important;
    }
    
    .price-label {
        font-size: 1rem !important;
        margin-bottom: 12px !important;
    }
    
    .price-value {
        font-size: 2rem !important;
        margin-bottom: 12px !important;
    }
    
    .price-currency {
        font-size: 1.5rem !important;
    }
    
    .price-description {
        font-size: 0.85rem !important;
        margin-bottom: 15px !important;
    }
    
    .price-btn {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .price-block {
        margin: 15px 0 !important;
        padding: 12px !important;
        border-radius: 10px !important;
    }
    
    .price-label {
        font-size: 0.9rem !important;
        margin-bottom: 10px !important;
    }
    
    .price-value {
        font-size: 1.8rem !important;
        margin-bottom: 10px !important;
    }
    
    .price-currency {
        font-size: 1.3rem !important;
    }
    
    .price-description {
        font-size: 0.8rem !important;
        margin-bottom: 12px !important;
    }
    
    .price-btn {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
    }
}

@media (max-width: 360px) {
    .price-block {
        margin: 10px 0 !important;
        padding: 10px !important;
        border-radius: 8px !important;
    }
    
    .price-label {
        font-size: 0.85rem !important;
        margin-bottom: 8px !important;
    }
    
    .price-value {
        font-size: 1.5rem !important;
        margin-bottom: 8px !important;
    }
    
    .price-currency {
        font-size: 1.1rem !important;
    }
    
    .price-description {
        font-size: 0.75rem !important;
        margin-bottom: 10px !important;
    }
    
    .price-btn {
        padding: 6px 14px !important;
        font-size: 0.8rem !important;
    }
}


 @media (max-width: 767px) {
    /* Расширяем навигационный блок */
    .nav {
        min-height: 120px !important;
        padding: 15px 0 !important;
    }
    
    /* Большой блок для названия сайта */
    .nav__mobile-title {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        padding: 15px 10px !important;
        min-height: 80px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 12px !important;
        margin: 10px 15px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    /* Логотип слева */
    .mobile-title-logo {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
    
    .mobile-title-logo-img,
    .mobile-title-logo img {
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4)) !important;
    }
    
    .mobile-title-logo .custom-logo-link {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .mobile-title-logo .custom-logo-link img {
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
    }
    
    /* Текст справа - три строки с большим шрифтом */
    .mobile-title-text {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        text-align: left !important;
        line-height: 1.1 !important;
    }
    
    .title-line-1 {
        font-size: 1.8rem !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5) !important;
        margin-bottom: 2px !important;
        display: block !important;
    }
    
    .title-line-2 {
        font-size: 1.4rem !important;
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
        margin-bottom: 2px !important;
        display: block !important;
    }
    
    .title-line-3 {
        font-size: 1.4rem !important;
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
        display: block !important;
    }
    
    /* Расширяем бургер меню */
    .mobile-menu-btn {
        width: 60px !important;
        height: 60px !important;
        margin: 10px 15px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 12px !important;
    }
    
    .mobile-menu-btn span {
        width: 30px !important;
        height: 4px !important;
        margin: 0 0 8px !important;
        background: #ffffff !important;
        border-radius: 3px !important;
        transition: all 0.3s ease !important;
    }
    
    .mobile-menu-btn span:last-child {
        margin-bottom: 0 !important;
    }
    
    /* Увеличиваем логотип в мобильном меню dropdown */
    .mobile-dropdown-header img {
        width: 70px !important;
        height: 70px !important;
        margin-bottom: 15px !important;
    }
    
    /* Улучшаем заголовок в мобильном dropdown */
    .mobile-dropdown-header h3 {
        font-size: 1.5rem !important;
        margin-bottom: 20px !important;
        text-align: center !important;
    }
    
    /* Адаптация для маленьких экранов */
    @media (max-width: 480px) {
        .nav__mobile-title {
            flex-direction: column !important;
            gap: 10px !important;
            padding: 20px 10px !important;
            margin: 10px 10px !important;
        }
        
        .mobile-title-text {
            align-items: center !important;
            text-align: center !important;
        }
        
        .title-line-1 {
            font-size: 1.6rem !important;
        }
        
        .title-line-2,
        .title-line-3 {
            font-size: 1.2rem !important;
        }
        
        .mobile-menu-btn {
            width: 55px !important;
            height: 55px !important;
            margin: 10px 10px !important;
        }
    }
    
    /* Адаптация для самых маленьких экранов */
    @media (max-width: 360px) {
        .nav {
            min-height: 140px !important;
            padding: 20px 0 !important;
        }
        
        .nav__mobile-title {
            padding: 15px 8px !important;
            margin: 8px 8px !important;
        }
        
        .title-line-1 {
            font-size: 1.4rem !important;
        }
        
        .title-line-2,
        .title-line-3 {
            font-size: 1.1rem !important;
        }
        
        .mobile-title-logo-img,
        .mobile-title-logo img {
            width: 35px !important;
            height: 35px !important;
        }
        
        .mobile-menu-btn {
            width: 50px !important;
            height: 50px !important;
            margin: 8px 8px !important;
        }
        
        .mobile-menu-btn span {
            width: 25px !important;
            height: 3px !important;
            margin: 0 0 6px !important;
        }
    }
} 
/* ===== СТИЛИ ДЛЯ НОВЫХ КАРТОЧЕК КУРСОВ И КЛУБА ===== */
.special-card.featured {
    border: 2px solid #7877c6;
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.1), rgba(120, 119, 198, 0.05));
    position: relative;
    overflow: visible;
}

.special-card__badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #7877c6, #9b9ae1);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(120, 119, 198, 0.3);
}

/* Стили для курса "Хозяйка медной горы" */
.course-description {
    text-align: left;
}

.course-intro {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.crystal-types {
    margin: 25px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.crystal-types h4 {
    color: #7877c6;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.crystal-list {
    display: grid;
    gap: 12px;
}

.crystal-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.crystal-item:last-child {
    border-bottom: none;
}

.crystal-name {
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    min-width: 120px;
}

.crystal-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
}

.course-prep {
    margin: 25px 0;
    padding: 20px;
    background: rgba(120, 119, 198, 0.1);
    border-radius: 12px;
    border-left: 4px solid #7877c6;
}

.course-prep h4 {
    color: #7877c6;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

.course-prep p {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.course-details {
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.course-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.course-duration,
.course-length {
    background: rgba(120, 119, 198, 0.2);
    color: #7877c6;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
}

.course-price {
    text-align: right;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #7877c6;
}

/* Стили для клуба "Магия великих династий" */
.club-description {
    text-align: left;
}

.club-intro {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.5;
}

.club-tasks,
.club-schedule {
    margin: 25px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.club-tasks h4,
.club-schedule h4 {
    color: #7877c6;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.tasks-list {
    display: grid;
    gap: 10px;
}

.task-item {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.schedule-info {
    display: grid;
    gap: 12px;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.9);
}

.schedule-icon {
    font-size: 1.2rem;
    min-width: 30px;
}

.club-pricing {
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.2), rgba(120, 119, 198, 0.1));
    border-radius: 12px;
    border: 1px solid rgba(120, 119, 198, 0.3);
}

.pricing-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.pricing-item {
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.pricing-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(120, 119, 198, 0.4);
}

.pricing-item.annual {
    position: relative;
    border-color: #7877c6;
    background: rgba(120, 119, 198, 0.15);
}

.pricing-item .price-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.pricing-item .price-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
}

.discount {
    display: block;
    font-size: 0.8rem;
    color: #7877c6;
    font-weight: 600;
}

.special-card__action {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.special-card__action .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.special-card__action .btn--small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.special-card__action .btn--primary {
    background: linear-gradient(135deg, #7877c6, #9b9ae1);
    color: white;
    box-shadow: 0 4px 15px rgba(120, 119, 198, 0.3);
}

.special-card__action .btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(120, 119, 198, 0.4);
    background: linear-gradient(135deg, #9b9ae1, #7877c6);
}

.special-card__action .btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.special-card__action .btn--secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(120, 119, 198, 0.4);
    transform: translateY(-1px);
}

.special-card__action .btn__icon {
    font-size: 1rem;
}

/* ===== КАРУСЕЛЬ ДЛЯ КАРТОЧЕК ===== */
@media (max-width: 768px) {
    .special-grid {
        position: relative;
        overflow: hidden;
        padding: 0 20px;
    }
    
    .special-grid::before,
    .special-grid::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 40px;
        z-index: 20;
        pointer-events: none;
    }
    
    .special-grid::before {
        left: 0;
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.8), transparent);
    }
    
    .special-grid::after {
        right: 0;
        background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.8));
    }
    
    .special-grid {
        display: flex;
        gap: 15px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
    }
    
    .special-card {
        flex: 0 0 85%;
        max-width: 350px;
        scroll-snap-align: start;
        margin-bottom: 0;
    }
    
    /* Скрываем скроллбар но оставляем функциональность */
    .special-grid::-webkit-scrollbar {
        display: none;
    }
    
    .special-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

/* Адаптивность для планшетов */
@media (min-width: 769px) and (max-width: 1024px) {
    .special-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .course-details {
        flex-direction: column;
        text-align: center;
    }
    
    .pricing-options {
        grid-template-columns: 1fr;
    }
}

/* Адаптивность для десктопов */
@media (min-width: 1025px) {
    .special-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 25px;
    }
}
/* ===== КАРУСЕЛЬ ДЛЯ КАРТОЧЕК ===== */

/* Кнопки навигации карусели */
.carousel-controls {
    display: none;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.carousel-btn {
    background: linear-gradient(135deg, #7877c6, #9b9ae1);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(120, 119, 198, 0.3);
    position: relative;
    z-index: 25;
}

.carousel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(120, 119, 198, 0.4);
    background: linear-gradient(135deg, #9b9ae1, #7877c6);
}

.carousel-btn:active {
    transform: translateY(0);
}

.carousel-btn__icon {
    font-size: 1.2rem;
    color: white;
    font-weight: bold;
    line-height: 1;
}

.carousel-btn--prev {
    margin-right: auto;
}

.carousel-btn--next {
    margin-left: auto;
}

/* Индикатор прокрутки */
.scroll-indicator {
    display: none;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 10px;
    margin-bottom: 20px;
    font-style: italic;
}
/* ===== КАРУСЕЛЬ ДЛЯ КАРТОЧЕК ===== */

/* Кнопки навигации карусели */
.carousel-controls {
    display: none;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.carousel-btn {
    background: linear-gradient(135deg, #7877c6, #9b9ae1);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(120, 119, 198, 0.3);
    position: relative;
    z-index: 25;
}

.carousel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(120, 119, 198, 0.4);
    background: linear-gradient(135deg, #9b9ae1, #7877c6);
}

.carousel-btn:active {
    transform: translateY(0);
}

.carousel-btn__icon {
    font-size: 1.2rem;
    color: white;
    font-weight: bold;
    line-height: 1;
}

.carousel-btn--prev {
    margin-right: auto;
}

.carousel-btn--next {
    margin-left: auto;
}

/* Индикатор прокрутки */
.scroll-indicator {
    display: none;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: 10px;
    margin-bottom: 20px;
    font-style: italic;
}

/* Мобильная карусель */
@media (max-width: 768px) {
    .carousel-controls {
        display: flex;
    }
    
    .scroll-indicator {
        display: block;
    }
    
    .special-grid {
        position: relative;
        overflow: hidden;
        padding: 0 20px;
    }
    
    .special-grid::before,
    .special-grid::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 40px;
        z-index: 20;
        pointer-events: none;
    }
    
    .special-grid::before {
        left: 0;
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.8), transparent);
    }
    
    .special-grid::after {
        right: 0;
        background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.8));
    }
    
    .special-grid {
        display: flex;
        gap: 15px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
    }
    
    .special-card {
        flex: 0 0 85%;
        max-width: 350px;
        scroll-snap-align: start;
        margin-bottom: 0;
    }
    
    /* Скрываем скроллбар но оставляем функциональность */
    .special-grid::-webkit-scrollbar {
        display: none;
    }
    
    .special-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

/* Адаптивность для планшетов */
@media (min-width: 769px) and (max-width: 1024px) {
    .special-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .course-details {
        flex-direction: column;
        text-align: center;
    }
    
    .pricing-options {
        grid-template-columns: 1fr;
    }
}

/* Адаптивность для десктопов */
@media (min-width: 1025px) {
    .special-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 25px;
    }
}

/* ===== УМЕНЬШАЕМ ВТОРУЮ СТРОКУ ЧЕРЕЗ JAVASCRIPT ===== */
/* Скрипт добавлен в конце файла */

/* ===== ФИКСИРОВАННАЯ НАВИГАЦИЯ НА ДЕСКТОПАХ ===== */
@media (min-width: 768px) {
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(20, 20, 40, 0.9)) !important;
        backdrop-filter: blur(10px) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
        transition: all 0.3s ease !important;
        width: 100% !important;
    }
    
    /* Отступ для контента при фиксированной навигации */
    body {
        padding-top: 100px !important;
    }
    
    main {
        margin-top: 0 !important;
    }
    
    body.admin-bar {
        padding-top: 132px !important;
    }
    
    /* Эффект при прокрутке - БОЛЕЕ ЯРКИЙ */
    .header.scrolled {
        background: rgba(0, 0, 0, 0.98) !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5) !important;
        backdrop-filter: blur(15px) !important;
        border-bottom: 2px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    .header.scrolled .nav__logo img,
    .header.scrolled .nav__logo .custom-logo-link img {
        transform: scale(0.9) !important;
        filter: brightness(1.5) drop-shadow(0 0 15px rgba(255, 255, 255, 0.8)) !important;
        border-color: rgba(255, 255, 255, 0.8) !important;
    }
    
    /* Гарантия что навигация всегда фиксирована */
    .nav {
        position: relative !important;
        z-index: 1001 !important;
    }
}

/* ===== УЛУЧШЕНИЯ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ ===== */
@media (max-width: 767px) {
    /* Расширяем навигационный блок */
    .nav {
        min-height: 120px !important;
        padding: 15px 0 !important;
    }
    
    /* Большой блок для названия сайта */
    .nav__mobile-title {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
        gap: 15px !important;
        padding: 25px 20px !important;
        min-height: 120px !important;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(20, 20, 40, 0.8)) !important;
        border-radius: 15px !important;
        margin: 15px 20px !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(10px) !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    /* Добавляем эффект свечения */
    .nav__mobile-title::before {
        content: '' !important;
        position: absolute !important;
        top: -2px !important;
        left: -2px !important;
        right: -2px !important;
        bottom: -2px !important;
        background: linear-gradient(45deg, #ff0080, #00ff88, #0080ff, #ff0080) !important;
        border-radius: 15px !important;
        z-index: -1 !important;
        opacity: 0.6 !important;
        animation: glow 3s ease-in-out infinite alternate !important;
    }
    
    @keyframes glow {
        from { opacity: 0.4; }
        to { opacity: 0.8; }
    }
    
    /* Логотип слева */
    .mobile-title-logo {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    .mobile-title-logo-img,
    .mobile-title-logo img {
        width: 60px !important;
        height: 60px !important;
        border-radius: 50% !important;
        border: 3px solid rgba(255, 255, 255, 0.8) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 255, 255, 0.3) !important;
        filter: brightness(1.2) !important;
        transition: all 0.3s ease !important;
    }
    
    .mobile-title-logo .custom-logo-link {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .mobile-title-logo .custom-logo-link img {
        width: 60px !important;
        height: 60px !important;
        border-radius: 50% !important;
        border: 3px solid rgba(255, 255, 255, 0.8) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 255, 255, 0.3) !important;
        filter: brightness(1.2) !important;
        transition: all 0.3s ease !important;
    }
    
    /* Текст справа - три строки с большим шрифтом */
    .mobile-title-text {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        text-align: left !important;
        line-height: 1.3 !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    .title-line-1 {
        font-size: 2.2rem !important;
        font-weight: 900 !important;
        color: #ffffff !important;
        margin-bottom: 8px !important;
        display: block !important;
        text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.5) !important;
        letter-spacing: 1px !important;
        background: linear-gradient(45deg, #ffffff, #f0f0ff) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        filter: brightness(1.3) drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)) !important;
    }
    
    .title-line-2 {
        font-size: 1.8rem !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        margin-bottom: 8px !important;
        display: block !important;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 255, 255, 0.4) !important;
        letter-spacing: 0.5px !important;
        background: linear-gradient(45deg, #ffffff, #e8e8ff) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        filter: brightness(1.2) drop-shadow(0 0 8px rgba(255, 255, 255, 0.6)) !important;
    }
    
    .title-line-3 {
        font-size: 1.8rem !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        display: block !important;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 255, 255, 0.4) !important;
        letter-spacing: 0.5px !important;
        background: linear-gradient(45deg, #ffffff, #e8e8ff) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        filter: brightness(1.2) drop-shadow(0 0 8px rgba(255, 255, 255, 0.6)) !important;
    }
    
    /* Расширяем бургер меню */
    .mobile-menu-btn {
        width: 70px !important;
        height: 70px !important;
        margin: 15px 20px !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1)) !important;
        border: 2px solid rgba(255, 255, 255, 0.4) !important;
        border-radius: 15px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 255, 255, 0.2) !important;
        backdrop-filter: blur(10px) !important;
        transition: all 0.3s ease !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    /* Свечение для бургер меню */
    .mobile-menu-btn::before {
        content: '' !important;
        position: absolute !important;
        top: -2px !important;
        left: -2px !important;
        right: -2px !important;
        bottom: -2px !important;
        background: linear-gradient(45deg, #ff0080, #00ff88, #0080ff, #ff0080) !important;
        border-radius: 15px !important;
        z-index: -1 !important;
        opacity: 0.4 !important;
        animation: glow 3s ease-in-out infinite alternate !important;
    }
    
    .mobile-menu-btn span {
        width: 35px !important;
        height: 4px !important;
        margin: 0 0 8px !important;
        background: linear-gradient(90deg, #ffffff, #f0f0ff) !important;
        border-radius: 4px !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    .mobile-menu-btn span:last-child {
        margin-bottom: 0 !important;
    }
    
    /* Адаптация для маленьких экранов */
    @media (max-width: 480px) {
        .nav__mobile-title {
            flex-direction: column !important;
            gap: 15px !important;
            padding: 20px 15px !important;
            margin: 10px 15px !important;
        }
        
        .mobile-title-text {
            align-items: center !important;
            text-align: center !important;
        }
        
        .title-line-1 {
            font-size: 2rem !important;
            text-align: center !important;
        }
        
        .title-line-2,
        .title-line-3 {
            font-size: 1.6rem !important;
            text-align: center !important;
        }
        
        .mobile-title-logo-img,
        .mobile-title-logo img {
            width: 50px !important;
            height: 50px !important;
        }
        
        .mobile-menu-btn {
            width: 60px !important;
            height: 60px !important;
            margin: 10px 15px !important;
        }
        
        .mobile-menu-btn span {
            width: 30px !important;
            height: 3px !important;
        }
    }
    
    /* Адаптация для самых маленьких экранов */
    @media (max-width: 360px) {
        .nav {
            min-height: 160px !important;
            padding: 20px 0 !important;
        }
        
        .nav__mobile-title {
            padding: 15px 10px !important;
            margin: 8px 10px !important;
            min-height: 100px !important;
        }
        
        .title-line-1 {
            font-size: 1.8rem !important;
        }
        
        .title-line-2,
        .title-line-3 {
            font-size: 1.4rem !important;
        }
        
        .mobile-title-logo-img,
        .mobile-title-logo img {
            width: 45px !important;
            height: 45px !important;
        }
        
        .mobile-menu-btn {
            width: 55px !important;
            height: 55px !important;
            margin: 8px 10px !important;    
        }
        
        .mobile-menu-btn span {
            width: 25px !important;
            height: 3px !important;
            margin: 0 0 6px !important;
        }
    }
    
    /* ИСПРАВЛЕНИЕ ФУТЕРА ДЛЯ МОБИЛЬНЫХ */
    .footer {
        padding: 20px 15px !important;
        margin-bottom: 0 !important;
        overflow: hidden !important;
    }
    
    .footer__content {
        flex-wrap: wrap !important;
        gap: 20px !important;
        padding: 0 10px !important;
    }
    
    .footer__logo {
        flex: 1 1 100% !important;
        text-align: center !important;
        margin-bottom: 15px !important;
    }
    
    .footer__text {
        flex: 1 1 100% !important;
        text-align: center !important;
        margin-bottom: 15px !important;
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
    
    .footer__social {
        flex: 1 1 100% !important;
        text-align: center !important;
        margin-bottom: 15px !important;
    }
    
    .footer__menu {
        flex: 1 1 100% !important;
        text-align: center !important;
    }
    
    .footer__menu ul {
        flex-direction: column !important;
        gap: 10px !important;
        padding: 0 !important;
    }
    
    .footer__menu li {
        margin: 0 !important;
    }
    
    .footer__menu a {
        display: block !important;
        padding: 8px 15px !important;
        text-decoration: none !important;
        color: #ffffff !important;
        border-radius: 5px !important;
        transition: all 0.3s ease !important;
    }
    
    .footer__menu a:hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }
    
    /* ПЛАВАЮЩАЯ КНОПКА TELEGRAM ДЛЯ МОБИЛЬНЫХ */
    .telegram-float-btn[href*="t.me/Daniil_06_06_2001"] {
        width: 50px !important;
        height: 50px !important;
        bottom: 15px !important;
        right: 15px !important;
        z-index: 999 !important;
    }
    
    .telegram-float-btn svg {
        width: 24px !important;
        height: 24px !important;
    }
    
    /* Увеличиваем логотип в мобильном меню dropdown */
    .mobile-dropdown-header img {
        width: 70px !important;
        height: 70px !important;
        margin-bottom: 15px !important;
    }
    
    /* Улучшаем заголовок в мобильном dropdown */
    .mobile-dropdown-header h3 {
        font-size: 1.5rem !important;
        margin-bottom: 20px !important;
        text-align: center !important;
    }
    
    /* Адаптация для маленьких экранов */
    @media (max-width: 480px) {
        .nav__mobile-title {
            flex-direction: column !important;
            gap: 10px !important;
            padding: 20px 10px !important;
            margin: 10px 10px !important;
        }
        
        .mobile-title-text {
            align-items: center !important;
            text-align: center !important;
        }
        
        .title-line-1 {
            font-size: 1.6rem !important;
        }
        
        .title-line-2,
        .title-line-3 {
            font-size: 1.2rem !important;
        }
        
        .mobile-menu-btn {
            width: 55px !important;
            height: 55px !important;
            margin: 10px 10px !important;
        }
    }
    
    /* Адаптация для самых маленьких экранов */
    @media (max-width: 360px) {
        .nav {
            min-height: 140px !important;
            padding: 20px 0 !important;
        }
        
        .nav__mobile-title {
            padding: 15px 8px !important;
            margin: 8px 8px !important;
        }
        
        .title-line-1 {
            font-size: 1.4rem !important;
        }
        
        .title-line-2,
        .title-line-3 {
            font-size: 1.1rem !important;
        }
        
        .mobile-title-logo-img,
        .mobile-title-logo img {
            width: 35px !important;
            height: 35px !important;
        }
        
        .mobile-menu-btn {
            width: 50px !important;
            height: 50px !important;
            margin: 8px 8px !important;
        }
        
        .mobile-menu-btn span {
            width: 25px !important;
            height: 3px !important;
            margin: 0 0 6px !important;
        }
    }
}