/* ปุ่มลอยด้านล่างตรงกลาง */
.floating-register-bottom {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    transition: bottom 0.3s ease;
}

.floating-register-bottom a {
    display: inline-block;
    background: linear-gradient(135deg, #ea7566 0%, #a83b33 100%);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-register-bottom a:hover {
    background: linear-gradient(135deg, #55a24b 0%, #acea66 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
}

.floating-register-bottom span {
    display: block;
    white-space: nowrap;
}

/* Animation เด้งเบาๆ */
@keyframes pulse {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* ให้ footer มี position relative เพื่อการคำนวณ */
footer {
    position: relative;
}

/* สำหรับมือถือ */
@media (max-width: 768px) {
    .floating-register-bottom {
        bottom: 10px;
    }
    
    .floating-register-bottom a {
        padding: 12px 30px;
        font-size: 16px;
    }
}