/* ================= SITE HEADER BASE ================= */
body.auth-body {
  display: block !important;
  height: auto !important;
  min-height: 100vh;
}

.auth-page {
  min-height: calc(100vh - 82px);
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
}

.site-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 80px;
  background: #2761b2;
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  box-sizing: border-box;
  position: relative;
  z-index: 999;
}

.site-logo {
  color: #fff;
  text-decoration: none;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: opacity 0.2s ease;
}

.site-logo:hover {
  opacity: 0.95;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-header__right > a:not(.site-points):not(.site-register) {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: opacity 0.2s ease;
}

.site-header__right > a:not(.site-points):not(.site-register):hover {
  opacity: 0.85;
}

.site-register {
  background: #fff !important;
  color: #2d6bc0 !important;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 800;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.site-register:hover {
  opacity: 0.95;
}

/* ================= GAMING REWARD CTA BUTTON: CỬA HÀNG ĐỔI ĐIỂM ================= */
.site-store-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 10px !important;
  border-radius: 999px !important;
  /* Gradient cam Gaming Reward: #FF8A00 -> #FF512F */
  background: linear-gradient(135deg, #FF8A00 0%, #FF5E1E 52%, #FF3D00 100%) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  /* Viền vàng ánh kim phát sáng */
  border: 1.8px solid #FFE082 !important;
  /* Hiệu ứng nổi 3D và bóng đổ cam nhẹ */
  box-shadow: 
    0 4px 18px rgba(255, 81, 47, 0.45), 
    0 0 16px rgba(255, 215, 0, 0.35), 
    inset 0 1.5px 2px rgba(255, 255, 255, 0.65),
    inset 0 -1.5px 2px rgba(180, 40, 0, 0.4) !important;
  cursor: pointer;
  overflow: hidden;
  line-height: 1.2;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease, filter 0.2s ease !important;
  animation: siteStoreGlow 3s infinite ease-in-out;
  user-select: none;
}

@keyframes siteStoreGlow {
  0%, 100% {
    box-shadow: 
      0 4px 16px rgba(255, 81, 47, 0.45), 
      0 0 14px rgba(255, 215, 0, 0.35), 
      inset 0 1.5px 2px rgba(255, 255, 255, 0.65),
      inset 0 -1.5px 2px rgba(180, 40, 0, 0.4);
    border-color: #FFE082;
  }
  50% {
    box-shadow: 
      0 6px 24px rgba(255, 81, 47, 0.7), 
      0 0 24px rgba(255, 224, 130, 0.6), 
      inset 0 1.5px 3px rgba(255, 255, 255, 0.85),
      inset 0 -1.5px 2px rgba(180, 40, 0, 0.5);
    border-color: #FFF9C4;
  }
}

/* Hover: phóng to 1.03 lần, ánh sáng tăng lên */
.site-store-btn:hover {
  transform: translateY(-2px) scale(1.03) !important;
  filter: brightness(1.07);
  box-shadow: 
    0 8px 28px rgba(255, 81, 47, 0.75), 
    0 0 30px rgba(255, 215, 0, 0.65), 
    inset 0 2px 3px rgba(255, 255, 255, 0.9) !important;
  opacity: 1 !important;
}

/* Click: thu nhỏ nhẹ tạo cảm giác nhấn thật */
.site-store-btn:active {
  transform: translateY(1px) scale(0.98) !important;
  box-shadow: 
    0 2px 10px rgba(255, 81, 47, 0.5), 
    inset 0 1.5px 2px rgba(0, 0, 0, 0.25) !important;
}

/* Viền ánh sáng chạy nhẹ (shimmer) */
.site-store-btn__shimmer {
  position: absolute;
  top: -60%;
  left: -130%;
  width: 50%;
  height: 220%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
  transform: rotate(25deg);
  pointer-events: none;
  animation: siteStoreShimmer 3.6s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes siteStoreShimmer {
  0%, 40% {
    left: -130%;
    opacity: 0;
  }
  50% {
    opacity: 0.95;
  }
  70%, 100% {
    left: 180%;
    opacity: 0;
  }
}

/* Hộp quà 3D bên trái chuyển động lên xuống rất nhẹ */
.site-store-btn__gift-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: siteStoreGiftFloat 2.6s infinite ease-in-out;
  transform-origin: center bottom;
}

@keyframes siteStoreGiftFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-3px) rotate(-1.5deg);
  }
}

.site-store-btn__gift-svg {
  display: block;
}

/* Ngôi sao trang trí */
.site-store-btn__star {
  position: absolute;
  pointer-events: none;
  color: #FFF9C4;
  font-size: 11px;
  line-height: 1;
  filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.8));
  animation: siteStoreStarTwinkle 2.4s infinite ease-in-out;
}

.site-store-btn__star--1 {
  top: 4px;
  left: 36px;
  animation-delay: 0.3s;
}

.site-store-btn__star--2 {
  bottom: 5px;
  right: 122px;
  font-size: 9px;
  animation-delay: 1.2s;
}

@keyframes siteStoreStarTwinkle {
  0%, 100% {
    opacity: 0.2;
    transform: scale(0.7) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(45deg);
  }
}

/* Chính giữa: Nội dung chữ 2 dòng */
.site-store-btn__content {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  text-align: left;
}

.site-store-btn__title {
  font-size: 14.5px !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  letter-spacing: -0.2px;
  line-height: 1.15;
  text-shadow: 0 1.5px 3px rgba(180, 40, 0, 0.55), 0 0 10px rgba(255, 255, 255, 0.25);
  white-space: nowrap;
}

.site-store-btn__sub {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #FFF8E1 !important;
  letter-spacing: 0.1px;
  line-height: 1.1;
  text-shadow: 0 1px 2px rgba(150, 30, 0, 0.4);
  white-space: nowrap;
  opacity: 0.95;
}

/* Bên phải: Nút phụ màu vàng kem "ĐỔI QUÀ NGAY »" */
.site-store-btn__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFFDE7 0%, #FFF59D 50%, #FFE082 100%);
  color: #C2410C !important;
  font-size: 11.5px !important;
  font-weight: 900 !important;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border: 1px solid #FFF9C4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16), inset 0 1px 1px #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.site-store-btn__cta-arrow {
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  transition: transform 0.2s ease;
  display: inline-block;
}

/* Khi hover button: Nút CTA sáng lên & mũi tên nhích nhẹ */
.site-store-btn:hover .site-store-btn__cta {
  background: #ffffff;
  color: #EA580C !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2), 0 0 12px rgba(255, 249, 196, 0.9);
  transform: translateY(-0.5px);
}

.site-store-btn:hover .site-store-btn__cta-arrow {
  transform: translateX(2.5px);
}

/* Accessibility: Giảm hiệu ứng chuyển động nếu người dùng bật chế độ giảm motion */
@media (prefers-reduced-motion: reduce) {
  .site-store-btn,
  .site-store-btn__gift-wrap,
  .site-store-btn__shimmer,
  .site-store-btn__star {
    animation: none !important;
    transition: none !important;
  }
}

.site-nav-store {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: opacity 0.2s ease;
}

.site-nav-store:hover {
  opacity: 0.85;
}

/* ================= POINTS BADGE (LỚN HƠN, LẤP LÁNH QUAN TRỌNG, NỔI BẬT TÂM ĐIỂM) ================= */
.site-points {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px !important;
  border-radius: 999px;
  background: linear-gradient(135deg, #FFB300 0%, #FF8000 45%, #FF5722 100%) !important;
  border: none !important;
  outline: none !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 18px rgba(255, 87, 34, 0.5), 0 0 24px rgba(255, 179, 0, 0.4) !important;
  cursor: pointer;
  transform: none !important;
  transition: opacity 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  animation: sitePointsGlow 3s infinite ease-in-out;
  overflow: visible !important;
}

@keyframes sitePointsGlow {
  0%, 100% {
    box-shadow: 0 4px 18px rgba(255, 87, 34, 0.5), 0 0 20px rgba(255, 179, 0, 0.35);
  }
  50% {
    box-shadow: 0 6px 26px rgba(255, 87, 34, 0.8), 0 0 36px rgba(255, 179, 0, 0.7);
  }
}

.site-points:hover {
  opacity: 0.96;
  filter: brightness(1.08);
  transform: none !important;
  box-shadow: 0 6px 28px rgba(255, 87, 34, 0.85), 0 0 40px rgba(255, 179, 0, 0.75) !important;
}

.site-points:active {
  transform: none !important;
}

/* Vệt sáng bóng quét qua bên trong (Specular sheen sweep) */
.site-points__sheen-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 999px;
  overflow: hidden;
  pointer-events: none;
}

.site-points__sheen {
  position: absolute;
  top: -60%;
  left: -100%;
  width: 50%;
  height: 220%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
  transform: rotate(25deg);
  pointer-events: none;
  animation: sitePointsSheen 3.2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes sitePointsSheen {
  0%, 45% {
    left: -100%;
    opacity: 0;
  }
  55% {
    opacity: 0.9;
  }
  100% {
    left: 170%;
    opacity: 0;
  }
}

/* Ngôi sao lấp lánh (Twinkling Sparkles) */
.site-points__sparkle {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 8px rgba(255, 215, 0, 0.85));
  color: #ffffff;
  z-index: 2;
}

.site-points__sparkle--1 {
  top: -6px;
  left: 12px;
  animation: siteSparkleOne 2.6s infinite ease-in-out;
}

.site-points__sparkle--2 {
  bottom: -5px;
  right: 14px;
  animation: siteSparkleTwo 2.6s infinite ease-in-out;
  animation-delay: 1.3s;
}

.site-points__sparkle--3 {
  top: -4px;
  right: 28px;
  animation: siteSparkleThree 3.2s infinite ease-in-out;
  animation-delay: 0.65s;
}

@keyframes siteSparkleOne {
  0%, 100% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
  25% {
    opacity: 1;
    transform: scale(1.25) rotate(45deg);
  }
  50% {
    opacity: 0;
    transform: scale(0) rotate(90deg);
  }
}

@keyframes siteSparkleTwo {
  0%, 100% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
  30% {
    opacity: 1;
    transform: scale(1.15) rotate(-45deg);
  }
  60% {
    opacity: 0;
    transform: scale(0) rotate(-90deg);
  }
}

@keyframes siteSparkleThree {
  0%, 100% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
  20% {
    opacity: 0.95;
    transform: scale(1) rotate(30deg);
  }
  45% {
    opacity: 0;
    transform: scale(0) rotate(60deg);
  }
}

.site-points__content {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.site-points__val {
  font-size: 19px !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  letter-spacing: -0.2px;
  text-shadow: 0 1px 3px rgba(180, 50, 0, 0.45) !important;
}

.site-points__unit {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  text-transform: lowercase;
  text-shadow: 0 1px 3px rgba(180, 50, 0, 0.45) !important;
}

/* ================= SITE USER MENU (KHÔNG SHADOW/VIỀN TRẮNG KHI ACTIVE, KHÔNG SHADOW ICON) ================= */
.site-user {
  position: relative;
  display: inline-block;
}

.site-user__trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 4px 4px;
  background: transparent;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease;
}

.site-user__trigger:hover {
  background: rgba(255, 255, 255, 0.12);
  border: none !important;
  box-shadow: none !important;
}

.site-user__trigger.is-active {
  background: rgba(255, 255, 255, 0.16) !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.site-avatar-wrap {
  display: inline-flex;
}

/* Avatar: bỏ hẳn box-shadow và viền trắng */
.site-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, #7c9ff5, #4f46e5);
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  text-transform: uppercase;
  box-shadow: none !important;
  border: none !important;
  flex-shrink: 0;
}

.site-user__name {
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.site-user__arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: none;
  box-shadow: none;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.site-user__trigger:hover .site-user__arrow-btn {
  background: rgba(255, 255, 255, 0.28);
}

.site-user__arrow {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.site-user__trigger.is-active .site-user__arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu Panel */
.site-user__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: 1000;
  width: 300px;
  padding: 18px 16px 14px 16px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22),
              0 4px 16px rgba(15, 23, 42, 0.08);
  display: none;
  transform-origin: top right;
  pointer-events: none;
  box-sizing: border-box;
}

.site-user__menu.is-open {
  display: block;
  pointer-events: auto;
  animation: siteUserSlideIn 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.site-user__menu.is-closing {
  display: block;
  pointer-events: none;
  animation: siteUserSlideOut 0.19s cubic-bezier(0.7, 0, 0.84, 0) forwards;
}

@keyframes siteUserSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-12px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes siteUserSlideOut {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-12px) scale(0.96);
  }
}

.site-user__status-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 10px;
  padding-left: 4px;
  letter-spacing: 0.2px;
}

.site-user__profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 14px;
  background: #f8fafc;
  transition: background 0.15s ease;
}

.site-user__profile-card:hover {
  background: #f1f5f9;
}

.site-user__profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #7c9ff5, #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: none !important;
  border: none !important;
}

.site-user__profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-user__profile-details {
  flex: 1;
  min-width: 0;
}

.site-user__profile-name {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-user__profile-role {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  margin-top: 1px;
}

.site-user__profile-email {
  font-size: 12px;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.site-user__divider {
  height: 1px;
  background: #f1f5f9;
  margin: 12px 0 10px 0;
}

.site-user__section-title {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: none;
  padding: 4px 6px 8px 6px;
  letter-spacing: 0.2px;
}

.site-user__links {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.site-user__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #1e293b !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.site-user__item:hover {
  background: #eff6ff;
  color: #2563eb !important;
  transform: translateX(3px);
}

.site-user__icon {
  color: #64748b;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.site-user__item:hover .site-user__icon {
  color: #2563eb;
}

.site-user__item--logout {
  color: #dc2626 !important;
  margin-top: 4px;
  border-top: 1px solid #f1f5f9;
  padding-top: 11px;
}

.site-user__item--logout .site-user__icon {
  color: #ef4444;
}

.site-user__item--logout:hover {
  background: #fef2f2;
  color: #b91c1c !important;
}

.site-user__item--logout:hover .site-user__icon {
  color: #b91c1c;
}

/* ================= NEW HEADER COMPONENTS (MOBILE TOGGLE, DRAWER, POINTS ICON) ================= */
.site-points__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFF9C4;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.8));
}

.site-header-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.site-header-login-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

.site-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4.5px;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  color: #ffffff;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.site-mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.22);
}

.site-mobile-toggle:active {
  transform: scale(0.96);
}

.site-mobile-toggle__line {
  display: block;
  width: 19px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ================= MOBILE DRAWER & BACKDROP ================= */
.site-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1001;
}

.site-drawer-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

.site-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 86vw;
  background: #ffffff;
  box-shadow: -8px 0 36px rgba(15, 23, 42, 0.25);
  transform: translateX(105%);
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  font-family: "Montserrat", Arial, sans-serif;
  color: #1e293b;
}

.site-drawer.is-open {
  transform: translateX(0);
}

body.site-drawer-open {
  overflow: hidden !important;
}

.site-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 2;
}

.site-drawer__logo {
  font-size: 22px;
  font-weight: 800;
  color: #2761B2 !important;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.site-drawer__close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.site-drawer__close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.site-drawer__body {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

/* Nút Cửa hàng đổi điểm trong mobile drawer nổi bật với gradient cam và icon quà tặng */
.site-drawer__store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #FF8A00 0%, #FF5E1E 52%, #FF3D00 100%) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border: 1.5px solid #FFE082;
  box-shadow: 0 4px 18px rgba(255, 81, 47, 0.45), 0 0 16px rgba(255, 215, 0, 0.35);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.site-drawer__store-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.site-drawer__store-gift {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFDE7;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}

.site-drawer__store-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.site-drawer__store-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.site-drawer__store-desc {
  font-size: 11.5px;
  color: #FFF8E1;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0.95;
}

.site-drawer__store-arrow {
  font-size: 18px;
  font-weight: 900;
  color: #FFFDE7;
  flex-shrink: 0;
}

.site-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-drawer__nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  min-height: 44px;
  border-radius: 12px;
  color: #1e293b !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 14.5px;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.site-drawer__nav-item svg {
  color: #64748b;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.site-drawer__nav-item:hover {
  background: #eff6ff;
  color: #2563eb !important;
  transform: translateX(3px);
}

.site-drawer__nav-item:hover svg {
  color: #2563eb;
}

.site-drawer__nav-item--logout {
  color: #dc2626 !important;
  margin-top: 6px;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.site-drawer__nav-item--logout svg {
  color: #ef4444;
}

.site-drawer__nav-item--logout:hover {
  background: #fef2f2;
  color: #b91c1c !important;
}

.site-drawer__nav-item--logout:hover svg {
  color: #b91c1c;
}

.site-drawer__points-chip {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 800;
  color: #c2410c;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  padding: 3px 9px;
  border-radius: 999px;
}

.site-drawer__divider {
  height: 1px;
  background: #f1f5f9;
  margin: 12px 0 10px;
}

.site-drawer__section-title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  padding: 4px 10px 6px;
}

.site-drawer__user-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f0f7ff;
  border: 1px solid #e0eeff;
  margin-bottom: 8px;
}

.site-drawer__user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #7c9ff5, #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}

.site-drawer__user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-drawer__user-meta {
  flex: 1;
  min-width: 0;
}

.site-drawer__user-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-drawer__user-email {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.site-drawer__user-pts {
  font-size: 12px;
  font-weight: 700;
  color: #ea580c;
  margin-top: 2px;
}

.site-drawer__auth {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.site-drawer__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  min-height: 44px;
  border-radius: 12px;
  font-size: 14.5px;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.site-drawer__btn--login {
  background: #f1f5f9;
  color: #1e293b !important;
  font-weight: 700;
  border: 1px solid #e2e8f0;
}

.site-drawer__btn--login:hover {
  background: #e2e8f0;
}

.site-drawer__btn--register {
  background: #2761B2;
  color: #ffffff !important;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(39, 97, 178, 0.35);
}

.site-drawer__btn--register:hover {
  background: #1f4f96;
}

/* ================= DESKTOP BASE (>= 768px) ================= */
.site-logo {
  font-size: 32px;
  font-weight: 600;
}

.site-header {
  height: 82px;
  min-height: 82px;
  padding: 0 80px;
}

/* ================= RESPONSIVE MOBILE (< 768px) ================= */
@media (max-width: 767.98px) {
  .site-header {
    height: 64px !important;
    min-height: 64px !important;
    padding: 0 16px !important;
    gap: 10px !important;
  }

  .site-logo {
    font-size: 22px !important;
    letter-spacing: 0.5px !important;
    flex-shrink: 0 !important;
  }

  .site-header__right {
    gap: 8px !important;
    flex-shrink: 0 !important;
  }

  /* Ẩn các link navigation thông thường của desktop */
  .site-nav-link,
  .site-store-btn,
  .site-register {
    display: none !important;
  }

  /* Badge điểm trên mobile: gọn gàng, hiệu ứng glow cam nhẹ */
  .site-points {
    padding: 6px 12px !important;
    gap: 5px !important;
    box-shadow: 0 2px 10px rgba(255, 87, 34, 0.45), 0 0 12px rgba(255, 179, 0, 0.3) !important;
  }

  .site-points__val {
    font-size: 13.5px !important;
  }

  .site-points__unit {
    font-size: 11.5px !important;
  }

  .site-points__sparkle--2,
  .site-points__sparkle--3 {
    display: none !important;
  }

  /* User trigger trên mobile: avatar tròn, không tên, không mũi tên */
  .site-user__name,
  .site-user__arrow-btn {
    display: none !important;
  }

  .site-user__trigger {
    padding: 0 !important;
  }

  .site-avatar {
    width: 36px !important;
    height: 36px !important;
    font-size: 15px !important;
  }

  /* Nút hamburger mở menu */
  .site-mobile-toggle {
    display: inline-flex !important;
  }

  /* Popup tài khoản trên mobile: hiện đại, bo góc 18px, căn chỉnh trong màn hình */
  .site-user__menu {
    position: fixed !important;
    top: 68px !important;
    right: 12px !important;
    left: auto !important;
    width: 320px !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100vh - 80px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22), 0 4px 12px rgba(15, 23, 42, 0.08) !important;
    border: 1px solid rgba(0, 0, 0, 0.07) !important;
    padding: 16px 14px 12px !important;
    z-index: 1005 !important;
  }

  .site-user__profile-card {
    background: #f0f7ff !important;
    border: 1px solid #dbeafe !important;
  }

  .site-user__item {
    min-height: 44px !important;
    font-size: 14.5px !important;
    padding: 10px 12px !important;
  }
}

/* Tự động thu gọn trên màn hình nhỏ (390px, 375px) */
@media (max-width: 390px) {
  .site-header {
    padding: 0 12px !important;
    gap: 6px !important;
  }

  .site-logo {
    font-size: 20px !important;
  }

  .site-header__right {
    gap: 6px !important;
  }

  .site-points {
    padding: 5px 9px !important;
    gap: 4px !important;
  }

  .site-points__val {
    font-size: 12.5px !important;
  }

  /* Thu gọn nhãn "điểm" để đảm bảo vừa khít */
  .site-points__unit {
    display: none !important;
  }

  .site-avatar {
    width: 34px !important;
    height: 34px !important;
  }

  .site-mobile-toggle {
    width: 34px !important;
    height: 34px !important;
  }

  .site-user__menu {
    right: 8px !important;
    max-width: calc(100vw - 16px) !important;
    width: calc(100vw - 16px) !important;
  }
}

/* Màn hình siêu nhỏ (320px - 340px) */
@media (max-width: 340px) {
  .site-header {
    padding: 0 8px !important;
  }

  .site-logo {
    font-size: 18px !important;
  }

  .site-points {
    padding: 4px 7px !important;
  }
}
