:root {
    --quick-contact-primary: var(--primary-color, #0088cc);
    --quick-contact-shadow: rgba(0, 136, 204, 0.2);
    --quick-contact-whatsapp: #25D366;
    --quick-contact-zalo: #0068FF;
    --quick-contact-alert: #ff3e3e;
}

.vs-quick-contact {
    position: fixed;
    bottom: 60px;
    right: 10px;
    z-index: 1000;
    font-family: var(--body-font);
}

/* Cyberpunk Pulse effect */
.vs-quick-contact__pulse {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--quick-contact-alert);
    z-index: 1;
}

.vs-quick-contact__pulse::before,
.vs-quick-contact__pulse::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--quick-contact-alert);
    animation: cyber-glitch 2s infinite;
}

.vs-quick-contact__pulse::before {
    filter: blur(2px);
    animation: cyber-pulse-ring 2s infinite;
}

.vs-quick-contact__pulse::after {
    filter: blur(1px);
    animation: cyber-pulse-dot 1.5s infinite;
}

@keyframes cyber-pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
        box-shadow: 
            0 0 0 0 rgba(255, 62, 62, 0.7),
            0 0 0 0 rgba(255, 62, 62, 0.4);
    }
    50% {
        transform: scale(1.5);
        opacity: 0.4;
        box-shadow: 
            0 0 20px 5px rgba(255, 62, 62, 0.7),
            0 0 40px 10px rgba(255, 62, 62, 0.4);
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
        box-shadow: 
            0 0 0 0 rgba(255, 62, 62, 0),
            0 0 0 0 rgba(255, 62, 62, 0);
    }
}

@keyframes cyber-pulse-dot {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(0.8);
        opacity: 1;
    }
}

@keyframes cyber-glitch {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    20% {
        transform: translate(-2px, 2px) scale(1.1);
        opacity: 0.9;
        box-shadow: 0 0 15px rgba(255, 62, 62, 0.8);
    }
    40% {
        transform: translate(2px, -2px) scale(0.9);
        opacity: 0.7;
        box-shadow: 0 0 20px rgba(255, 62, 62, 0.6);
    }
    60% {
        transform: translate(-1px, -1px) scale(1.2);
        opacity: 0.9;
        box-shadow: 0 0 25px rgba(255, 62, 62, 0.7);
    }
    80% {
        transform: translate(1px, 1px) scale(0.8);
        opacity: 0.7;
        box-shadow: 0 0 15px rgba(255, 62, 62, 0.5);
    }
}

/* Cyberpunk Toggle Button */
.vs-quick-contact__toggle {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--quick-contact-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    color: var(--white-color);
}

.vs-quick-contact__toggle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 45%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.1) 55%,
        transparent 100%
    );
    transform: rotate(45deg);
    animation: cyber-scan 3s linear infinite;
}

.vs-quick-contact__toggle::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        transparent 30%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

@keyframes cyber-scan {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.vs-quick-contact__toggle:hover {
    transform: scale(1.1);
    box-shadow: 
        0 0 20px var(--quick-contact-primary),
        0 0 40px rgba(var(--quick-contact-primary), 0.4),
        inset 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Glitch effect on hover */
.vs-quick-contact__toggle:hover i {
    animation: text-glitch 0.3s infinite;
}

@keyframes text-glitch {
    0% {
        transform: translate(0);
        opacity: 1;
    }
    20% {
        transform: translate(-2px, 2px);
        opacity: 0.9;
        color: #0ff;
    }
    40% {
        transform: translate(2px, -2px);
        opacity: 0.8;
        color: #f0f;
    }
    60% {
        transform: translate(-1px, -1px);
        opacity: 0.9;
        color: #ff0;
    }
    80% {
        transform: translate(1px, 1px);
        opacity: 0.8;
        color: #fff;
    }
    100% {
        transform: translate(0);
        opacity: 1;
    }
}

/* Active state with glitch */
.vs-quick-contact.active .vs-quick-contact__toggle {
    animation: button-glitch 0.3s ease;
}

@keyframes button-glitch {
    0% {
        transform: translate(0) scale(1);
        filter: hue-rotate(0deg);
    }
    25% {
        transform: translate(2px, -2px) scale(1.05);
        filter: hue-rotate(90deg);
    }
    50% {
        transform: translate(-2px, 2px) scale(0.95);
        filter: hue-rotate(180deg);
    }
    75% {
        transform: translate(1px, -1px) scale(1.05);
        filter: hue-rotate(270deg);
    }
    100% {
        transform: translate(0) scale(1);
        filter: hue-rotate(360deg);
    }
}

/* Contact options panel */
.vs-quick-contact__options {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    /* transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    -moz-transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    -ms-transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    -o-transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); */
}

.vs-quick-contact.active .vs-quick-contact__options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Section styling */
.vs-quick-contact__section {
    margin-bottom: 20px;
}

.vs-quick-contact__section:last-child {
    margin-bottom: 0;
}

.vs-quick-contact__title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #f0f0f0;
}

/* Contact item styling */
.vs-quick-contact__item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 12px;
    margin-bottom: 8px;
    text-decoration: none;
    /* transition: all 0.3s ease; */
    background: #f8f9fa;
}

.vs-quick-contact__item:last-child {
    margin-bottom: 0;
}

.vs-quick-contact__item i,
.vs-quick-contact__item img {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-quick-contact__item--whatsapp {
    color: var(--quick-contact-whatsapp);
}

.vs-quick-contact__item--zalo {
    color: var(--quick-contact-zalo);
}

.vs-quick-contact__zalo-icon {
    object-fit: contain;
}

.vs-quick-contact__name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-right: 8px;
}

.vs-quick-contact__number {
    font-size: 13px;
    color: #666;
    margin-left: auto;
}

/* Hover effects */
.vs-quick-contact__item:hover {
    transform: translateX(-5px);
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.vs-quick-contact__item--whatsapp:hover {
    color: var(--quick-contact-whatsapp);
    background: rgba(37, 211, 102, 0.1);
}

.vs-quick-contact__item--zalo:hover {
    color: var(--quick-contact-zalo);
    background: rgba(0, 104, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .vs-quick-contact {
        bottom: 60px;
        right: 10px;
    }
    .vs-quick-contact__toggle {
        width: 50px;
        height: 50px;
    }
    .vs-quick-contact__pulse {
        width: 20px;
        height: 20px;
        right: -4px;
        top: -4px;
    }
    .vs-quick-contact__options {
        width: 280px;
    }
} 