/* ===== CSS Custom Properties ===== */
:root {
  --primary: #1678ff;
  --primary-dark: #1c83fa;
  --accent: #ff6b35;
  --text: #333;
  --light: #fff;
  --gray: #f5f5f5;
  --border: #eee;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --font-main: "Inter", system-ui, -apple-system, sans-serif;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: var(--text);
  background-color: #000000;
  background-image: url('../img/bgpc.webp');
  background-size: 100% auto;
  background-position: top center;
  background-attachment: scroll;
  background-repeat: no-repeat;
  position: relative;
}

@media (max-width: 768px) {
  body {
    background-image: url('../img/bgmb.webp');
    background-size: 100% auto;
    background-position: top center;
    background-attachment: scroll;
    background-repeat: no-repeat;
  }
}

img {
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
}

/* ===== Layout ===== */
.container {
  width: min(100% - 2rem, 1050px);
  margin-inline: auto;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.4rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.highlight {
  color: var(--accent);
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-block;
  padding: 0.2rem 1.2rem;
  background: transparent;
  color: var(--primary);
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
  border: 2px solid var(--primary);
  text-transform: uppercase;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
}

/* ===== Header ===== */
.header {
  z-index: 1000;
  position: fixed;
  left: 0px;
  right: 0px;
  top: 20px;
  height: 65px;
  display: flex;
  align-items: center;
  max-width: 1250px;
  margin: 0 auto;
  background: transparent;
  padding: 0px;
  box-shadow: none;
  border-bottom: none;
}

.header .support-item .item {
  color: #ffffff;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
}

.header .authpc a img {
  transition: transform 0.25s ease-in-out;
}

.header .authpc a:hover img {
  transform: translateY(-2px) scale(1.05);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.logo img {
  height: 100%;
  display: block;
}

.nav ul {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-weight: 600;
  transition: var(--transition);
}

.nav a:hover {
  color: var(--primary);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.support-item {
  display: flex;
  align-items: center;
  gap: 24px;
}

.item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #1678ff;
  font-size: 18px;
  font-weight: 500;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 23%;
}

.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(rgba(211, 47, 47, 0.9), rgba(183, 28, 28, 0.8)),
    url("../images/banner.jpg") center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 6rem 1rem;
}

#hero img {
  max-width: 100%;
}

#hero .pc-banner {
  width: 100%;
}

.hero h1 {
  margin-bottom: 1rem;
}

.marqueDiv {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0px;
  background: white;
  width: 100%;
  border-radius: 0px;
  color: black;
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 5px 10px;
  font-weight: 600;
}

.marque-content {
  display: flex;
  margin: 0 auto;
  max-width: 1250px;
  width: 100%;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.marque-content img {
  flex-shrink: 0;
}

.marque-viewport {
  position: relative;
  flex: 1;
  overflow: hidden;
  min-width: 0;
  contain: paint;
}

.marque-track {
  display: inline-flex;
  width: max-content;
  align-items: center;
  animation: bannerTicker 55s linear infinite;
  backface-visibility: hidden;
}

.marque-item {
  flex: 0 0 auto;
  white-space: nowrap;
  padding-right: 64px;
}

@keyframes bannerTicker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.compadderss {
  transform: translateY(19px);
}

.badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.badges img {
  height: 60px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* ===== Tables ===== */
.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: transparent !important;
}

th,
td {
  padding: 1rem;
  text-align: center;
  font-weight: 500;
  border: 2px solid #1678ff;
}

th {
  background: #1678ff;
  color: white;
  font-weight: 600;
}

/* tbody tr:hover {
  background: #2b8eff1c;
} */
.note {
  padding: 0;
}

.note p {
  margin-bottom: 0;
  font-weight: 500;
  font-size: 14px;
  color: #fff;
}

/* ===== Steps ===== */
.steps {
  padding: 20px 0px;
}

.steps-grid {
  display: flex;
  gap: 0;
  align-items: center;
  position: relative;
}

.step {
  padding: 10px 10px;
  text-align: center;
  position: relative;

}

.step:hover {
  scale: 1.05;
}

.steps .steps-items {
  flex: 1;
  text-align: center;
}

.steps img {
  margin: 0 auto;
}

.steps-items>img {
  margin: 0 auto 10px auto;
  max-width: 150px;
  height: auto;
}

.steps-direction {
  width: 24px;
  height: auto;
  flex-shrink: 0;
  margin: 0 15px;
  transform: translateY(60px);
}

.steps-direction-1 {}

.steps-direction-2 {}

.step:hover {
  transform: translateY(-2px);
}

.step h3 {
  color: #1678ff;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}

.step p {
  color: black;
  font-size: 15px;
  margin-bottom: 0 !important;
  min-height: 95px;
  text-align: justify;
}

.step-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 286px;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.step-card-wrapper:hover {
  transform: translateY(-5px);
}

.step-card-wrapper img.step-card-bg {
  width: 100%;
  height: auto;
  display: block;
}

.step-card-wrapper .step-card-content {
  position: absolute;
  bottom: 3.05%;
  left: 6.99%;
  right: 6.99%;
  top: 54.01%;
  padding: 10px 8px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.step-card-wrapper .step-card-content p {
  color: #000000;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  margin: 0;
  font-weight: 600;
  max-height: 100%;
}

.step-card-wrapper .step-card-content p a {
  color: #1678ff;
  font-weight: 700;
  text-decoration: underline;
}


/* ===== Features ===== */
.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2rem;
}

.feature {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.feature h3 {
  color: var(--primary);
  margin-bottom: 0.8rem;
}

/* ===== Footer ===== */
.footer {
  background: #141414;
  padding: 0;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 2rem;
}

.footer h4 {
  color: white;
  margin-bottom: 1rem;
}

.copyright {
  text-align: center;
  font-size: 0.9rem;
  color: #777;
}

/* ===== Lá»¢I ÃCH KHI Há»¢P TÃC SECTION ===== */
.benefits {
  padding: 2rem 0rem;
  padding-top: 0rem;
}

.section-btn {
  text-align: center;
  margin-bottom: 0;
}

.section-btn img {
  cursor: pointer;
}

.benefits .section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #1678ff;
  margin-top: 2rem;
  margin-bottom: 1rem;
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.benefits p {
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 500;
}

/* .deco-left,
.deco-right {
  display: flex;
} */

.simple-para {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  padding: 19px 0px;
}

.simple-para p {
  margin-bottom: 0rem;
  color: #4e4e4e;
  font-weight: 600;
  font-size: 22px;
  line-height: normal;
  text-align: center;
}

.benefits-tabs-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1250px;
  margin: 30px auto;
  padding: 0 10px;
}

.benefits-tabs-container .tab-item {
  position: relative;
  transition: transform 0.3s ease;
}

.benefits-tabs-container .tab-item:hover {
  transform: translateY(-5px);
}

.benefits-tabs-container .tab-item img.card-bg-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.benefits-tabs-container .tab-item .tab-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52%;
  padding: 10px 18px 20px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.benefits-tabs-container .tab-item .tab-card-content p {
  color: #ffffff;
  font-size: 10.5px;
  line-height: 1.45;
  text-align: justify;
  margin: 0;
  font-weight: 400;
  max-height: 100%;
}

@media (max-width: 1200px) {
  .benefits-tabs-container .tab-item .tab-card-content p {
    font-size: 12.5px;
  }
}

@media (max-width: 992px) {
  .benefits-tabs-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .benefits-tabs-container .tab-item .tab-card-content p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .benefits-tabs-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    max-width: 100%;
  }

  .benefits-tabs-container .tab-item .tab-card-content {
    padding: 6px 8px 10px 8px;
  }

  .benefits-tabs-container .tab-item .tab-card-content p {
    font-size: 9.5px;
    line-height: 1.25;
  }
}

/* Benefits Grid */
.benefits-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.4fr);
  gap: 0.75rem;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 30px;
}

.benefits-media {
  display: grid;
  gap: 1.25rem;
  align-self: stretch;
}

.benefits-cta-image,
.benefits-contact-image {
  width: 100%;
  display: block;
}

.benefits-cta-image {
  max-width: 430px;
  margin: 0 auto;
  animation: benefitsFloat 4.8s ease-in-out infinite;
  will-change: transform;
}

.benefits-contact-image {
  max-width: 600px;
  margin: 0 auto;
  display: none;
}

.benefits-contact-card {
  position: relative;
  width: min(100%, 600px);
  min-height: 535px;
  margin: 0 auto;
}

.benefits-contact-main {
  width: 100%;
}

.benefits-contact-main-image {
  width: 100%;
  height: auto;
  display: block;
}

.llwin {
  color: #1678ff;
}

.benefits-contact-point {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #0c58e8;
  font-size: 24px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  animation: benefitsFloat 4s ease-in-out infinite;
  will-change: transform;
}

.benefits-contact-point-icon {
  width: 90px;
  height: 90px;
  display: block;
}

.benefits-contact-point-telegram {
  top: 18px;
  left: -42px;
  animation-delay: 0s;
}

.benefits-contact-point-hotline {
  top: 6px;
  right: -28px;
  animation-delay: 0.7s;
}

.benefits-contact-point-email {
  bottom: 30px;
  left: -40px;
  animation-delay: 1.4s;
}

.benefits-contact-point-facebook {
  right: -28px;
  bottom: 64px;
  animation-delay: 2.1s;
}

@keyframes benefitsFloat {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 291px);
  column-gap: 20px;
  row-gap: 2.8rem;
  width: fit-content;
  margin: 0 auto;
  justify-content: center;
}

.benefits-layout .benefits-grid {
  margin-top: 40px;

}

.benefits-grid .benefit-item:nth-child(2),
.benefits-grid .benefit-item:nth-child(4) {
  transform: translateY(-35px);
}

.benefit-item:hover {
  transform: translateY(-2px);
}

.benefit-item {
  background: #fff;
  padding: 10px;
  border-radius: 16px;
  box-shadow: 0px 4px 9px 0px #062b2780;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 291px;
  min-height: 258px;
  margin: 0 auto;
}

.benefit-item:hover {
  scale: 1.05;
}

.cert-item img:hover {
  scale: 1.05;
}

.nav-link:hover {
  scale: 1.05;
}

.benefit-item .icon {
  position: absolute;
  left: 0;
  right: 0;
  top: -30px;
  display: flex;
  justify-content: center;
}

.text-item {
  display: grid;
  justify-content: flex-start;
  padding-top: 30px;
}

.benefit-item h3 {
  color: #1678ff;
  padding: 5px 0px;
  font-weight: 800;
  font-size: 22px;
  display: inline-block;
  text-align: center;
}

.benefit-item p {
  font-size: 14px;
  color: #444;
  margin: 0;
  text-align: justify;
  font-weight: 500;
  line-height: normal;
}

.benefit-item p strong {
  color: #1678ff;
  font-weight: 600;
}

.agent {
  padding: 1rem 0rem;
}

.agent-title-bg {
  position: relative;
}

.agent-title-bg h4 {
  position: absolute;
  top: 5px;
  left: 40px;
  font-size: 17.5px;
  font-weight: 800;
  color: #1678ff;
}

.agent .agent-para {
  padding: 10px 0px;
}

.agent-para p {
  font-size: 16px;
  color: #fff;
  margin-bottom: 0;
  line-height: normal;
  text-align: justify;
}

.bonus-table {
  padding: 0rem 0rem;
}

.commissionBonus {
  padding: 1rem 0rem;
}

.commision-border {
  padding-top: 10px;
  padding-bottom: 10px;
}

.commis-calculator {
  border-radius: 10px;
  text-align: center;
  padding: 20px 10px;
}

.commis-calculator h3 {
  font-weight: 700;
  font-size: 22px;
  text-align: center;
  color: #fff;
  padding-bottom: 10px;
}

.commis-calculator p {
  font-weight: 400;
  font-size: 16px;
  text-align: center;
  color: #ccc;
  margin-bottom: 20px;
}

.commis-calculator button {
  border: 0;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 75px;
  margin: 0 auto;
  background: #1678ff;
  box-shadow: 0px 10.53px 15.79px -3.16px #0000001a;
  font-weight: 700;
  font-size: 22px;
  text-align: center;
}

.commis-calculator span {
  display: block;
  background: linear-gradient(180deg, white 0%, white 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.4s ease;
}

/* video section css  */
.activated-agents {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 100px;
  background: #1678ff;
}

.activated-agents h4 {
  font-weight: 600;
  font-size: 24px;
  line-height: normal;
  text-align: center;
  text-transform: uppercase;
  color: #fff;

  padding: 10px 10px;
}

.activated-agents h4 span {
  background: linear-gradient(180deg, #f7ff5b 0%, #ffbf00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.4s ease;
}

.vid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
  row-gap: 1rem;
}

.vid-item {

  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: baseline;
  gap: 10px;
  justify-content: flex-start;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 973 / 593;
  cursor: pointer;
  background-image: url('/assets/img/bgvideopc.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  box-sizing: border-box;
}

.video-container iframe {
  position: absolute;
  top: 11.47%;
  left: 3.29%;
  width: 93.42%;
  height: 84.99%;
  border: none;
}


.video-placeholder {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.videos .section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #1678ff;
  margin-top: 1rem;
  position: relative;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.placeholder-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.video-placeholder:hover .placeholder-image {
  opacity: 0.9;
}

#videoPlayer {
  border-radius: 10px;
  display: none;
}

/* Footer Banner Section */
.footer-banner {
  padding: 40px 0;
  border-bottom: 1px solid #333;
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin: 0 auto;
}

.banner-left {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 500px;
}

.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.branding-img {
  max-width: 500px;
  width: 100%;
  height: auto;
  display: block;
}

/* .compadderss {
  display: flex;
} */

.banner-right {
  display: flex;
  gap: 10px;
  background: transparent;
  border-radius: 10px;
  padding: 0;
  align-items: center;
  flex: 0 0 480px;
}

.banner-heading-right {
  flex: 1;
  min-width: 0;
  padding: 0 15px 0 0;
}

.banner-right img {
  width: 220px;
  height: 130px !important;
  border-radius: 8px;
  flex-shrink: 0;
  object-fit: cover;
}

.players-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.banner-center {
  flex: 1;
  text-align: center;
  padding: 0 40px;
}

.badge {
  width: 389px;
  /* height: 68px;
  margin-bottom: 10px; */
}

.title {
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 0;
  color: #343434;
}

.subtitle {
  font-weight: 400;
  font-size: 14px;
  text-transform: capitalize;
  color: #343434;
}

.kjclogo {
  width: 175px;
  height: 59px;
}

.lefimg {
  width: 230px;
  height: 153px;
}

.partnership-title {
  font-weight: 900;
  font-size: 20px;
  color: #f5d58c !important;
  padding-bottom: 5px;
}

span#kjcTextShort {
  color: white;
}

.partnership-desc {
  font-size: 14px;
  color: #ffffff;
  font-weight: 400;
  margin-bottom: 0px;
}

.toggle-link {
  color: #f5d58c !important;
  cursor: pointer;
  text-decoration: underline;
}

.partnership-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.footer-nav {
  background: #1a1a1a;
  padding: 20px 0;
  border-bottom: 1px solid #333;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.nav-link {
  color: #aaa;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-separator {
  color: #444;
  font-size: 14px;
  line-height: 1;
}

.footer-certificates {
  background: #1a1a1a;
  padding: 30px 0;
}

.certs-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.certs-grid {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
}

.cert-item {
  width: 40px;
  height: 40px;
}

.cert-item img {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  object-fit: contain;
}

.mbfoooter {
  display: none;
}

.mb-banner {
  display: none;
}

.bonus-table .bonus-border {
  padding: 10px 0px;
  padding-bottom: 0px;
}

.bonus-table .agent-para {
  padding-bottom: 10px;
}

.commis-bons {
  padding: 10px 0px;
}

/* Tele bot */
.tele-bot-div {
  position: fixed;
  right: 15px;
  bottom: 16%;
  z-index: 9;
}

.telegram-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #0088cc;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 1.5s ease-out infinite;
  cursor: pointer;
}

.telegram-icon svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 136, 204, 0.5);
  }

  80% {
    box-shadow: 0 0 0 14px rgba(0, 136, 204, 0);
  }
}

.tele-bot-div .bot-content {
  width: 300px;
  background-color: #141414 !important;
  background-image: none !important;
  color: #ffffff !important;
  border-radius: 10px;
  box-shadow: 0px 0px 10px 0px rgba(245, 213, 140, 0.6);
  border: 2px solid #f5d58c;
  padding: 10px;
  font-weight: 500;
  font-size: 16px;
  line-height: normal;
  display: block;
  /* PC: luÃ´n hiá»‡n sáºµn */
}

.tele-bot-div .bot-content a {
  color: #f5d58c !important;
}

.bot-content {
  background-image: url("../images/tg-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  /* height: 100px; */
}

.tele-bot-div .bot-img {
  position: absolute;
  right: 0;
  bottom: -70px;
}

.tele-bot-bottom {
  position: fixed;
  right: 15px;
  bottom: 0.5%;
  z-index: 9;
}

.tele-bot-bottom .tele-bot {
  width: 50px;
  height: 50px;
  cursor: pointer;
}

/* Sidebar Styles */
.sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background: #f2fbff;
  z-index: 1001;
  transition: left 0.3s ease;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px 20px 20px;
  overflow-y: auto;
}

.side-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar.open {
  left: 0;
}

.close-btn {
  position: absolute;
  top: 0px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  z-index: 1002;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.sidebar-nav li {
  margin-bottom: 15px;
}

.sidebar-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 16px;
  display: block;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.3s;
}

.sidebar-nav a:hover {
  background: var(--gray);
}

.sidebar-support {
  margin: 10px 0;
  padding: 10px 0px;
  border-top: 1px solid var(--border);
}

.sidebar-support .item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 500;
  font-size: 14px;
}

.sidebar-auth {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.sidebar-auth .btn-primary {
  margin: 0;
  width: 100%;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
}

.mobileshow {
  display: none;
}

.header.mb {
  display: none;
}

.header.pc {
  display: block;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

#registerModal {
  z-index: 2100;
}

.modal-content {
  background: white;
  border-radius: var(--radius);
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

.close-icons {
  position: absolute;
  top: 10px;
  right: 10px;
  color: rgb(255, 255, 255);
  font-size: 30px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border-radius: 50%;
  transition: all 0.3s ease;
  background: transparent;
  border: none;
}

.close-icons:hover {
  transform: rotate(90deg) scale(1.1);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Promo Modal Specific */
.promo-content {
  background: transparent;
  border-radius: 20px;
  width: auto;
  height: auto;
  position: relative;
  overflow: hidden;
  padding-bottom: 80px;
}

.promo-main {
  position: relative;
  height: 80%;
}

.promo-main img {
  display: flex;
  border-radius: 20px;
}

.promo-footer {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  display: block;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  text-align: center;
}

.no-show {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

#closePromo {
  color: white;
  background: #1678ff;
  border: none;
  padding: 10px 40px;
  border-radius: 100px;
  font-weight: bold;
  cursor: pointer;
}

/* Registration Modal Specific */
.register-content {
  width: 90%;
  max-width: 500px;
  padding: 0;
  background: #ffffff;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
}

.register-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  padding: 0;
  border-radius: 100px;
}

.register-close-btn img {
  display: block;
}

.register-close-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Message Modal Styles */
#messageModal {
  z-index: 2200;
}

.message-modal-content {
  width: 90%;
  max-width: 450px;
  padding: 40px 30px;
  background: #ffffff;
  border-radius: 20px;
  position: relative;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.message-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  padding: 0;
  border-radius: 100px;
}

.message-close-btn img {
  display: block;
  width: 24px;
  height: 24px;
}

.message-close-btn:hover {
  transform: scale(1.1);
}

.message-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.message-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 10px;
}

.message-icon.success {
  background: #d4edda;
  color: #28a745;
}

.message-icon.success::before {
  content: "âœ“";
}

.message-icon.error {
  background: #f8d7da;
  color: #dc3545;
}

.message-icon.error::before {
  content: "âœ•";
}

.message-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: #333;
}

.message-text {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin: 0;
  word-wrap: break-word;
}

.message-text a {
  color: #1678ff;
  text-decoration: underline;
  font-weight: 600;
  transition: all 0.3s ease;
}

.message-text a:hover {
  color: #0a3a34;
  text-decoration: none;
}

.message-ok-btn {
  background: linear-gradient(135deg, #1678ff 0%, #1678ff 100%);
  color: white;
  border: none;
  padding: 12px 40px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  text-transform: uppercase;
}

.message-ok-btn:hover {
  background: linear-gradient(135deg, #0a3a34 0%, #0a3a34 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 74, 67, 0.3);
}

.register-header {
  background: #ffffff;
  padding: 30px 20px 20px;
  text-align: center;
  padding-bottom: 0px;
}

.register-logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.register-logo-img {
  width: auto;
  display: block;
  margin: 0 auto;
}

.register-slogan {
  font-size: 12px;
  font-weight: 700;
  color: #1678ff;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 1px;
}

.register-partnership {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.partnership-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.partnership-name {
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  line-height: 1.2;
}

.partnership-label {
  font-size: 11px;
  font-weight: 400;
  color: #666666;
  line-height: 1.2;
}

.partnership-year {
  font-size: 11px;
  font-weight: 400;
  color: #666666;
  line-height: 1.2;
}

.partnership-logos {
  display: flex;
  align-items: center;
  gap: 8px;
}

.partnership-logo {
  width: auto;
}

.kjc-logo {
  width: auto;
  margin-left: 8px;
  display: flex;
  align-items: center;
  margin: 0 auto;
  justify-content: center;
}

.register-form-container {
  padding: 20px 25px 20px;
  background: #ffffff;
}

.register-form-title {
  font-size: 20px;
  font-weight: 800;
  color: #1678ff;
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 25px 0;
  letter-spacing: 1px;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.register-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 0 10px;
  min-height: 45px;
}

.input-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 10px;
  position: relative;
}

.input-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.register-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 16px;
  color: #000000;
  outline: none;
  padding: 0;
}

.register-input::placeholder {
  color: #999999;
  font-size: 16px;
}

.required-asterisk {
  color: #ff0000;
  font-size: 14px;
  font-weight: 700;
  margin-left: 5px;
  position: absolute;
  right: -8px;
  top: -6px;
}

.password-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 5px;
}

.password-toggle img {
  width: 20px;
  height: 20px;
  display: block;
}

.password-strength {
  display: flex;
  align-items: center;
  gap: 8px;
}

.password-strength-label {
  font-size: 12px;
  color: #666666;
  white-space: nowrap;
}

.password-strength-bars {
  display: flex;
  gap: 4px;
  flex: 1;
}

.strength-bar {
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  transition: background 0.3s ease;
  width: 40px;
}

.phone-input-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 5px;
  width: 100%;
}

.phone-prefix {
  font-size: 16px;
  color: #b8b8b8;
  font-weight: 500;
  white-space: nowrap;
}

.phone-input {
  flex: 1;
  min-width: 0;
}

@keyframes full-name-note-blink {

  0%,
  100% {
    color: #16a34a;
    text-shadow: 0 0 8px rgba(22, 163, 74, 0.35);
    opacity: 1;
  }

  50% {
    color: #dc2626;
    text-shadow: 0 0 8px rgba(220, 38, 38, 0.35);
    opacity: 0.65;
  }
}

.full-name-note {
  font-size: 12px;
  color: #16a34a;
  margin: 0;
  line-height: 1.4;
  font-weight: 700;
  animation: full-name-note-blink 1s infinite ease-in-out;
}

.register-terms {
  padding: 10px 0;
}

.terms-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
  color: #000000;
  line-height: 1.5;
}

.terms-checkbox {
  display: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #25c4af;
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  margin-top: 2px;
  transition: all 0.3s ease;
}

.terms-checkbox:checked+.checkbox-custom {
  background: #1678ff;
  border-color: #1678ff;
}

.terms-checkbox:checked+.checkbox-custom::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.terms-text {
  flex: 1;
}

.terms-link {
  color: #1678ff;
  text-decoration: underline;
  font-weight: 500;
}

.terms-link:hover {
  color: #1678ff;
}

.register-submit-btn {
  padding: 10px;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1678ff;
  border: 5px solid #1678ff;
  height: 43px;
  opacity: 1;
  border-radius: 8px;
  font-weight: 800;
  color: #fff;
  font-size: 16px;
}

.register-btn-img {
  width: 100%;
  transition: all 0.3s ease;
}

.register-submit-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.register-submit-btn:active {
  transform: translateY(0);
}

.mobileshow {
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mobileshow:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0px 0px 26.03px 0px #25c4af80;
  border-radius: 50px;
}

/* Calculator Modal Specific */
.calc-content {
  width: 750px;
  padding: 0px;
  text-align: center;
  background: #141414;
  border: 1px solid #c79c46;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
}

.calc-content h2 {
  color: #000;
  margin-bottom: 0;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: bold;
}

.model-header {
  background: linear-gradient(180deg, #f5d58c 0%, #c79c46 100%);
  color: #000;
  display: flex;
  align-items: center;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 20;
  justify-content: center;
  padding: 16px 40px;
}

.close-icons img {
  filter: brightness(0);
}

.inputs-section {
  margin-bottom: 20px;
}

.calc-body {
  padding: 10px 20px;
  overflow-y: auto;
  max-height: calc(90vh - 70px);
}

.input-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.input-group {
  flex: 1;
  text-align: left;
}

.section-heading h3 {
  color: #f5d58c;
  font-size: 16px;
  display: flex;
  align-items: center;
  font-weight: bold;
  gap: 5px;
}

.section-heading h3 img {
  filter: sepia(1) saturate(5) hue-rotate(5deg) brightness(1.2);
}

.input-group label {
  display: block;
  font-size: 14px;
  color: #f5d58c;
  margin-bottom: 5px;
  font-weight: 700;
}

.input-group input {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  font-size: 16px;
  background: #1c1c1c;
  border: 0.76px solid #444;
  color: #fff;
}

.slidecontainer .slider {
  border-radius: 50px;
  padding: 0px;
}

.ket-qua {
  text-align: left;
  margin-bottom: 20px;
}

.ket-qua h3 {
  color: #f5d58c;
  text-align: left;
}

.result-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.result-item {
  flex: 1;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.result-item.item1 {
  background: #f0f6ff;
  border: 1.02px solid #c2daff;
}

.result-item.item2 {
  background: #f1fdf4;
  border: 1.02px solid #a7ffbd;
}

.result-item.item3 {
  background: #faf5ff;
  border: 1.02px solid #e1c3ff;
}

.result-item.item4 {
  background: #1c1c1c;
  border: 1.02px solid #333;
}

.result-item.item1:hover,
.result-item.item2:hover,
.result-item.item3:hover,
.result-item.item4:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.result-item.full-width {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: unset;
}

.result-item label {
  font-size: 12px;
  color: #000;
  margin-bottom: 0px;
  display: block;
}

.result-item.item4 label {
  color: #888;
}

.result-item span {
  font-size: 14px;
  font-weight: bold;
  color: #000;
  display: block;
}

.result-item.item4 h6,
.result-item.item4 h6 div {
  color: #fff !important;
}

.trang-thai {
  text-align: left;
  margin-bottom: 20px;
}

.trang-thai p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 10px;
}

.condition-btn {
  background: linear-gradient(180deg, #f5d58c 0%, #c79c46 100%) !important;
  border: none !important;
  color: #000 !important;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.tong-final {
  display: grid;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, #f5d58c 0%, #c79c46 100%);
  color: #000;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 18px;
}

.tong-final span {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  text-transform: uppercase;
}

.tong-final .dd {
  background: #000;
  width: 14px;
  height: 14px;
  border-radius: 50px;
}

.close-modal-btn {
  background: #ff6b35;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
}

/* slider ranger  */
.slidecontainer {
  width: 100%;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #333;
  outline: none;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f5d58c 0%, #c79c46 100%);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0px 0px 3.78px 0px #00000080;
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f5d58c 0%, #c79c46 100%);
  cursor: pointer;
  border: 2px solid #fff;
}

.input-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.input-layout {
  width: 100%;
}

.result-row .aa {
  background: #5081f3;
  width: 8px;
  height: 8px;
  border-radius: 50px;
}

.result-row .bb {
  background: #00c72b;
  width: 8px;
  height: 8px;
  border-radius: 50px;
}

.result-row .cc {
  background: #a758f5;
  width: 8px;
  height: 8px;
  border-radius: 50px;
}

/* ------------------ Toggle Button ------------------ */
.calc-toggle-wrapper {
  text-align: center;
  margin-top: 12px;
}

.calc-toggle-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 700;
  color: #000;
  background: linear-gradient(180deg, #f5d58c 0%, #c79c46 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.calc-toggle-btn:hover {
  opacity: 0.9;
}

.calc-toggle-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px #f5d58c50;
}

.calc-toggle-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  color: #000;
}

/* ------------------ Calculation Details Section ------------------ */
.calc-details-section {}

.calc-details-header {
  padding: 8px 12px;
}

.calc-details-title {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #f5d58c;
}

.calc-details-title-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  color: #f5d58c;
}

/* ------------------ Boxes ------------------ */
.calc-details-content {
  padding: 12px;
  font-size: 14px;
  color: #ccc;
  line-height: 1.5;
}

.calc-box {
  background-color: #1c1c1c;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
  text-align: left;
}

.calc-box-title {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: #f5d58c;
  margin-bottom: 8px;
  font-size: 14px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

.dot.red {
  background: #f5d58c;
}

.dot.blue {
  background-color: #f5d58c;
}

.dot.green {
  background-color: #f5d58c;
}

.dot.purple {
  background-color: #f5d58c;
}

.dot.black {
  background-color: #f5d58c;
}

.calc-text {
  color: #fff;
}

/* Highlight text */
.highlight-blue {
  font-weight: bold;
  color: #f5d58c;
}

.font-medium {
  font-weight: 700;
}

/* ------------------ Mono Calculation Box ------------------ */
.calc-mono-box {
  background-color: #242424;
  border-radius: 6px;
  padding: 8px;
  font-family: monospace;
  font-size: 13px;
  color: #fff;
}

.calc-mono-box .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.calc-mono-box .row.red {
  color: #fca5a5;
  font-weight: 800;
}

.calc-mono-box .row.result-green {
  font-weight: bold;
  font-size: 16px;
  color: #22c55e;
}

.bold {
  font-weight: bold;
}

.divider {
  margin: 6px 0;
  border-color: #dbdbdb2e;
}

/* ------------------ Commission Table ------------------ */
.commission-table {
  padding: 0px;
  margin-bottom: 12px;
}

.section-heading {
  padding-bottom: 15px;
}

.table-title {
  font-size: 12px;
  color: #888;
  font-weight: 500;
  margin-bottom: 6px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 3fr));
  gap: 6px;
}

.grid-item {
  background-color: #1c1c1c;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 6px;
  font-size: 14px;
  color: #fff;
}

.grid-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.grid-item .label {
  font-weight: 500;
  margin-bottom: 2px;
  color: #f5d58c;
}

.grid-item .desc {
  color: #ccc;
  font-size: 14px;
}

/* ------------------ Stats Grid ------------------ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 2fr));
  gap: 6px;
  margin-bottom: 12px;
  text-align: left;
}

.stats-item {
  background-color: #1c1c1c;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 8px;
}

.stats-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.stats-item .label {
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
  font-weight: 700;
}

.stats-item .value {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
}

/* ------------------ Commission Level ------------------ */
.commission-level-box {
  background: #1c1c1c;
  border-radius: 6px;
  padding: 8px;
  border: 1px solid #333;
  margin-bottom: 12px;
  text-align: left;
}

.commission-level-box:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.commission-level-box .label {
  font-size: 12px;
  color: #888;
  margin-bottom: 2px;
}

.commission-level-box .value {
  font-size: 14px;
  font-weight: bold;
  color: #3b82f6;
}

/* ------------------ Warning Box ------------------ */
.warning-box {
  background-color: #450a0a;
  border: 1px solid #991b1b;
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 12px;
  text-align: left;
}

.warning-box:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.warning-title {
  font-size: 12px;
  color: #fca5a5;
  font-weight: 700;
}

.warning-text {
  font-size: 11px;
  color: #fca5a5;
  margin-top: 2px;
}

/* ------------------ Total Commission Box ------------------ */
.total-commission-box {
  background: #1c1c1c;
  border-radius: 8px;
  padding: 12px;
  color: #fff;
  border: 1px solid #333;
}

.total-commission-box.white .calc-box-title {
  color: #f5d58c;
}

.total-inner {
  background: linear-gradient(180deg, #f5d58c 0%, #c79c46 100%) !important;
  border-radius: 6px;
  padding: 15px;
}

.total-inner .text-center {
  text-align: center;
  color: #000;
}

.total-inner .small {
  font-size: 12px;
  opacity: 0.9;
}

.total-inner .formula {
  font-family: monospace;
  font-size: 16px;
  font-weight: 500;
}

.total-inner .sub {
  font-size: 10px;
  opacity: 0.75;
  margin-top: 2px;
}

.total-inner .total {
  font-size: 20px;
  font-weight: bold;
  margin-top: 4px;
  color: #000;
}

.common-bg-for-all {
  max-width: 1250px;
  margin: 0 auto;
  background: transparent;
  border: 0;
  border-radius: 0;
}

/* .agent img.title1 {
  width: auto;
}
.commission img.title2 {
  width: auto;
}
.bonus-table img.title3 {
  width: auto;
}
.commissionBonus img.title4 {
  width: auto;
}
.commissionBonus img.title5 {
  width: auto;
} */

.agent img.mb-title1 {
  display: none;
}

.commission img.mb-title2 {
  display: none;
}

.bonus-table img.mb-title3 {
  display: none;
}

.commissionBonus img.mb-title4 {
  display: none;
}

.commissionBonus img.mb-title5 {
  display: none;
}

.banner-pc {
  display: block;
  width: 100%;
  animation: floatBanner 6s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

.banner-mb {
  display: none;
  animation: floatBanner 6s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

@keyframes floatBanner {
  0% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.01);
  }
  100% {
    transform: translateY(0px) scale(1);
  }
}

.home-btn-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.videoparaformb {
  display: block;
  margin-top: 1px;
}

#videoDescription {
  color: #ffbf00;
}

.step {
  text-align: center;
  padding: 8px;
  min-height: 163px;
}

.sec-title {
  font-size: 20px !important;
}

.sec-title img {
  width: 144px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {

  .header.mb .auth-btn.mobileshow,
  .home-btn-wrap .auth-btn {
    width: fit-content !important;
    margin: 0 0 0 auto !important;
    gap: 0 !important;
    justify-content: flex-end !important;
  }

  .header.mb .register-btn-image,
  #loginBtnMobile,
  #registerBtnMobile {
    width: 112px !important;
    max-width: 112px;
    height: auto;
  }

  .bmshome1,
  .bmshome2 {
    width: min(321px, calc(100vw - 24px));
    min-height: 48px;
    margin-left: 0;
    margin-right: 0;
  }

  .header-right {
    display: flex;
    align-items: center;
    gap: 0rem;
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
  }

  .videoparaformb {
    display: block;
  }

  .tele-bot-bottom {
    display: none;
  }

  .banner-pc {
    display: none !important;
  }

  .banner-mb {
    width: auto !important;
    max-width: 100%;
    display: block;
    margin: 0 auto;
  }

  .deco-left,
  .deco-right {
    display: none;
  }

  .agent img.title1 {
    display: none;
  }

  .commission img.title2 {
    display: none;
  }

  .bonus-table img.title3 {
    display: none;
  }

  .commissionBonus img.title4 {
    display: none;
  }

  .commissionBonus img.title5 {
    display: none;
  }

  .agent img.mb-title1 {
    display: block;
    padding-bottom: 10px;
  }

  .commission img.mb-title2 {
    display: block;
    padding-bottom: 10px;
  }

  .bonus-table img.mb-title3 {
    display: block;
    padding-bottom: 10px;
  }

  .commissionBonus img.mb-title4 {
    display: block;
    padding-bottom: 10px;
  }

  .commissionBonus img.mb-title5 {
    display: block;
    padding-bottom: 10px;
  }

  .activated-agents {
    max-width: 100%;
  }

  .activated-agents h4 {
    font-size: 14px;
  }

  .common-bg-for-all {
    background: transparent;
    border-radius: 0;
    border: 0;
    max-width: 100%;
  }

  table.styled-table th,
  table.styled-table td {
    border-radius: 0 !important;
  }

  table.styled-table thead th {
    border-radius: 0 !important;
    font-size: 9px;
  }

  .agent .agent-para {


    padding: 5px 5px;
  }

  .commision-border {

    padding: 5px;

  }

  .bonus-table .bonus-border {

    padding: 5px 5px;
    border-radius: 10px;
  }

  .commis-bons {

    padding: 5px 5px;
  }

  .header {
    left: 0;
    right: 0;
    top: 0;
    max-width: 100%;
    padding: 2px 0px;
    border-radius: 0;
    border-bottom: none;
    background: #000000;
    position: sticky;
    padding: 6px 0px;
  }

  .header-left {
    gap: 6px;
  }

  .support-item {
    gap: 6px;
  }

  .mbreghed {
    border-radius: 20px;
    padding: 5px;
    background: #ffffff;
    border: 0.7px solid #1678ff;
    font-weight: 700;
    font-style: Bold;
    font-size: 10px;
    text-align: center;
    text-transform: uppercase;
    color: #1678ff;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-nav {
    display: none;
  }

  .header .container {
    width: 100%;
    padding: 0.2rem 10px;
  }

  .home-btn-wrap {
    text-align: center;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .commis-calculator button {
    font-size: 12px;
  }

  .footer_grid {
    border: 2px solid #ffffff;
    border-radius: 10px;
    box-shadow: 0px 1.7px 4.35px 0px #58c3b55c;
    background: #ffffff03;
    border-right-width: 0;
    border-bottom-width: 0;
  }

  .steps {
    padding-bottom: 0px;
  }

  .section-btn img {
    max-width: 180px;
  }

  table.styled-table th,
  table.styled-table td {
    font-size: 12px;
  }

  .header.mb {
    display: block;
    height: auto;
  }

  .header.pc {
    display: none;
  }

  .input-flex {
    display: block;
  }

  .mb .mobile-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .commis-bons {
    margin-bottom: 10px;
  }

  .mobileshow {
    display: flex !important;
  }

  .tele-bot-div {
    display: block;
  }

  .tele-bot-div .bot-content {
    display: none;
  }

  .result-item.full-width {
    display: block;
  }

  .condition-btn {
    margin-top: 10px;
  }

  .mb-banner {
    display: block;
    width: 100%;
  }

  .model-header {
    justify-content: flex-start;
    padding-left: 16px;
  }

  .calc-content h2 {
    font-size: 14px;
  }

  .calc-details-content {
    padding: 0px;
  }

  .grid-item .desc {
    font-size: 11px;
  }

  /* Auth buttons trÃªn mobile â€“ náº¿u cÃ³, full width */
  .auth-btn {
    display: flex;
    align-items: center;
    width: 100%;
  }

  .section-btn {
    scale: 0.7;
  }

  .benefits {
    padding: 1rem 0rem;
    padding-top: 0px;
  }

  .benefits .section-title {
    font-size: 22px;
    margin-bottom: 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 2fr));
  }

  .grid.multiitem {
    grid-template-columns: repeat(auto-fill, minmax(140px, 2fr));
  }

  .hide-for-mb {
    display: none;
  }

  .videos .section-title {
    text-align: center;
    font-size: 22px;

  }

  .simple-para p {
    font-size: 12px;
  }

  .videos .simple-para {
    padding-top: 0;
  }

  .vid-item .icon img {
    width: 140px;
    height: auto;
  }

  .vid-item .icon {
    display: none;
  }

  .vid-grid {
    grid-template-columns: auto;
  }

  .steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .step-card-wrapper {
    max-width: 100%;
  }

  .step-card-wrapper .step-card-content {
    top: 67.26%;
    bottom: 3.6%;
    left: 4.9%;
    right: 4.9%;
    padding: 6px 8px;
  }

  .steps-direction {
    display: none;
  }

  .steps-items {
    display: block;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .step-card-wrapper .step-card-content p {
    font-size: 11px;
    line-height: 1.35;
  }

  .steps-items>img {
    max-width: 60px;
    height: auto;
    margin: auto;
    flex-shrink: 0;
    align-self: center;
  }


  .step h3 {
    margin: 0;

    color: #1678ff;
    padding: 10px 6px;
    font-size: 11px;
    line-height: 15px;
    text-align: center;
    min-height: 65px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;

  }

  .step p {
    font-size: 12px;
    min-height: auto;
    text-align: justify;
    padding: 6px 0px;
    line-height: normal;
    font-weight: 500;
  }

  .agent-title-bg h4 {
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    position: static;
  }

  th,
  td {
    padding: 0.2rem;
    font-weight: 400;
    text-transform: lowercase;
    line-height: normal;
  }

  .commissionBonus {
    padding: 0rem;
  }

  .btn-primary {
    padding: 6px 3px;
    font-size: 9px;
    line-height: normal;
  }

  .marqueDiv {
    position: static;
    width: 100%;
    margin-top: 0px;
    border-radius: 0;
  }

  .marque-content {
    display: flex;
    margin: 0 auto;
    max-width: 100%;
    font-size: 12px;
    display: flex;
    align-items: center;
  }

  .section-title {
    font-size: 22px;
    margin-bottom: 1rem;
  }

  .benefits-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .benefits-media {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }

  .benefits-contact-card {
    min-height: auto;
    padding-inline: 22px;
  }

  .benefits-contact-point {
    gap: 6px;
    font-size: 16px;
  }

  .benefits-contact-point-icon {
    width: 68px;
    height: 68px;
  }

  .benefits-contact-point-telegram {
    top: 12px;
    left: -8px;
  }

  .benefits-contact-point-hotline {
    top: 2px;
    right: 0;
  }

  .benefits-contact-point-email {
    left: -8px;
    bottom: 24px;
  }

  .benefits-contact-point-facebook {
    right: 0;
    bottom: 50px;
  }

  .benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.75rem;
    row-gap: 3rem;
  }

  .benefits-grid .benefit-item:nth-child(2),
  .benefits-grid .benefit-item:nth-child(4) {
    transform: none;
  }

  .benefit-item .icon {
    top: -25px;
  }

  .benefit-item .icon img {
    width: 50px;
    height: 50px;
  }

  .text-item {
    padding-top: 16px;
  }

  .benefit-item h3 {
    font-size: 16px;
  }

  .benefit-item {
    width: 100%;
    min-height: unset;
  }

  .benefit-item p {
    font-size: 10px;
    text-align: justify;
    color: #000000;
  }

  .footer {
    display: none;
  }

  .mbfoooter {
    display: block;
  }

  .mbfoooter .mb-img {
    position: relative;
  }

  /* FOOTER MOBILE: chá»¯ Ã´m hÃ¬nh, trÃ n xuá»‘ng dÆ°á»›i */
  .footer_item {
    display: block;
    width: 100%;
    margin: 10px auto;
    overflow: hidden;
    padding: 10px 12px;
  }

  .footer_values {
    width: 100%;
  }

  .footer_item .footer_title h5 {
    color: #f5d58c;
    font-weight: 700;
    line-height: normal;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 10px;
  }

  .footer_item .footer_desc .truncate {
    font-weight: 400;
    color: #ffffff;
    font-size: 11px;
    text-align: justify;
    line-height: normal;
    margin-bottom: 2px;
  }

  .footer_item .footer_image {
    float: right;
    width: 40%;
    margin-left: 12px;
    margin-bottom: 4px;
  }

  .footer_item .footer_image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .footer_item .footer_desc p {
    margin: 0;
    line-height: 1.4;
  }

  .social-icons {
    border-radius: 10px;
    padding: 6px 10px;
    margin: 10px 0px;
    box-shadow: 0px 1.7px 4.35px 0px #58c3b55c;
    background: #ffffff03;
    border: 2px solid #ffffff;
    border-bottom-width: 0;
    border-right-width: 0;
  }

  .social-icons .allicons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .social-icons .socia {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
  }

  .social-icons .socia img {
    width: 26px;
    height: 26px;
  }

  .social-icons .san-choi {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .links {
    padding: 10px 0px;
  }

  .innerlink {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 0;
  }

  .innerlink a,
  .innerlink p {
    margin-bottom: 0;
    font-size: 11px;
    color: #aaa;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.35;
  }

  .innerlink>*+*::before {
    content: "|";
    display: inline-block;
    margin: 0 8px 0 6px;
    color: #444;
  }

  footer.mbfoooter {
    margin-top: 40px;
    padding-bottom: 30px;
    padding-top: 20px;
    background: #141414;
  }

  .comp-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0px;
  }

  .comp-logo img {
    width: 30px;
  }

  .header-right .support-item,
  .header-right .auth-btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .sidebar {
    width: 80%;
    max-width: 300px;
  }

  .san-choi img {
    width: 230px;
  }

  .promo-content {
    width: 100%;
    height: auto;
    padding: 0px;
    padding-bottom: 50px;
  }

  .promo-main img {
    width: 100%;
  }

  .no-show {
    font-size: 14px;
  }

  #closePromo {
    padding: 4px 20px;
    font-size: 12px;
  }

  .calc-content {
    width: 100%;
  }

  /* Registration Modal Mobile */
  .register-content {
    width: 100%;
    max-width: 100%;
    border-radius: 15px;
    max-height: 95vh;
    overflow-y: auto;
    margin: 10px;
  }

  .register-close-btn {
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
  }

  .register-header {
    padding: 25px 15px 15px;
  }

  .register-slogan {
    font-size: 10px;
  }

  .register-partnership {
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
  }

  .partnership-text {
    align-items: center;
    text-align: center;
  }

  .partnership-name {
    font-size: 12px;
  }

  .partnership-label,
  .partnership-year {
    font-size: 10px;
  }

  .register-form-container {
    padding: 15px 20px 15px;
  }

  .register-form-title {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .register-form {
    gap: 10px;
  }

  .input-icon-wrapper {
    min-height: 45px;
    padding: 0 8px;
  }

  .input-icon {
    width: 35px;
    height: 35px;
    margin-right: 8px;
    padding: 6px;
  }

  .register-input {
    font-size: 16px;
  }

  .register-input::placeholder {
    font-size: 16px;
  }

  .password-strength-label {
    font-size: 11px;
  }

  .full-name-note {
    font-size: 10px;
  }

  .terms-checkbox-label {
    font-size: 12px;
  }

  .checkbox-custom {
    width: 18px;
    height: 18px;
  }

  .register-submit-btn {
    padding: 10px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1678ff;
    border: 5px solid #86ded3;
    height: 50px;
    opacity: 1;
    border-radius: 8px;
    font-weight: 800;
    color: #fff;
    font-size: 16px;
  }

  .input-row {
    flex-direction: column;
    gap: 10px;
  }

  /* .result-row {
    flex-direction: column;
  } */

  /* Home button mobile tweak */

  .home-btn-icon {
    width: 16px;
    height: 16px;
  }
}

/* Medium devices / mobile landscape (481px to 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .steps-grid {
    gap: 1rem;
  }

  .footer_grid {
    position: absolute;
    top: 110px;
  }

  .footer_values .footer_title h5 {
    font-size: 18px;
  }

  .footer_values .footer_desc .truncate {
    font-size: 16px;
  }

  .footer_image img {
    width: 100%;
  }

  footer.mbfoooter {
    margin-bottom: 100px;
  }

  .social-icons .socia img {
    width: 40px;
    height: 40px;
  }

  .social-icons .socia {
    gap: 20px;
  }
}

/* Large mobile / small tablet (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .benefits .section-title {
    justify-content: center;
  }

  .benefits-layout {
    grid-template-columns: minmax(250px, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
  }

  .benefits-media {
    position: sticky;
    top: 120px;
  }

  .benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    row-gap: 3rem;
  }

  .benefits-grid .benefit-item:nth-child(2),
  .benefits-grid .benefit-item:nth-child(4) {
    transform: none;
  }

  .benefit-item {
    width: 100%;
    min-height: unset;
  }

  .header.pc .auth-btn {
    display: flex;
    gap: 12px;
  }

  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps-direction {
    display: none;
  }

  .vid-item .icon img {
    width: 260px;
    height: auto;
  }

  .step p {
    font-size: 14px;
    min-height: 160px;
  }

  .star-bg img {
    width: auto;
  }

  .footer_grid {
    position: absolute;
    top: 140px;
  }

  .footer_values .footer_title h5 {
    font-size: 20px;
  }

  .footer_values .footer_desc .truncate {
    font-size: 18px;
  }

  .footer_image img {
    width: 100%;
  }

  footer.mbfoooter {
    margin-bottom: 150px;
  }

  .social-icons .socia img {
    width: 40px;
    height: 40px;
  }

  .social-icons .socia {
    gap: 20px;
  }
}

/* Hero slider */
.hero-section {
  padding-top: 100px;
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 8px;
  }
}

.hero-slider {
  position: relative;
  overflow: hidden;
}

.banner-pc {
  width: auto !important;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-slide.active {
  opacity: 1;
  position: relative;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  z-index: 2;
}

.hero-prev {
  left: 16px;
}

.hero-next {
  right: 16px;
}

.hero-dots {
  display: none;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.hero-dot.active {
  background: #fff;
}

.roMan {
  display: inline-block;
}

@media (min-width: 768px) {
  .roMan {
    display: none;
  }
}

table.styled-table tr th {
  text-transform: uppercase;
}

/* ===== HOME BUTTON â€“ dÃ¹ng chung PC + Mobile ===== */

.home-btn-shell {
  display: inline-block;
  /* padding: 3px; */
  border-radius: 999px;
}

.home-btn-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-btn-icon svg {
  width: 100%;
  height: 100%;
}

.home-btn-icon svg path {
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

/* báº£ng ngoÃ i + báº£ng trong */
.table-wrapper {
  display: inline-block;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
}

table tr th {
  font-size: 12px;
}

table.styled-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  border: 1px solid #dfa74d;
  border-radius: 8px;
  overflow: hidden;
}

table.styled-table th,
table.styled-table td {
  border: none;
  border-right: 1px solid #dfa74d;
  border-bottom: 1px solid #dfa74d;
  font-weight: bold;
  padding: 0.75rem 1rem;
  line-height: 1.2;
  text-align: center;
}

table.styled-table th:last-child,
table.styled-table td:last-child {
  border-right: none;
}

table.styled-table tr:last-child td {
  border-bottom: none;
}

table.styled-table thead th {
  background: linear-gradient(90deg, #dfa74d 0%, #f9dfa5 50%, #dfa74d 100%);
  color: #000;
  white-space: nowrap;
  font-size: 15px;
  text-transform: none !important;
}

table.styled-table td {
  white-space: nowrap;
  color: #fff;
  font-size: 15px;
}

table.styled-table td:hover {
  background: rgba(223, 167, 77, 0.15);
  color: #f9dfa5;
}

/* ===== AUTH BUTTONS â€“ ÄÄ‚NG KÃ / ÄÄ‚NG NHáº¬P ===== */

/* Khung bá»c 2 nÃºt */
.auth-btn {
  display: flex;
  gap: 12px;
  width: 60%;
  margin: 0 auto;
}

/* Má»—i pháº§n tá»­ con (wrapper cá»§a button) chiáº¿m 1/2 */
.auth-btn>* {
  flex: 1 1 0;
}

/* ChÃ­nh cÃ¡i nÃºt */
.auth-btn .btn-primary {
  width: 100%;
  padding: 5px 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid #1678ff;
  box-shadow: 2px 4px 7px #1482ff80;
}

.authpc {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile: giá»¯ layout flex nhÆ°ng full chiá»u ngang, khÃ´ng báº¹t quÃ¡ */
@media (max-width: 768px) {
  .auth-btn {
    width: 100%;
    align-items: center;
  }
}

/* Ä‘áº£m báº£o máº·c Ä‘á»‹nh luÃ´n hiá»ƒn thá»‹ */
#teleBotContent {
  position: relative;
  display: block;
  /* máº·c Ä‘á»‹nh hiá»‡n khi vÃ o trang */
}

.tele-bot-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #f5d58c;
  color: #141414;
  border: 2px solid #141414;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 10;
  line-height: 1;
}

.tele-bot-close:hover {
  background-color: #ffffff;
  color: #141414;
}

/* Ä‘á»ƒ user biáº¿t icon tele báº¥m Ä‘Æ°á»£c */
.tele-bot {
  cursor: pointer;
}

/* auth á»Ÿ section home */
.home-btn-wrap .auth-btn {
  display: flex;
  gap: 12px;
  width: 60%;
  margin: 0 auto;
}

/* Giá»¯ cho mobile váº«n full width náº¿u muá»‘n */
@media (max-width: 768px) {
  .btn-primary {
    border: none;
    background: none;
    font-size: 14px;
    font-weight: bold;
  }

  #loginBtn,
  #loginBtnMobile {
    /* background: none !important; */
    /* font-size: 14px; */
    margin-right: 3px;
  }

  .home-btn-wrap .auth-btn {
    display: flex;
    gap: 8px;
    width: 100%;
    margin: 0 auto;
    flex-wrap: nowrap;
  }

  .bonus-table {
    padding: 1rem 0rem;
  }

  .telegram-icon {
    width: 40px;
    height: 40px;
  }

  .telegram-icon svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
  }
}

.home-btn-text {
  display: block;
}

.bmshome1 {
  background: #1678ff;
  box-shadow: 0px 0px 9.67px 0px #25c4af80;
  border: 2px solid #ffffff;
  display: block;
  font-weight: 800;
  font-size: 11.85px;
  text-align: center;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 135px;
  margin-right: 5px;
}

.bmshome1 span {
  background: linear-gradient(180deg, #f7ff5b 0%, #ffbf00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.4s ease;
}

.bmshome2 {
  background: transparent;
  border: 2px solid #1678ff;
  color: #1678ff;
  display: block;
  font-weight: 800;
  font-size: 11.85px;
  text-align: center;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 135px;
  transition: transform 0.25s ease-in-out;
  margin-left: 5px;
}

.bmshome2:hover {
  transform: translateY(-3px) scale(1.03);
}

/* ===== OVERRIDE: TRANG CHá»¦ & ÄÄ‚NG NHáº¬P Báº°NG NHAU (PC + MOBILE) ===== */

/* Thu gá»n ná»™i dung: cáº¯t cÃ²n 3 dÃ²ng, hiá»ƒn thá»‹ ... */
.toggle-link {
  text-decoration: underline;
  font-style: italic;
  cursor: pointer;
  color: #1678ff;
  font-size: 11px;
}

/* Thu gá»n ná»™i dung: chá»‰ khi THU Gá»ŒN má»›i cáº¯t 3 dÃ²ng */
.truncate {
  display: block;
  overflow: visible;
  /* Má»ž Rá»˜NG: Ä‘á»ƒ text Ã´m float vÃ  trÃ n xuá»‘ng dÆ°á»›i hÃ¬nh */
}

.truncate.collapsed {
  display: -webkit-box;
  /* THU Gá»ŒN: dÃ¹ng line-clamp */
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  /* sá»‘ dÃ²ng giá»¯ láº¡i */
  overflow: hidden;
}

/* Rocket/Ticket style */
#teleBottomIco {
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
  pointer-events: none;
  animation: floatUpDown 1.5s ease-in-out infinite;
  box-shadow: 0px 5.21px 5.21px 0px #00000040;
  border-radius: 100px;
}

#teleBottomIco:hover {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0px 0px 26.03px 0px #25c4af80;
}

@keyframes floatUpDown {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }

  100% {
    transform: translateY(0);
  }
}

.authpc div {
  display: inline-block;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.authpc div img {
  display: block;
  width: 100%;
  height: auto;
}

/* Simple classic hover */
.authpc div:hover {
  transform: translateY(-3px) scale(1.03);

  border-radius: 13px;
}

.home-btn-core {
  transition: transform 0.25s ease-in-out;
}

.home-btn-core:hover {
  transform: translateY(-3px) scale(1.03);
}

.commis-calculator {
  transition: transform 0.25s ease-in-out;
}

.commis-calculator:hover {
  transform: translateY(-3px) scale(1.03);
}

.title-content {
  position: relative;
  cursor: pointer;
}

.title-content span {
  position: absolute;
  left: 60px;
  top: 18%;
  font-weight: 700;
  font-size: 22px;

  color: #1678ff;
  transition: all 0.4s ease;
}

.title-content:hover span {
  transform: translateX(8px);
  color: #1678ff;
}

.title-content img,
.title-content span {
  transition: all 0.45s ease;
}

.title-content:hover img.title1 {
  transform: scale(1.01);
}

.title-content:hover img.title2 {
  transform: scale(1.01);
}

.title-content:hover img.title3 {
  transform: scale(1.01);
}

.title-content:hover img.title4 {
  transform: scale(1.01);
}

.title-content:hover img.title5 {
  transform: scale(1.01);
}

.title-content:hover img.mb-title1 {
  transform: scale(1.01);
}

.title-content:hover img.mb-title2 {
  transform: scale(1.01);
}

.title-content:hover img.mb-title3 {
  transform: scale(1.01);
}

.title-content:hover img.mb-title4 {
  transform: scale(1.01);
}

.title-content:hover img.mb-title5 {
  transform: scale(1.01);
}

.agent img.title1 {
  width: 406.9346923828125px;
}

.commission img.title2 {
  width: auto;
  height: 63.892303466796875px;
}

.bonus-table img.title3 {
  width: 522.4346923828125px;
}

.commissionBonus img.title4 {
  width: 595.4346923828125px;
}

.commissionBonus img.title5 {
  width: 510.4346923828125px;
}

@media (max-width: 768px) {
  .commission .table-wrapper {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .bonus-table .table-wrapper {
    display: block;
    overflow-x: hidden;
  }

  .bonus-table .bonus-responsive-table th,
  .bonus-table .bonus-responsive-table td {
    white-space: normal !important;
    word-break: normal;
    font-size: clamp(9px, 2.5vw, 11px) !important;
    padding: 6px clamp(2px, 1vw, 4px) !important;
  }

  .title-content span {
    position: absolute;
    left: 35px;
    top: 20%;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    color: #1678ff;
  }

  .agent img.mb-title1 {
    width: 235.65567016601562px;
  }

  .commission img.mb-title2 {
    width: 235.66px;
  }

  .bonus-table img.mb-title3 {
    width: 302.54px;
  }

  .commissionBonus img.mb-title4 {
    width: 350.82px;
  }

  .commissionBonus img.mb-title5 {
    width: 300.8px;
  }
}

/* agent text slide  */

.activated-agents {
  position: relative;
  text-align: center;
}

.slider-wrapper {
  overflow: hidden;
}

.slide {
  display: none;
  animation: fade 1s;
}

.slide.active {
  display: block;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 360px) {
  .max-360-kjc {
    width: 100% !important;
  }

  .max-360-text {
    width: -webkit-fill-available !important;
  }
}