/* Reset và Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.bar-tap,
.carousel-mobile {
  display: none !important;
}

/* Calculator Styles */
#commissionCalculator.block {
  display: block !important;
}

#commissionCalculator.hidden {
  display: none !important;
}

/* Tối ưu spacing cho commission calculator */
#commissionCalculator {
  margin-top: 1.5rem !important;
}

#commissionCalculator .form-group {
  margin-bottom: 0.75rem;
}

#commissionCalculator .form-group:last-child {
  margin-bottom: 0;
}

#commissionCalculator input[type="range"] {
  margin-bottom: 0.5rem;
}

/* Slider Green Style - Màu xanh lá cây cho nút slider */
.slider-green {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

/* Track (đường trượt) */
.slider-green::-webkit-slider-track {
  background: #e5e7eb;
  height: 8px;
  border-radius: 4px;
}

.slider-green::-moz-range-track {
  background: #e5e7eb;
  height: 8px;
  border-radius: 4px;
}

/* Thumb (nút trượt) - Màu xanh lá cây */
.slider-green::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: #F17020;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 4px #F17020;
  transition: all 0.2s ease;
}

.slider-green::-webkit-slider-thumb:hover {
  background: #F17020;
  box-shadow: 0 3px 6px #F17020;
  transform: scale(1.1);
}

.slider-green::-moz-range-thumb {
  background: #F17020;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 4px rgba(54, 166, 56, 0.3);
  transition: all 0.2s ease;
}

.slider-green::-moz-range-thumb:hover {
  background: #F17020;
  box-shadow: 0 3px 6px rgba(54, 166, 56, 0.4);
  transform: scale(1.1);
}

/* Fill track (phần đã chọn) - Màu xanh lá cây */
.slider-green::-webkit-slider-runnable-track {
  background: linear-gradient(to right, #F17020 0%, #F17020 var(--value, 0%), #e5e7eb var(--value, 0%), #e5e7eb 100%);
}

.slider-green::-moz-range-progress {
  background: #F17020;
  height: 8px;
  border-radius: 4px;
}

#commissionCalculator .result-card {
  transition: all 0.2s ease;
}

#commissionCalculator .result-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Chi tiết tính toán toggle */
#calculationDetailsSection {
  transition: all 0.3s ease-in-out;
}

#calculationDetailsSection.hidden {
  display: none !important;
}

#calculationDetailsSection:not(.hidden) {
  animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Nút toggle chi tiết */
#toggleCalculationDetailsBtn {
  transition: all 0.3s ease;
}

#toggleCalculationDetailsBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#toggleCalculationDetailsBtn svg {
  transition: transform 0.3s ease;
}

#calculationDetailsSection:not(.hidden)+#toggleCalculationDetailsBtn svg {
  transform: rotate(180deg);
}

/* Hide scrollbar for all browsers */
html {
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
}

html::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

/* Typography Scale - Đồng bộ cho PC và Mobile */
:root {
  /* Base font sizes */
  --font-size-xs: 0.75rem;
  /* 12px */
  --font-size-sm: 0.875rem;
  /* 14px */
  --font-size-base: 1rem;
  /* 16px */
  --font-size-lg: 1.125rem;
  /* 18px */
  --font-size-xl: 1.25rem;
  /* 20px */
  --font-size-2xl: 1.5rem;
  /* 24px */
  --font-size-3xl: 1.875rem;
  /* 30px */
  --font-size-4xl: 2.25rem;
  /* 36px */
  --font-size-5xl: 3rem;
  /* 48px */

  /* Spacing Scale */
  --spacing-xs: 0.5rem;
  /* 8px */
  --spacing-sm: 0.75rem;
  /* 12px */
  --spacing-md: 1rem;
  /* 16px */
  --spacing-lg: 1.5rem;
  /* 24px */
  --spacing-xl: 2rem;
  /* 32px */
  --spacing-2xl: 3rem;
  /* 48px */
  --spacing-3xl: 4rem;
  /* 64px */
}

body {
  font-family: "Roboto", sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: #34344b;
  background-color: #f9faff;
  overflow-x: hidden;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
}

body::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

/* Hide scrollbar for all scrollable elements */
*::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

* {
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
  scrollbar-width: none;
  /* Firefox */
}

.container {
  max-width: 1200px !important;
  margin: 0 auto;
}

/* Header */
.header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-container {
  width: 100%;
  height: 90px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 0;
}

.logo {
  width: 182px;
  height: 48.521px;
}

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

.header-right {
  display: flex;
  align-items: end;
  gap: 13px;
}

.datetime {
  font-size: var(--font-size-sm);
  color: #7f7f7f;
  font-weight: 400;
}

.header-buttons {
  display: flex;
  gap: 10px;
}

/* Marquee Banner */
.marquee-banner {
  /* background: linear-gradient(90deg, #36a638, #84e085, #36a638); */
  background-size: 200% 100%;
  animation: gradientShift 4s ease-in-out infinite;
  overflow: hidden;
  position: relative;
  margin-top: 90px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-betweesn;
  max-width: 1200px;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: flex;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
  align-items: center;
}

.marquee-item {
  display: inline-block;
  /* padding: 0 var(--spacing-lg); */
  color: #ffffff;
  font-weight: 400;
  font-style: italic;
  font-size: 18.637px;
  font-family: Roboto, sans-serif;
  position: relative;
  padding: 15px 0;
}

/* .marquee-item::after {
  content: "•";
  position: absolute;
  right: 10px;
  color: #ffffff;
  font-weight: bold;
} */
.title-home-main-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-direction: column;
}

.title-home-section {
  width: 896px;
  height: 53px;
  padding: 12px 262px;
  border-radius: 0 0 60px 60px;
  background: linear-gradient(180deg, #F1A120 0%, #F17020 100%);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25) inset;
}

.title-home-section h1 {
  font-family: 'Roboto', sans-serif;
  color: #FFFFFF;
  font-size: 23.849px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-align: center;
}

@media (max-width: 480px) {
  .bar-tap {
    display: block !important;
    width: 24px;
    height: 24px;
    cursor: pointer;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .logo img:not(.bar-tap) {
    max-width: 100px;
  }
}

.title-mid-section {
  display: inline-flex;
  align-items: center;
  gap: 19px;
  justify-content: center;
}

.info-billion-mobile {
  display: none;
}

.title-mid-section h1 {
  color: #F17020;
  font-family: Montserrat;
  font-size: 29.605px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
}

.title-mid-section img:nth-child(1) {
  transform: rotate(180deg);
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Buttons */
.btn {
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 8px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: var(--font-size-lg);
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-outline {
  background: transparent;
  color: #F17020;
  border: 1px solid #F17020;
}

.btn-outline:hover {
  background: #F17020;
  color: #ffffff;
}

.btn-primary {
  background: #F17020;
  color: #ffffff;
}

.btn-primary:hover {
  background: #F17020;
  transform: translateY(-2px);
}

.btn-gradient {
  background: linear-gradient(135deg, #d1a40e 0%, #F17020 100%) !important;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(54, 166, 56, 0.3);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(54, 166, 56, 0.4);
}

.btn-large {
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-size-base);
  border-radius: 18px;
}

/* Notification Banner */
.notification-banner {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  margin-top: 0;
}

.notification-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 13px;
  overflow: hidden;
  position: relative;
  padding: 10px 0px;
}

.notification-icon {
  width: 50px;
  height: 100%;
  flex-shrink: 0;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.notification-icon img {
  width: 50%;
  height: 100%;
}

.notification-text {
  flex: 1;
  font-size: 18px;
  color: #320404;
  font-family: "Roboto", sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notification-badge {
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  padding: 10px;
}

.notification-badge img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Hero Section */
.hero-section {
  padding: 0 10px 20px 10px;
  height: max-content;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-container,
benefits-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
  padding: 20px 0;
}

.hero-title {
  font-family: "Roboto", sans-serif;
  font-size: var(--font-size-5xl);
  font-style: bold !important;
  font-weight: 900;
  line-height: 1.2;
  color: #36A638;
  text-transform: uppercase;
  margin-bottom: var(--spacing-md);
}

.hero-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #36A638, #1a6e1c);
  margin: var(--spacing-md) 0;
  border-radius: 2px;
}

.hero-description {
  font-size: var(--font-size-base);
  font-weight: 400;
  color: #34344b;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  text-align: left;
  max-width: 500px;
}

.hero-description strong {
  color: #36A638;
  font-weight: 700;
}

.hero-image {
  flex: 1;
  position: relative;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-image-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-image-wrapper img.hero-main {
  width: 72%;
  height: auto;
  object-fit: contain;
}

.hero-image-wrapper img.hero-contact {
  width: auto;
  height: auto;
  max-width: 100%;
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.hero-image-wrapper img.hero-contact:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.hero-business-people {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-business-people img {
  width: 80%;
  height: auto;
  object-fit: contain;
}

.benefits-grid-mobile {
  display: none;
  max-width: 90%;
}

.hero-decorative-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-chat-bubble {
  position: absolute;
  width: 75px;
  height: max-content;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  animation: float 3s ease-in-out infinite;
}

.bubble-4 {
  left: 50px;
  top: 50px;
}

.bubble-1 {
  right: 80px;
  top: 40px;
  animation-delay: 0s;
  width: 80px;
  height: auto;
}

.bubble-2 {
  top: 75%;
  left: 30px;
  animation-delay: 1s;
}

.bubble-3 {
  bottom: 10%;
  right: 10%;
  animation-delay: 2s;
}

/* Benefits Section */
.benefits-section {
  /* padding: 0 var(--spacing-sm) var(--spacing-md) var(--spacing-sm);
  margin-top: -50px; */
  max-width: 1516px;
  margin-left: auto;
  margin-right: auto;

}

.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xl);
  margin: var(--spacing-2xl) auto;
}

.section-divider {
  width: 160px;
  height: 4px;
}

.section-divider img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section-title {
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  font-size: var(--font-size-4xl);
  color: #36A638;
  text-transform: uppercase;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
  /* margin-top: var(--spacing-lg); */
}

/* Earn Section */
.earn-section {
  padding: 0 var(--spacing-sm) 0 var(--spacing-sm);
  max-width: 1237px;
  margin: 0 auto;
}

.earn-header {
  text-align: center;
}

.earn-title {
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  font-size: var(--font-size-4xl);
  color: #36A638;
  text-transform: uppercase;
}

.earn-subtitle {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: #34344b;
  line-height: 1.8;
  margin-bottom: var(--spacing-sm);
}

.earn-video-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px;
}

.video-container {
  position: relative;
  width: 100%;
  height: max-content;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder {
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.video-placeholder:hover {
  transform: scale(1.1);
}

.play-button {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 10px 30px rgba(252, 139, 0, 0.5));
}

.golden-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ffd700;
  border-radius: 50%;
  opacity: 0.8;
  animation: sparkle 2s infinite ease-in-out;
}

.particle-1 {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.particle-2 {
  top: 30%;
  right: 20%;
  animation-delay: 0.5s;
}

.particle-3 {
  bottom: 25%;
  left: 25%;
  animation-delay: 1s;
}

.particle-4 {
  top: 60%;
  right: 15%;
  animation-delay: 1.5s;
}

.particle-5 {
  bottom: 40%;
  right: 40%;
  animation-delay: 0.8s;
}

.particle-6 {
  top: 15%;
  left: 60%;
  animation-delay: 1.2s;
}

@keyframes sparkle {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

/* Commission Section */
.commission-section {
  /* padding: 0 var(--spacing-sm) var(--spacing-md) var(--spacing-sm); */
  max-width: 1200px;
  margin: 0 auto;
}

.commission-title {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: var(--font-size-3xl);
  color: #36A638;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: var(--spacing-xl);
  line-height: 1.4;
}

.commission-card {
  /* background: #fff; */
  /* border: 2px solid var(--main, #36A638); */
  /* border-radius: 16px; */
  /* padding: var(--spacing-md); */
  /* box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08); */
}

.info-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.info-footer p {
  font-size: 13.796px;
  color: #717171;
}

.footer-mobile {
  display: none;
}

.commission-card p {
  font-size: var(--font-size-base) !important;
  line-height: 1.5 !important;
}

.commission-intro {
  margin-bottom: 5px;
}

.commission-intro p {
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: #34344b;
  line-height: 1.8;
  margin-bottom: var(--spacing-sm);
  text-align: justify;
}

.commission-intro strong {
  color: #36A638;
  font-weight: 800;
}

.table-title {
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  font-size: var(--font-size-2xl);
  color: #F17020;
  text-transform: uppercase;
  margin-bottom: var(--spacing-sm);
}

.commission-table {
  border: 1px solid #34344b;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
}

.table-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: linear-gradient(135deg, #36A638, #ffad00);
}

.table-header .table-cell {
  color: #ffffff;
  font-weight: 700;
  font-size: 24px;
}



.table-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid #34344b;
}

.table-row:nth-child(even) {
  background: #fffaf4;
}

.table-cell {
  padding: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  color: #34344b;
  border-right: 1px solid #34344b;
}

.table-cell:last-child {
  border-right: none;
}

.commission-notes {
  margin-bottom: 15px;
}

.commission-notes p {
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: #34344b;
  line-height: 1.8;
  margin-bottom: var(--spacing-xs);
  text-align: justify;
}

/* New Member Bonus Section */
.new-member-bonus-section {
  margin-bottom: 30px;
}

.new-member-bonus-title {
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  font-size: var(--font-size-xl);
  color: #F17020;
  text-transform: uppercase;
  margin-bottom: var(--spacing-xs);
  line-height: 1.4;
}

.new-member-bonus-intro {
  margin-bottom: 20px;
}

.new-member-bonus-intro p {
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: #34344b;
  line-height: 1.8;
  margin-bottom: 0;
  text-align: justify;
}

.new-member-bonus-notes {
  margin-bottom: 0;
}

.new-member-bonus-notes p {
  font-size: var(--font-size-lg);
  font-weight: 500;
  color: #34344b;
  line-height: 1.8;
  margin-bottom: 0;
  text-align: justify;
}

.rules-title,
.payment-title {
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  font-size: var(--font-size-2xl);
  color: #F17020;
  text-transform: uppercase;
  margin-bottom: var(--spacing-xs);
  display: inline-block;
}

.rules-content,
.payment-content {
  margin-bottom: 25px;
}

.rules-content p,
.payment-content p {
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: #34344b;
  line-height: 1.8;
  margin-bottom: var(--spacing-xs);
  text-align: justify;
}

/* Partner Section */
.partner-section {
  padding: 0 var(--spacing-sm) var(--spacing-md) var(--spacing-sm);
  max-width: 1200px;
  margin: 0 auto;
}

.partner-section .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.partner-content {
  flex: 1;
}

.partner-title {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #36A638;
  line-height: 1.6;
  margin-bottom: var(--spacing-xs);
  text-align: center;
}

.partner-subtitle {
  color: #2f327d;
}

.carousel-item {
  /* Removed conflicting fixed width and height */
}

.carousel-control {
  z-index: 10;
}

.partner-description {
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: #34344b;
  line-height: 1.6;
  letter-spacing: 0.4px;
  text-align: center;
}

.partner-description strong {
  color: #36A638;
  font-weight: 800;
}

.partner-flags {
  margin-top: 30px;
}

.flag-container {
  display: flex;
  gap: 15px;
  align-items: center;
}

.flag {
  width: 40px;
  height: 30px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.vietnam-flag {
  background: linear-gradient(to bottom,
      #da251d 33%,
      #ffcd00 33%,
      #ffcd00 66%,
      #da251d 66%);
}

.france-flag {
  background: linear-gradient(to right,
      #002395 33%,
      #ffffff 33%,
      #ffffff 66%,
      #ed2939 66%);
}

.partner-visual {
  flex: 1;
  text-align: center;
  position: relative;
}

.business-woman-container {
  position: relative;
  display: inline-block;
}

.business-woman {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
}

.professional-badge {
  position: absolute;
  top: 20px;
  right: -10px;
  background: linear-gradient(135deg, #36A638, #ffad00);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(252, 139, 0, 0.3);
}

/* Referral Section */
.referral-section {
  padding: 0 var(--spacing-sm) var(--spacing-md) var(--spacing-sm);
  max-width: 1200px;
  margin: 0 auto;
}

.referral-title {
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  font-size: var(--font-size-4xl);
  color: #36A638;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: var(--spacing-xl);
  line-height: 1.4;
}

.referral-card {
  background: #F9FFF9;
  border: 2px solid var(--main, #36A638);
  border-radius: 16px;
  padding: var(--spacing-md);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
}

.referral-card p {
  margin-bottom: var(--spacing-xs) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.referral-intro {
  margin-bottom: 5px;
}

.referral-intro p {
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: #34344b;
  line-height: 1.8;
  margin-bottom: var(--spacing-sm);
  text-align: justify;
}

.referral-intro strong {
  color: #36A638;
  font-weight: 800;
}

.referral-table-section {
  padding-bottom: 5px;
}

.referral-table-title {
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  font-size: var(--font-size-2xl);
  color: #36A638;
  text-transform: uppercase;
  margin-bottom: var(--spacing-sm);
}

.referral-table {
  border: 1px solid #34344b;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
}

.referral-table .table-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.referral-table .table-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.referral-notes {
  margin-bottom: 15px;
}

.referral-notes p {
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: #34344b;
  line-height: 1.8;
  margin-bottom: var(--spacing-xs);
  text-align: justify;
}

.referral-rules {
  margin-bottom: 15px;
}

.referral-payment {
  margin-bottom: 15px;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, rgba(255, 235, 192, 0) 0%, #ffebc0 100%);
  background: url(./assets/footer/bgpc.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 0 10px;
}


.footer-title {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 1.5625rem;
  color: #101010;
  text-align: center;
  margin-bottom: var(--spacing-sm);
}

.main-partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
}

.partner-card {
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.partner-card-header {
  background: linear-gradient(135deg, #f9faff 0%, #ffffff 100%);
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.partner-card-header .partner-logo {
  height: 40px;
  width: auto;
}

.partner-card-content {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.partner-avatar img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #36A638;
}

.partner-info h4 {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #34344b;
  margin-bottom: 5px;
}

.partner-info p {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  color: #666;
}

.sponsors-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  padding: 20px 0 10px;
}

.sponsor-logo {
  height: 38.378px;
  width: auto;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.sponsor-logo:hover {
  opacity: 0.9;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: nowrap;
}

.footer-container {
  width: 100%;
  max-width: 1197px;
  padding: 0px;
  height: max-content;
  margin: 0 auto;
}

.footer-container>div,
.footer-container .info-footer {
  padding: 0 27px 10px;
}

.footer-container>div:last-child {
  padding: 0;
}

.footer-links a {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: #101010;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #36A638;
}

.footer-copyright {
  text-align: center;
}

.footer-copyright p {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: #101010;
  text-transform: uppercase;
}

.d-pc {
  display: flex !important;
}

.d-mb {
  display: none !important;
}

.marquee {
  display: flex;
  justify-content: center;
  background: #F17020;
}
.whitespace-nowrap {
  color: #fff;
}
/* Responsive Design */
@media (max-width: 1200px) {

  .header-container,
  .commission-section {
    padding: 0px 15px;
  }

  .marquee-banner img {
    margin-left: 15px;
  }

  .hero-image {
    height: 400px;
  }

  .hero-image-wrapper img.hero-contact {
    max-width: 80%;
  }

  .hero-business-people img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .bubble-4 {
    top: 15%;
    left: 0;
    animation-delay: 0s;
  }

  .bubble-1 {
    top: 10%;
    right: 20px;
    animation-delay: 0s;
    width: 60px;
    cursor: pointer;
  }

  .bubble-2 {
    top: 70%;
    left: -15px;
    animation-delay: 1s;
    width: 60px;

    cursor: pointer;
  }

  .bubble-3 {
    bottom: 10%;
    right: 0%;
    animation-delay: 2s;
    width: 60px;

    cursor: pointer;
  }

  .bubble-4 {
    width: 60px;

    cursor: pointer;
  }

  .section-divider {
    width: 0px;
  }

  .benefits-grid-mobile {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 0px;
    gap: 20px ;
  }

  .benefits-grid {
    display: none
  }

  .main-circle {
    width: 400px;
    height: 400px;
  }

  .partner-section .container {
    flex-direction: column;
    text-align: center;
  }


  .earn-video-section {
    padding: 0;
  }


  .sponsor-logo {
    height: 38.378px;
  }
}

@media (max-width: 768px) {

  .marquee-banner img {
    margin-left: 20px;
  }

  .section-title,
  .earn-title,
  .commission-title,
  .referral-title {
    font-size: var(--font-size-xl) !important;
  }

  .footer-container>div,
  .footer-container .info-footer {
    padding: 0 20px 10px;
  }

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

  .d-mb {
    display: flex !important;
  }

  .commission-title {
    margin: var(--spacing-md) auto;
  }

  .header {
    height: 60px;
  }

  .header-container {
    width: 100%;
    height: 100%;
    padding: 0px 20px;
    margin: 0px;

  }

  .hero-container {
    display: flex;
    flex-direction: column;
    gap: 0px;
  }

  .header-container .logo {
    width: fit-content;
    max-width: 150px;
    height: 100%;
    padding: 0px;
    margin: 0px;
  }

  .hero-section {
    padding: 0 10px 20px 10px;
    height: max-content;
  }

  .hero-content {
    width: 100%;
    text-align: left;
  }

  .header-right {
    gap: 15px;
  }

  .datetime {
    display: none;
  }

  .header-buttons {
    width: 100%;
  }

  .btn {
    padding: var(--spacing-sm) var(--spacing-sm);
    border-radius: 8px;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: var(--font-size-xs);
  }

  .marquee-banner {
    height: 35px;
    margin-top: 60px;
  }

  .marquee-item {
    font-size: var(--font-size-xs);
    padding: 0 var(--spacing-sm);
  }

  .notification-content {
    gap: 15px;
    text-align: center;
  }

  .notification-text {
    white-space: normal;
    font-size: 16px;
  }

  .hero-title {
    font-size: var(--font-size-3xl);
    text-align: left;
  }

  .hero-description {
    font-size: var(--font-size-lg);
    text-align: justify;
    max-width: 100%;
  }

  .hero-image {
    max-width: 400px;
    height: auto;
    margin-top: -20px;
  }

  .hero-image-wrapper img.hero-contact {
    max-width: 70%;
  }

  .main-circle {
    width: 300px;
    height: 300px;
  }

  .feature-card {
    position: relative;
    top: auto;
    left: auto;
    margin: 10px 0;
  }

  .floating-icon {
    position: relative;
    top: auto;
    right: auto;
    margin: 20px auto;
  }

  .section-title,
  .earn-title,
  .commission-title,
  .referral-title {
    font-size: var(--font-size-3xl);
  }

  .main-partners-grid {
    grid-template-columns: 2fr;
  }

  .commission-table,
  .referral-table {
    font-size: 14px;
  }

  .table-cell {
    padding: 15px 10px;
    font-size: 16px;
  }

  .benefits-grid-mobile {
    padding: 0px;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--spacing-sm);
  }

  .partner-info {
    flex-direction: column;
    gap: 15px;
  }

  .benefits-section {
    padding: 0 20px !important;
  }

  .commission-section {
    padding: 0 20px var(--spacing-md) 20px;
  }

  .earn-section {
    padding: 0 20px;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }

  .earn-section,
  .benefits-section,
  .info-billion,
  .commission-section {
    overflow: hidden;
  }

  .title-mid-section h1 {
    font-size: 17px;
    text-wrap-mode: nowrap;
  }
}

@media (min-width: 320px) and (max-width:639px) {
  .font-semibold {
    color: #F17020;
    font-family: Roboto;
    font-size: 12px;
  }

  .menu-bottom-mobile {
    position: fixed;
    bottom: 0;
    width: 100%;
  }

  .logo-footer-certi {
    margin: 0 !important;
  }

  .info-billion,
  .commission-section {
    margin-top: 15px;
  }

  #modalPlatformCost {
    color: #650000;
  }

  #modalTotalWinLoss,
  #modalTotalRefund,
  #modalTotalPromotion,
  #modalPlatformCostDetail {
    color: #363636;
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
  }

  #modalNetProfit {
    color: #00A42C;
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }

  .total-main {
    border-radius: 4.206px;
    background: linear-gradient(98deg, #FF875B 0%, #FFA771 47.64%);

  }

  .total-main .font-semibold {
    color: #ffffff;
  }

  .total-main>div p {
    color: #ffffff;
  }

  .total-main>div p:last-child {
    color: #009A25;
    margin-top: 2px;
  }

  .total-main h4 {
    margin-bottom: 2px;
  }

  .total-main>div {
    border-radius: 13.67px;
    background: #FFC5A1;
    padding: 8px
  }

  .mobile-none {
    display: none;
  }

  .font-semibold {
    color: #F17020;
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    margin-bottom: 0px;
  }

  .mobile-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mobile-layout div p {
    color: black
  }

  .section-title,
  .earn-title,
  .commission-title,
  .referral-title {
    font-size: var(--font-size-xl) !important;
  }

  .container {
    padding: 0 5px;
  }

  .header-container {
    height: 100%;
    padding: 0px 15px;
  }

  .logo {
    width: 100%;
    height: 100%;
    padding: 0px;
  }

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

  /* Header adjustments */
  .header {
    height: 40px;
  }


  .header-right {
    gap: 8px;
  }

  .header-container .logo {
    width: 97.524px;
    height: 26px;
  }

  .header-right button {
    width: 93px;
    padding: 5px;
    font-size: 11.462px;
  }

  .btn {
    padding: 8px 12px;
    font-size: 10px;
    border-radius: 6px;
  }

  /* Marquee banner */
  .marquee-banner {
    height: 32px;
    margin-top: 40px;
  }

  .marquee-item {
    font-size: 12.561px;
    padding: 0 8px;
  }

  .title-home-section {
    width: 302px !important;
    height: 25px !important;
    padding: 5.66px 15px !important;
  }

  .title-mid-section img {
    width: 138.665px;
    height: 11.773px;
  }

  .section-header {
    width: 100%;
  }

  .section-header {
    margin: 0 0;
  }

  .carousel-container {
    padding: 0px 0 0px !important;
  }

  .carousel-dots {
    margin-top: 0 !important;
  }

  .title-mid-section h1 {
    font-size: 13.158px;
    text-wrap-mode: nowrap;
    /* position: absolute; */
  }

  .info-billion-mobile {
    display: block;
  }

  .info-billion-deskop {
    display: none;
  }

  .title-home-section h1 {
    font-size: 11.249px !important;
  }

  .marquee-content img {
    width: 27.633px;
    height: 28.835px;
  }

  /* Notification banner */
  .notification-content {
    gap: 8px;
    padding: 8px 0;
  }

  .notification-icon {
    width: 40px;
  }

  .notification-text {
    font-size: 14px;
  }

  .notification-badge {
    width: 80px;
    padding: 8px;
  }

  /* Hero section */
  .hero-section {
    padding: 0 5px 15px 5px;
  }

  .hero-content {
    padding: 15px 0;
  }

  .hero-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-sm);
  }

  .hero-divider {
    width: 60px;
    height: 3px;
    margin: var(--spacing-sm) 0;
  }

  .hero-description {
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-sm);
  }

  .hero-image {
    height: 250px;
    margin-top: -15px;
  }

  .hero-image-wrapper img.hero-contact {
    max-width: 60%;
  }

  .floating-chat-bubble {
    width: 60px;
    font-size: 18px;
  }

  .bubble-1 {
    top: 15%;
    right: 10px;
    width: 50px;
  }

  .bubble-2 {
    width: 50px;
    top: 75%;
    left: 5px;
  }

  .bubble-3 {
    width: 40px;
    bottom: 10%;
    right: 2%;
  }

  .footer-mobile {
    display: block;
  }

  .bubble-4 {
    left: 15px;
  }

  .benefits-section {
    padding: 0 32px;
  }

  .section-header {
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
  }

  .section-title {
    font-size: var(--font-size-xl);
  }

  .benefits-grid-mobile {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--spacing-md);
    row-gap: var(--spacing-lg);
    margin-top: 0;
  }

  .section-header,
  .title-mid-section {
    margin: 0 !important;
  }

  .benefits-section .title-mid-section {
    margin: 15px;
  }

  .title-mid-section {
    margin: 12px 0px !important;
    gap: 8px;
  }

  .video-container {
    border-radius: 16px !important;
  }

  /* Earn section */
  .earn-section {
    padding: 0;
  }

  .earn-title {
    font-size: var(--font-size-xl);
  }

  .carousel-control {
    width: 35px !important;
    height: 35px !important;
  }

  .earn-subtitle {
    font-size: var(--font-size-base);
  }

  .earn-video-section {
    padding: 0px 15px 0;
  }

  .video-container {
    border-radius: 15px;
    height: 100%;
  }

  /* Commission section */
  .commission-section {
    padding: 0 15px 0 15px;
  }

  .carousel-control {
    border: 2px solid #F17020 !important;
  }

  .commission-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
  }

  .commission-card {
    padding: 0;
  }

  .totalCommission {
    padding: 7.062px 0;
  }

  .totalCommission>div:nth-child(3) {
    height: 32px;
  }

  .totalCommission>div:nth-child(3)>div:nth-child(1) {
    font-size: 12px;
  }

  #totalCommission {
    font-size: 14px;
    line-height: 10px;
  }

  .results-section {
    margin-bottom: 5px;
  }

  #commissionCalculator {
    margin-bottom: 26px;
  }

  .warningDiv {
    font-size: 10px;
  }

  .payment-content {
    margin-bottom: 0;
    margin-top: 0;
  }

  .CalculationDetail {
    margin-top: 0 !important;
  }

  .result-Cards {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .results-section div:nth-child(3) {
    flex-direction: row;
    align-items: center;
  }

  .results-section div:nth-child(3) span:nth-child(2) {
    font-size: 8.657px;
  }

  .commission-intro p {
    font-size: var(--font-size-sm);
  }

  .table-title {
    font-size: 15px;
    margin: 15px 0 0 0;
  }

  .new-member-bonus-section {
    margin: 0;
    margin-bottom: 0 !important;
    margin-top: 15px !important;
  }

  .commission-notes {
    margin-bottom: 0px;
    margin-top: 5px;
  }

  .new-member-bonus-notes {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
  }

  .new-member-bonus-intro {
    margin-bottom: 5px !important;
  }

  .new-member-bonus-title {
    margin: 0;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }

  .new-member-bonus-section div:nth-child(3) {
    padding: 0;
  }

  .new-member-bonus-section div:nth-child(3)>div>div {
    height: 38px;
    font-size: 13px;
    padding: 0 5px;
    line-height: 14px;
    align-content: center;
  }

  .new-member-bonus-section div:nth-child(3)>div:nth-child(1) {
    grid-template-columns: 22% 25% 33% 20%
  }

  .new-member-bonus-section div:nth-child(3)>div:nth-child(2) {
    grid-template-columns: 22% 25% 33% 20%
  }

  .new-member-bonus-section div:nth-child(3)>div:nth-child(2)>div {
    font-size: 9px;
    line-height: 11px;
  }

  .table-header .table-cell {
    font-size: 16px;
  }

  .commission-table-section {
    margin: 0 !important;
  }

  .table-cell {
    padding: 8px 6px;
    font-size: 14px;
  }

  /* Commission Table Responsive - Mobile nhỏ */
  .commission-header-cell {
    padding: 6px 2px;
    font-size: 12px;
    border-radius: unset;
  }

  .commission-data-cell {
    padding: 6px 4px;
    font-size: 12px;
    border-radius: unset;
  }

  .commission-header-row,
  .commission-data-grid {
    gap: 1px;
    margin-bottom: 2px;
  }

  .commission-notes p,
  .rules-content p,
  .payment-content p {
    font-size: var(--font-size-sm);
  }

  /* New Member Bonus Section - Mobile */
  .new-member-bonus-title {
    font-size: 15px;
    margin-bottom: var(--spacing-sm);
  }

  .new-member-bonus-intro p {
    font-size: var(--font-size-sm);
  }

  .new-member-bonus-notes p {
    font-size: var(--font-size-xs);
  }

  /* Partner section */
  .partner-section {
    padding: 0 5px 15px 5px;
  }

  .partner-title {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
  }

  .partner-description {
    font-size: var(--font-size-base);
  }

  .flag-container {
    gap: 10px;
  }

  .flag {
    width: 30px;
    height: 22px;
  }

  .professional-badge {
    padding: 6px 12px;
    font-size: 12px;
    top: 15px;
    right: -5px;
  }

  /* Referral section */
  .referral-section {
    padding: 0 5px 15px 5px;
  }

  .referral-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
  }

  .referral-card {
    padding: var(--spacing-sm);
  }

  .referral-intro p {
    font-size: var(--font-size-sm);
  }

  .referral-table-title {
    font-size: var(--font-size-lg);
  }

  .referral-table .table-header .table-cell {
    font-size: 16px;
  }

  .referral-table .table-cell {
    padding: 8px 6px;
    font-size: 14px;
  }

  .referral-notes p {
    font-size: var(--font-size-sm);
  }

  /* Footer */
  .footer {
    padding: 0 5px;
  }

  .footer-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-xs);
  }

  .main-partners-grid {
    flex-direction: column;
    gap: 20px;
  }

  .partner-card-header {
    padding: 15px;
  }

  .partner-card-header .partner-logo {
    height: 30px;
  }

  .partner-card-content {
    padding: 15px;
    gap: 10px;
  }

  .partner-avatar img {
    width: 50px;
    height: 50px;
  }

  .partner-info h4 {
    font-size: 12px;
  }

  .partner-info p {
    font-size: 10px;
  }

  .sponsors-logos {
    gap: 20px;
    padding: 15px 0;
  }

  .sponsor-logo {
    height: 30px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 8px;
  }

  .footer-links a {
    font-size: 12px;
  }

  .footer-copyright p {
    font-size: 12px;
  }

  .referral-card {
    padding: var(--spacing-sm);
  }

  .referral-table-section {
    padding: 0 5px 10px 5px;
  }


  .footermb .footer-title,
  .footermb .footer-content,
  .footermb .footer-agent {
    width: 100%;
    height: max-content;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
  }

  .footermb .footer-agent {
    padding: 0px 15px;
  }

  .footermb .footer-title {
    padding: 0px 15px;
    margin-top: 8px;

  }

  .footermb .footer-title img {
    width: 60%;
    height: auto;
    object-fit: contain;
  }

  .bar-tap {
    display: block !important;
    width: 23.001px !important;
    height: 22.342px !important;
  }

  .logo {
    display: flex;
    gap: 11px;
  }

  .earn-video-section {
    width: 100%;
    height: 100%;
  }

  .footer-container>div {
    padding: 0 15px 10px;
  }

  .info-footer {
    padding: 0 15px 140px;
  }

  .carousel-item {
    height: auto;
    width: 79.606px !important;
  }

  .carousel-slide {
    gap: 5px !important;
  }

  .carousel-container {
    width: 333px !important;
    margin: auto;
  }

  .carousel-item img {
    width: 80px;
    height: 107px;
  }

  /* .carousel-container .carousel-slide:nth-child(1) {
    display: none;
  } */

  /* .carousel-mobile {
    display: flex !important;
  } */

  .carousel-item img {
    height: auto !important;
  }


  .btn-Commission {
    margin: 2px 0 0 0;
  }

  .btn-Commission>div {
    margin-bottom: 0;
  }

  .btn-Commission>div svg {
    width: 12.857px;
    height: 12.857px;
  }

  .btn-Commission>div>div {
    font-size: 12px;
    line-height: 12px;
  }

  .earn-section,
  .benefits-section,
  .info-billion,
  .commission-section {
    overflow: hidden;
  }
}

.menu-bottom-mobile {
  border-radius: 30px 30px 0 0;
  border: 1.5px solid #F17020;
  background: linear-gradient(180deg, #FFF 43.75%, #C5C5C5 100%);
  backdrop-filter: blur(2px);
  height: 75px;
  padding: 18px 27px;
}

@media (max-width: 480px) {

  .carousel-control {
    width: 25px !important;
    height: 25px !important;
  }

  .marquee-banner img {
    margin-left: 15px;
  }

  .earn-video-section {
    padding: 0 15px !important;
    margin: 0;
  }
}

.menu-bottom-mobile ul {
  display: flex;
  justify-content: space-between;
}

.menu-bottom-mobile ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-bottom-mobile ul p {
  text-align: center;
  font-family: "SF Pro";
  font-size: 9.068px;
  font-style: normal;
  font-weight: 590;
  line-height: normal;
  text-transform: capitalize;
}

.menu-bottom-mobile ul svg {
  fill: #F17020;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

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

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

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.floating-elements {
  animation: float 3s ease-in-out infinite;
}

.btn-gradient:hover {
  animation: pulse 0.6s ease-in-out;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Toast notification animations */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #36A638;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #e67e00;
}

/* Registration Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-out;
}

.modal-container {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 500px;
  max-height: 75vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease-out;
  position: relative;
}

.modal-header {
   background: linear-gradient(135deg, #bd6806 0%, #F17020 100%);
  color: #ffffff;
  padding: 15px 20px;
  border-radius: 20px 20px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  font-size: 20px;
  margin: 0;
  text-transform: uppercase;
}

.close-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 30px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.close-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.modal-body {
  padding: 20px;
}

.registration-form {
  display: block;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #34344b;
  margin-bottom: 4px;
}

.required {
  color: #ff4757;
}

.form-group input {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: #34344b;
  background-color: #ffffff;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #F17020;
  box-shadow: 0 0 0 3px rgba(252, 139, 0, 0.1);
}

.form-group input::placeholder {
  color: #a0a0a0;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.form-actions .btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 14px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-secondary {
  background: #f8f9fa;
  color: #6c757d;
  border: 2px solid #e1e5e9;
}

.btn-secondary:hover {
  background: #e2e6ea;
  color: #495057;
}

.loading-spinner {
  text-align: center;
  padding: 30px 20px;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f0f0f0;
  border-top: 3px solid #36A638;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0;
}

.loading-spinner h3 {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #34344b;
  margin: 0;
}

.loading-spinner p {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: #666;
  margin: 0;
}

.loading-dots {
  display: flex;
  gap: 4px;
  margin-top: 10px;
}

.loading-dots span {
  width: 6px;
  height: 6px;
  background: #36A638;
  border-radius: 50%;
  animation: dots 1.4s ease-in-out infinite both;
}

.loading-dots span:nth-child(1) {
  animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0s;
}

.success-message,
.error-message {
  text-align: center;
  padding: 25px 20px;
}

.success-container,
.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.success-icon,
.error-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.success-icon {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #ffffff;
}

.success-icon svg {
  width: 30px;
  height: 30px;
}

.error-icon {
  background: linear-gradient(135deg, #dc3545, #fd7e14);
  color: #ffffff;
}

.error-icon svg {
  width: 30px;
  height: 30px;
}

.success-message h3,
.error-message h3 {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #34344b;
  margin: 0;
}

.success-message p,
.error-message p {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0;
  max-width: 300px;
}

.success-details,
.error-suggestions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0;
}

.detail-item,
.suggestion-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
}

.detail-icon,
.suggestion-icon {
  font-size: 14px;
  color: #28a745;
}

.error-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.error-actions .btn {
  padding: 8px 16px;
  font-size: 13px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes dots {

  0%,
  80%,
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .modal-container {
    width: 95%;
    margin: 20px;
  }

  .modal-header {
    padding: 20px;
  }

  .modal-title {
    font-size: 20px;
  }

  .modal-body {
    padding: 20px;
  }

  .form-group input {
    padding: 12px 14px;
    font-size: 14px;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {

  .commission-card p {
    font-size: 12px !important;
    margin-bottom: 0;
    line-height: 1.5 !important;
  }

  .new-member-bonus-intro {
    margin-bottom: 0;
  }

  .btn-Commission,
  .commission-rules {
    margin-top: 0 !important;
  }

  .modal-container {
    width: 98%;
    margin: 10px;
    border-radius: 15px;
  }

  .modal-header {
    padding: 15px;
    border-radius: 15px 15px 0 0;
  }

  .modal-title {
    font-size: 18px;
  }

  .close-btn {
    width: 35px;
    height: 35px;
    font-size: 25px;
  }

  .modal-body {
    padding: 15px;
  }

  .form-group {
    margin-bottom: 15px;
  }

  .form-group label {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .form-group input {
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 8px;
  }

  .form-actions {
    margin-top: 20px;
  }

  .form-actions .btn {
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 8px;
  }

  .success-icon,
  .error-icon {
    width: 60px;
    height: 60px;
    font-size: 30px;
  }

  .success-message h3,
  .error-message h3 {
    font-size: 18px;
  }

  .success-message p,
  .error-message p {
    font-size: 14px;
  }
}

/* Commission Table */
.commission-table-section {
  margin: 20px 0;
}

/* Commission Header Row */
.commission-header-row {
  display: grid;
  grid-template-columns: 33% 34% 33%;
  align-items: center;
  margin-bottom: 1px;
  font-family: 'Times New Roman', Times, serif;
  width: 100%;
}

.commission-header-cell {
  padding: 12px 10px;
  background: #F17020;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

/* Commission Data Grid */
.commission-data-grid {
  display: grid;
  grid-template-columns: 33% 34% 33%;
  gap: 2px;
  font-family: 'Times New Roman', Times, serif;
  color: #363636;
  width: 100%;
}

.commission-data-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  /* border-radius: 10px; */
  background: rgba(241, 112, 32, 0.50);
  font-size: 18px;
  font-weight: bold;
  /* box-shadow: rgba(54, 166, 56, 0.4) 0px 6px 18px, rgba(255, 255, 255, 0.5) 0px 1px 0px inset; */
  text-align: center;
}

.commission-data-cell.commission-row-span {
  grid-row: span 2;
}

.commission-table-wrapper {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
  margin-bottom: 30px;
}

.commission-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid #34344b;
}

.table-header {
  background: linear-gradient(135deg, #36A638 0%, #90e649 100%);
  color: white;
  padding: 20px 15px;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.table-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 3s infinite;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.header-icon {
  font-size: 24px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.table-row {
  transition: all 0.3s ease;
  cursor: pointer;
}

.table-row:hover {
  background: linear-gradient(135deg, #fff9f0 0%, #fff5e6 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(252, 139, 0, 0.1);
}

.table-row.active {
  background: linear-gradient(135deg, #fff0e0 0%, #ffe8d1 100%);
  border-left: 4px solid #36A638;
}

.table-cell {
  padding: 18px 15px;
  border-bottom: 1px solid #e8e8e8;
  border-right: 1px solid #e8e8e8;
  text-align: center;
  vertical-align: middle;
  position: relative;
}

.table-cell:last-child {
  border-right: none;
}

.cell-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.cell-value {
  font-weight: 700;
  font-size: 18px;
  color: #34344b;
}

.cell-subtitle {
  font-size: 12px;
  color: #666;
  font-weight: 500;
}

.commission-rate {
  color: #36A638;
  font-size: 20px;
  text-shadow: 0 1px 2px rgba(252, 139, 0, 0.2);
}

/* Commission Calculator */
.commission-calculator {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  padding: 25px;
  border: 2px solid #34344b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: fit-content;
}

.calculator-header {
  text-align: center;
  margin-bottom: 20px;
}

.calculator-header h4 {
  font-size: 18px;
  font-weight: 700;
  color: #34344b;
  margin-bottom: 8px;
}

.calculator-header p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.calculator-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

.input-group label {
  font-size: 14px;
  font-weight: 600;
  color: #34344b;
}

.input-group input {
  padding: 12px 15px;
  border: 2px solid #e1e5e9;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: white;
}

.input-group input:focus {
  outline: none;
  border-color: #36A638;
  box-shadow: 0 0 0 3px rgba(252, 139, 0, 0.1);
}

.calculator-result {
  background: white;
  border-radius: 10px;
  padding: 20px;
  margin-top: 15px;
  border: 2px solid #e1e5e9;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.result-item:last-child {
  border-bottom: none;
}

.result-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.result-value {
  font-size: 16px;
  font-weight: 700;
  color: #36A638;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .commission-table-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .commission-calculator {
    order: -1;
  }
}

@media (max-width: 768px) {
  .commission-table {
    font-size: 14px;
  }

  .table-header {
    padding: 15px 10px;
    font-size: 14px;
  }

  .header-icon {
    font-size: 20px;
  }

  .table-cell {
    padding: 15px 10px;
  }

  .cell-value {
    font-size: 16px;
  }

  .cell-subtitle {
    font-size: 11px;
  }

  .commission-calculator {
    padding: 20px;
  }

  /* Commission Table Responsive */
  .commission-header-cell {
    padding: 8px 6px;
    font-size: 12px;
    border-radius: unset;
  }

  .commission-data-cell {
    padding: 8px 6px;
    font-size: 12px;
    border-radius: unset;
  }

  .commission-header-row,
  .commission-data-grid {
    gap: 1px;
  }
}

/* Slider Styles */
.slider-orange {
  -webkit-appearance: none;
  appearance: none;
  background: #e5e7eb;
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
}

.slider-orange::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #36A638, #ff6b35);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(252, 139, 0, 0.3);
  transition: all 0.3s ease;
}

.slider-orange::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(252, 139, 0, 0.4);
}

.slider-orange::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #36A638, #ff6b35);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(252, 139, 0, 0.3);
  transition: all 0.3s ease;
}

.slider-orange::-moz-range-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(252, 139, 0, 0.4);
}

.slider-orange::-webkit-slider-track {
  background: linear-gradient(90deg, #36A638 0%, #ff6b35 100%);
  border-radius: 8px;
  height: 8px;
}

.slider-orange::-moz-range-track {
  background: linear-gradient(90deg, #36A638 0%, #ff6b35 100%);
  border-radius: 8px;
  height: 8px;
  border: none;
}

/* Focus state for accessibility */
.slider-orange:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(252, 139, 0, 0.2);
}

/* Active state */
.slider-orange:active::-webkit-slider-thumb {
  transform: scale(1.2);
}

.slider-orange:active::-moz-range-thumb {
  transform: scale(1.2);
}

/* Statistics Banner */
.stats-banner {
  position: relative;
  margin: 30px auto 40px;
  max-width: 1200px;
  padding: 0 20px;
}

.stats-banner-content {
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(9.833px);
  -webkit-backdrop-filter: blur(9.833px);
  border-radius: 49px;
  padding: 15px 30px;
  box-shadow: 0px 0px 20px 0px rgba(54, 166, 56, 0.5);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.stats-text {
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  font-size: 1.5625rem;
  line-height: 1.4;
  color: #4e4e4e;
  text-align: center;
  text-transform: uppercase;
  margin: 0;
  position: relative;
  z-index: 1;
}

.stats-highlight {
  color: #36a638;
}

.stats-decoration {
  position: absolute;
  right: 53px;
  top: 50%;
  transform: translateY(-50%);
  width: 126px;
  height: 28px;
}

.stats-diamond-small {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 22px;
  height: 22px;
  background: #36a638;
}

.stats-diamond-large {
  position: absolute;
  right: 27px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 27px;
  height: 27px;
  background: #7fbf80;
}

.stats-line {
  position: absolute;
  right: 52px;
  top: 50%;
  transform: translateY(-50%);
  width: 74px;
  height: 2px;
  background: #36a638;
}

/* Responsive cho Statistics Banner */
@media (max-width: 768px) {
  .stats-banner {
    margin: 20px auto 30px;
    padding: 0 15px;
  }

  .stats-banner-content {
    padding: 12px 20px;
    border-radius: 30px;
    min-height: 50px;
  }

  .stats-text {
    font-size: var(--font-size-lg);
    line-height: 1.4;
  }

  .stats-decoration {
    right: 20px;
    width: 80px;
    height: 20px;
  }

  .stats-diamond-small {
    width: 16px;
    height: 16px;
  }

  .stats-diamond-large {
    width: 20px;
    height: 20px;
    right: 20px;
  }

  .stats-line {
    width: 50px;
    right: 38px;
  }
}




/* FAQ Section Styles */
.faq-section {
  padding: 60px 0;
  position: relative;
}

.faq-container {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
}

.faq-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: var(--font-size-3xl);
  line-height: 1.2;
  color: #36A638;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: var(--spacing-md);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.faq-content {
  background: white;
  border-radius: 19.667px;
  box-shadow: 0px 8px 32px 0px rgba(0, 0, 0, 0.08);
  padding: 24.85px 24.53px;
  max-width: 1180px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-question {
  background: linear-gradient(180deg, #DFFFE0 0%, #BEFFBF 100%);
  border: 1px solid #36A638;
  border-radius: 10px;
  padding: 8.274px 9.308px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 46.783px;
}

.faq-question:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(54, 166, 56, 0.3);
}

.faq-question span {
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: var(--font-size-sm);
  line-height: 1.3;
  color: #36A638;
  text-transform: capitalize;
  flex: 1;
  margin-right: var(--spacing-sm);
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-icon svg path {
  stroke: #36A638;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: transparent;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 10.17px;
}

.faq-answer p {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: var(--font-size-base);
  line-height: 1.9;
  color: #4e4e4e;
  text-align: justify;
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .faq-section {
    padding: 40px 0;
  }

  .title-mid-section {
    margin-top: 0;
    margin-bottom: 0;
  }

  .info-billion-main>div {
    flex-direction: row !important;
    gap: 30px;
  }

  .info-billion-main>div>div {
    width: 60% !important;
  }

  .info-billion-main>div>div h2 {
    margin-bottom: 10px;
  }

  .info-billion-main>div>div {
    align-items: flex-start !important;
  }

  .info-billion-main>div img {
    width: 231px;
  }

  .footer-title {
    padding: 0 26px;
  }

  .section-header {
    margin: 15px 0;
    margin: 20px 0;
  }

  .section-header {
    overflow: hidden;
  }

  .faq-container {
    padding: 0 15px;
  }

  .faq-title {
    font-size: var(--font-size-2xl);
    line-height: 1.2;
    margin-bottom: var(--spacing-xl);
  }

  .faq-content {
    padding: 20px 15px;
    border-radius: 15px;
  }

  .faq-question {
    padding: 12px 15px;
    min-height: auto;
  }

  .faq-question span {
    font-size: var(--font-size-lg);
    line-height: 1.3;
  }

  .faq-answer p {
    font-size: var(--font-size-sm);
    line-height: 1.7;
  }

  .faq-icon svg {
    width: 24px;
    height: 24px;
  }

  .info-billion-main {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    padding: 0 29px;
    justify-items: center;
  }

  .title-home-section {
    width: 80%;
    padding: 18px 70px;
  }

  .title-home-section h1 {
    font-size: 15.849px;
  }
}


/* Carousel Styles */
.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0 10px;
}

.carousel-slide {
  display: flex;
  transition: transform 0.45s cubic-bezier(.22, .9, .31, 1);
  will-change: transform;
  gap: 8px;
}

.carousel-item {
  flex: 0 0 auto;
}

.info-billion-deskop {
  height: 158px;
}

.info-billion-main>div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-billion-main>div>div h2 {
  color: #363636;
  text-align: center;
  font-family: Roboto;
  font-size: 22.163px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
}

.info-billion-main>div>div p {
  color: #363636;
  font-family: Roboto;
  font-size: 19.759px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.info-billion-main>div>div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-item img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  background: #fff;
}

.carousel-control {
  position: absolute;
  top: 62%;
  transform: translateY(-50%);
  display: flex;
  width: 80px;
  height: 80px;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  border: 5px solid #F17020;
  background: white;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s ease;
}

.carousel-control:hover:not(.disabled) {
  background: #F17020;
  transform: translateY(-50%) scale(1.1);
}

.carousel-control:hover:not(.disabled) svg path {
  stroke: white;
}

.carousel-control.prev {
  left: -6vw;
}

.carousel-control.next {
  right: -6vw;
}

.carousel-control.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #e5e7eb;
  cursor: pointer;
}

.carousel-dots button.active {
  background: #36A638;
}

/* Responsive items per view (aligned with JS logic and accounting for gap) */
@media (min-width: 1024px) {
  .carousel-item {
    width: calc((100% - 4 * 8px) / 5);
    /* 5 items, 4 gaps of 8px */
  }

  .carousel-item img {
    height: 335px;
    /* Height for larger screens */
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .carousel-item {
    width: calc((100% - 3 * 8px) / 4);
    /* 4 items, 3 gaps of 8px */
  }

  .carousel-item img {
    height: 150px;
    /* Default height for medium screens */
  }
}


@media (min-width: 375px) and (max-width:700px) {

  .header-right button {
    width: 80px;
    padding: 5px;
    font-size: 8.462px;
  }

  .info-billion-main>div>div {
    align-items: flex-start;

  }

  .info-billion-main>div img {
    width: 63.148px;
    height: 63.148px;
  }

  .info-billion-main>div>div h2 {
    font-size: 15px;
    margin-bottom: 0;
  }

  .info-billion-main>div {
    display: flex;
    flex-direction: row;
    align-items: unset;
    gap: 36px !important;
    justify-content: center;
  }

  .header-action-buttons {
    gap: 3px;
  }

  .logo {
    width: 65.524px !important;
    height: 22px !important;
  }

  .benefits-grid-mobile {
    margin-top: 0;
  }

  .benefits-section {
    padding: 0 15px 10px 15px;
  }

  .info-billion-main>div p {
    font-size: 10px !important;
    width: 100%;
  }

  .earn-video-section {
    width: 100%;
    height: 100%;
    padding: 0 15px;
  }


  .info-billion-main {
    padding: 0 15px;
  }

  .footermb .footer-agent {
    padding: 10px 15px 0 15px;
  }

  .footermb .footer-title {
    padding: 0px 15px;
  }

  .footer-container>div {
    padding: 0 15px 0px;
  }

  .footer-container .info-footer {
    padding: 0 15px 140px;
  }

  .footer-container>div {
    margin-top: 10px;
  }

  .menu-bottom-mobile {
    position: fixed;
    bottom: 0;
    width: 100%;
  }
}



.menu-top-bar ul li a {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #F17020;
  gap: 3px;
  line-height: 15px;
}

@media(min-width:1280px) and (max-width:1500px) {

  .info-billion-main {
    padding: 0 15px;
  }
}


@media (max-width: 1440px) {
  section.earn-section-carousel {
    display: grid !important;
    grid-template-columns: 10% 1fr 10% !important;
    grid-template-rows: auto 1fr !important;
    grid-template-areas: "header header header" "prev carousel next" !important;
    align-items: center !important;
    gap: 0 !important;
  }

  /* Keep the header/title occupying the full width (first row) */
  section.earn-section-carousel>.section-header {
    grid-area: header !important;
    width: 100% !important;
  }

  .carousel-control {
    width: 50px;
    height: 50px;
  }

  .carousel-control svg {
    width: 15px;
    height: 15px;
  }

  /* Left control column (10%) */
  section.earn-section-carousel>.carousel-control.prev {
    left: 10px;
  }

  /* Right control column (10%) */
  section.earn-section-carousel>.carousel-control.next {
    right: 10px;
  }

  /* Center carousel column (80%) */
  section.earn-section-carousel>.carousel-container {
    grid-area: carousel !important;
    justify-self: stretch !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  section.earn-section-carousel .carousel-slide {
    gap: 8px !important;
  }

  /* Make items smaller so 4 items fit comfortably inside the center column */
  section.earn-section-carousel .carousel-item {
    flex: 0 0 auto !important;
    width: calc((100% - 3 * 8px) / 4) !important;
  }

  section.earn-section-carousel .carousel-item img {
    height: auto;
    object-fit: cover !important;
  }
}

@media (max-width:1024px) {
  .footer-content-item {
    margin-bottom: 10px;
  }

  .earn-section,
  .benefits-section,
  .info-billion,
  .commission-section {
    overflow: hidden;
  }

  .title-mid-section h1 {
    text-wrap-mode: nowrap;
  }

  .carousel-item img {
    height: auto;
  }

  .info-billion-main {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    justify-items: center;
  }


  .benefits-section {
    padding: 0 15px;
  }

  .info-billion-main>div>div {
    width: 80%;
  }
}

@media (max-width: 639px) {

  /* Small screens */
  .carousel-item {
    width: calc((100% - 3 * 8px) / 4);
    /* 4 items, 3 gaps of 8px (consistent with JS for < 1024px) */
  }

  .carousel-item img {
    height: 106px;
    /* Specific height for very small mobile screens */
  }

  .carousel-control {
    /* Adjust control size for very small screens */
    width: 25.679px;
    height: 25.679px;
    border: 1.605px solid #F17020;
    top: 66%;
  }

  .carousel-control.prev {
    left: 10px;
  }

  .carousel-control.next {
    right: 10px;
  }

  .carousel-control svg {
    width: 5.778px;
    height: 11.395px;
  }
}

@media (max-width: 480px) {
  .payment-title {
    font-size: 15px;
    margin-top: 15px;
  }

  .payment-title {
    margin-top: 10px;
    margin-bottom: 0;
  }

  .rules-content {
    margin-bottom: 0;
  }

  .section-header {
    margin: 0;
  }

  .title-mid-section {
    margin: 15px 0;
  }

  .commission-table-section {
    margin: 0;
  }

  .commission-intro {
    margin: 0;
  }

  .table-title,
  .new-member-bonus-title,
  .rules-title {
    margin: 15px 0 0 0;
    font-size: 15px;
  }

  .stats-text {
    font-size: var(--font-size-sm);
    line-height: 1.4;
  }

  .stats-decoration {
    right: 10px;
    width: 60px;
  }

  .stats-diamond-small {
    width: 12px;
    height: 12px;
  }

  .stats-diamond-large {
    width: 16px;
    height: 16px;
    right: 15px;
  }

  .stats-line {
    width: 40px;
    right: 28px;
  }

  .commission-header-cell {
    padding: 8px 6vw;
    height: 54px;
    font-size: 3vw;
  }

  .commission-header-cell:nth-child(3) {
    padding: 8px 6vw;
  }

  .faq-title {
    font-size: var(--font-size-xl);
    line-height: 1.2;
  }

  .faq-question span {
    font-size: 14px;
    line-height: 1.4;
  }

  .faq-answer p {
    font-size: var(--font-size-sm);
    line-height: 1.7;
  }
}

@media (max-width: 375px) {
  .header-right button {
    width: 80px;
    padding: 5px;
    font-size: 8.462px;
  }

  .info-billion-main>div,
  .info-billion-main>div>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .header-action-buttons {
    gap: 3px;
  }

  .logo {
    width: 65.524px !important;
    height: 22px !important;
  }

  .info-billion-main>div {
    gap: 10px !important;
  }

  .benefits-section {
    padding: 0 15px 0px 15px;
  }

  .info-billion-main>div p {
    font-size: 2.7vw !important;
    width: 100%;
  }

  .earn-video-section {
    width: 100%;
  }

  .commission-section {
    padding: 0 12px 0 12px;
  }

  .info-billion-main {
    padding: 0 12px;
  }

  .info-billion-mobile {
    display: block;
    width: 65px !important;
  }

  .info-billion-main>div>div h2 {
    font-size: 3.1vw;
  }
}