@charset "UTF-8";
@font-face {
  font-family: "SFProDisplay";
  src: url("../fonts/SFProDisplay-Regular.woff2") format("woff2"), url("../fonts/SFProDisplay-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SFProDisplay";
  src: url("../fonts/SFProDisplay-Semibold.woff2") format("woff2"), url("../fonts/SFProDisplay-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "SFProDisplay";
  src: url("../fonts/SFProDisplay-Medium.woff2") format("woff2"), url("../fonts/SFProDisplay-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

html {
  background-color: #B9000E;
}

body {
  font-family: SFProDisplay, sans-serif;
  background: linear-gradient(#D80814, #B9000E) fixed;
  padding: 0;
  margin: 0;
  font-size: 15px;
}

.container {
  max-width: 440px;
  width: 100%;
  margin-inline: auto;
  /*background: linear-gradient(#82ffbe, #2ae484);*/
  background: linear-gradient(rgba(232, 0, 15, 0), #e8000e);
  position: relative;
}
.container .content-top {
  background-color: #e8000e;
}
.container .content-top .bg {
  position: absolute;
  top: 0;
}
.container .content-top .bg img {
  width: 100%;
}
.container .content-top .main {
  position: relative;
  z-index: 1;
}

.container .header {
  width: 100%;
  min-height: 288px;
}

.content-body {
  min-height: 496px;
}
.content-body .box-content {
  padding: 14px;
}
.content-body .box-content .thong-tin-kh {
  width: 100%;
  max-width: 330px;
  margin: auto;
  padding: 30px 0;
}
.content-body .box-content .thong-tin-kh .items {
  padding-bottom: 20px;
}
.content-body .box-content .thong-tin-kh .items:nth-last-child(1) {
  padding-bottom: 0;
}
.content-body .box-content .thong-tin-kh .items:nth-last-child(1) button {
  border-radius: 6px;
  height: 44px;
  padding: 0 30px;
  cursor: pointer;
  border: 0;
  color: #fff;
  background-color: #B9000E;
  font-weight: bold;
}
.content-body .box-content .thong-tin-kh .items:nth-last-child(1) button:hover {
  background-color: #e8000e;
}
.content-body .box-content .thong-tin-kh .items label {
  width: 100%;
  margin-bottom: 6px;
  display: block;
}
.content-body .box-content .thong-tin-kh .items input {
  padding: 0;
  margin: 0;
  height: 40px;
  border-radius: 4px;
  border: 1px solid #dcdcdc;
  outline: 0;
  width: 100%;
  text-indent: 10px;
  font-size: 15px;
}
.content-body .box-content .thong-tin-kh .items input:focus {
  outline: 1px solid #e8000e;
}
.content-body .box-content .thong-tin-dh {
  max-width: 100%;
  margin: auto;
  padding: 14px;
}
.content-body .box-content .thong-tin-dh .items {
  padding-bottom: 20px;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
}
.content-body .box-content .thong-tin-dh .items:nth-last-child(1) {
  padding-bottom: 0;
}
.content-body .box-content .thong-tin-dh .items:nth-last-child(1) button {
  border-radius: 6px;
  height: 44px;
  padding: 0 30px;
  cursor: pointer;
  border: 0;
  color: #fff;
  background-color: #B9000E;
  font-weight: bold;
}
.content-body .box-content .thong-tin-dh .items:nth-last-child(1) button:hover {
  background-color: #e8000e;
}
.content-body .box-content .thong-tin-dh .items b {
  padding: 0;
  margin: 0;
}
.content-body .box-content .thong-tin-dh .items label {
  width: 120px;
  min-width: 120px;
  margin-bottom: 0;
  display: block;
}
.content-body .box-content .thong-tin-dh .items input {
  padding: 0;
  margin: 0;
  height: 40px;
  border-radius: 4px;
  border: 1px solid #dcdcdc;
  outline: 0;
  width: 100%;
  text-indent: 10px;
}
.content-body .box-content .thong-tin-dh .items input:focus {
  outline: 1px solid #e8000e;
}
.content-body .box-content .qua-cua-toi {
  background-color: #fff; /* nền của khối, để scrollbar nằm bên trong khối trắng */
  border-radius: 16px;
  padding: 10px;
}
.content-body .box-content .qua-cua-toi .gifts-container {
  height: 450px; /* giống chiều cao vùng thể lệ */
  overflow-y: auto; /* thanh cuộn bên trong */
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #f0f0f0; /* Firefox */
  scrollbar-gutter: stable both-edges; /* giữ layout và tạo khoảng trống đều 2 bên */
}
.content-body .box-content .qua-cua-toi .gifts-container::-webkit-scrollbar {
  width: 8px; /* giống thể lệ */
}
.content-body .box-content .qua-cua-toi .gifts-container::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}
.content-body .box-content .qua-cua-toi .gifts-container::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00aaff, #0066ff); /* đồng nhất với thể lệ */
  border-radius: 10px;
  min-height: 88px; /* làm thumb dài hơn để dễ kéo */
}
.content-body .box-content .qua-cua-toi .gifts-container::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #0099ff, #0044cc);
}
.content-body .box-content .qua-cua-toi .items {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #f0f0f0;
}
.content-body .box-content .qua-cua-toi .items:last-child {
  border-bottom: none;
}
.content-body .box-content .qua-cua-toi .items .pic-gift {
  min-width: 82px;
  text-align: center;
}
.content-body .box-content .qua-cua-toi .items .pic-gift img {
  max-width: 100%;
  height: 60px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  display: block;
}
.content-body .box-content .qua-cua-toi .items .pic-gift .no-image {
  width: 100%;
  height: 60px;
  background-color: #f0f0f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 12px;
}
.content-body .box-content .qua-cua-toi .items .text-gift {
  flex: 1;
  min-width: 0;
}
.content-body .box-content .qua-cua-toi .items .text-gift .giai-thuong .prize-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 4px;
}
.content-body .box-content .qua-cua-toi .items .text-gift .giai-thuong .prize-info .logo-giai-thuong {
  display: flex;
  align-items: center;
}
.content-body .box-content .qua-cua-toi .items .text-gift .giai-thuong .prize-info .logo-giai-thuong h2 {
  font-size: 13px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
  color: #e8000e;
}
.content-body .box-content .qua-cua-toi .items .text-gift .giai-thuong .prize-info .logo-giai-thuong img {
  max-width: 100%;
  height: 30px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  display: block;
  margin-left: 6px;
}
.content-body .box-content .qua-cua-toi .items .text-gift .giai-thuong .prize-info .date {
  font-size: 12px;
  color: #3C4144;
  white-space: nowrap;
}
.content-body .box-content .qua-cua-toi .items .text-gift .giai-thuong .description {
  font-size: 12px;
  line-height: 18px;
}
.content-body .box-content .sieu-thi {
  display: flex;
  margin: 0;
  padding: 0;
  row-gap: 30px;
  gap: 30px;
  justify-content: center;
  padding-bottom: 30px;
}
.content-body .box-content .sieu-thi li {
  width: 50%;
  list-style: none;
  text-align: center;
  max-width: -moz-fit-content;
  max-width: fit-content;
}
.content-body .box-content .sieu-thi li a {
  width: 170px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 16px;
}
.content-body .box-content .sieu-thi li a img {
  transition: transform 0.4s ease;
  max-width: 100%;
  height: 56px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  display: block;
}
.content-body .box-content .sieu-thi li a img:hover {
  transform: scale(1.2);
}
.content-body .box-content .bg-body {
  background-color: white;
  min-height: 274px;
  width: 100%;
  border-radius: 16px;
}
.content-body .box-content .bg-body .the-le {
  padding: 10px;
}
.content-body .box-content .bg-body .the-le .content-the-le h4 {
  font-size: 13px;
  text-align: center;
  padding: 0;
  margin: 0;
}
.content-body .box-content .bg-body .the-le .content-the-le.scroll-box {
  height: 300px;
  overflow-y: auto;
  padding: 10px;
}
.content-body .box-content .bg-body .the-le .content-the-le .scroll-box::-webkit-scrollbar {
  width: 8px; /* độ rộng thanh dọc */
  height: 8px; /* độ cao thanh ngang (nếu có) */
}
.content-body .box-content .bg-body .the-le .content-the-le .scroll-box::-webkit-scrollbar-track {
  background: #f0f0f0; /* màu nền rãnh */
  border-radius: 10px;
}
.content-body .box-content .bg-body .the-le .content-the-le .scroll-box::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00aaff, #0066ff);
  border-radius: 10px;
}
.content-body .box-content .bg-body .the-le .content-the-le .scroll-box::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #0099ff, #0044cc);
}

.title {
  text-align: center;
  padding: 10px;
  margin-bottom: 20px;
  width: 100%;
  margin: auto;
  text-align: center;
  padding: 0 20px;
  height: 61px;
  max-width: 294px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.title h2 {
  font-size: 18px;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
  padding-bottom: 8px;
}

.title-logo {
  text-align: center;
  padding: 10px;
  margin-bottom: 20px;
  width: 338px;
  margin: auto;
  text-align: center;
  padding: 0 20px;
  height: 61px;
  max-width: 294px;
}
.title-logo h2 {
  font-size: 18px;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
  padding-top: 2px;
}
.title-logo p {
  padding: 0;
  color: white;
  margin: 0;
}
.title-logo .bg-w {
  background-color: #fff;
  max-width: 80px;
  margin: auto;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.title-logo .bg-w img {
  max-width: 80px;
  max-height: 28px;
}

footer {
  background-image: url(../images/footer.png);
  background-repeat: no-repeat;
  min-height: 169px;
  position: relative;
}

.banner img {
  width: 100%;
}

.box-shadow {
  box-shadow: 0px 0px 10px #E8000D;
  overflow: hidden;
  border-radius: 8px;
}

.tabs {
  display: flex;
  border-bottom: 1px solid #dcdcdc;
}

.tab {
  flex: 1;
  padding: 14px 10px;
  cursor: pointer;
  text-align: center;
  border: none;
  outline: none;
  background: #fff;
  color: #333;
  font-weight: bold;
  border-right: 1px solid #ccc;
  transition: background 0.2s;
  font-size: 12px;
  white-space: nowrap;
}

.tab:last-child {
  border-right: none;
}

.tab.active {
  background: linear-gradient(#FF0909, #E8000D);
  color: #fff;
}

.content {
  display: none;
  padding: 15px;
  min-height: 200px;
  background-color: #fff;
}

.content.active {
  display: block;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: 8px;
  border: 1px solid #E8000D;
  text-align: center;
}

th {
  color: #E8000D;
  font-weight: bold;
}

td.txt-l {
  text-align: left;
}

.no-data {
  text-align: center;
  color: #E8000D;
  font-style: italic;
  padding: 30px !important;
}

.btn-list {
  width: 100%;
  max-width: 300px;
  margin: auto;
}
.btn-list button {
  width: -moz-fit-content;
  width: fit-content;
}
.btn-list p {
  color: white;
}
.btn-list p span {
  font-weight: bold;
}

.btn-bottom {
  text-align: center;
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
}
.btn-bottom .icon-buttons {
  width: 100%;
  text-align: center;
  padding-top: 20px;
  justify-content: center;
}
.btn-bottom .btn-zoom {
  background: white;
  color: #E8000D;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  padding: 10px 25px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
  animation: zoomInOut 1s ease-in-out infinite;
}
.btn-bottom .banner {
  width: 100%;
}
.btn-bottom .banner img {
  width: 100%;
}
@keyframes zoomInOut {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.18);
  }
}
.btn-bottom .btn-zoom:hover {
  transform: scale(1.1);
}
.btn-bottom .icon-buttons {
  display: flex;
  gap: 20px;
}
.btn-bottom .icon-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: white;
  color: #E8000D;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  animation: shakeRotate 2s ease-in-out infinite;
}
@keyframes shakeRotate {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(10deg);
  }
  50% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(10deg);
  }
}
.btn-bottom .icon-btn:hover {
  animation: shakeRotateFast 0.5s ease-in-out infinite;
}
@keyframes shakeRotateFast {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(14deg);
  }
  50% {
    transform: rotate(-14deg);
  }
  75% {
    transform: rotate(14deg);
  }
}

/*--box gift--*/
.box-gift {
  flex-wrap: wrap;
  display: flex;
  row-gap: 30px;
  justify-content: space-between;
}
.box-gift .items {
  width: 33%;
  text-align: center;
  /* Hiệu ứng lắc nhẹ mặc định */
  /* Hiệu ứng lắc mạnh khi hover */
}
.box-gift .items .gift {
  max-width: 100%;
  height: 80px;
  background: url("../images/gift.svg") no-repeat center/contain;
  animation: shake 2s infinite ease-in-out;
  transform-origin: center;
  transition: animation 0.3s ease;
  margin: auto;
  cursor: pointer;
}
.box-gift .items .gift:hover {
  animation: shakeStrong 0.5s infinite ease-in-out;
}
@keyframes shake {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(2deg);
  }
  50% {
    transform: rotate(-2deg);
  }
  75% {
    transform: rotate(2deg);
  }
}
@keyframes shakeStrong {
  0%, 100% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(8deg);
  }
  40% {
    transform: rotate(-8deg);
  }
  60% {
    transform: rotate(8deg);
  }
  80% {
    transform: rotate(-8deg);
  }
}

.title-trung-thuong {
  text-align: center;
  padding: 14px;
}
.title-trung-thuong p {
  color: #E8000D;
  padding: 0;
  margin: 0;
  padding-bottom: 6px;
  font-size: 16px;
  font-weight: bold;
}
.title-trung-thuong h3 {
  padding: 0;
  margin: 0;
  color: #E8000D;
  font-size: 16px;
  font-weight: bold;
}

.pic {
  text-align: center;
}
.pic img {
  max-width: 280px;
}

.name-gift {
  text-align: center;
  padding: 14px;
  font-weight: 600;
}

.confetti {
  max-width: 100%;
  display: block;
  margin: 0 auto;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  background: transparent;
  position: absolute;
  z-index: 1;
}

.name {
  font-weight: 900;
  text-transform: uppercase;
  padding: 36px;
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  top: 37%;
  color: rebeccapurple;
  font-family: "Righteous", cursive;
  font-size: 93px;
  letter-spacing: 10px;
  text-shadow: 2px 4px 11px rgba(0, 0, 0, 0.28);
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: white;
  background: transparent;
}

.icon-warning {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
}

.icon-warning .fa.fa-warning:before {
  font-size: 32px;
  color: yellow;
}

.title-link {
  text-align: center;
  color: white;
}

.hotro {
  max-width: 300px;
  margin: auto;
  background-color: white;
  border-radius: 16px;
  padding: 30px 0;
  text-align: center;
}
.hotro h3, .hotro p {
  padding: 4px 0;
  margin: 0;
}
.hotro h3 span, .hotro h3 a, .hotro p span, .hotro p a {
  color: #B9000E;
  text-decoration: none;
  font-weight: 500;
}

/* Winners page: phone search input */
.phone-filter-wrap{margin:10px 12px 8px 12px}
.phone-filter-wrap.filter-row-relative{position:relative}
.phone-filter{width:100%;height:40px;padding:8px 12px 8px 40px;border:1px solid rgba(232,0,13,.35);background:#fff;border-radius:12px;font-size:14px;outline:none;transition:border-color .2s, box-shadow .2s;box-shadow:0 2px 8px rgba(232,0,13,.08);-webkit-appearance:none;appearance:none;box-sizing:border-box}
.phone-filter::placeholder{color:#9ba3ae}
.phone-filter:focus{border-color:#E8000D;box-shadow:0 0 0 3px rgba(232,0,13,.15)}
.phone-filter-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#E8000D;font-size:14px;line-height:1}
@media (min-width: 768px){.phone-filter{height:42px;font-size:15px}}
/* End: winners page input */

/* Popup */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.popup.active {
  visibility: visible;
  opacity: 1;
}

.popup-content {
  background: transparent;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  position: relative;
  width: 320px;
  height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  animation: zoomIn 0.5s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.popup-content .gift-box {
  position: relative;
  width: 150px;
  height: 150px;
  margin: auto;
  transform-origin: center;
  background: url("../images/gift.svg") no-repeat center/contain;
}

/* Animation shakeStrongZoomSmooth */
@keyframes shakeStrongZoomSmooth {
  0% {
    transform: scale(1) rotate(0deg);
  }
  10% {
    transform: scale(1.05) rotate(10deg);
  }
  20% {
    transform: scale(1.08) rotate(-10deg);
  }
  30% {
    transform: scale(1.1) rotate(9deg);
  }
  40% {
    transform: scale(1.15) rotate(-9deg);
  }
  50% {
    transform: scale(1.2) rotate(8deg);
  }
  60% {
    transform: scale(1.25) rotate(-8deg);
  }
  70% {
    transform: scale(1.35) rotate(6deg);
  }
  80% {
    transform: scale(1.45) rotate(-6deg);
  }
  90% {
    transform: scale(1.6) rotate(3deg);
  }
  100% {
    transform: scale(1.8) rotate(0deg);
  }
}

/*# sourceMappingURL=style.css.map */