/* ============================================================
   Animated Light Button — Styles
   Unique prefix: alb-0ff96eb5
   ============================================================ */

/* --- CSS Custom Properties (defaults) --- */
.alb-0ff96eb5-btn {
    --alb-glow-color: #ffffff;
    --alb-glow-opacity: 0.5;
    --alb-glow-width: 80px;
    --alb-glow-blur: 20px;
    --alb-glow-skew: -20deg;
    --alb-neon-color: #a29bfe;
    --alb-neon-intensity: 20px;
}

/* --- Wrapper --- */
.alb-0ff96eb5-wrap {
    display: block;
    line-height: 1;
}

/* --- Base Button --- */
.alb-0ff96eb5-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -webkit-appearance: none;
    outline: none;
    vertical-align: middle;
    white-space: nowrap;
    /* Glassmorphism subtle touch */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Focus visible for keyboard navigation */
.alb-0ff96eb5-btn:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

/* --- Icon --- */
.alb-0ff96eb5-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

/* --- Text --- */
.alb-0ff96eb5-text {
    position: relative;
    z-index: 2;
}

/* ============================================================
   LIGHT SWEEP ANIMATION
   ============================================================ */

/* Sweep pseudo-element */
.alb-0ff96eb5-sweep::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: var(--alb-glow-width);
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 20%,
        var(--alb-glow-color) 50%,
        rgba(255, 255, 255, 0) 80%,
        transparent 100%
    );
    opacity: var(--alb-glow-opacity);
    filter: blur(var(--alb-glow-blur));
    transform: skewX(var(--alb-glow-skew));
    animation: alb-0ff96eb5-sweep-ltr 1.5s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
    will-change: left;
}

/* RTL direction */
.alb-0ff96eb5-rtl.alb-0ff96eb5-sweep::before {
    animation-name: alb-0ff96eb5-sweep-rtl;
    left: auto;
    right: -100%;
    will-change: right;
}

/* Pause on hover */
.alb-0ff96eb5-pause-hover:hover::before {
    animation-play-state: paused;
}

/* Keyframes — LTR */
@keyframes alb-0ff96eb5-sweep-ltr {
    0% {
        left: -100%;
    }
    100% {
        left: calc(100% + var(--alb-glow-width));
    }
}

/* Keyframes — RTL */
@keyframes alb-0ff96eb5-sweep-rtl {
    0% {
        right: -100%;
    }
    100% {
        right: calc(100% + var(--alb-glow-width));
    }
}

/* ============================================================
   PULSE GLOW
   ============================================================ */
.alb-0ff96eb5-pulse {
    animation: alb-0ff96eb5-pulse-glow 2s ease-in-out infinite;
}

@keyframes alb-0ff96eb5-pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(108, 92, 231, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(108, 92, 231, 0.6), 0 0 40px rgba(108, 92, 231, 0.3);
    }
}

/* ============================================================
   NEON EFFECT
   ============================================================ */
.alb-0ff96eb5-neon {
    box-shadow:
        0 0 5px var(--alb-neon-color),
        0 0 var(--alb-neon-intensity) var(--alb-neon-color),
        0 0 calc(var(--alb-neon-intensity) * 2) var(--alb-neon-color);
    border-color: var(--alb-neon-color) !important;
}

.alb-0ff96eb5-neon:hover {
    box-shadow:
        0 0 8px var(--alb-neon-color),
        0 0 calc(var(--alb-neon-intensity) * 1.5) var(--alb-neon-color),
        0 0 calc(var(--alb-neon-intensity) * 3) var(--alb-neon-color),
        0 0 calc(var(--alb-neon-intensity) * 4) var(--alb-neon-color);
}

/* ============================================================
   FLOATING HOVER EFFECT
   ============================================================ */
.alb-0ff96eb5-float:hover {
    animation: alb-0ff96eb5-float 1.5s ease-in-out infinite;
}

@keyframes alb-0ff96eb5-float {
    0%, 100% {
        transform: translateY(0) scale(var(--alb-hover-scale, 1.05));
    }
    50% {
        transform: translateY(-6px) scale(var(--alb-hover-scale, 1.05));
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
    .alb-0ff96eb5-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   REDUCED MOTION — Accessibility
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .alb-0ff96eb5-sweep::before,
    .alb-0ff96eb5-pulse,
    .alb-0ff96eb5-float:hover {
        animation: none !important;
    }
}
