.button.primary.expand {
  display: inline-block;
  width: 100%;
  max-width: 320px;
  padding: 14px 14px;
  background: linear-gradient(135deg, #ff5f6d, #ffc371); /* Đã sửa */
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.button.primary.expand:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  background: linear-gradient(135deg, #ff416c, #ffb347);
}

.button.primary.expand:active {
  transform: scale(0.98);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

/* Right Floating Menu */
.right-floating-menu {
  position: absolute;
  right: 0;
  bottom: 60px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 5px;
  transition: top 0.2s ease-out;
}

.right-floating-menu a img {
  width: 100px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.right-floating-menu a img:hover {
  transform: scale(1.05);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .right-floating-menu a img {
    width: 60px;
  }

  .sdhome-jackpot-frame span {
    top: 1.62rem;
    font-size: 1.0rem;
  }
}

/* Boxed Layout fix */
.container {
  position: relative;
}

.flickity-slider {
  height: 100%;
  position: absolute;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.panel-topjackpot {
  position: relative;
  width: 95.6%;
  font-size: 16px;
  padding-left: 0.44rem;
  margin: 12px auto;
  z-index: 2;
}

.sdhome-jackpot-frame {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 2.2rem;
  margin: 0 auto;
}

.sdhome-jackpot-frame img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 12px;
}

.sdhome-jackpot-frame span {
  position: absolute;
  top: 3.62rem;
  left: 0;
  width: 100%;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  font-size: 1.9rem;
  font-weight: bold;
  text-shadow: 0 2px 0 #004A74;
  color: #FFEE00;
}
#tab-bar-home {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 85px;
  z-index: 9999;
  pointer-events: none;
}

.tabbar-left-bgcolor {
  position: absolute;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
}

.tabbar-left-bg {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  pointer-events: none;
}

.tabbar-left {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 100%;
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.tabbar-left-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  padding-bottom: 6px;
}

.tabbar-left-item img {
    height: 75px !important;
    width: auto !important;
    object-fit: contain;
    margin-bottom: 4px;
    display: block;
}
.tabbar-left-item:nth-child(2) img {
  margin-top: 6px;
}
.tabbar-center {
  transform: translateY(-12px);
}
.icon-wrapper {
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-wrapper img {
  height: 100%;
  width: auto;
}

.red-point {
  position: absolute;
  top: -4px;
  right: 18px;
  background: red;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 999px;
  line-height: 1;
  font-weight: bold;
}
#tab-bar-home {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 560px;
  height: 85px;
  z-index: 9999;
  pointer-events: none;
}
