.floating-btn .qr-code {
position: absolute;
padding: 20px;
border-radius: 15px;
background: white;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
min-width: 280px;
bottom: 140%;
left: 50%;
transform: translateX(-50%) translateY(20px);
z-index: 99999;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
display: none;
text-align: center;
}
.floating-btn .qr-code::after {
content: '';
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
border: 8px solid transparent;
border-top-color: white;
}
.floating-btn .qr-code img {
width: 240px;
height: 240px;
object-fit: contain;
}
.floating-btn .qr-code p {
font-size: 14px;
color: #333;
line-height: 1.4;
margin: 0;
padding: 0;
max-width: 240px;
}
.floating-btn:hover .qr-code {
opacity: 1;
visibility: visible;
transform: translateX(-50%) translateY(0);
display: block;
}
.floating-btn .content-1,
.floating-btn .content-2 {
animation-duration: 10s;
animation-iteration-count: infinite;
animation-timing-function: ease-in-out;
}
.floating-btn .content-1 {
animation-name: alternateContent1;
}
.floating-btn .content-2 {
animation-name: alternateContent2;
}
@keyframes alternateContent1 {
0% {
opacity: 1;
transform: scale(0.95);
z-index: 999;
}
50% {
opacity: 1;
transform: scale(0.95);
z-index: 999;
}
53% {
opacity: 0;
transform: scale(1);
z-index: 0;
}
97% {
opacity: 0;
transform: scale(1);
z-index: 0;
}
100% {
opacity: 1;
transform: scale(0.95);
z-index: 999;
}
}
@keyframes alternateContent2 {
0% {
opacity: 0;
transform: scale(0.95);
z-index: 0;
}
50% {
opacity: 0;
transform: scale(0.95);
z-index: 0;
}
53% {
opacity: 1;
transform: scale(1);
z-index: 999;
}
97% {
opacity: 1;
transform: scale(1);
z-index: 999;
}
100% {
opacity: 0;
transform: scale(0.95);
z-index: 0;
}
}
.floating-btn .content-2 {
display: flex;
flex-direction: row;
gap: 12px;
position: absolute;
z-index: 9999;
}
.content-2 img {
cursor: pointer;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
z-index: 999;
border-radius: 8px;
}
.floating-btn .content-2 a:hover img {
transform: scale(1.06);
}
.floating-btn .content-2 img {
height: 28px;
width: 84px;
object-fit: cover;
}
.floating-btn .content-1 img {
max-height: 28px;
width: auto;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
z-index: 999;
}
.floating-btn .content-1 {
display: flex;
gap: 12px;
flex-direction: row;
align-items: center;
z-index: 999;
position: absolute;
bottom: 10px;
}
.floating-btn .content-1 .text-container {
z-index: 999;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 2px;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.floating-btn {
position: fixed;
left: 20px;
background: white;
border: 1px solid #d1d1d1;
display: flex;
flex-direction: row;
padding: 12px 20px;
align-items: center;
gap: 12px;
border-radius: 100px;
cursor: pointer;
overflow: visible;
min-width: 220px;
min-height: 52px;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
bottom: 25px;
z-index: 999;
transform: translateY(100px);
}
.floating-btn.show {
transform: translateY(0);
}
.floating-btn p.bold-title {
font-size: 14px;
font-weight: 700;
color: #333;
line-height: 1.1;
margin: 0;
padding: 0;
white-space: nowrap;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.floating-btn p.subtitle {
font-size: 12px;
font-weight: 500;
color: #666;
line-height: 1.1;
margin: 0;
padding: 0;
white-space: nowrap;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 767px) {
.floating-btn {
display: none !important;
}
.floating-btn.show {
transform: translateY(0);
display: none;
}
}