/* ============================================================= */
/* PREMIUM CUSTOM BUTTON (Let's Connect) */
/* ============================================================= */

.premium-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: clamp(8px, 0.6vw, 12px);
    /* Responsive gap */
    padding: clamp(10px, 0.8vw, 14px) clamp(20px, 1.5vw, 28px);
    /* Responsive padding */
    /* High Contrast Gradient */
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 40%, #6d28d9 70%, #4c1d95 100%);
    border: 2px solid rgba(255, 255, 255, 0.6);
    /* Brighter Border */
    border-radius: 50px;
    cursor: pointer;
    font-size: clamp(14px, 1vw, 18px);
    /* Responsive font */
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    /* Stronger Shadow */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 32px rgba(139, 92, 246, 0.5),
        0 4px 16px rgba(124, 58, 237, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.5),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2),
        0 0 40px rgba(139, 92, 246, 0.3);
    overflow: hidden;
    --mouse-x: 50%;
    --mouse-y: 50%;
}

/* Glossy shine overlay - follows mouse cursor */
.premium-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 60px 150px at var(--mouse-x) var(--mouse-y),
            rgba(255, 255, 255, 0.5) 0%,
            rgba(255, 255, 255, 0.475) 10%,
            rgba(255, 255, 255, 0.375) 30%,
            rgba(255, 255, 255, 0.15) 60%,
            transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.premium-btn:hover::before {
    opacity: 0.5;
}

/* Animated glow effect */
.premium-btn::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50px;
    background: linear-gradient(45deg, #9d6dff, #8b5cf6, #7c3aed, #6d28d9);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    filter: blur(8px);
}

.premium-btn:hover::after {
    opacity: 0.8;
    animation: premium-glow-pulse 1.5s ease-in-out infinite;
}

@keyframes premium-glow-pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

.premium-btn:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow:
        0 12px 48px rgba(139, 92, 246, 0.6),
        0 6px 24px rgba(124, 58, 237, 0.5),
        0 3px 12px rgba(0, 0, 0, 0.4),
        inset 0 3px 6px rgba(255, 255, 255, 0.6),
        inset 0 -3px 6px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(157, 109, 255, 0.5);
}

.premium-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow:
        0 4px 16px rgba(139, 92, 246, 0.4),
        0 2px 8px rgba(124, 58, 237, 0.3),
        0 1px 4px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.3),
        inset 0 -1px 2px rgba(255, 255, 255, 0.4);
}

.btn-text {
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
    word-spacing: 4px;
    display: inline-flex;
}

.btn-text span {
    display: inline-block;
    white-space: pre;
    /* CRITICAL: Ensures space character renders width */
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: btn-wave 2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--i) * 0.08s);
}

@keyframes btn-wave {
    0% {
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }

    50% {
        transform: translateY(-5px) scale(1.08);
        filter: blur(0.4px);
    }

    100% {
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

.btn-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: transparent;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-btn:hover .btn-icon {
    transform: scale(1.15) rotate(0deg);
}

.btn-icon svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-btn:hover .btn-icon svg {
    transform: translateX(2px) scale(1.1);
}

/* Responsive */
@media (max-width: 480px) {
    .premium-btn {
        padding: 0 !important;
        font-size: 15px !important;
        gap: 8px;
        width: 193px !important;
        /* Fixed compact width */
        height: 52px !important;
        justify-content: center;
        box-sizing: border-box !important;
        display: inline-flex !important;
    }

    .btn-icon {
        width: 28px;
        height: 28px;
    }

    .btn-icon svg {
        width: 24px;
        height: 24px;
    }
}