@media (max-width: 600px) {
  .pb-header__inner,
  .aff-hero__content,
  .aff-heading,
  .aff-card,
  .aff-preview,
  .aff-cta__card {
    min-width: 0;
  }

  .pb-header__inner {
    width: 100%;
    padding: 0 12px;
  }

  .pb-logo {
    flex: 0 1 145px;
    min-width: 0;
  }

  .pb-logo img {
    width: 145px;
    max-width: 100%;
  }

  .pb-actions {
    flex: none;
  }

  .pb-lang__btn {
    min-width: 62px;
  }

  .aff-hero h1,
  .aff-heading h2,
  .aff-preview h2,
  .aff-cta h2 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .aff-hero h1 {
    font-size: clamp(32px, 10.5vw, 40px);
  }

  .aff-heading h2,
  .aff-preview h2 {
    font-size: 29px;
  }

  .aff-card > div {
    min-width: 0;
  }
}
.network-person svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.pb-nav {
  gap: 6px;
}

.pb-nav a {
  padding-right: 13px;
  padding-left: 13px;
  font-weight: 600;
}

.network-coin {
  width: 170px;
  height: 170px;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 9999px;
  clip-path: circle(50% at 50% 50%);
  background:
    radial-gradient(circle at center, transparent 64%, rgba(255, 255, 255, 0.25) 65% 69%, transparent 70%),
    linear-gradient(145deg, #ffb33f 0%, #ff7900 62%, #d95a00 100%);
  box-shadow: none;
  filter:
    drop-shadow(0 0 12px rgba(255, 122, 0, 0.62))
    drop-shadow(0 22px 28px rgba(0, 0, 0, 0.34));
}

.network-orbit {
  overflow: visible;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: rotate(-13deg);
  animation: none;
}

.network-orbit ellipse {
  fill: none;
  stroke: rgba(255, 122, 0, 0.92);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 2 11;
  filter: drop-shadow(0 0 4px rgba(255, 122, 0, 0.72));
  animation: network-orbit-walk 1.4s linear infinite;
}

@keyframes network-orbit-walk {
  to {
    stroke-dashoffset: -26;
  }
}

@media (prefers-reduced-motion: reduce) {
  .network-orbit ellipse {
    animation: none;
  }
}

.aff-modal .modal-header {
  min-height: 0;
  padding: 10px 22px;
}

.aff-modal .modal-header h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.12;
}

.aff-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.aff-btn--login {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(8, 16, 27, 0.4);
  color: #fff;
}

.aff-btn--login:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-2px);
}

.aff-cta__actions {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: 12px;
}

.aff-modal .modal-body {
  padding: 21px 27px;
}

.aff-modal form {
  gap: 10px;
}

.aff-modal label {
  gap: 4px;
  font-size: 13px;
  line-height: 1.25;
}

.aff-modal .form-control,
.aff-modal .form-select {
  min-height: 40px;
  padding: 7px 11px;
  font-size: 14px;
}

.aff-modal input[name="name"][readonly][data-document-name] {
  border-color: #c7cdd5;
  background: #e5e7eb;
  color: #4b5563;
  cursor: not-allowed;
}

body[data-theme="dark"] .aff-modal input[name="name"][readonly][data-document-name] {
  border-color: #3d4654;
  background: #252d38;
  color: #aeb8c5;
}

.aff-modal .select2-container {
  display: block;
  width: 100% !important;
}

.aff-modal .select2-container .select2-selection--single {
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--card);
}

.aff-modal .select2-container .select2-selection__rendered {
  height: 38px;
  padding: 0 34px 0 11px;
  color: var(--ink);
  font-size: 14px;
  line-height: 38px;
}

.aff-modal .select2-container .select2-selection__arrow {
  height: 38px;
  right: 5px;
}

.aff-modal .select2-container--focus .select2-selection--single,
.aff-modal .select2-container--open .select2-selection--single {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.12);
}

.aff-country-option {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.aff-country-flag {
  width: 24px;
  height: 17px;
  flex: none;
  object-fit: cover;
}

.aff-country-dropdown {
  border-color: var(--line);
  background: var(--card);
  color: var(--ink);
}

.aff-country-dropdown .select2-search {
  padding: 8px;
}

.aff-country-dropdown .select2-search__field {
  height: 36px;
  border: 1px solid var(--orange) !important;
  border-radius: 6px;
  background: var(--card);
  color: var(--ink);
  outline: 0;
}

.aff-country-dropdown .select2-results__options {
  max-height: 260px;
}

.aff-country-dropdown .select2-results__option {
  padding: 7px 11px;
  font-size: 14px;
}

.aff-country-dropdown .select2-results__option--highlighted,
.aff-country-dropdown .select2-results__option--selected {
  background: var(--orange) !important;
  color: #fff !important;
}

.aff-complete__login-copy {
  margin-top: 4px;
  font-weight: 800;
}

.aff-complete__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.aff-complete__actions .aff-btn {
  min-width: 126px;
}

.aff-progress {
  grid-template-columns: repeat(5, 1fr);
}

.aff-register-intro h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 900;
}

.aff-register-intro p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.aff-register-intro p:last-child {
  margin-bottom: 2px;
}

.aff-profile-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
}

.aff-profile-options legend {
  grid-column: 1 / -1;
  margin-bottom: 1px;
  font-size: 16px;
  font-weight: 900;
}

.aff-profile-options label {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
  font-size: 14px;
}

.aff-profile-options label:has(input:checked) {
  border-color: var(--orange);
  background: rgba(255, 122, 0, 0.08);
}

.aff-profile-options input {
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
  flex: none;
}

.aff-profile-none {
  grid-column: auto;
}

.aff-profile-ineligible {
  padding: 14px;
  border: 1px solid rgba(220, 53, 69, 0.35);
  border-radius: 12px;
  background: rgba(220, 53, 69, 0.08);
}

.aff-profile-ineligible p {
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 520px) {
  .aff-progress span {
    font-size: 8px;
  }

  .aff-complete__actions {
    display: grid;
  }

}

.aff-hero {
  background-color: #05080e;
  background-image:
    linear-gradient(
      90deg,
      rgba(3, 7, 13, 0.82) 0%,
      rgba(3, 7, 13, 0.58) 42%,
      rgba(3, 7, 13, 0.18) 72%,
      rgba(3, 7, 13, 0.03) 100%
    ),
    url("../img/btccoin.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 767px) {
  .aff-hero {
    background-image:
      linear-gradient(
        90deg,
        rgba(3, 7, 13, 0.86) 0%,
        rgba(3, 7, 13, 0.66) 48%,
        rgba(3, 7, 13, 0.28) 100%
      ),
      url("../img/btccoin.jpg");
    background-position: 70% center;
  }
}
