/* Custom animations and effects */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

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

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom transitions */
.transition-all {
    transition-duration: 300ms;
}

/* Custom shadows */
.hover-shadow:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Glass morphism effect */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(45deg, #0A2540, #4A90E2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Custom focus styles */
button:focus, a:focus {
    outline: none;
    ring: 2px;
    ring-color: #4A90E2;
}

/* Coupon styles */
.coupon-container {
    transition: all 0.3s ease;
}

.coupon-container:hover {
    transform: translateY(-5px);
}

.border-dashed {
    border-style: dashed;
    background-image: linear-gradient(45deg, #ffffff 25%, #f8f9fa 25%, #f8f9fa 50%, #ffffff 50%, #ffffff 75%, #f8f9fa 75%, #f8f9fa 100%);
    background-size: 10px 10px;
}

/* Scissors animation */
.coupon-container::before {
    content: "✂";
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 20px;
    color: #FF6B6B;
    animation: snip 2s infinite;
}

@keyframes snip {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(-10deg); }
    20% { transform: rotate(10deg); }
    30% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

/* Shine effect */
.coupon-container::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.3) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(30deg); }
    100% { transform: translateX(100%) rotate(30deg); }
}
