/* ===== ENHANCED UI/UX STYLES ===== */
html {
    scroll-behavior: smooth;
}

.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.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.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:hover::after {
    width: 300px;
    height: 300px;
}

*:focus-visible {
    outline: 2px solid #a8d84e;
    outline-offset: 2px;
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.shadow-enhanced {
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(168, 216, 78, 0.1);
}

.dark .shadow-enhanced {
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(168, 216, 78, 0.2);
}

.gradient-text {
    background: linear-gradient(135deg, #a8d84e 0%, #1337ec 50%, #f5b800 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 12s ease infinite;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #a8d84e, #1337ec, #f5b800);
    z-index: 9999;
    transform-origin: left;
}

a {
    transition: all 0.3s ease;
}

a:hover {
    transform: translateX(2px);
}

@keyframes badge-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
    }
}

.badge-animate {
    animation: badge-pulse 3s ease-in-out infinite;
}

img {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

img:hover {
    transform: scale(1.05);
}

input:focus,
textarea:focus,
select:focus {
    border-color: #a8d84e;
    box-shadow: 0 0 0 3px rgba(168, 216, 78, 0.1);
}

[title] {
    position: relative;
}

.float-on-hover:hover {
    transform: translateY(-4px);
}

.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 216, 78, 0.1), transparent);
    transition: left 0.5s;
}

.shine-effect:hover::before {
    left: 100%;
}

.neon-glow {
    text-shadow: 0 2px 8px rgba(168, 216, 78, 0.2);
}

@keyframes pulse-ring {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(168, 216, 78, 0.4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(168, 216, 78, 0);
    }
}

.pulse-cta {
    animation: pulse-ring 3s ease-in-out infinite;
}

.card-tilt {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-tilt:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.border-animated {
    border-color: rgba(168, 216, 78, 0.3);
    transition: border-color 0.3s ease;
}

.border-animated:hover {
    border-color: rgba(168, 216, 78, 0.6);
}

.btn-interactive {
    position: relative;
    transform: perspective(1px) translateZ(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-interactive:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(19, 55, 236, 0.2);
}

.btn-interactive:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(19, 55, 236, 0.2);
}

.text-shadow-strong {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 4px 16px rgba(0, 0, 0, 0.6);
}

.drop-shadow-lg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}

.drop-shadow-md {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.7));
}

.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark .glass {
    background: rgba(26, 29, 45, 0.6);
    border: 1px solid rgba(168, 216, 78, 0.2);
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@keyframes staggerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stagger-item {
    opacity: 0;
    animation: staggerFadeIn 0.6s ease 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;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

.dark .skeleton {
    background: linear-gradient(90deg, #1a1d2d 25%, #232948 50%, #1a1d2d 75%);
    background-size: 200% 100%;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.bounce-in {
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

.magnetic {
    transition: transform 0.2s ease;
}

.text-gradient-animate {
    background: linear-gradient(45deg, #a8d84e, #1337ec, #f5b800, #ff9500);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.page-transition {
    animation: fadeInPage 0.5s ease-in;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Masonry Grid */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 200px;
    gap: 1.5rem;
}

.masonry-item-tall {
    grid-row: span 2;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}