/* Основные стили анимаций и эффектов */
.btn-brand::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-brand:hover::before {
    left: 100%;
}

.btn-brand:hover { 
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 155, 114, 0.3);
}

.navbar.scrolled {
    background-color: rgba(33, 37, 41, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.book-card {
    transition: var(--transition);
    border: none;
    overflow: hidden;
}

.book-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.series-img {
    transition: var(--transition);
    cursor: pointer;
}

.series-img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(184, 155, 114, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(184, 155, 114, 0); }
    100% { box-shadow: 0 0 0 0 rgba(184, 155, 114, 0); }
}

.sparkle {
    position: relative;
}

.sparkle::before {
    content: '✨';
    position: absolute;
    top: -10px;
    right: -10px;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0.8) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(180deg); }
}
