:root {
      --tet-red: #b91c1c;
      --tet-dark-red: #660000;
      --tet-gold: #fbbf24;
      --tet-gold-light: #fef08a;
    }

    body {
      font-family: 'Inter', sans-serif;
      background-color: #FFFDF3;
      color: #450a0a;
      overflow-x: hidden;
      min-height: 100vh;
      padding-bottom: 39px; /* Đảm bảo nội dung cuối trang không bị thanh Navbar cố định che khuất */
    }
    /* Thanh Navbar xám bạc ánh kim (luôn hiển thị và cố định ở cạnh dưới màn hình) */
    .navbar-metallic-silver {
      position: fixed !important;
      bottom: 0 !important;
      left: 50% !important;
      transform: translate3d(-50%, 0, 0) !important;
      -webkit-transform: translate3d(-50%, 0, 0) !important;
      width: 100% !important;
      max-width: 720px !important;
      z-index: 9999 !important;
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
      pointer-events: auto !important;
      background: linear-gradient(135deg, rgba(248, 250, 252, 0.88) 0%, rgba(203, 213, 225, 0.88) 45%, rgba(241, 245, 249, 0.88) 68%, rgba(148, 163, 184, 0.88) 100%);
      border-top: 1px solid rgba(255, 255, 255, 0.95);
      box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.95);
      padding-bottom: calc(0.375rem + env(safe-area-inset-bottom, 0px));
    }

    /* Hiệu ứng nền VÀNG 18K ÁNH KIM cho toàn bộ hệ thống thẻ */
    .card-metallic-silver {
      position: relative;
      background: linear-gradient(135deg, #fffbeb 0%, #fde68a 26%, #f59e0b 50%, #fef08a 74%, #d97706 100%);
      border: 0.75px solid rgba(254, 240, 138, 0.95);
      box-shadow: 0 3px 10px rgba(146, 64, 14, 0.2), inset 0 1px 1.5px rgba(255, 255, 255, 0.9);
      color: #450a0a;
    }

    .card-metallic-silver-pill {
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, #fef9c3 0%, #fcd34d 38%, #fef08a 62%, #d97706 100%);
      border: 0.25px solid #b45309;
      box-shadow: 0 2px 7px rgba(146, 64, 14, 0.22), inset 0 1px 1.5px rgba(255, 255, 255, 0.95);
      color: #450a0a;
    }

    .card-metallic-silver-pill:hover {
      background: linear-gradient(135deg, #fffbeb 0%, #fde047 42%, #fef9c3 65%, #f59e0b 100%);
    }

    /* Thanh Navbar xám bạc ánh kim (độ mờ 39% + backdrop-blur) */
    .navbar-metallic-silver {
      background: linear-gradient(135deg, rgba(248, 250, 252, 0.61) 0%, rgba(203, 213, 225, 0.61) 45%, rgba(241, 245, 249, 0.61) 68%, rgba(148, 163, 184, 0.61) 100%);
      border-top: 1px solid rgba(255, 255, 255, 0.9);
      box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.9);
    }

    /* Viền nhũ vàng mảnh */
    .border-gold-thin {
      border: 0.5px solid #fbbf24;
      box-shadow: 0 0 6px rgba(251, 191, 36, 0.25);
    }

    /* Thẻ vàng 18K khi được chọn (Active): viền đỏ nổi bật + hiệu ứng shimmer chạy qua */
    .border-red-active {
      position: relative;
      overflow: hidden;
      border: 1.5px solid #dc2626 !important;
      background: linear-gradient(135deg, #fffbeb 0%, #fde047 40%, #fef08a 65%, #d97706 100%) !important;
      color: #7f1d1d !important;
      box-shadow: 0 4px 12px rgba(220, 38, 38, 0.45), inset 0 1px 1.5px rgba(255, 255, 255, 0.95);
    }

    .border-red-active::after {
      content: "";
      position: absolute;
      top: -50%;
      left: -75%;
      width: 45%;
      height: 200%;
      background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.75) 50%,
        rgba(255, 255, 255, 0) 100%
      );
      transform: rotate(25deg);
      animation: shimmerSweep 2.4s infinite ease-in-out;
      pointer-events: none;
    }

    /* Hiệu ứng ánh kim & vệt sáng chạy (Shimmer) trên nút Nhận ưu đãi */
    .btn-metallic-shimmer {
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, #991b1b 0%, #dc2626 45%, #b91c1c 55%, #7f1d1d 100%);
      border: 0.25px solid #fde047;
      box-shadow: 0 4px 15px rgba(251, 191, 36, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    }

    .btn-metallic-shimmer::after {
      content: "";
      position: absolute;
      top: -50%;
      left: -75%;
      width: 50%;
      height: 200%;
      background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(254, 240, 138, 0.65) 50%,
        rgba(255, 255, 255, 0) 100%
      );
      transform: rotate(25deg);
      animation: shimmerSweep 2.6s infinite ease-in-out;
    }

    @keyframes shimmerSweep {
      0% { left: -75%; }
      60% { left: 130%; }
      100% { left: 130%; }
    }

    /* Hiệu ứng hoa mai rơi */
    .petal {
      position: fixed;
      top: -30px;
      pointer-events: none;
      z-index: 40;
      animation: fall linear forwards;
    }

    @keyframes fall {
      0% {
        transform: translateY(-20px) rotate(0deg) translateX(0px);
        opacity: 0.9;
      }
      50% {
        transform: translateY(50vh) rotate(180deg) translateX(18px);
      }
      100% {
        transform: translateY(105vh) rotate(360deg) translateX(-12px);
        opacity: 0.2;
      }
    }

    /* Hiệu ứng bật nảy thông báo Freeship */
    @keyframes popInCenter {
      0% { transform: translate(-50%, -50%) scale(0.7); opacity: 0; }
      70% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
      100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    }
    .animate-pop-center {
      animation: popInCenter 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    }

    /* Ẩn thanh cuộn ngang cho slider */
    .no-scrollbar::-webkit-scrollbar {
      display: none;
    }
    .no-scrollbar {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }
