:root {
  --lc-primary: #0a0a0a;
  --lc-accent: #c9a96e;
  --lc-bg: #ffffff;
  --lc-text: #1a1a1a;
  
  --lc-btn-bottom: 30px;
  --lc-btn-left: 30px; 
  --lc-btn-right: auto;
  
  --lc-radius: 16px;
  --lc-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
  --lc-shadow-hover: 0 15px 40px rgba(201, 169, 110, 0.25);
  --lc-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#luxury-contact-wrapper {
  position: fixed;
  bottom: var(--lc-btn-bottom);
  right: var(--lc-btn-right);
  left: var(--lc-btn-left);
  z-index: 9998;
}

.luxury-contact-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #eed294 0%, var(--lc-accent) 50%, #ae8c3c 100%);
  border: 1px solid #fcf0d3; /* Viền sáng bóng dập nổi */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lc-primary); /* Icon màu tối tương phản trên vàng */
  box-shadow: 0 0 15px rgba(201, 169, 110, 0.4);
  cursor: pointer;
  transition: var(--lc-transition);
  animation: lc-shake 2s infinite ease-in-out; /* Rung dập liên tục 2s/vòng */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.luxury-contact-btn:hover {
  transform: scale(1.08) translateY(-5px);
  box-shadow: 0 15px 40px rgba(201, 169, 110, 0.5);
  background: linear-gradient(135deg, #ffedb8 0%, #d8b87b 50%, #c19c48 100%);
  animation: none;
}

.luxury-contact-btn svg {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.luxury-contact-btn:hover svg {
    transform: scale(1.1);
}

@keyframes lc-shake {
  0%   { transform: rotate(0deg) scale(1); box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.7); }
  10%  { transform: rotate(-12deg) scale(1.15); }
  20%  { transform: rotate(12deg) scale(1.15); }
  30%  { transform: rotate(-12deg) scale(1.15); }
  40%  { transform: rotate(12deg) scale(1.15); }
  50%  { transform: rotate(0deg) scale(1); box-shadow: 0 0 0 25px rgba(201, 169, 110, 0); }
  100% { transform: rotate(0deg) scale(1); box-shadow: 0 0 0 0 rgba(201, 169, 110, 0); }
}

.luxury-contact-modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.luxury-contact-modal.lc-active {
  opacity: 1;
  visibility: visible;
}

.lc-modal-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lc-modal-content {
  position: relative;
  background: var(--lc-bg);
  width: 90%;
  max-width: 400px;
  border-radius: var(--lc-radius);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
  padding: 40px 30px;
  transform: scale(0.95) translateY(20px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
  border: 1px solid rgba(201, 169, 110, 0.15);
}

.luxury-contact-modal.lc-active .lc-modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.lc-close-btn {
  position: absolute;
  top: 15px; right: 15px;
  background: none; border: none;
  color: #666666;
  cursor: pointer;
  padding: 5px;
  transition: var(--lc-transition);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lc-close-btn:hover {
  color: var(--lc-primary);
  background: rgba(0,0,0,0.05);
  transform: rotate(90deg);
}

.lc-modal-header { text-align: center; margin-bottom: 30px; }
.lc-modal-header h3 {
  font-family: "Playfair Display", serif;
  font-size: 24px; color: var(--lc-primary);
  margin: 0 0 5px 0; font-weight: 600;
}
.lc-modal-header p {
  color: var(--lc-accent); font-size: 14px; margin: 0;
}

.lc-modal-body { display: flex; flex-direction: column; gap: 15px; }

.lc-action-btn {
  display: flex; align-items: center;
  padding: 14px 20px;
  background: #fdfdfc;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  color: var(--lc-text);
  text-decoration: none;
  font-size: 15px; font-weight: 500;
  transition: var(--lc-transition);
  cursor: pointer; width: 100%; box-sizing: border-box;
}

.lc-action-btn:hover {
  background: #ffffff;
  border-color: var(--lc-accent);
  box-shadow: 0 5px 15px rgba(201, 169, 110, 0.1);
  transform: translateY(-2px);
  color: var(--lc-primary);
}

.lc-action-icon {
  margin-right: 15px; display: flex;
  align-items: center; justify-content: center;
  color: var(--lc-accent);
}
.lc-action-icon svg, .icon-phone { width: 22px; height: 22px; fill: currentColor; }

.lc-primary-btn {
  background: var(--lc-primary); color: #ffffff; border: none;
  justify-content: center; margin-top: 10px;
}
.lc-primary-btn .lc-action-icon { color: var(--lc-accent); }

.lc-primary-btn:hover {
  background: var(--lc-accent); color: #ffffff;
  box-shadow: 0 8px 25px rgba(201, 169, 110, 0.3);
}
.lc-primary-btn:hover .lc-action-icon { color: #ffffff; }

/* Responsive */
@media screen and (max-width: 768px) {
  .luxury-contact-btn {
    width: 50px; height: 50px;
  }
  .luxury-contact-btn svg {
    width: 24px; height: 24px;
  }
  .lc-modal-content {
      padding: 30px 20px;
  }
}
