/* Animation Keyframes */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInPage {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Utility Classes */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.page-transition {
    animation: fadeInPage 0.4s ease-in;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(230, 10, 21, 0.2);
}

.hover-scale {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hover-glow {
    position: relative;
    transition: all 0.3s ease;
}

.hover-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(45deg, #e60a15, #ff4d4d, #e60a15);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    filter: blur(10px);
}

.hover-glow:hover::before {
    opacity: 0.7;
}

/* Button Ripple Effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg,
            #2a1617 25%,
            #392829 50%,
            #2a1617 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Smooth Transitions */
.smooth-transition {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stagger Animation */
.stagger-item {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.stagger-item:nth-child(1) {
    animation-delay: 0.1s;
}

.stagger-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stagger-item:nth-child(3) {
    animation-delay: 0.3s;
}

.stagger-item:nth-child(4) {
    animation-delay: 0.4s;
}

.stagger-item:nth-child(5) {
    animation-delay: 0.5s;
}

.stagger-item:nth-child(6) {
    animation-delay: 0.3s;
}

.stagger-item:nth-child(7) {
    animation-delay: 0.35s;
}

.stagger-item:nth-child(8) {
    animation-delay: 0.4s;
}

.stagger-item:nth-child(9) {
    animation-delay: 0.45s;
}

.stagger-item:nth-child(10) {
    animation-delay: 0.5s;
}

.stagger-item:nth-child(11) {
    animation-delay: 0.55s;
}

.stagger-item:nth-child(12) {
    animation-delay: 0.6s;
}

.stagger-item:nth-child(13) {
    animation-delay: 0.65s;
}

.stagger-item:nth-child(14) {
    animation-delay: 0.7s;
}

.stagger-item:nth-child(15) {
    animation-delay: 0.75s;
}

.stagger-item:nth-child(16) {
    animation-delay: 0.8s;
}

.stagger-item:nth-child(17) {
    animation-delay: 0.85s;
}

.stagger-item:nth-child(18) {
    animation-delay: 0.9s;
}

.stagger-item:nth-child(19) {
    animation-delay: 0.95s;
}

.stagger-item:nth-child(20) {
    animation-delay: 1.0s;
}

/* Hover Brightness */
.hover-brightness {
    transition: filter 0.3s ease;
}

.hover-brightness:hover {
    filter: brightness(1.1);
}
/* Toast Notifications */
@keyframes slideUpFade {
    from { opacity: 0; transform: translate(-50%, 20px) scale(0.95); }
    to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}
@keyframes slideDownFade {
    from { opacity: 1; transform: translate(-50%, 0) scale(1); }
    to { opacity: 0; transform: translate(-50%, 10px) scale(0.95); }
}
.toast-enter { animation: slideUpFade 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.toast-exit { animation: slideDownFade 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.glass-toast {
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.dark .glass-toast { background: rgba(10, 10, 10, 0.9); border: 1px solid rgba(255, 255, 255, 0.15); }

/* Hero Section Background Gradient */
.bg-gradient-fade {
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(18, 18, 18, 0.9) 100%);
}

