.floating-line-button {
     position: fixed;
     bottom: 120px;
     width: 80px;
     height: 80px;
     border-radius: 50%;
     display: flex;
     justify-content: center;
     align-items: center;
     z-index: 9999;
     transition: all 0.3s ease;
}
.floating-line-button:hover {
     transform: scale(1.05);
     box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.floating-line-button img {
     width: 100%;
     height: 100%;
}
.floating-line-badge {
     position: absolute;
     top: 4px;
     right: 2px;
     background-color: #FF0000;
     color: white;
     border-radius: 50%;
     width: 22px;
     height: 22px;
     font-size: 12px;
     font-weight: bold;
     display: flex;
     justify-content: center;
     align-items: center;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.floating-line-badge.hidden {
     display: none;
}
.line-rotating-label {
     background-color: #FF3B30;
     color: white;
     padding: 4px 10px;
     border-radius: 16px;
     margin-top: 14px;
     font-size: 12px;
     font-weight: bold;
     box-shadow: 0 2px 8px rgba(255, 59, 48, 0.5);
     display: flex;
     align-items: center;
     min-width: 80px;
     justify-content: center;
     position: absolute;
     top: 60px;
     z-index: 999;
     animation: line-label-pulse 1.5s infinite;
}

@keyframes line-label-pulse {
     0%, 100% {
         transform: scale(1);
    }
     50% {
         transform: scale(1.05);
    }
}
@keyframes fade-in {
     from {
         opacity: 0;
    }
     to {
         opacity: 1;
    }
}
@keyframes slide-from-bottom {
     from {
         transform: translateX(-60%) translateY(20px);
         opacity: 0;
    }
     to {
         transform: translateX(-60%) translateY(0);
         opacity: 1;
    }
}
@keyframes slide-from-right {
     from {
         transform: translateX(calc(-60% + 50px)) translateY(0px) ;
         opacity: 0;
    }
     to {
         transform: translateX(-60%) translateY(0px);
         opacity: 1;
    }
}
@keyframes zoom-in-fade {
     from {
         transform: translateX(-60%) scale(0.8);
         opacity: 0;
    }
     to {
         transform: translateX(-60%) scale(1);
         opacity: 1;
    }
}
.remaining-clicks-badge {
     color: #fff;
     padding: 2px 6px;
     border-radius: 4px;
     font-size: 10px;
}
@media (max-width: 768px) {
     .floating-line-button img {
         width: 100%;
         height: 100%;
    }
     .floating-line-badge {
         width: 18px;
         height: 18px;
         font-size: 10px;
    }
     .line-rotating-label{
         bottom: -30px;
    }
}

.floating-marquee {
     position: fixed;
     bottom: 0;
     left: 0;
     width: 100%;
     background: #E8F5E9;
     border-radius: 15px 15px 0 0;
     border-top: 1px solid #ddd;
     z-index: 10000;
     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
     display: none;
}
.marquee-image-container {
     width: 45px;
     min-width: 45px;
     border-radius: 15px 0 0 0;
     background-color: #1ba261;
     display: flex;
     align-items: center;
     justify-content: center;
}

.marquee-image {
     width: 40px;
     min-width: 40px;
}

.marquee-content {
     width: 100%;
     padding-top: 10px;
     padding-bottom: 10px;
     background: #E8F5E9;
     border-radius: 0 15px 0 0;
}
.marquee-item-content {
     display: flex;
     align-items: center;
}
.marquee-item-icon {
     width: 20px;
     height: 20px;
     border-radius: 50%;
     background: #e8e8e8;
     display: flex;
     align-items: center;
     justify-content: center;
     margin-left: 12px;
     margin-right: 12px;
}
.marquee-item-icon i {
     font-size: 24px;
     color: #333;
}
.marquee-item-text {
     flex-grow: 1;
     position: relative;
     display: flex;
     align-items: center;
}
.marquee-text-inner {
    position: absolute;
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
}
.marquee-item-title {
    font-weight: bold;
    font-size: clamp(8px, 4vw, 16px);
    margin: 0;
    white-space: nowrap;
}
.marquee-item-description {
    font-size: clamp(6px, 3vw, 14px);
    color: #555;
    margin: 4px 0 0;
    white-space: nowrap;
}
.marquee-item-button{
     color: #ffffff !important;
     background-color: #1ba261;
     padding: 6px 10px;
     margin: 10px;
     border-radius: 20px;
     text-decoration: none;
     font-size: 14px;
     font-weight: bold;
     white-space: nowrap;
}
.marquee-item-button:hover {
     background-color: #05b24c;
     color: #fff;
}
.marquee-animate {
    animation: marquee 15s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}
.btn-3d {
     position: relative;
     display: inline-block;
     background: linear-gradient(to bottom, #00c853, #009624);
     color: white;
     text-align: center;
     text-decoration: none;
     border-radius: 6px;
     border: none;
     box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 -1px 1px rgba(0,0,0,0.2) inset, 0 7px 0 #006400, 0 8px 3px rgba(0,0,0,0.3);
     text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
     transition: all 0.1s;
     cursor: pointer;
     outline: none;
     transform-style: preserve-3d;
}
 .btn-3d:hover {
     background: linear-gradient(to bottom, #00e676, #00c853);
     box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 -1px 1px rgba(0,0,0,0.2) inset, 0 7px 0 #007000, 0 8px 3px rgba(0,0,0,0.3);
     transform: translateY(-2px);
}
 .btn-3d:active {
     box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 -1px 1px rgba(0,0,0,0.2) inset, 0 2px 0 #006400, 0 3px 3px rgba(0,0,0,0.2);
     transform: translateY(5px);
     background: linear-gradient(to bottom, #009624, #00b04c);
}
 .btn-3d.round {
     border-radius: 50px;
 }
 .btn-3d.glossy {
     position: relative;
     overflow: hidden;
 }
 .btn-3d.glossy::after {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 50%;
     background: linear-gradient(to bottom, rgba(255,255,255,0.4), rgba(255,255,255,0));
     border-radius: 5px 5px 0 0;
     pointer-events: none;
}
 .btn-3d.round.glossy::after {
     border-radius: 50px 50px 0 0;
}
 .btn-animated {
     animation: pulse 2s infinite;
}
 @keyframes pulse {
     0% {
         transform: scale(1) translateY(0);
    }
     50% {
         transform: scale(1.05) translateY(-3px);
    }
     100% {
         transform: scale(1) translateY(0);
    }
}
 .btn-animated:hover {
     animation-play-state: paused;
}
 .btn-animated:active {
     animation-play-state: paused;
     transform: translateY(5px);
     box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 -1px 1px rgba(0,0,0,0.2) inset, 0 2px 0 #006400, 0 3px 3px rgba(0,0,0,0.2);
}
 @keyframes slide-left {
     from {
         transform: translateX(100%);
    }
     to {
         transform: translateX(-100%);
    }
}
 @keyframes slide-right {
     from {
         transform: translateX(-100%);
    }
     to {
         transform: translateX(100%);
    }
}
 @keyframes fade {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

/* 媒體查詢，只在小螢幕顯示 */
 @media (max-width: 736px) {
     .floating-line-button {
         width: 60px;
         height: 60px;
     }
     .line-rotating-label {
         top: 40px
     }
     .floating-marquee {
         display: flex;
    }
}
 