/* =================== UTILITY CLASSES =================== */

.btn-primary {
    display: inline-block;
    background: var(--color-button);
    color: var(--color-white);
    padding: 0.9375vw 1.9271vw;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.25vw;
    
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}


/* Thêm hiệu ứng shine khi hover */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    transform: skewX(-25deg);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    animation: shine 0.75s;
}

@keyframes shine {
    100% {
        left: 150%;
    }
}

.gradient-text {
    background: #FEE89D;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.btn-primary2 {
    display: inline-block;
    background: rgba(174, 174, 174, 0.1);
    color: var(--color-white);
    padding: 0.9375vw 1.9271vw;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.25vw;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Gradient border effect */
.btn-primary2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0.2604vw;
    padding: 0.1042vw;
    background: linear-gradient(to right, #FFFFFF60 0%, #FFC30060 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* Shine effect on hover */
.btn-primary2::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    transform: skewX(-25deg);
    transition: left 0.5s ease;
    z-index: 1;
}

.btn-primary2:hover::before {
    animation: shine 0.75s;
}

/*=============== RESPONSIVE ================= */


@media (max-width: 768px) {
    .btn-primary, .btn-primary2 {
        font-size: 3.3vw;
    }
}



