/* =========================================
   MONETIX - BUTTONS
   Extracted from index.html <style> block
   ========================================= */

/* ESTILOS BASE */
.admin-lock-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #d1d5db;
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    transition: 0.3s;
    z-index: 100;
}

/* GLOBAL BUTTON ANIMATIONS */
.btn-main {
    position: relative;
    overflow: hidden !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

.btn-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
    transform: skewX(-25deg);
    transition: 0.5s;
    z-index: 2;
    pointer-events: none;
}

.btn-main:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.btn-main:hover::before {
    left: 125%;
}

.btn-invest {
    margin-top: 20px;
    width: 100%;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    /* Modern Pill Shape */
    background: linear-gradient(90deg, #FFC107 0%, #FFCA28 100%);
    color: #003366;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(255, 193, 7, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

/* Subtle shine sweep */
.btn-invest::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
    transform: skewX(-25deg);
    transition: 0.5s;
}

.btn-invest:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(255, 193, 7, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    background: linear-gradient(90deg, #FFD54F 0%, #FFC107 100%);
}

.btn-invest:hover::before {
    left: 125%;
}

.btn-invest:active {
    transform: scale(0.98);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.btn-welcome {
    background: linear-gradient(135deg, #F4B400 0%, #FFD54F 100%);
    color: #003366;
    width: 240px;
    padding: 18px;
    font-size: 16px;
    font-weight: 800;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(244, 180, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: fadeInUp 1s ease 0.7s forwards;
    opacity: 0;
    transform: translateY(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

/* Style 901 - Sliding Side Arrow */
.btn-welcome::before {
    content: "\f054";
    /* FontAwesome Chevron Right */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    width: 45px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    border-radius: 0 50% 50% 0;
    background-color: rgba(0, 51, 102, 0.2);
    transform: translate(-100%, 0);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

/* Remove old Pulse ::after */
.btn-welcome::after {
    display: none;
}

.btn-welcome:hover,
.btn-welcome.animate-slide {
    padding-left: 45px;
    /* Push text right */
    box-shadow: 0 15px 30px rgba(244, 180, 0, 0.4);
    transform: translateY(-2px);
}

.btn-welcome:hover::before,
.btn-welcome.animate-slide::before {
    transform: translate(0, 0);
    /* Slide arrow in */
}

.btn-welcome:active {
    transform: scale(0.95);
}

/* --- BLOB BUTTON CSS START --- */
.blob-btn {
    z-index: 1;
    position: relative;
    padding: 8px 16px;
    /* MATCHED TO PROMO-BTN */
    text-align: center;
    text-transform: uppercase;
    font-size: 11px;
    /* MATCHED TO PROMO-BTN */
    font-weight: 800;
    /* MATCHED TO PROMO-BTN */
    background-color: transparent;
    outline: none;
    /* Border moved here to prevent clipping "erased" look */
    border: 2px solid transparent;
    box-sizing: border-box;
    transition: color 0.5s;
    cursor: pointer;
    border-radius: 20px;
    /* MATCHED TO PROMO-BTN */
    overflow: hidden;
    display: inline-block;
    /* MATCHED TO PROMO-BTN */
}

/* Removed clipped :before */

.blob-btn:after {
    content: "";
    z-index: -2;
    position: absolute;
    left: 3px;
    top: 3px;
    width: 100%;
    height: 100%;
    transition: all 0.3s 0.2s;
    border-radius: 20px;
    /* MATCHED */
}

.blob-btn:hover {
    color: #fff !important;
    border-radius: 20px;
    /* MATCHED */
}

.blob-btn:hover:after {
    transition: all 0.3s;
    left: 0;
    top: 0;
    border-radius: 20px;
    /* MATCHED */
}

.blob-btn__inner {
    z-index: -1;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    /* Slightly smaller to fit inside 2px border? No, overflow hidden handles it */
    background: #ffffff;
}

.blob-btn__blobs {
    position: relative;
    display: block;
    height: 100%;
    filter: url('#goo');
}

.blob-btn__blob {
    position: absolute;
    top: 2px;
    width: 25%;
    height: 100%;
    border-radius: 100%;
    transform: translate3d(0, 150%, 0) scale(1.7);
    transition: transform 0.45s;
}

@supports(filter: url('#goo')) {
    .blob-btn__blob {
        transform: translate3d(0, 150%, 0) scale(1.4);
    }
}

.blob-btn__blob:nth-child(1) {
    left: 0%;
    transition-delay: 0s;
}

.blob-btn__blob:nth-child(2) {
    left: 30%;
    transition-delay: 0.08s;
}

.blob-btn__blob:nth-child(3) {
    left: 60%;
    transition-delay: 0.16s;
}

.blob-btn__blob:nth-child(4) {
    left: 90%;
    transition-delay: 0.24s;
}

.blob-btn:hover .blob-btn__blob {
    transform: translateZ(0) scale(1.7);
}

@supports(filter: url('#goo')) {
    .blob-btn:hover .blob-btn__blob {
        transform: translateZ(0) scale(1.4);
    }
}

/* VARIANTS */
/* Green Invest */
.blob-btn-green {
    color: #2E7D32;
    border-color: #2E7D32;
    /* Border directly on element */
}

.blob-btn-green .blob-btn__blob {
    background: #2E7D32;
}

/* Yellow Loans */
.blob-btn-yellow {
    color: #F57F17;
    border-color: #FFC107;
    /* Border directly on element */
}

/* Darker yellow for text visibility */
.blob-btn-yellow .blob-btn__blob {
    background: #FFC107;
}

/* --- BLOB BUTTON CSS END --- */