/* 
  Style ngộ nghĩnh, màu sắc rực rỡ cho plugin liên hệ
*/

.kid-contact-wrapper {
    position: fixed;
    bottom: 30px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kid-contact-wrapper.position-left {
    left: 30px;
}

.kid-contact-wrapper.position-right {
    right: 30px;
}

.kid-contact-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Hiệu ứng nảy (bounce) */
}

/* Khi mở menu */
.kid-contact-wrapper.active .kid-contact-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.kid-contact-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: 3px solid #fff;
}

.kid-contact-item:hover {
    transform: scale(1.15) rotate(5deg);
}

/* Màu sắc ngộ nghĩnh cho từng nút */
.kid-contact-item.tiktok {
    background: linear-gradient(45deg, #00f2fe, #4facfe, #ff0844, #ffb199);
}

.kid-contact-item.facebook {
    background: linear-gradient(45deg, #00c6ff, #0072ff);
}

.kid-contact-item.zalo {
    background: linear-gradient(45deg, #0082c8, #667db6);
}

.kid-contact-item.phone {
    background: linear-gradient(45deg, #f2994a, #f2c94c);
    animation: wiggle 2s infinite ease-in-out;
}

/* Nút chính */
.kid-contact-main-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
    border: 4px solid #fff;
    box-shadow: 0 8px 20px rgba(255, 126, 95, 0.6);
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    padding: 0;
    outline: none;
    animation: float 3s ease-in-out infinite;
}

.kid-contact-main-btn:hover {
    transform: scale(1.1) rotate(-10deg);
    background: linear-gradient(135deg, #fd5e35 0%, #ff9851 100%);
    color: #fff;
    box-shadow: 0 10px 25px rgba(253, 94, 53, 0.7);
}

.kid-contact-wrapper.active .kid-contact-main-btn {
    transform: scale(1.1) rotate(360deg);
    background: linear-gradient(135deg, #f857a6 0%, #ff5858 100%);
    color: #fff;
    animation: none;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes wiggle {
    0%, 10% { transform: rotate(0); }
    15% { transform: rotate(-15deg); }
    20% { transform: rotate(10deg); }
    25% { transform: rotate(-10deg); }
    30% { transform: rotate(5deg); }
    35%, 100% { transform: rotate(0); }
}
