/**
 * PixelMine Marketplace - Custom Styles
 */

body {
    font-family: 'Inter', sans-serif;
}

.bg-grid-pattern {
    background-image: linear-gradient(to right, rgba(235, 53, 100, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(235, 53, 100, 0.05) 1px, transparent 1px);
    background-size: 8rem 8rem;
}

.hero-gradient {
    background: linear-gradient(to bottom, #02372E, #055A48);
}

.mesh-gradient-bg {
    background-color: #050505;
    background-image:
        radial-gradient(at 20% 30%, rgba(235, 53, 100, 0.3) 0px, transparent 60%),
        radial-gradient(at 80% 20%, rgba(93, 243, 225, 0.15) 0px, transparent 60%),
        radial-gradient(at 50% 80%, rgba(255, 193, 0, 0.1) 0px, transparent 60%),
        radial-gradient(at 10% 90%, rgba(11, 180, 148, 0.15) 0px, transparent 60%);
    animation: pulse-mesh 15s ease-in-out infinite alternate;
}

@keyframes pulse-mesh {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.glass-card {
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.glass-card-hover:hover {
    background: rgba(5, 5, 5, 0.8);
    border: 1px solid rgba(235, 53, 100, 0.5);
    box-shadow: 0 12px 40px 0 rgba(235, 53, 100, 0.2), inset 0 0 30px rgba(235, 53, 100, 0.1);
    transform: translateY(-4px);
}

.glass-nav {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.animate-shimmer {
    animation: shimmer 2s infinite;
}

.skeleton-loader {
    background: linear-gradient(90deg, rgba(2, 55, 46, 0.4) 25%, rgba(5, 90, 72, 0.6) 50%, rgba(2, 55, 46, 0.4) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.progressive-blur {
    filter: blur(20px);
    transition: filter 0.5s ease-out;
}

.progressive-blur.loaded {
    filter: blur(0);
}

.neon-svg-glow {
    filter: drop-shadow(0 0 8px rgba(93, 243, 225, 0.6)) drop-shadow(0 0 20px rgba(93, 243, 225, 0.3));
}

.nav-link-glow:hover {
    text-shadow: 0 0 10px rgba(255, 193, 0, 0.8), 0 0 20px rgba(255, 193, 0, 0.4);
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    border-radius: 0.5rem;
    font-weight: 600;
}

.alert-success {
    background: rgba(11, 180, 148, 0.2);
    border: 1px solid rgba(11, 180, 148, 0.5);
    color: #5DF3E1;
}

.alert-error {
    background: rgba(235, 53, 100, 0.2);
    border: 1px solid rgba(235, 53, 100, 0.5);
    color: #EB3564;
}

/* Line clamp utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
