/* ==========================================================================
   Global Custom Scrollbar
   ========================================================================== */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f5;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b3b3b3;
}

/* Firefox Support */
* {
  scrollbar-width: thin;
  scrollbar-color: #ccc #f1f1f5;
}

body,
html {
  font-family: "Inter" !important;
}

.app-main {
  height: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

.napthe-banner {
  margin: 18px 0 10px;
}

.app-slide {
  margin: 18px 0 10px;
}

.badge-success {
  background-color: #000000 !important;
  color: #ffffff;
}

h2 {
  text-align: center;
}

a:hover {
  color: #ee0000;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #333;
}

select {
  border-radius: 8px;
}

input {
  flex: 0;
  padding: 9px;
  margin-right: 5px;
  /* border: 1px solid #ddd; */
  border-radius: 8px;
}

input:focus {
  border-color: #ee0000;
  box-shadow: none;
  outline: none;
}

select:focus {
  border-color: #ee0000;
  box-shadow: none;
  outline: none;
}

/* button {
  background-color: #4caf50;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
} */

/* button:hover,
        button:focus {
            background-color: #45a049;
        } */

.swal2-title {
  font-size: 18px;
}

/* Modal Styles */
.modal-base {
  border-radius: 15px;
  overflow: hidden;
  border: none;
}

.modal-header-base {
  background: linear-gradient(45deg, #ff3c3c, #ff6b3c) !important;
  color: white;
  border-bottom: none;
  padding: 20px;
  /* border-top-left-radius: 15px;
  border-top-right-radius: 15px; */
}

.close {
  color: white !important;
  opacity: 1;
  text-shadow: none;
  padding: 0;
  margin: 0;
}

.close:hover {
  opacity: 0.8;
}

.modal-title {
  font-size: 20px;
  font-weight: bold;
}

.modal-login .modal-content {
  border-radius: 15px;
  border: none;
}

.modal-login .modal-header {
  background: #ee0000;
  color: white;
}

.modal-login .modal-body {
  padding: 25px;
}

.uid-input {
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 9px 15px;
  font-size: 16px;
  transition: all 0.3s;
}

.uid-input:focus {
  border-color: #ee0000;
  box-shadow: none;
  outline: none;
}

.btn-red {
  background: linear-gradient(45deg, #ff3c3c, #ff6b3c);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  width: 100%;
}

.btn-red:hover {
  color: white;
}
/* disabled btn red  */
.btn-red:disabled,
.btn-red[disabled] {
  background: #ff9999;
  cursor: not-allowed;
  color: #fff;
}

/* .btn-red:focus {
  box-shadow: 0 0 0 0.2rem rgba(238, 0, 0, 0.25);
} */

.guide-link {
  color: #ee0000;
  /* text-decoration: underline; */
  cursor: pointer;
  display: inline-block;
  margin-top: 5px;
}

.guide-link:hover {
  color: #cc0000;
}

.guide-steps {
  padding: 20px;
}

.guide-steps .step {
  margin-bottom: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
}

.guide-steps .step-number {
  color: #ee0000;
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 10px;
  line-height: 24px;
}

.guide-steps img {
  width: 100%;
  border-radius: 8px;
  margin: 10px 0;
  border: 1px solid #ddd;
}

.guide-steps .note {
  color: #666;
  font-size: 14px;
  font-style: italic;
  margin-top: 5px;
}

.success-modal .modal-content {
  border-radius: 15px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.success-message {
  text-align: center;
  /* padding: 30px 20px; */
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #ee0000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: scaleIn 0.5s ease-out;
}

.success-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

.success-title {
  color: #333;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  animation: fadeInUp 0.5s ease-out 0.2s both;
}

.success-text {
  color: #666;
  font-size: 16px;
  margin-bottom: 25px;
  animation: fadeInUp 0.5s ease-out 0.3s both;
}

.success-uid {
  background: #f8f9fa;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: bold;
  color: #ee0000;
  display: inline-block;
  margin-bottom: 25px;
  animation: fadeInUp 0.5s ease-out 0.4s both;
}

.loading-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 8px;
}

.btn-red.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  cursor: wait;
}

.btn-red.loading .loading-spinner {
  display: inline-block;
}

.error-message {
  color: #ee0000;
  font-size: 14px;
  margin-top: 5px;
  display: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.check-mark {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawCheck 1s ease-in-out forwards;
}

@keyframes drawCheck {
  from {
    stroke-dashoffset: 100;
  }

  to {
    stroke-dashoffset: 0;
  }
}

.napthe-banner {
  margin: 18px 0 10px;
  width: 100%;
}

.slick-slider {
  position: relative;
  display: block;
  width: 100%;
}

.banner-pc {
  display: none;
}

.banner-mobile {
  display: block;
  width: 100%;
  margin-bottom: 20px;
}

.banner-mobile img {
  width: 100%;
  /* max-width: 500px; */
  height: auto;
}

/* Responsive */
@media screen and (min-width: 768px) {
  .banner-mobile {
    display: none;
  }

  .banner-pc {
    display: block;
    width: 100%;
  }

  .banner-pc img {
    width: 100%;
    height: auto;
  }
}

.form-menhgia {
  display: flex;
  flex-direction: column;
  /* gap: 10px; */
}

.menhgia-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  cursor: pointer;
  transition:
    background-color 0.3s,
    transform 0.2s;
}

.menhgia-item:hover {
  background-color: #f0f0f0;
}

.input-radio {
  display: none;
  /* Ẩn input radio gốc */
}

.custom-radio {
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
  transition: background-color 0.3s;
}

.input-radio:checked + .custom-radio {
  background-color: #007bff;
  /* Màu nền khi được chọn */
  border-color: #007bff;
  /* Màu viền khi được chọn */
}

.menh-gia {
  font-weight: bold;
  flex: 1;
}

.divider {
  width: 1px;
  height: 20px;
  background-color: #ccc;
  margin: 0 10px;
}

.them-diem {
  color: #555;
}

.input-hihi.error {
  border-color: #ee0000;
}

.highlight-section {
  animation: flash 1s ease-in-out infinite;
  border: 2px solid #ee0000;
  border-radius: 5px;
  padding: 10px;
}

@keyframes flash {
  0%,
  100% {
    background-color: transparent;
  }

  50% {
    background-color: rgba(238, 0, 0, 0.1);
  }
}

/* .swal2-popup {
  border-radius: 15px;
  padding: 2rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.swal2-title {
  font-size: 24px !important;
  font-weight: 600 !important;
  color: #333;
  margin-bottom: 0.5rem !important;
}

.swal2-html-container {
  font-size: 16px !important;
  color: #666;
  margin-top: 0.5rem !important;
}

.swal2-icon {
  transform: scale(1.2);
  margin: 1.5rem auto !important;
  border-width: 3px !important;
}

.swal2-success {
  border-color: #4bb543 !important;
}

.swal2-success-line-tip,
.swal2-success-line-long {
  background-color: #4bb543 !important;
  height: 3px !important;
}

.swal2-success-ring {
  border-color: rgba(75, 181, 67, 0.3) !important;
}

.swal2-error {
  border-color: #ee0000 !important;
}

.swal2-x-mark-line-left,
.swal2-x-mark-line-right {
  background-color: #ee0000 !important;
  height: 3px !important;
}



.swal2-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(238, 0, 0, 0.3) !important;
}

.swal2-confirm:focus {
  box-shadow: 0 0 0 3px rgba(238, 0, 0, 0.3) !important;
}

@keyframes swal2-show {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.swal2-show {
  animation: swal2-show 0.3s ease-out;
} */

.swal2-confirm {
  background: #ee0000 !important;
  border-radius: 8px !important;
  padding: 12px 30px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  box-shadow: 0 3px 6px rgba(238, 0, 0, 0.2) !important;
  transition: all 0.3s ease !important;
}

.swal2-html-container {
  font-size: medium;
  line-height: 29px;
}

.account-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  padding: 12px 20px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.badge-step {
  background-color: #dc3545;
  color: white;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 14px;
  font-weight: bold;
}

.account-info {
  background-image: url("/public/assets/image/FF-f997537d.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;

  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 14px 18px;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  color: #fff;
}

/* chữ nổi rõ trên nền ảnh */
.account-info .username,
.account-info .user-id {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.avatar-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  /*border: 2px solid #fff;*/
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 14px;
  border-radius: 20px;

  background: linear-gradient(135deg, #ff4d4f, #dc3545);
  color: #fff !important;

  font-size: 14px;
  font-weight: 600;
  text-decoration: none;

  box-shadow: 0 4px 10px rgba(220, 53, 69, 0.5);
  transition: all 0.25s ease;
}

.logout-btn {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* hover */
.logout-btn:hover {
  /*transform: translateY(-2px);*/
  box-shadow: 0 6px 14px rgba(220, 53, 69, 0.7);
  background: linear-gradient(135deg, #ff6b6d, #c82333);
  text-decoration: none;
}

/* click */
.logout-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(220, 53, 69, 0.4);
}

/* focus (tab) */
.logout-btn:focus {
  outline: none;
}

#captchaModal .modal-content {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

#captchaModal .modal-header {
  background: linear-gradient(135deg, #ee0000 0%, #ff4444 100%);
  padding: 20px;
  border: none;
}

#captchaModal .modal-title {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

#captchaModal .modal-body {
  padding: 30px 20px;
}

.captcha-info {
  text-align: center;
}

.captcha-info p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 0.3em;
}

.text-primary {
  color: #ee0000 !important;
}

.account-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-section .input-hihi {
  flex: 1;
}

.btn-logout {
  background: #dc3545;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
}

.btn-logout:hover {
  background: #c82333;
}

#priceModal .modal-content {
  border: none;
  border-radius: 15px;
  overflow: hidden;
}

#priceModal .table {
  margin-bottom: 0;
}

#priceModal thead th {
  background: #f8f9fa;
  border-top: none;
  font-weight: 600;
  text-align: center;
}

#priceModal td {
  vertical-align: middle;
  text-align: center;
  padding: 15px;
  border-top: 1px solid #f0f0f0;
}

.gem-icon {
  color: #1f87ff;
  font-size: 14px;
}

.gem-icon-small {
  color: #28a745;
  font-size: 12px;
}

.bonus {
  color: #28a745;
  font-weight: 600;
  display: block;
  font-size: 13px;
  margin-top: 2px;
}

.popular {
  background: #fff9f9;
  position: relative;
}

.popular-badge {
  display: inline-block;
  background: #ee0000;
  color: white;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
  margin-left: 8px;
}

.table tr:hover {
  background-color: #f8f9fa;
}

.popular:hover {
  background: #fff0f0;
}

.btn-nap-ngay {
  background: linear-gradient(135deg, #ee0000 0%, #ff6b6b 100%);
  color: white;
  border: none;
  padding: 12px 35px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 2px 5px rgba(238, 0, 0, 0.2);
}

/* .btn-nap-ngay:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(238, 0, 0, 0.3);
} */

.alert-warning {
  background-color: #fff3cd;
  border-color: #ffeeba;
  color: #856404;
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 15px;
  font-size: 14px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.table tr {
  animation: fadeIn 0.3s ease-out forwards;
}

.table tr:nth-child(2) {
  animation-delay: 0.1s;
}

.table tr:nth-child(3) {
  animation-delay: 0.2s;
}

.table tr:nth-child(4) {
  animation-delay: 0.3s;
}

.table tr:nth-child(5) {
  animation-delay: 0.4s;
}

.modal-dialog {
  max-width: 500px;
}

.grecaptcha-badge {
  visibility: hidden !important;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background: linear-gradient(45deg, #ff3c3c, #ff6b3c);
  border-radius: 50px;
  color: #fff !important;
}
.nav-link {
  color: #000f00;
}
.nav-link:hover {
  color: #ee0000;
}

.badge-primary {
  color: #fff;
  background-color: #0dbd13 !important;
}
.badge-pill {
  padding-right: 1.2em;
  padding-left: 1.2em;
  border-radius: 10rem;
  font-size: 13px;
}
.badge {
  padding: 0.45em 0.4em;
  font-weight: 500;
}
.badge {
  cursor: pointer;
  display: inline-block;
  min-width: 10px;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  background-color: #777;
  border-radius: 10px;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.bg-gradient {
  background: linear-gradient(45deg, #ff3c3c, #ff6b3c) !important;
  color: #fff !important;
}

.ranking-icon {
  font-size: 24px;
  text-align: center;
}
.vip {
  color: #d43831 !important;
}
.gold {
  color: #ffd700 !important;
}
.silver {
  color: #c0c0c0 !important;
}
.bronze {
  color: #cd7f32 !important;
}
.blue {
  color: #1e90ff !important;
}
.green {
  color: #32cd32 !important;
}
.fw-bold {
  font-weight: bold !important;
}

.badge-danger {
  background-color: #dc3545 !important;
  color: #ffffff;
}

.badge-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  background-color: #dc3545; /* đỏ */
  border-radius: 999px; /* pill */
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    transform 0.1s ease;
}

.badge-custom:hover {
  background-color: #bb2d3b;
}

.badge-custom:active {
  transform: scale(0.95);
}

/* Cho thẻ <a> */
.badge-custom {
  text-decoration: none;
}

.badge-custom:focus {
  outline: none;
}

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #ee0000;
  color: white;
  border: none;
  border-radius: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition:
    opacity 0.3s,
    background-color 0.3s;
  z-index: 9999;
}

.scroll-to-top:hover {
  background-color: gray;
  color: white;
}

/* --- Inline ID Game Login Box Styles --- */
#loginInlineBox {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(238, 0, 0, 0.4);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

#loginInlineBox:hover {
  border-color: rgba(238, 0, 0, 0.7);
  box-shadow: 0 4px 12px rgba(238, 0, 0, 0.1);
}

.inline-uid-group {
  display: flex !important;
  width: 100% !important;
}

.inline-uid-group .uid-input {
  flex: 1 1 auto !important;
  width: 1% !important;
  min-width: 0 !important;
  height: 44px !important;
  background: #ffffff !important;
  color: #202325 !important;
  border: 1px solid #ced4da !important;
  border-top-left-radius: 8px !important;
  border-bottom-left-radius: 8px !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  box-shadow: none !important;
}

.inline-uid-group .uid-input:focus {
  border-color: #ee0000 !important;
  box-shadow: 0 0 0 0.2rem rgba(238, 0, 0, 0.15) !important;
}

.inline-uid-group .btn-verify-uid {
  height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-top-right-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
  background: linear-gradient(135deg, #ee0000, #ff3c3c) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 0 18px !important;
  border: none !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
}

.inline-uid-group .btn-verify-uid:hover {
  background: linear-gradient(135deg, #cc0000, #ee0000) !important;
  box-shadow: 0 2px 8px rgba(238, 0, 0, 0.3) !important;
}

.inline-uid-group .btn-verify-uid:disabled {
  opacity: 0.75 !important;
  cursor: not-allowed !important;
}

#inline-login-error {
  animation: fadeInError 0.3s ease-in-out;
}

@keyframes fadeInError {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

input.form-control:focus {
  border-color: #ee0000 !important;
  box-shadow: none !important;
  outline: none !important;
}

button:disabled {
  background: #cccccc !important;
  color: #666666 !important;
  cursor: not-allowed !important;
  opacity: 0.7 !important;
  border: none !important;
}

/* ==========================================================================
   Global Zoom-In Animation for All Modals
   ========================================================================== */
.modal.fade .modal-dialog {
  transform: scale(0.5) !important;
  opacity: 0 !important;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.3s ease !important;
}

.modal.show .modal-dialog {
  transform: scale(1) !important;
  opacity: 1 !important;
}

/* Backdrop blur & shadow enhancement */
.modal-backdrop.show {
  opacity: 0.5 !important;
  backdrop-filter: blur(5px) !important;
}

/* ==========================================================================
   Button Hover Shimmer Effect
   ========================================================================== */
@keyframes shimmer-sweep {
  0% {
    transform: translateX(-150%) skewX(-25deg);
  }
  100% {
    transform: translateX(250%) skewX(-25deg);
  }
}

.btn-shimmer,
.btn:not(.btn-close):not(.dropdown-toggle),
.btn-red,
button:not(.btn-close):not(.dropdown-toggle),
.badge-custom {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::before,
.btn:not(.btn-close):not(.dropdown-toggle)::before,
.btn-red::before,
button:not(.btn-close):not(.dropdown-toggle)::before,
.badge-custom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-150%) skewX(-25deg);
  pointer-events: none;
  z-index: 2;
}

.btn-shimmer:not(:disabled):hover::before,
.btn:not(.btn-close):not(.dropdown-toggle):not(:disabled):hover::before,
.btn-red:not(:disabled):hover::before,
button:not(.btn-close):not(.dropdown-toggle):not(:disabled):hover::before,
.badge-custom:not(:disabled):hover::before {
  animation: shimmer-sweep 0.75s ease-in-out;
}

/* ==========================================================================
   Image Hover Shimmer Effect
   ========================================================================== */
.img-shimmer,
.banner-mobile,
.napthe-banner,
.nhom-game,
.img-wrapper,
.img-box,
.card-img-wrapper {
  position: relative;
  overflow: hidden;
}

.img-shimmer::before,
.banner-mobile::before,
.napthe-banner::before,
.nhom-game::before,
.img-wrapper::before,
.img-box::before,
.card-img-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-150%) skewX(-25deg);
  pointer-events: none;
  z-index: 3;
}

.img-shimmer:hover::before,
.banner-mobile:hover::before,
.napthe-banner:hover::before,
.nhom-game:hover::before,
.img-wrapper:hover::before,
.img-box:hover::before,
.card-img-wrapper:hover::before {
  animation: shimmer-sweep 0.75s ease-in-out;
}

/* Smooth zoom on hover for images inside shimmer containers */
.img-shimmer img,
.banner-mobile img,
.napthe-banner img,
.img-wrapper img,
.img-box img {
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.img-shimmer:hover img,
.banner-mobile:hover img,
.napthe-banner:hover img,
.img-wrapper:hover img,
.img-box:hover img {
  filter: brightness(1.05);
}

/* ==========================================================================
   Lazy Load Image Optimizations
   ========================================================================== */
img[loading="lazy"] {
  content-visibility: auto;
  transition: opacity 0.3s ease-in-out;
}

.swal2-confirm,
.success-icon {
  background: linear-gradient(45deg, #ff3c3c, #ff6b3c) !important;
}
