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

/* 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;
}

#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 */
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  background-color: #171C1A;
  overflow-x: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  position: relative;
}

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: #212d2a;
  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 10px;
}


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

.datetime {
  font-size: 14px;
  color: #7f7f7f;
  font-weight: 400;
}

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

/* Marquee Banner */
.marquee-banner {
  background: linear-gradient(90deg, #ffa156, #ffa156, #ffa156);
  background-size: 200% 100%;
  animation: gradientShift 4s ease-in-out infinite;
  overflow: hidden;
  position: relative;
  margin-top: 90px;
  height: 40px;
  display: flex;
  align-items: center;
}

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

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

.marquee-item {
  display: inline-block;
  padding: 0 25px;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  position: relative;
}

.marquee-item::after {
  content: "•";
  position: absolute;
  right: 10px;
  color: #ffffff;
  font-weight: bold;
}

@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: 14px 20px;
  border-radius: 8px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 18px;
  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: #ffa156;
  border: 1px solid #ffa156;
}

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

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

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

.btn-gradient {
  background: linear-gradient(135deg, #ffa156 0%, #ffad00 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(252, 139, 0, 0.3);
}

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

.btn-large {
  padding: 10px 20px;
  font-size: 16px;
  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: #212d2a;
  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: #212d2a;
  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: 50px 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-divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #ffd4a8, #fd903d);
  margin: 20px 0;
  border-radius: 3px;
}

.hero-register-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(220px, 55vw, 260px);
  min-height: clamp(52px, 10vw, 70px);
  padding: clamp(0.65rem, 1.5vw, 1rem) clamp(1.5rem, 4vw, 2rem);
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffc078 0%, #fd903d 55%, #e87728 100%);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(253, 144, 61, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: clamp(1.0625rem, 2.6vw, 1.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 1px 3px rgba(180, 80, 20, 0.4);
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    filter 0.22s ease;
}

.hero-register-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, transparent 45%);
  pointer-events: none;
  border-radius: inherit;
}

.hero-register-btn:hover {
  transform: translateY(-2px);
  border-color: #fff;
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.32),
    0 0 34px rgba(253, 144, 61, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  filter: brightness(1.04);
}

.hero-register-btn:active {
  transform: translateY(0) scale(0.98);
}

.hero-register-btn:focus-visible {
  outline: 2px solid #ffc078;
  outline-offset: 4px;
}

@media (min-width: 768px) {
  .hero-register-btn {
    border-width: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-register-btn {
    transition: none;
  }

  .hero-register-btn:hover {
    transform: none;
    filter: none;
  }
}



.hero-gold-tint {
  /* filter: hue-rotate(165deg) saturate(1.25) brightness(1.05); */
}

/* Stats banner bullet: cyan/blue PNG → orange-gold */
.bullet-gold-tint {
  filter: hue-rotate(-148deg) saturate(1.18) brightness(1.06);
}

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

.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;
}

.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: 65%;
  left: 70px;
  animation-delay: 1s;
}

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

/* Benefits Section */
.benefits-section {
  padding: 0 10px 20px 10px;
  margin-top: -50px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 60px;
}

.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: 36px;
  color: #ffa156;
  text-transform: uppercase;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.benefit-card {
  background: #212d2a;
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 8px 49px rgba(38, 45, 118, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(38, 45, 118, 0.15);
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffd4a8, #fd903d);
}

.benefit-icon {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  top: -40px;
  transform: translateX(-50%);
}

.benefit-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: hue-rotate(165deg) saturate(1.25) brightness(1.05);
}

.benefit-title {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #ffa156;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.benefit-description {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  text-align: justify;
}

/* Partnership modes – aligned with benefits + v8ab dark orange theme */
.partnership-section {
  padding: 0 10px 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.partnership-section__header {
  margin-bottom: 12px;
}

.partnership-section__lead {
  max-width: 640px;
  margin: 0 auto 28px;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

.partnership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.partnership-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
  padding: 1.5rem 1.35rem 1.25rem;
  border: 1px solid rgba(255, 161, 86, 0.28);
  border-radius: 16px;
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(255, 161, 86, 0.1) 0%, transparent 55%),
    linear-gradient(165deg, #2a3532 0%, #212d2a 48%, #1a2421 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 170, 0.08),
    0 10px 28px rgba(0, 0, 0, 0.35);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.partnership-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1rem;
  right: 1rem;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, #ffc078, #fd903d);
}

.partnership-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 176, 96, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 170, 0.12),
    0 16px 36px rgba(0, 0, 0, 0.42),
    0 0 24px rgba(253, 144, 61, 0.12);
}

.partnership-card:focus-visible {
  outline: 2px solid #fd903d;
  outline-offset: 3px;
}

.partnership-card--referral::before {
  background: linear-gradient(90deg, #fd903d, #ca8a04);
}

.partnership-card__badge {
  align-self: flex-start;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 161, 86, 0.14);
  border: 1px solid rgba(255, 161, 86, 0.35);
  color: #ffa156;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.partnership-card__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.partnership-card__metric {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem 0.65rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.partnership-card__metric-value {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffa156;
}

.partnership-card__metric-label {
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.62);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.partnership-card__desc {
  flex: 1;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  text-align: justify;
}

.partnership-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fd903d;
  transition: gap 0.2s ease, color 0.2s ease;
}

.partnership-card:hover .partnership-card__cta {
  gap: 0.55rem;
  color: #ffa156;
}

@media (prefers-reduced-motion: reduce) {
  .partnership-card,
  .partnership-card__cta {
    transition: none;
  }

  .partnership-card:hover {
    transform: none;
  }
}

/* Commission calculator toggle */
.calc-toggle-wrap {
  display: flex;
  justify-content: center;
  padding: 0 10px;
  margin-top: 8px;
}

.calc-toggle-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 720px;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 161, 86, 0.32);
  border-radius: 16px;
  background:
    radial-gradient(ellipse 100% 90% at 0% 0%, rgba(255, 161, 86, 0.12) 0%, transparent 55%),
    linear-gradient(165deg, #2a3532 0%, #212d2a 52%, #1a2421 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 170, 0.08),
    0 10px 28px rgba(0, 0, 0, 0.32);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.calc-toggle-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1rem;
  right: 1rem;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, #ffc078, #fd903d);
}

.calc-toggle-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 176, 96, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 170, 0.12),
    0 14px 32px rgba(0, 0, 0, 0.38),
    0 0 20px rgba(253, 144, 61, 0.1);
}

.calc-toggle-btn:focus-visible {
  outline: 2px solid #fd903d;
  outline-offset: 3px;
}

.calc-toggle-btn.is-open {
  border-color: rgba(255, 176, 96, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 170, 0.14),
    0 0 0 1px rgba(253, 144, 61, 0.2),
    0 12px 30px rgba(0, 0, 0, 0.36);
}

.calc-toggle-btn__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 161, 86, 0.14);
  border: 1px solid rgba(255, 161, 86, 0.28);
  color: #ffa156;
}

.calc-toggle-btn__icon svg {
  width: 26px;
  height: 26px;
}

.calc-toggle-btn__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.calc-toggle-btn__title {
  font-size: clamp(0.9375rem, 2.2vw, 1.125rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.03em;
  color: #ffa156;
  text-transform: uppercase;
}

.calc-toggle-btn__subtitle {
  font-size: clamp(0.75rem, 1.8vw, 0.875rem);
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
}

.calc-toggle-btn__chevron {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fd903d;
  transition: transform 0.22s ease, background 0.22s ease;
}

.calc-toggle-btn__chevron svg {
  width: 18px;
  height: 18px;
}

.calc-toggle-btn.is-open .calc-toggle-btn__chevron {
  transform: rotate(180deg);
  background: rgba(255, 161, 86, 0.16);
}

@media (max-width: 768px) {
  .calc-toggle-btn {
    gap: 0.75rem;
    padding: 0.85rem 0.9rem;
  }

  .calc-toggle-btn__icon {
    width: 42px;
    height: 42px;
  }

  .calc-toggle-btn__icon svg {
    width: 22px;
    height: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .calc-toggle-btn,
  .calc-toggle-btn__chevron {
    transition: none;
  }

  .calc-toggle-btn:hover {
    transform: none;
  }
}

/* Earn Section */
.earn-section {
  padding: 0 10px 20px 10px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.earn-title {
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: #ffa156;
  text-transform: uppercase;
}

.earn-subtitle {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 10px;
}

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

.video-container {
  position: relative;
  width: 100%;
  height: max-content;
  aspect-ratio: 16/9;
  border-radius: 30px;
  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 10px 20px 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.commission-title {
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: #ffa156;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 30px;
  line-height: 1.4;
}

.commission-card {
  background: #212d2a;
  border: 1px solid #ffa156;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

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

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

.commission-intro p {
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 10px;
  text-align: justify;
}

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

.table-title {
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #ffa156;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* V8 data tables — dark orange-gold theme */
.v8-table-wrap {
  border-radius: 14px;
  border: 1px solid rgba(255, 161, 86, 0.28);
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: #212d2a;
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 170, 0.05),
    0 10px 28px rgba(0, 0, 0, 0.32);
}

.v8-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.v8-table th,
.v8-table td {
  padding: 0.75rem 0.65rem;
  text-align: center;
  vertical-align: middle;
  border: 1px solid rgba(255, 161, 86, 0.14);
  font-family: "Roboto", sans-serif;
  line-height: 1.35;
}

.v8-table th {
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(255, 161, 86, 0.18) 0%, transparent 70%),
    linear-gradient(180deg, #3a4743 0%, #2a3532 100%);
  color: #ffc078;
  font-weight: 700;
  font-size: clamp(0.8125rem, 2vw, 1.125rem);
  text-transform: none;
  border-bottom-color: rgba(255, 161, 86, 0.32);
}

.v8-table tbody td {
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.8125rem, 1.8vw, 1rem);
  font-weight: 500;
}

.v8-table tbody tr:nth-child(even) td {
  background: rgba(255, 161, 86, 0.045);
}

.v8-table__tier {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.v8-table__rate {
  font-weight: 700;
  color: #ffc078;
}

.v8-table tfoot td {
  background: rgba(255, 161, 86, 0.1);
  border-top: 1px solid rgba(255, 161, 86, 0.28);
  color: #ffa156;
  font-weight: 700;
  font-size: clamp(0.8125rem, 1.8vw, 1rem);
  padding: 0.85rem 0.75rem;
}

.v8-table--3col th:first-child,
.v8-table--3col td:first-child {
  width: 38%;
}

@media (max-width: 768px) {
  .v8-table th,
  .v8-table td {
    padding: 0.6rem 0.4rem;
  }
}

@media (max-width: 480px) {
  .v8-table th,
  .v8-table td {
    padding: 0.5rem 0.3rem;
    font-size: 0.75rem;
  }

  .v8-table tfoot td {
    font-size: 0.75rem;
  }
}

.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, #ffa156, #ffad00);
}

.table-header .table-cell {
  color: #101010;
  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: #212d2a;
}

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

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

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

.commission-notes p {
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 8px;
  text-align: justify;
}

.rules-title,
.payment-title {
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #ffa156;
  text-transform: uppercase;
  margin-bottom: 10px;
}

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

.rules-content p,
.payment-content p {
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 8px;
  text-align: justify;
}

/* Partner Section */
.partner-section {
  padding: 0 10px 20px 10px;
  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: 40px;
  color: #ffa156;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
}

.partner-subtitle {
  color: #ffa156;
}

.partner-description {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  letter-spacing: 0.4px;
  text-align: left;
}

.partner-description strong {
  color: #ffa156;
  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 {
  width: 100%;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.professional-badge {
  position: absolute;
  top: 20px;
  right: -10px;
  background: linear-gradient(135deg, #ffa156, #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 10px 20px 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.referral-title {
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: #ffa156;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 30px;
  line-height: 1.4;
}

.referral-card {
  background: #212d2a;
  border: 1px solid #ffa156;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.referral-card p {
  margin-bottom: 5px !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

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

.referral-intro p {
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 10px;
  text-align: justify;
}

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

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

.referral-table-title {
  font-family: "Roboto", sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: #ffa156;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.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: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 8px;
  text-align: justify;
}

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

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

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

.footer-mb {
  padding: 0 10px 20px;
}

.footer-title {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 25px;
  color: #101010;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.main-partners-grid {
  display: flex;
  justify-content: space-between;
  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 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 285px;
}

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

.partner-card-header {
  background: linear-gradient(135deg, #171C1A 0%, #212d2a 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 #ffa156;
}

.partner-info h4 {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  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;
  gap: 30px;
  flex-wrap: wrap;
  padding: 20px 0;
}

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

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

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

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

.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: #ffa156;
}

.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;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .header-container {
    padding: 0px 10px;
  }

  .hero-image {
    height: 400px;
  }

  .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: 60%;
    left: 20px;
    animation-delay: 1s;
    width: 60px;
    
    cursor: pointer;
  }

  .bubble-3 {
    bottom: 30%;
    right: 5%;
    animation-delay: 2s;
    width: 60px;
    
    cursor: pointer;
  }

  .bubble-4 {
    width: 60px;
    
    cursor: pointer;
  }

  .section-divider {
    width: 0px;
  }

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

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

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

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

  .hero-section {
    padding-top: 25px !important;
  }
}

@media (max-width: 768px) {
  .d-pc {
    display: none !important;
  }
  
  .d-mb {
    display: flex !important;
  }

  .header {
    height: 60px;
  }

  .header-container {
    width: 100%;
    height: 100%;
    padding: 15px 20px;
    margin: 0px;
    border-radius: 10px;
  }

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


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

  .hero-content {
    text-align: left;
  }

  .header-right {
    gap: 15px;
  }

  .datetime {
    display: none;
  }

  .header-buttons {
    width: 100%;
  }

  .btn {
    padding: 10px 15px;
    border-radius: 8px;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 12px;
  }

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

  .marquee-item {
    font-size: 12px;
    padding: 0 15px;
  }

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

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



  .hero-image {
    height: 300px;
    margin-top: -20px;
  }

  .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: 20px;
    margin-bottom: 5px;
  }

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

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

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

  .benefits-grid {
    padding: 0px;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
    row-gap: 50px;
  }

  .partnership-section {
    padding: 0 5px 20px;
  }

  .partnership-section__lead {
    font-size: 0.8125rem;
    margin-bottom: 20px;
    padding: 0 0.25rem;
  }

  .partnership-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .partnership-card {
    padding: 1.25rem 1rem 1rem;
  }

  .partnership-card__metrics {
    gap: 0.5rem;
  }

  .commission-card {
    padding: 20px;
  }

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

  .commission-section {
    padding: 0 10px 20px 10px;
  }

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

@media (max-width: 480px) {
  .commission-card p {
    font-size: 12px !important;
  }
  
  .container {
    padding: 0 5px;
  }

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

  .header-container {
    height: 50px;
    padding: 0 5px;
  }


  .header-right {
    gap: 8px;
  }

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

  /* Marquee banner */
  .marquee-banner {
    height: 25px;
    margin-top: 50px;
  }

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

  /* 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-divider {
    width: 60px;
    height: 3px;
    margin: 15px 0;
  }


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

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

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

  .bubble-2 {
    top: 70%;
    left: 15px;
  }

  .bubble-3 {
    bottom: 15%;
    right: 5%;
  }

  .bubble-4 {
    left: 10px;
  }

  /* Benefits section */
  .benefits-section {
    padding: 0 5px 15px 5px;
    margin-top: -30px;
  }

  .section-header {
    gap: 20px;
    margin-bottom: 40px;
  }

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

  .benefits-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
    row-gap: 40px;
    margin-top: 30px;
  }

  .benefit-card {
    padding: 30px 15px;
  }

  .benefit-icon {
    width: 60px;
    height: 60px;
    top: -30px;
  }

  .benefit-title {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .benefit-description {
    font-size: 12px;
  }

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

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

  .earn-subtitle {
    font-size: 15px !important;
  }

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

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

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

  .commission-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .commission-card {
    padding: 15px;
  }

  .commission-intro p {
    font-size: 14px;
  }

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

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

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

  .commission-notes p,
  .rules-content p,
  .payment-content p {
    font-size: 14px;
  }

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

  .partner-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .partner-description {
    font-size: 16px;
  }

  .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: 20px;
    margin-bottom: 20px;
  }

  .referral-card {
    padding: 15px;
  }

  .referral-intro p {
    font-size: 14px;
  }

  .referral-table-title {
    font-size: 18px;
  }

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

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

  .referral-notes p {
    font-size: 14px;
  }

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

  .footer-title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .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: 15px;
  }

  .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;
    margin-bottom: 5px;
    gap:10px;
  }

  .footermb .footer-agent {
    padding: 0px 5px;
    margin-bottom: 20px;
  }

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


  
}

/* 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;
}

.benefit-card {
  animation: fadeInUp 0.8s ease-out;
}

.benefit-card:nth-child(1) {
  animation-delay: 0.1s;
}
.benefit-card:nth-child(2) {
  animation-delay: 0.2s;
}
.benefit-card:nth-child(3) {
  animation-delay: 0.3s;
}
.benefit-card:nth-child(4) {
  animation-delay: 0.4s;
}

.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: #ffa156;
  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: #212d2a;
  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, #ffa156 0%, #ffad00 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: rgba(255, 255, 255, 0.7);
  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: rgba(255, 255, 255, 0.7);
  background-color: #212d2a;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #ffa156;
  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: #212d2a;
  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 #ffa156;
  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: rgba(255, 255, 255, 0.7);
  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: #ffa156;
  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: rgba(255, 255, 255, 0.7);
  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) {
  .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: 40px 0;
}

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

.commission-table {
  width: 100%;
  border-collapse: collapse;
  background: #212d2a;
  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, #ffa156 0%, #ffad00 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, #212d2a 0%, #2a2a2a 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(252, 139, 0, 0.1);
}

.table-row.active {
  background: linear-gradient(135deg, #212d2a 0%, #2a2a2a 100%);
  border-left: 4px solid #ffa156;
}

.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: rgba(255, 255, 255, 0.7);
}

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

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

/* Commission Calculator */
.commission-calculator {
  background: linear-gradient(135deg, #212d2a 0%, #2a2a2a 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: rgba(255, 255, 255, 0.7);
  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: rgba(255, 255, 255, 0.7);
}

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

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

.calculator-result {
  background: #212d2a;
  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: #ffa156;
}

/* 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;
  }
}

/* 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, #ffa156, #ffa156);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(253, 144, 61, 0.3);
  transition: all 0.3s ease;
}

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

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

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

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

.slider-orange::-moz-range-track {
  background: linear-gradient(90deg, #ffa156 0%, #ffa156 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);
}


/* Custom styles cho bảng tính hoa hồng */
.commission-calculator-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 2rem 0;
}

.result-card {
  transition: all 0.3s ease;
  cursor: pointer;
}

.result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.form-group {
  transition: all 0.2s ease;
}

.form-group input:focus {
  transform: scale(1.02);
}

/* Animation cho kết quả */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-card {
  animation: fadeInUp 0.5s ease forwards;
}

/* Enhanced result display animations */
.result-highlight {
  animation: highlightResult 0.6s ease-in-out;
}

@keyframes highlightResult {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.result-positive {
  color: #10b981 !important;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(16, 185, 129, 0.2);
}

.result-negative {
  color: #ef4444 !important;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(239, 68, 68, 0.2);
}

.result-neutral {
  color: #6b7280 !important;
}

.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .5;
  }
}

/* Responsive improvements */
@media (max-width: 768px) {
  .commission-calculator-section {
    padding: 1rem 0;
  }
  
  .grid-cols-1.md\\:grid-cols-2 {
    grid-template-columns: 1fr;
  }
  
  .lg\\:grid-cols-3 {
    grid-template-columns: 1fr;
  }
}

/* Custom scrollbar */
.calculationDetails::-webkit-scrollbar {
  width: 6px;
}

.calculationDetails::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.calculationDetails::-webkit-scrollbar-thumb {
  background: #ffa156;
  border-radius: 3px;
}

.calculationDetails::-webkit-scrollbar-thumb:hover {
  background: #ffd4a8;
}

/* Modal Enhancements */
.modal-overlay {
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.6);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-container {
  transform: scale(0.9) translateY(-20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.show {
  opacity: 1;
}

.modal-overlay.show .modal-container {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Commission Calculator Specific Styles */
#commissionCalculator {
  transition: all 0.3s ease-out;
}

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

#commissionCalculator.block {
  display: block !important;
  animation: calculatorSlideIn 0.3s ease-out;
}

@keyframes calculatorSlideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Custom Slider Styles */
.slider-orange {
  -webkit-appearance: none;
  appearance: none;
  background: #e5e7eb;
  outline: none;
  border-radius: 6px;
  height: 12px;
}

.slider-orange::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd4a8 0%, #fd903d 100%);
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: 2px solid white;
}

.slider-orange::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 5px 12px rgba(247, 147, 30, 0.4);
}

.slider-orange::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd4a8 0%, #fd903d 100%);
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.slider-orange::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 5px 12px rgba(247, 147, 30, 0.4);
}

.slider-orange::-webkit-slider-track {
  background: linear-gradient(to right, #ffd4a8 0%, #fd903d 100%);
  height: 6px;
  border-radius: 6px;
}

.slider-orange::-moz-range-track {
  background: linear-gradient(to right, #ffd4a8 0%, #fd903d 100%);
  height: 6px;
  border-radius: 6px;
  border: none;
}

/* Responsive grid adjustments */
@media (max-width: 768px) {
  .slider-orange {
    height: 10px;
  }
  .slider-orange::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
  }
  .slider-orange::-moz-range-thumb {
    width: 20px;
    height: 20px;
  }
}

.modal-header {
  background: linear-gradient(135deg, #ffd4a8 0%, #fd903d 100%);
  border-radius: 12px 12px 0 0;
  position: relative;
  overflow: hidden;
}

.modal-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 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.registration-form {
  animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group label {
  position: absolute;
  top: 0;
  left: 12px;
  background: #212d2a;
  padding: 0 8px;
  color: #6b7280;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  transform: translateY(-50%);
  z-index: 10;
}

.form-group input {
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
  background: #212d2a;
}

.form-group input:focus {
  border-color: #ffa156;
  background: #212d2a;
  box-shadow: 0 0 0 3px rgba(250, 184, 126, 0.1);
  transform: translateY(-2px);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
  color: #ffa156;
  font-weight: 600;
  transform: translateY(-50%) scale(0.9);
}

.btn-gradient {
  background: linear-gradient(135deg, #ffd4a8 0%, #fd903d 100%);
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.btn-gradient:hover::before {
  left: 100%;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(250, 184, 126, 0.4);
}

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

/* Loading Animation */
.loading-spinner {
  animation: fadeIn 0.3s ease-out;
}

.spinner {
  border: 3px solid #f3f4f6;
  border-top: 3px solid #ffa156;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

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

.loading-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 1rem;
}

.loading-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffa156;
  animation: bounce 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; }

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* Success Animation */
.success-message {
  animation: zoomIn 0.5s ease-out;
}

.success-icon {
  animation: checkmark 0.6s ease-out 0.3s both;
}

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

@keyframes checkmark {
  0% {
    stroke-dasharray: 0 100;
    stroke-dashoffset: 100;
  }
  100% {
    stroke-dasharray: 100 100;
    stroke-dashoffset: 0;
  }
}

/* Error Animation */
.error-message {
  animation: shake 0.5s ease-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.error-icon {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Form validation styles */
.form-group.error input {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group.error label {
  color: #ef4444;
}

.form-group.success input {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group.success label {
  color: #10b981;
}

/* Responsive modal */
@media (max-width: 768px) {
  .modal-container {
    margin: 1rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
  }
  
  .modal-header {
    border-radius: 8px 8px 0 0;
  }
}

/* Smooth scrolling for modal content */
.modal-body {
  scroll-behavior: smooth;
}

/* Focus trap for accessibility */
.modal-overlay:focus {
  outline: none;
}

.modal-container:focus {
  outline: none;
}

/* FAQ Section Styles */
.faq-section {
  padding: 48px 10px 56px;
  position: relative;
}

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

.faq-section__header {
  margin-bottom: 28px;
}

.faq-title {
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.2;
  margin-bottom: 0;
  position: static;
  left: auto;
  transform: none;
  width: auto;
}

.faq-content {
  background: #212d2a;
  border: 1px solid rgba(255, 161, 86, 0.22);
  border-radius: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 170, 0.05),
    0 12px 36px rgba(0, 0, 0, 0.35);
  padding: 1.25rem 1.15rem;
  max-width: 1180px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 0.65rem;
}

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

.faq-question {
  position: relative;
  background:
    radial-gradient(ellipse 100% 90% at 0% 0%, rgba(255, 161, 86, 0.08) 0%, transparent 55%),
    linear-gradient(165deg, #2a3532 0%, #212d2a 52%, #1a2421 100%);
  border: 1px solid rgba(255, 161, 86, 0.24);
  border-radius: 12px;
  padding: 0.85rem 0.9rem 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  min-height: 52px;
}

.faq-question::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  bottom: 0.65rem;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #ffc078, #fd903d);
  opacity: 0.85;
}

.faq-question:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 176, 96, 0.42);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.faq-question:focus-visible {
  outline: 2px solid #fd903d;
  outline-offset: 2px;
}

.faq-item.active .faq-question {
  border-color: rgba(255, 176, 96, 0.52);
  box-shadow: 0 0 0 1px rgba(253, 144, 61, 0.15), 0 8px 22px rgba(253, 144, 61, 0.1);
}

.faq-question span {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: clamp(0.9375rem, 2.2vw, 1.125rem);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  text-transform: none;
  flex: 1;
  margin-right: 0;
  padding-left: 0.35rem;
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 161, 86, 0.12);
  border: 1px solid rgba(255, 161, 86, 0.28);
  transition: transform 0.25s ease, background 0.2s ease;
  flex-shrink: 0;
}

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

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

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: rgba(255, 161, 86, 0.2);
}

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

.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 0.65rem 0.35rem 0.25rem 1.1rem;
}

.faq-answer p {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  text-align: justify;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .faq-question,
  .faq-icon,
  .faq-answer {
    transition: none;
  }

  .faq-question:hover {
    transform: none;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .faq-section {
    padding: 24px 0 32px;
  }
  
  .faq-container {
    padding: 0 15px;
  }
  
  .faq-section__header {
    margin-bottom: 20px;
  }
  
  .faq-content {
    padding: 1rem 0.85rem;
    border-radius: 14px;
  }
  
  .faq-question {
    padding: 0.75rem 0.8rem 0.75rem 0.9rem;
    min-height: auto;
  }
  
  .faq-question span {
    font-size: 0.9375rem;
    line-height: 1.4;
  }
  
  .faq-answer p {
    font-size: 0.875rem;
    line-height: 1.55;
  }
  
  .faq-icon svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .faq-title {
    font-size: 1.125rem;
  }

  .faq-question span {
    font-size: 0.875rem;
    line-height: 1.35;
  }

  .faq-answer p {
    font-size: 0.8125rem;
    line-height: 1.5;
  }
}

/* Telegram Float Button with Ripple Effect */
.telegram-float {
  position: relative;
  transition: transform 0.3s ease;
}

.telegram-float:hover {
  transform: scale(1.1);
}

.telegram-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #fd903d;
  opacity: 0;
  animation: ripple-animation 2s infinite ease-out;
}

@keyframes ripple-animation {
  0% {
    width: 100%;
    height: 100%;
    opacity: 0.8;
  }
  100% {
    width: 200%;
    height: 200%;
    opacity: 0;
  }
}

/* Ensure v8abdaily.com brand colors win over Tailwind preflight */
html,
body {
  color: rgba(255, 255, 255, 0.7) !important;
  background-color: #171C1A !important;
}

header.bg-[#212d2a],
header[class*="bg-"] {
  background-color: #212d2a !important;
}

.footer-banner {
  width: 100%;
  margin-bottom: 1.5rem;
}

.footer-banner-img {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

/* PC footer: light logos on dark background */
.footer.d-pc .sponsors-logos .sponsor-logo {
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

.footer.d-pc .sponsors-logos a .sponsor-logo {
  filter: none;
  opacity: 1;
}

.footer.d-pc .sponsors-logos .sponsor-logo:hover {
  opacity: 1;
}

.footer.d-pc .footer-copyright p {
  color: rgba(255, 255, 255, 0.65) !important;
}

/* Commission calculator – dark theme, v8ab orange */
#commissionCalculator .calc-panel {
  position: relative;
  border: 1px solid rgba(255, 161, 86, 0.32) !important;
  border-radius: 16px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 170, 0.06),
    0 12px 36px rgba(0, 0, 0, 0.42) !important;
  overflow: hidden;
}

#commissionCalculator .calc-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffc078, #fd903d);
  z-index: 1;
}

#commissionCalculator .calc-panel__header,
#calculationDetailsModal .calc-panel__header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(255, 161, 86, 0.18);
  background:
    radial-gradient(ellipse 80% 120% at 0% 0%, rgba(255, 161, 86, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, #2a3532 0%, #212d2a 100%) !important;
}

#commissionCalculator .calc-panel__title,
#calculationDetailsModal .calc-panel__title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #ffa156 !important;
  letter-spacing: 0.02em;
}

#commissionCalculator .calc-panel__close,
#calculationDetailsModal .calc-panel__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 161, 86, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

#commissionCalculator .calc-panel__close:hover,
#calculationDetailsModal .calc-panel__close:hover {
  background: rgba(255, 161, 86, 0.14);
  border-color: rgba(255, 176, 96, 0.45);
  color: #ffa156;
}

#commissionCalculator .calc-panel__close:focus-visible,
#calculationDetailsModal .calc-panel__close:focus-visible {
  outline: 2px solid #fd903d;
  outline-offset: 2px;
}

#commissionCalculator .calc-panel,
#commissionCalculator .calc-body,
#commissionCalculator .calc-footer {
  background: #212d2a !important;
}

#commissionCalculator,
#commissionCalculator .calc-body {
  color: rgba(255, 255, 255, 0.88) !important;
}

#commissionCalculator .calc-section-title {
  color: #ffa156 !important;
  gap: 0.5rem;
}

#commissionCalculator .calc-section-title img {
  filter: hue-rotate(-148deg) saturate(1.15) brightness(1.05);
}

#commissionCalculator .calc-field {
  padding: 0.85rem 0.75rem 0.65rem !important;
  border-radius: 12px !important;
  background: rgba(0, 0, 0, 0.16) !important;
  border: 1px solid rgba(255, 161, 86, 0.14) !important;
  transition: border-color 0.2s ease, background 0.2s ease;
}

#commissionCalculator .calc-field:focus-within {
  border-color: rgba(255, 176, 96, 0.38) !important;
  background: rgba(0, 0, 0, 0.22) !important;
}

#commissionCalculator .form-group {
  position: relative !important;
  margin-bottom: 0 !important;
  padding-top: 0.625rem !important;
  background: transparent !important;
  border: none !important;
}

#commissionCalculator .form-group label,
#commissionCalculator .calc-label {
  position: absolute !important;
  top: 0 !important;
  left: 12px !important;
  display: inline-block !important;
  background: #1e2825 !important;
  padding: 0 6px !important;
  margin: 0 !important;
  color: #ffa156 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  transform: translateY(-50%) !important;
  z-index: 2 !important;
}

#commissionCalculator .form-group input[type="text"]:focus + label,
#commissionCalculator .form-group input[type="text"]:not(:placeholder-shown) + label {
  color: #ffc078 !important;
}

#commissionCalculator .calc-input,
#commissionCalculator .form-group input[type="text"] {
  background-color: #1a2421 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 161, 86, 0.28) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  transform: none !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.28) !important;
}

#commissionCalculator .calc-input:focus,
#commissionCalculator .form-group input[type="text"]:focus {
  border-color: #fd903d !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(253, 144, 61, 0.22), inset 0 1px 2px rgba(0, 0, 0, 0.28) !important;
  background-color: #24302c !important;
}

#commissionCalculator .form-group input[type="text"]::placeholder {
  color: transparent !important;
}

#commissionCalculator input[type="range"],
#commissionCalculator input[type="range"].slider-orange {
  height: 8px !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-radius: 999px !important;
  margin-top: 0.75rem !important;
  border: none !important;
}

#commissionCalculator input[type="range"]::-webkit-slider-thumb {
  width: 22px !important;
  height: 22px !important;
  border: 2px solid #ffffff !important;
  background: linear-gradient(135deg, #ffc078 0%, #fd903d 100%) !important;
  box-shadow: 0 2px 8px rgba(253, 144, 61, 0.45) !important;
}

#commissionCalculator input[type="range"]::-moz-range-thumb {
  width: 22px !important;
  height: 22px !important;
  border: 2px solid #ffffff !important;
  background: linear-gradient(135deg, #ffc078 0%, #fd903d 100%) !important;
  box-shadow: 0 2px 8px rgba(253, 144, 61, 0.45) !important;
}

#commissionCalculator .calc-results-divider {
  border-top: 1px solid rgba(255, 161, 86, 0.2);
}

#commissionCalculator .calc-result-card {
  background: rgba(0, 0, 0, 0.18) !important;
  border: 1px solid rgba(255, 161, 86, 0.28) !important;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

#commissionCalculator .calc-result-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 176, 96, 0.45) !important;
}

#commissionCalculator .calc-result-card span {
  color: rgba(255, 255, 255, 0.88) !important;
}

#commissionCalculator .calc-result-card span.text-xs {
  color: #ffc078 !important;
}

#commissionCalculator .calc-result-card .w-2 {
  background: #fd903d !important;
  box-shadow: 0 0 8px rgba(253, 144, 61, 0.45);
}

#commissionCalculator .calc-status-box {
  background: rgba(0, 0, 0, 0.16) !important;
  border: 1px solid rgba(255, 161, 86, 0.22) !important;
}

#commissionCalculator .calc-status-box > div > span:first-child {
  color: #ffc078 !important;
}

#commissionCalculator .calc-tip {
  color: rgba(255, 255, 255, 0.68) !important;
}

#commissionCalculator .calc-tip strong {
  color: #ffa156 !important;
}

#commissionCalculator #status {
  color: #ffffff !important;
  background-color: #24302c !important;
  border: 1px solid rgba(255, 161, 86, 0.35) !important;
}

#commissionCalculator .calc-total-highlight {
  background: linear-gradient(165deg, #ffc078 0%, #fd903d 52%, #ca8a04 100%) !important;
  border: 1px solid rgba(255, 220, 170, 0.35) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 8px 24px rgba(253, 144, 61, 0.22) !important;
}

#commissionCalculator .calc-total-highlight__dot {
  width: 14px;
  height: 14px;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}

#commissionCalculator .calc-total-highlight,
#commissionCalculator .calc-total-highlight span,
#commissionCalculator .calc-total-highlight #totalCommission {
  color: #ffffff !important;
}

#commissionCalculator .calc-total-highlight #totalCommission {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

#commissionCalculator .calc-details-btn {
  color: #fff !important;
  background: rgba(253, 144, 61, 0.18) !important;
  border: 1px solid rgba(255, 161, 86, 0.45) !important;
}

#commissionCalculator .calc-details-btn:hover {
  background: rgba(253, 144, 61, 0.32) !important;
  border-color: #fd903d !important;
}

#commissionCalculator .calc-details-btn:focus-visible {
  outline: 2px solid #fd903d;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  #commissionCalculator .calc-result-card:hover {
    transform: none;
  }
}

#calculationDetailsModal .calc-modal-panel,
#calculationDetailsModalContent {
  background: #212d2a !important;
  color: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(255, 161, 86, 0.32) !important;
  border-radius: 16px !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 170, 0.06),
    0 16px 48px rgba(0, 0, 0, 0.55) !important;
}

.calc-details-modal {
  background: rgba(10, 14, 13, 0.72) !important;
  backdrop-filter: blur(6px);
}

#calculationDetails .calc-detail-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#calculationDetails .calc-detail-section {
  padding: 1rem 1rem 1.1rem;
  border: 1px solid rgba(255, 161, 86, 0.18);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.14);
}

#calculationDetails .calc-detail-section--total {
  border-color: rgba(255, 176, 96, 0.35);
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(255, 161, 86, 0.1) 0%, transparent 60%),
    rgba(0, 0, 0, 0.18);
}

#calculationDetails .calc-detail-section__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 800;
  color: #ffa156 !important;
}

#calculationDetails .calc-detail-section__title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fd903d;
  box-shadow: 0 0 8px rgba(253, 144, 61, 0.45);
  flex-shrink: 0;
}

#calculationDetails .calc-detail-panel {
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 161, 86, 0.12);
}

#calculationDetails .calc-detail-panel--stack {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

#calculationDetails .calc-detail-line {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.82) !important;
}

#calculationDetails .calc-detail-line strong {
  color: #ffa156 !important;
  font-size: 1.0625rem;
}

#calculationDetails .calc-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.82) !important;
}

#calculationDetails .calc-detail-row strong {
  color: #fff !important;
  font-weight: 700;
}

#calculationDetails .calc-detail-row--minus span:first-child,
#calculationDetails .calc-detail-row--minus strong {
  color: #ffb4a8 !important;
}

#calculationDetails .calc-detail-row--total {
  margin-top: 0.35rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: rgba(255, 161, 86, 0.12);
  border: 1px solid rgba(255, 161, 86, 0.28);
}

#calculationDetails .calc-detail-row--total span,
#calculationDetails .calc-detail-row--total strong {
  color: #ffa156 !important;
  font-size: 0.9375rem;
}

#calculationDetails .calc-detail-note {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65) !important;
}

#calculationDetails .calc-tier-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}

@media (min-width: 768px) {
  #calculationDetails .calc-tier-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

#calculationDetails .calc-tier-card {
  padding: 0.65rem 0.7rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 161, 86, 0.16);
  transition: border-color 0.2s ease, background 0.2s ease;
}

#calculationDetails .calc-tier-card.is-active {
  border-color: rgba(255, 176, 96, 0.55);
  background: rgba(255, 161, 86, 0.12);
  box-shadow: 0 0 16px rgba(253, 144, 61, 0.12);
}

#calculationDetails .calc-tier-card__name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff !important;
}

#calculationDetails .calc-tier-card.is-active .calc-tier-card__name {
  color: #ffa156 !important;
}

#calculationDetails .calc-tier-card__req {
  margin-top: 0.2rem;
  font-size: 0.6875rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.58) !important;
}

#calculationDetails .calc-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-top: 0.85rem;
}

#calculationDetails .calc-stat-box {
  padding: 0.85rem 0.75rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 161, 86, 0.24);
  text-align: center;
}

#calculationDetails .calc-stat-box__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62) !important;
  margin-bottom: 0.35rem;
}

#calculationDetails .calc-stat-box__value {
  font-size: 1.125rem;
  font-weight: 800;
  color: #ffa156 !important;
  line-height: 1.2;
}

#calculationDetails .calc-alert {
  margin-top: 0.85rem;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  background: rgba(253, 144, 61, 0.1);
  border: 1px solid rgba(255, 161, 86, 0.32);
}

#calculationDetails .calc-alert__title {
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #ffa156 !important;
}

#calculationDetails .calc-alert__list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78) !important;
}

#calculationDetails .calc-alert__list li + li {
  margin-top: 0.35rem;
}

#calculationDetails .calc-detail-total {
  padding: 1rem;
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(255, 192, 120, 0.22) 0%, rgba(253, 144, 61, 0.18) 100%);
  border: 1px solid rgba(255, 176, 96, 0.35);
  text-align: center;
}

#calculationDetails .calc-detail-total--empty {
  opacity: 0.85;
}

#calculationDetails .calc-detail-total__level {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffc078 !important;
  margin-bottom: 0.25rem;
}

#calculationDetails .calc-detail-total__meta {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65) !important;
  margin-bottom: 0.35rem;
}

#calculationDetails .calc-detail-total__value {
  font-size: 1.375rem;
  font-weight: 800;
  color: #fff !important;
}

#calculationDetails .calc-detail-empty,
#calculationDetailsModal .calc-detail-empty {
  color: rgba(255, 255, 255, 0.72) !important;
}

#calculationDetailsModal .calc-modal-body,
#calculationDetailsModal .calc-modal-empty {
  background: #212d2a !important;
  color: rgba(255, 255, 255, 0.88) !important;
}

#calculationDetailsModal .text-gray-700,
#calculationDetailsModal .text-gray-600,
#calculationDetailsModal .text-gray-500,
#calculationDetailsModal #calculationDetails,
#calculationDetailsModal #calculationDetails p,
#calculationDetailsModal #calculationDetails strong,
#calculationDetailsModal #calculationDetails span,
#calculationDetailsModal #calculationDetails h6,
#calculationDetailsModal #calculationDetails div {
  color: rgba(255, 255, 255, 0.88) !important;
}

#calculationDetailsModal #calculationDetails .bg-white,
#calculationDetailsModal #calculationDetails .bg-gray-50 {
  background-color: #2a3834 !important;
  border-color: #6b8a80 !important;
}

/* Black text on orange/cream backgrounds (legacy calc cards) */
.orange-surface-gradient,
.orange-surface-gradient h3,
.orange-surface-gradient h5,
.orange-surface-gradient span,
.orange-surface-gradient button {
  color: #101010 !important;
}

.orange-surface-gradient button:hover {
  color: #34344b !important;
}

.orange-surface-card span {
  color: #101010 !important;
}

.orange-surface-card .result-positive,
.orange-surface-card .result-negative,
.orange-surface-card .result-neutral {
  color: #101010 !important;
}