/* ============================================
   LienMinhShop â€” style.css
   ============================================ */

/* ---------- Base ---------- */
body {
  margin: 0;
  background: #0f172a;
  color: #fff;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

/* ---------- Particles ná»n ---------- */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.3;
  animation: float 15s linear infinite;
}

@keyframes float {
  from { transform: translateY(100vh); }
  to   { transform: translateY(-100px); }
}

/* ---------- Container chÃ­nh ---------- */
.main-container {
  position: relative;
  z-index: 2;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Khung Hero ---------- */
.hero {
  max-width: 800px;
  position: relative;
  padding: 48px 40px;
  background: linear-gradient(180deg, rgba(15, 23, 42, .85), rgba(8, 14, 28, .92));
  border-radius: 16px;
  border: 4px solid #1a2a44;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.hero h1 {
  font-size: 50px;
  font-weight: 500;
}

/* ---------- Viá»n sÃ¡ng cháº¡y quanh hero ---------- */
.hero::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 16px;
  border: 4px solid transparent;

  background: linear-gradient(90deg, #0ac8b9, #f0e6d2, #c8aa6e, #0ac8b9) border-box;
  background-size: 300% 100%;

  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
  animation: slideLight 3.6s linear infinite;

  filter:
    drop-shadow(0 0 6px rgba(10, 200, 185, .9))
    drop-shadow(0 0 14px rgba(240, 230, 210, .5));
}

@keyframes slideLight {
  0%   { background-position: 0% 0%; }
  100% { background-position: 300% 0%; }
}

/* ---------- Countdown / subscribe (náº¿u dÃ¹ng) ---------- */
.countdown {
  font-size: 40px;
  font-weight: bold;
  margin: 20px 0;
}

.subscribe {
  display: flex;
  gap: 10px;
}

/* ---------- NhÃ£n gá»£i Ã½ phÃ­a trÃªn nÃºt liÃªn há»‡ ---------- */
.contact-hint {
  position: relative;
  margin: 28px auto 0;
  color: #f0e6d2;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
  animation: bounceHint 1.6s ease-in-out infinite;
}

@keyframes bounceHint {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ---------- NÃºt Zalo / Messenger ---------- */
.floating-contact {
  position: relative;
  margin: 14px auto 0;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.floating-contact a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 210px;
  padding: 16px 20px;
  border-radius: 60px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .5);
  animation: pulse 1.8s infinite, bob 2.4s ease-in-out infinite;
  transition: transform .15s ease, box-shadow .15s ease;
  border: 2px solid rgba(255, 255, 255, .35);
}

.floating-contact a:hover {
  transform: scale(1.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .6);
}

.floating-contact a:active {
  transform: scale(0.97);
}

.btn-main-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-sub-line {
  font-size: 11px;
  font-weight: 500;
  opacity: .9;
  letter-spacing: .2px;
  white-space: nowrap;
}

.floating-contact a img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: contain;
}

.floating-contact a .online-dot {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .9);
  animation: blink 1.4s ease-in-out infinite;
}

.zalo-btn {
  background: linear-gradient(180deg, #2b8bff, #0050d8);
}

.messenger-btn {
  background: linear-gradient(180deg, #3aa0ff, #0062d6);
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55), 0 14px 36px rgba(0, 0, 0, .5); }
  70%  { box-shadow: 0 0 0 22px rgba(255, 255, 255, 0), 0 14px 36px rgba(0, 0, 0, .5); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0), 0 14px 36px rgba(0, 0, 0, .5); }
}

@keyframes bob {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -4px; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: .25; }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero {
    padding: 36px 24px;
    border-radius: 14px;
  }

  .hero::before {
    border-radius: 14px;
  }

  .subscribe {
    flex-direction: column;
  }

  .floating-contact {
    width: 100%;
    gap: 10px;
  }

  .floating-contact a {
    flex: 1;
    width: auto;
    min-width: 140px;
    justify-content: center;
    padding: 14px 14px;
  }

  .btn-main-line {
    font-size: 15px;
  }

  .btn-sub-line {
    font-size: 10px;
  }

  .contact-hint {
    font-size: 13px;
  }
}

/* ---------- Táº¯t animation náº¿u user yÃªu cáº§u giáº£m chuyá»ƒn Ä‘á»™ng ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
  }

  .floating-contact a {
    animation: none;
  }

  .floating-contact a .online-dot {
    animation: none;
  }

  .contact-hint {
    animation: none;
  }
}