/* Font mặc định toàn trang */
/* body, .navbar, .btn, .form-control {
    font-family: 'Poppins', sans-serif;
}
  */
  
/* Nếu dùng font Roboto  */
body, .navbar, .btn, .form-control {
    font-family: 'Roboto', sans-serif;
}



/* Hoặc nếu dùng Inter: */
/* body, .navbar, .btn, .form-control {
    font-family: 'Inter', sans-serif;
} */

/* Navbar chữ in hoa, đậm */
.navbar-nav .nav-link {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Brand logo */
.navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
}

/* Sticky footer setup */
html, body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
}
main {
    flex: 1; /* Đẩy footer xuống dưới */
}

.highlight {
  background: yellow;
  color: blue;
  font-weight: 600;
  padding: 2px 4px;
}
.note {
  background: #fff8d6;
  font-weight: 600;
  padding: 2px 4px;
  border-radius: 4px;
}        

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.5s ease-in-out forwards;
  opacity: 0; /* ẩn trước khi chạy animation */
}

/* 🔥 Hover cho Top nạp tiền */
#top-nap-list .list-group-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

#top-nap-list .list-group-item:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1;
  background-color: #fff5f5; /* nhẹ nhàng hơn khi hover */
}

/* Card dịch vụ game */
.card.service-card {
  transition: all 0.3s ease;
  cursor: pointer;
}
.card.service-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

/* Ảnh trong card */
.card.service-card img {
  transition: transform 0.4s ease;
}
.card.service-card:hover img {
  transform: scale(1.04); /* giảm từ 1.1 xuống 1.04 cho nhẹ nhàng */
}

/* Fade-in khi load */
.card.service-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}
.card.service-card:nth-child(1) { animation-delay: 0.1s; }
.card.service-card:nth-child(2) { animation-delay: 0.2s; }
.card.service-card:nth-child(3) { animation-delay: 0.3s; }
.card.service-card:nth-child(4) { animation-delay: 0.4s; }

/* Nút mua */
.card.service-card .btn {
  transition: all 0.3s ease;
}
.card.service-card .btn:hover {
  transform: scale(1.04);
  background-color: #b71c1c;
}        


.product-description-content,
.product-features-content {
  min-height: 200px;
  line-height: 1.6;
  font-size: 1rem;
  white-space: pre-line; /* giữ xuống dòng nếu nội dung là text thường */
}


/* Hiệu ứng fade-in khi card load */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hiệu ứng hover cho card sản phẩm */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.product-card img {
  transition: transform 0.4s ease;
}
.product-card:hover img {
  transform: scale(1.05);
}

/* HOT badge cho sản phẩm mới */
.badge-hot {
  background: linear-gradient(45deg, #ff0000, #ff7b00);
  color: #fff !important;
  font-weight: bold;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.badge-hot:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* MỚI badge cho kho sản phẩm */
.badge-new {
  background: linear-gradient(45deg, #dc3545, #ff5733);
  color: #fff !important;
  font-weight: bold;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.badge-new:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Hiệu ứng fade-in-up cho sản phẩm */
.fade-in-up {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUp 0.5s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CheckBox Message */
/* Toggle button */
.contact-toggle-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0d6efd;
  color: white;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9999;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  animation: bounce 3s infinite;
}
.contact-toggle-btn:hover {
  transform: scale(1.15);
}

/* Bounce keyframes để gây chú ý */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  10% {
    transform: translateY(-5px);
  }
  20% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-3px);
  }
  40% {
    transform: translateY(0);
  }
}

/* Message Box */
.contact-message-box {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 270px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  z-index: 9999;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s ease-in-out;
}

.contact-message-box.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.contact-header {
  background: #0d6efd;
  color: white;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact-header .close-btn {
  cursor: pointer;
}

.contact-options {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 6px;
  text-decoration: none;
  color: #000;
  font-weight: 500;
  background-color: #f8f9fa;
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.contact-item:hover {
  background-color: #e2e6ea;
  transform: scale(1.03);
}

.contact-item i {
  margin-right: 10px;
  font-size: 18px;
}

.contact-item.zalo { color: #0068ff; }
.contact-item.messenger { color: #0084ff; }
.contact-item.phone { color: #dc3545; }