/* Slimi.LT CS2 GiveAway - Papildomos animacijos */

/* Glow efektai */
.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.4), transparent);
    transition: left 0.5s;
}

.glow-effect:hover::before {
    left: 100%;
}

/* Floating animacijos */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Pulse animacijos */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 107, 53, 0.8);
    }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Shake animacijos */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

/* Bounce animacijos */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.bounce {
    animation: bounce 1s ease-in-out;
}

/* Rotate animacijos */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.rotate {
    animation: rotate 2s linear infinite;
}

/* Scale animacijos */
@keyframes scale-in {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.scale-in {
    animation: scale-in 0.5s ease-out;
}

/* Slide animacijos */
@keyframes slide-in-left {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-left {
    animation: slide-in-left 0.6s ease-out;
}

@keyframes slide-in-right {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-right {
    animation: slide-in-right 0.6s ease-out;
}

/* Fade animacijos */
@keyframes fade-in-up {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-in-up {
    animation: fade-in-up 0.8s ease-out;
}

@keyframes fade-in-down {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-in-down {
    animation: fade-in-down 0.8s ease-out;
}

/* Typing efektas */
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.typing-effect {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(40, end);
}

/* Gradient animacijos */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-animated {
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

/* Hover transformacijos */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-rotate {
    transition: transform 0.3s ease;
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

/* Loading animacijos */
@keyframes loading-dots {
    0%, 20% {
        color: rgba(255, 107, 53, 0);
        text-shadow: 0.25em 0 0 rgba(255, 107, 53, 0), 0.5em 0 0 rgba(255, 107, 53, 0);
    }
    40% {
        color: rgba(255, 107, 53, 1);
        text-shadow: 0.25em 0 0 rgba(255, 107, 53, 0), 0.5em 0 0 rgba(255, 107, 53, 0);
    }
    60% {
        text-shadow: 0.25em 0 0 rgba(255, 107, 53, 1), 0.5em 0 0 rgba(255, 107, 53, 0);
    }
    80%, 100% {
        text-shadow: 0.25em 0 0 rgba(255, 107, 53, 1), 0.5em 0 0 rgba(255, 107, 53, 1);
    }
}

.loading-dots::after {
    content: '...';
    animation: loading-dots 1.5s steps(5, end) infinite;
}

/* Progress bar animacijos */
@keyframes progress-fill {
    from {
        width: 0%;
    }
    to {
        width: var(--progress-width, 100%);
    }
}

.progress-bar {
    position: relative;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
    animation: progress-fill 1s ease-out;
}

/* Notification animacijos */
@keyframes notification-slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes notification-slide-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.notification-slide-in {
    animation: notification-slide-in 0.3s ease-out;
}

.notification-slide-out {
    animation: notification-slide-out 0.3s ease-out;
}

/* CS2 specific animacijos */
@keyframes cs2-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.5), 0 0 40px rgba(0, 212, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 107, 53, 0.8), 0 0 60px rgba(0, 212, 255, 0.5);
    }
}

.cs2-glow {
    animation: cs2-glow 2s ease-in-out infinite;
}

/* Prizų vertės animacijos */
@keyframes prize-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 20px rgba(0, 255, 136, 0.5);
        transform: scale(1.05);
    }
}

.prize-value {
    animation: prize-glow 3s ease-in-out infinite;
}

@keyframes total-value-pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6);
        transform: scale(1.02);
    }
}

.total-value {
    animation: total-value-pulse 2s ease-in-out infinite;
}

/* Responsive animacijos */
@media (max-width: 1200px) {
    .floating {
        animation-duration: 2s;
    }
    
    .pulse-glow {
        animation-duration: 1.5s;
    }
}

@media (max-width: 768px) {
    .floating {
        animation: none;
    }
    
    .hover-lift:hover {
        transform: none;
    }
    
    .hover-scale:hover {
        transform: none;
    }
    
    .prize-value {
        animation-duration: 2s;
    }
    
    .total-value {
        animation-duration: 1.5s;
    }
}

@media (max-width: 480px) {
    .prize-value {
        animation: none;
    }
    
    .total-value {
        animation: none;
    }
    
    .cs2-glow {
        animation: none;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .hover-lift:hover,
    .hover-scale:hover,
    .hover-rotate:hover {
        transform: none;
    }
    
    .glow-effect:hover::before {
        left: -100%;
    }
}

/* Performance optimizacijos */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print stiliai */
@media print {
    .floating,
    .pulse-glow,
    .bounce,
    .rotate,
    .scale-in,
    .slide-in-left,
    .slide-in-right,
    .fade-in-up,
    .fade-in-down {
        animation: none !important;
    }
}
