.skill-progress-percent {
    /* Dimensions & structure */
    width: 100%; /* Adjust this or control it via inline width for progress percentage */
    height: 8px; /* Adjust thickness as needed */
    border-radius: 4px;

    /* Repeating rainbow gradient scaled up for smooth movement */
    background-color: linear-gradient(
            90deg,
            #ff0055,
            #ff9900,
            #33ff00,
            #00ffff,
            #0033ff,
            #9900ff,
            #ff0055
    );
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: var(--bs-progress-height) var(--bs-progress-height);
    /*background-size: 200% 100%;*/

    /* Seamless, multi-layered neon glow */
    box-shadow:
            0 0 4px rgba(255, 255, 255, 0.6),
            0 0 10px currentcolor,
            0 0 20px currentcolor;

    /* Hooking up the continuous animation */
    animation: neonRainbowFlow 3s linear infinite;
}

/* @keyframes to shift the background position infinitely */
@keyframes neonRainbowFlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}






/* 1. Register conic rotation property */
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotateRainbow {
    to {
        --angle: 360deg;
    }
}

/* 2. Frosted Glass Button Base */
.cv-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 999px;
    font-family: var(--cv-font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: transform .35s cubic-bezier(.2,.7,.3,1), background .25s ease, color .25s ease;
    cursor: pointer;
    border: none;
    z-index: 1;
}

.cv-hero-light {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
}

.cv-btn:hover {
    color: #ffffff;
    transform: translateY(-2px) scale(1.02);
    background: rgba(255, 255, 255, 0.14);
}
/*.cv-hero-light:hover {
    background: #fff;
    color: var(--cv-ink);
    border-color: #fff;
}*/

/* 3. Rotating Rainbow Border Stroke */
.cv-btn::before {
    content: '';
    position: absolute;
    inset: 0px;
    border-radius: 999px;
    padding: 1.5px; /* Border thickness */
    background: conic-gradient(
            from var(--angle),
            #ff4b4b, #ff8533, #ffcc00,
            #2bd980, #20b2aa, #00bfff,
            #9955ff, #ff4b4b
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateRainbow 8s linear infinite;
    z-index: -1;
    pointer-events: none;
}

/* 4. Ambient Outer Rainbow Glow */
.cv-btn::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 999px;
    background: conic-gradient(
            from var(--angle),
            #ff4b4b, #ff8533, #ffcc00,
            #2bd980, #20b2aa, #00bfff,
            #9955ff, #ff4b4b
    );
    animation: rotateRainbow 8s linear infinite;
    z-index: -2;
    filter: blur(14px);
    opacity: 0.5;
    transition: opacity 0.3s ease, filter 0.3s ease;
    pointer-events: none;
}

.cv-btn:hover::after {
    opacity: 0.85;
    filter: blur(18px);
}

/* botton border rotating glow - see mvarts_neon_studio_css_button_border_glow.html
1. Register a custom angle property for smooth CSS rotation */
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* 2. Animate the angle from 0deg to 360deg */
@keyframes rotateRainbow {
    to {
        --angle: 360deg;
    }
}

/* 3. Button Container */
.rainbow-button {
    position: relative;
    background: #0f172a;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    z-index: 1;
}

/* 4. Rotating Rainbow Border Stroke */
.rainbow-button::before {
    content: '';
    position: absolute;
    inset: -2px; /* Border width */
    border-radius: 14px;
    padding: 2px;
    background: conic-gradient(
            from var(--angle),
            #ff4b4b, #ff8533, #ffcc00,
            #2bd980, #20b2aa, #00bfff,
            #9955ff, #ff4b4b
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateRainbow 8s linear infinite;
    z-index: -1;
}

/* 5. Soft Outer Rainbow Glow */
.rainbow-button::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    background: conic-gradient(
            from var(--angle),
            #ff4b4b, #ff8533, #ffcc00,
            #2bd980, #20b2aa, #00bfff,
            #9955ff, #ff4b4b
    );
    animation: rotateRainbow 8s linear infinite;
    z-index: -2;
    filter: blur(14px);
    opacity: 0.6;
}