/* Стили для гайд-тура в стиле liquid glass */
.guide-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.guide-overlay.active {
    opacity: 1;
    visibility: visible;
}

.guide-highlight {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    transition: all 0.4s ease;
    animation: subtleGlow 2s infinite;
}

@keyframes subtleGlow {
    0%, 100% { 
        border-color: rgba(255, 255, 255, 0.8);
        box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.3);
    }
    50% { 
        border-color: rgba(255, 255, 255, 1);
        box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.4);
    }
}

.guide-content-box {
    position: fixed;
    left: 20px;
    right: 20px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.25) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 25px;
    color: #fff;
    z-index: 10004;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.4s ease;
    max-width: 500px;
    margin: 0 auto;
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.guide-content-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 30%,
        transparent 70%
    );
    border-radius: 20px;
    opacity: 0.6;
    pointer-events: none;
}

.guide-title {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    text-align: center;
}

.guide-text {
    font-size: 1.05em;
    line-height: 1.5;
    margin-bottom: 0;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.guide-skip-btn {
    position: fixed;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    z-index: 10005;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 15px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.guide-skip-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Стрелки навигации */
.nav-arrow {
    position: fixed;
    bottom: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10006;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: #fff;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.nav-arrow.prev {
    left: 20px;
}

.nav-arrow.next {
    right: 20px;
}

.guide-overlay.active ~ .nav-arrow {
    opacity: 1;
    visibility: visible;
}

/* Стили для кнопки запуска гайда */
/* Стили для кнопки запуска гайда */
.guide-launch-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}


.guide-launch-btn i {
    font-size: 20px;
}

/* Скрываем текст на всех устройствах для квадратной кнопки */
.guide-launch-btn span {
    display: none;
}


/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .guide-content-box {
        left: 15px;
        right: 15px;
        padding: 20px;
    }
    
    .guide-title {
        font-size: 1.2em;
    }
    
    .guide-text {
        font-size: 1em;
    }
    
    .guide-skip-btn {
        top: 20px;
        right: 20px;
        font-size: 0.95em;
        padding: 8px 16px;
    }
    
    .nav-arrow {
        bottom: 25px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .nav-arrow.prev {
        left: 15px;
    }
    
    .nav-arrow.next {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .guide-content-box {
        left: 10px;
        right: 10px;
        padding: 18px;
    }
    
    .guide-title {
        font-size: 1.1em;
    }
    
    .guide-text {
        font-size: 0.95em;
    }
    
    .guide-skip-btn {
        top: 15px;
        right: 15px;
        padding: 7px 14px;
    }
    
    .nav-arrow {
        bottom: 20px;
        width: 42px;
        height: 42px;
        font-size: 15px;
    }
    
    .nav-arrow.prev {
        left: 10px;
    }
    
    .nav-arrow.next {
        right: 10px;
    }
}