/* /assets/css/style.css */
.achievement-badge {
    transition: all 0.3s ease;
}

.achievement-badge:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1));
}

/* Анимации */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Анимации для шапки */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Статистика в шапке */
.stat-card {
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

/* Прогресс бар */
.progress-bar {
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

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

/* Стили для тултипов Driver.js */
.driver-popover {
    background: white !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    border: 2px solid #ec4899 !important;
    max-width: 300px !important;
}

.driver-popover-title {
    font-size: 18px !important;
    font-weight: bold !important;
    color: #1f2937 !important;
    margin-bottom: 8px !important;
}

.driver-popover-description {
    font-size: 14px !important;
    color: #6b7280 !important;
    line-height: 1.5 !important;
    margin-bottom: 16px !important;
}

.driver-popover-footer {
    display: flex !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-top: 16px !important;
}

.driver-popover-footer button {
    border-radius: 9999px !important;
    padding: 8px 16px !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    border: none !important;
}

.driver-next-btn {
    background: linear-gradient(to right, #ec4899, #f59e0b) !important;
    color: white !important;
}

.driver-next-btn:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 10px 15px -3px rgba(236, 72, 153, 0.3) !important;
}

.driver-prev-btn {
    background: white !important;
    border: 1px solid #d1d5db !important;
    color: #4b5563 !important;
}

.driver-prev-btn:hover {
    background: #f9fafb !important;
}

.driver-close-btn {
    background: #ef4444 !important;
    color: white !important;
}

.driver-close-btn:hover {
    background: #dc2626 !important;
}

/* Прогресс-бар */
.driver-progress {
    height: 4px !important;
    background: #e5e7eb !important;
    margin-top: 12px !important;
    border-radius: 9999px !important;
    overflow: hidden !important;
}

.driver-progress-bar {
    height: 100% !important;
    background: linear-gradient(to right, #ec4899, #f59e0b) !important;
    transition: width 0.3s !important;
}

/* Стили для чек-листа */
.checklist-item {
    transition: all 0.3s ease;
}

.checklist-item.completed {
    opacity: 0.7;
}

/* Стили для видео-подсказок */
.video-hint {
    animation: slideIn 0.3s ease-out;
}

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

/* Стили для контекстных подсказок */
[data-tip] {
    cursor: help;
    border-bottom: 1px dashed #cbd5e0;
}