/* ===== AFFILIATE PAGE ===== */

.aff-hero {
  min-height: 65vh;
  display: flex;
  align-items: center;
}

/* Stats */
.aff-stat {
  background: rgba(13, 21, 38, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 120px;
}

.aff-stat__num {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.aff-stat__label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

/* How it works steps */
.aff-step {
  background: rgba(13, 21, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.2s;
}

.aff-step:hover {
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateY(-3px);
}

.aff-step__num {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  position: absolute;
  top: 12px;
  right: 16px;
  line-height: 1;
  font-family: 'Roboto Mono', monospace;
}

.aff-step__icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.aff-step__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.aff-step__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.50);
  line-height: 1.6;
}

/* Slider */
.aff-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

.aff-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #00E5FF;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
  cursor: pointer;
}

.aff-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #00E5FF;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
  border: none;
  cursor: pointer;
}

/* Calculator boxes */
.aff-calc-box {
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.aff-calc-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.aff-calc-num {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.1;
}

.aff-calc-period {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.aff-calc-mini {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.aff-calc-mini__label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.aff-calc-mini__val {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

/* Form inputs */
.aff-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 16px;
  color: #fff;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.aff-input:focus {
  border-color: rgba(0, 229, 255, 0.4);
}

.aff-input option {
  background: #0D1526;
}

/* ===== HERO STAT CARDS (2x2 grid) ===== */
.aff-stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(13, 21, 38, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 18px;
  transition: border-color 0.25s, transform 0.2s;
}

.aff-stat-card:hover {
  border-color: rgba(0, 229, 255, 0.18);
  transform: translateY(-2px);
}

.aff-stat-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===== 3D DASHBOARD CARD (hero right) ===== */
.aff-dashboard-scene {
  position: relative;
  width: 380px;
}

.aff-dashboard-card {
  background: rgba(10, 18, 36, 0.97);
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 24px;
  padding: 28px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(0, 229, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: perspective(700px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.4s ease;
  position: relative;
  overflow: hidden;
}

.aff-dashboard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.4), transparent);
}

.aff-dashboard-scene:hover .aff-dashboard-card {
  transform: perspective(700px) rotateY(-4deg) rotateX(2deg);
}

.aff-badge-active {
  display: inline-flex;
  align-items: center;
  background: rgba(52, 199, 89, 0.12);
  border: 1px solid rgba(52, 199, 89, 0.25);
  color: #34C759;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.aff-progress-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #00E5FF, #BF5AF2);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
  transition: width 0.8s ease;
}

.aff-mini-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 12px 14px;
}

.aff-withdraw-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #00E5FF;
  color: #070B14;
  font-weight: 800;
  font-size: 14px;
  padding: 14px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.35), 0 4px 12px rgba(0, 0, 0, 0.3);
  font-family: 'Be Vietnam Pro', sans-serif;
  transition: box-shadow 0.2s, transform 0.15s;
}

.aff-withdraw-btn:hover {
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.5), 0 4px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

/* Floating badges */
.aff-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 18, 36, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  z-index: 10;
}

.aff-float-badge--top {
  top: -18px;
  right: -32px;
  animation: aff-float 3s ease-in-out infinite;
}

.aff-float-badge--bottom {
  bottom: -18px;
  left: -28px;
  animation: aff-float 3.6s ease-in-out infinite 0.8s;
}

@keyframes aff-float {

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

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

/* ===== HOW IT WORKS V2 ===== */
.aff-step-v2 {
  background: rgba(13, 21, 38, 1);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  padding: 32px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.25s, box-shadow 0.3s;
  z-index: 1;
}

.aff-step-v2:hover {
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.aff-step-v2__icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 4px;
}

.aff-step-v2__glow {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  opacity: 0.5;
  transform: scale(1.4);
}

@keyframes step-glow {
  from {
    opacity: 0.6;
  }

  to {
    opacity: 1;
  }
}

.aff-step-v2__num {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  font-family: 'Roboto Mono', monospace;
  position: absolute;
  top: 16px;
  right: 18px;
  opacity: 0.45;
}

.aff-step-v2__title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
}

.aff-step-v2__desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.50);
  line-height: 1.65;
}

.aff-step-v2__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.aff-tag {
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  padding: 3px 10px;
  color: rgba(255, 255, 255, 0.55);
}

/* FAQ */
.aff-faq-item {
  background: rgba(13, 21, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.aff-faq-item:hover {
  border-color: rgba(0, 229, 255, 0.15);
}

.aff-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  color: #fff;
  gap: 12px;
  font-family: 'Be Vietnam Pro', sans-serif;
}

.aff-faq-chevron {
  transition: transform 0.3s;
  flex-shrink: 0;
}

.aff-faq-chevron.open {
  transform: rotate(180deg);
}

.aff-faq-a {
  padding: 0 20px 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}