/* Custom styles to elevate the Tailwind utility classes */

@layer utilities {
    .glass-card {
        background: rgba(255, 255, 255, 0.02);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
}

.hero-text-gradient {
    background: linear-gradient(to right, #ffffff, #e0e0e0, #a0a0b0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hover-glow {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-glow:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 40px -10px rgba(255, 51, 102, 0.15);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 51, 102, 0.3);
}

/* Base animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 1.2s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Nav Link Underline animation */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: #ff3366;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

::selection {
    background-color: rgba(255, 51, 102, 0.3);
    color: white;
}
