/* Core Button Block: Bubble Pop Style
--------------------------------------------- */
.wp-block-button.is-style-bubble-pop .wp-block-button__link {
    outline: none;
    border: 2px solid var(--wp--preset--color--foreground);
    background: var(--wp--preset--color--background);
    color: var(--wp--preset--color--foreground);
    position: relative;
    padding: 10px 20px;
    overflow: hidden;
    transition: color 0.3s ease, background 0.3s ease;
}

.wp-block-button.is-style-bubble-pop .wp-block-button__link::before,
.wp-block-button.is-style-bubble-pop .wp-block-button__link::after {
    content: "";
    position: absolute;
    background: var(--wp--preset--color--foreground);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s ease, opacity 0.4s ease;
    pointer-events: none;
    opacity: 0;
}

.wp-block-button.is-style-bubble-pop .wp-block-button__link::before {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
}

.wp-block-button.is-style-bubble-pop .wp-block-button__link::after {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition-delay: 0.1s;
}

.wp-block-button.is-style-bubble-pop .wp-block-button__link:hover {
    background: var(--wp--preset--color--foreground);
    color: var(--wp--preset--color--background);
}

.wp-block-button.is-style-bubble-pop .wp-block-button__link:hover::before,
.wp-block-button.is-style-bubble-pop .wp-block-button__link:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
}