/**
 * Yas Graphics - Core Theme Styles
 */

/* Glassmorphism Variants */
.glass,
.glass-effect,
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card-highlight {
    background: rgba(131, 56, 233, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(131, 56, 233, 0.4);
    box-shadow: 0 0 20px rgba(131, 56, 233, 0.15);
}

.glass-card-gold {
    background: rgba(245, 158, 11, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

/* Glow Effects */
.neon-glow {
    box-shadow: 0 0 20px rgba(131, 56, 233, 0.3);
}

.neon-glow-top {
    background: radial-gradient(circle at 0% 0%, rgba(131, 56, 233, 0.15) 0%, transparent 50%);
}

.neon-glow-bottom {
    background: radial-gradient(circle at 100% 100%, rgba(131, 56, 233, 0.1) 0%, transparent 50%);
}

.radial-glow {
    background: radial-gradient(circle at 50% 50%, rgba(131, 56, 233, 0.12) 0%, transparent 70%);
}

.radial-bg {
    background: radial-gradient(circle at 50% -20%, rgba(131, 56, 233, 0.15) 0%, rgba(10, 10, 10, 1) 70%);
}

/* Background Blobs */
.blob {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(131, 56, 233, 0.15) 0%, rgba(131, 56, 233, 0) 70%);
    filter: blur(60px);
    z-index: -1;
}

@media (min-width: 768px) {
    .blob {
        width: 500px;
        height: 500px;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #8338E9;
    border-radius: 4px;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Neon Table */
.neon-table {
    background: transparent !important;
    border: 1px solid rgba(131, 56, 233, 0.6);
    border-radius: 32px;
    overflow: hidden;
    box-shadow:
        0 0 20px rgba(131, 56, 233, 0.15),
        0 0 60px rgba(131, 56, 233, 0.05),
        inset 0 0 40px rgba(131, 56, 233, 0.03);
}

/* Neon Pulse — pulsating glow for CTA buttons */
@keyframes neon-pulse-anim {

    0%,
    100% {
        box-shadow: 0 0 8px rgba(0, 229, 255, 0.5), 0 0 20px rgba(0, 229, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(0, 229, 255, 0.9), 0 0 50px rgba(0, 229, 255, 0.5), 0 0 80px rgba(0, 229, 255, 0.2);
    }
}

.neon-pulse {
    animation: neon-pulse-anim 2.5s ease-in-out infinite;
}

/* Neon Pulse Purple variant */
@keyframes neon-pulse-purple-anim {

    0%,
    100% {
        box-shadow: 0 0 8px rgba(131, 56, 233, 0.5), 0 0 20px rgba(131, 56, 233, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(131, 56, 233, 0.9), 0 0 50px rgba(131, 56, 233, 0.5), 0 0 80px rgba(131, 56, 233, 0.2);
    }
}

.neon-pulse-purple {
    animation: neon-pulse-purple-anim 2.5s ease-in-out infinite;
}

/* Hero Button — Color Wipe (right → left) on hover + scale-out */
.btn-hero-wipe {
    background: linear-gradient(to right, #8338E9 50%, #00e5ff 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    color: #000 !important;
    transition:
        background-position 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.3s ease,
        color 0.3s ease;
    animation: none !important;
    /* override animate-gradient */
}

.btn-hero-wipe:hover {
    background-position: 0% 0;
    transform: scale(0.94);
    color: #fff !important;
    box-shadow: 0 0 30px rgba(131, 56, 233, 0.6), 0 0 60px rgba(131, 56, 233, 0.3);
}

/* ——————————————————————————————————————
   Mouse-Tracking Gradient Glow (Vercel / Linear style)
   The radial-gradient follows --mouse-x / --mouse-y (set by JS).
   mask-composite: exclude shows the gradient ONLY at the border.
   —————————————————————————————————————— */
.mouse-glow-card {
    position: relative;
}


.mouse-glow-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    /* thickness of the glowing border */
    background: radial-gradient(420px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
            rgba(131, 56, 233, 0.80) 0%,
            rgba(0, 229, 255, 0.40) 40%,
            transparent 65%);
    /* Only show the padding region = border ring */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;
}

.mouse-glow-card:hover::before {
    opacity: 1;
}