/* Botón Flotante */
.btn-flotante {
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    border-radius: 5px;
    letter-spacing: 2px;
    background-color: #6fe91e;
    padding: 18px 30px;
    position: fixed;
    bottom: 40px;
    right: 40px;
    transition: all 300ms ease 0ms;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    z-index: 99;
    text-decoration: none;
}

.btn-flotante:hover {
    background-color: #f70743;
    transform: translateY(-7px);
}

/* Caja Decorativa */
.box {
    margin: 40px auto;
    width: 500px;
    height: 100px;
    position: relative;
}

.box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-conic-gradient(from var(--a), #0f0, #ff0, #0ff, #f0f, #0ff);
    border-radius: 20px;
    animation: rotating 4s linear infinite;
}

.box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-conic-gradient(from var(--a), #0f0, #ff0, #0ff, #f0f, #0ff);
    animation: rotating 4s linear infinite;
    filter: blur(40px);
    opacity: 0.75;
}

.box span {
    position: absolute;
    inset: 4px;
    background: #222;
    border-radius: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
}

@media (max-width: 700px) {
    .box {
        margin: 1px auto;
        width: 300px;
        height: 60px;
        position: relative;
    }
    .box span {
        font-size: 1rem;
    }
}

.box-link-text {
    color: white;
    text-decoration: none;
}

.box-link-text:hover {
    text-decoration: none;
}

/* Caja Interna Decorativa */
.inner-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 50px;
}

.inner-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-conic-gradient(from var(--b), #ff0, #0f0, #f0f, #0ff, #f0f);
    border-radius: 15px;
    animation: rotating 6s linear infinite reverse;
}

.inner-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-conic-gradient(from var(--b), #ff0, #0f0, #f0f, #0ff, #f0f);
    animation: rotating 6s linear infinite reverse;
    filter: blur(30px);
    opacity: 0.75;
}

.inner-box span {
    position: absolute;
    inset: 4px;
    background: #222;
    border-radius: 12px;
    z-index: 1;
}

/* Propiedades y Animaciones para Cajas */
@property --a {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

@property --b {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

@keyframes rotating {
    0% {
        --a: 0deg;
        --b: 0deg;
    }
    100% {
        --a: 360deg;
        --b: 360deg;
    }
}