/*
  قادرون باختلاف — the landing's spotlight band for the adapted-sports specialty.

  The page is green on white from top to bottom, so this section earns its attention from contrast
  rather than from noise: a deep ink-green field with the design system's warm accent
  (--er-warning #d88a18, lightened to #f3c974 so it clears 4.5:1 on the dark field) carrying the
  gold. Every offset is logical (inline-start/end), because the same markup renders RTL in Arabic
  and LTR in English.
*/

.adaptive {
  --adx-gold: #f3c974;
  --adx-gold-deep: #e0a73c;
  --adx-body: #c2d9d2;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 96px 0;
  color: #fff;
  background:
    radial-gradient(820px 420px at 88% -12%, rgba(243, 201, 116, .16), transparent 62%),
    radial-gradient(760px 500px at 4% 112%, rgba(18, 168, 120, .24), transparent 64%),
    linear-gradient(135deg, #061d19 0%, #0d2f28 46%, #081f1b 100%);
}

/* Gold hairline across the top edge: the one moving part, and the cue that a new kind of section
   has started. It travels slowly and stops for anyone who asked for less motion. */
.adaptive::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--adx-gold) 20%, #46d3a5 50%, var(--adx-gold) 80%, transparent);
  background-size: 220% 100%;
  animation: adxSheen 9s linear infinite;
}

@keyframes adxSheen {
  from { background-position: 0 0; }
  to { background-position: 220% 0; }
}

/* Concentric rings, set behind the content and clipped by the section. Three open circles — a
   deliberately abstract mark, not any federation's emblem. */
.adaptive__rings {
  position: absolute;
  inset-block-start: -120px;
  inset-inline-start: -140px;
  width: 460px;
  height: 460px;
  z-index: -1;
  pointer-events: none;
}

.adaptive__rings i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(243, 201, 116, .14);
}

.adaptive__rings i:nth-child(2) { inset: 60px; border-color: rgba(70, 211, 165, .16); }
.adaptive__rings i:nth-child(3) { inset: 120px; border-color: rgba(243, 201, 116, .1); }

.adaptive__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 56px;
  align-items: center;
}

/* ---------- copy column ---------- */

.adaptive__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 30px;
  border: 1px solid rgba(243, 201, 116, .34);
  background: rgba(243, 201, 116, .1);
  color: var(--adx-gold);
  font-size: 12px;
  font-weight: 800;
}

.adaptive__badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--adx-gold);
  box-shadow: 0 0 0 0 rgba(243, 201, 116, .5);
  animation: adxPulse 2.6s ease-out infinite;
}

@keyframes adxPulse {
  0% { box-shadow: 0 0 0 0 rgba(243, 201, 116, .45); }
  70%, 100% { box-shadow: 0 0 0 11px rgba(243, 201, 116, 0); }
}

.adaptive h2 {
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.25;
  letter-spacing: -.5px;
  margin: 18px 0 14px;
}

/* The accent word falls back to a flat gold before the clip is applied, so it is never invisible. */
.adaptive h2 em {
  font-style: normal;
  color: var(--adx-gold);
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
  .adaptive h2 em {
    background: linear-gradient(90deg, #ffe0a3, var(--adx-gold) 42%, var(--adx-gold-deep));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.adaptive__lead {
  max-width: 54ch;
  margin: 0 0 30px;
  color: var(--adx-body);
  font-size: 16px;
  line-height: 1.95;
}

.adaptive__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 22px;
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}

.adaptive__points li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.adaptive__points span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  border: 1px solid rgba(243, 201, 116, .26);
  background: rgba(243, 201, 116, .11);
  color: var(--adx-gold);
}

.adaptive__points svg { width: 22px; height: 22px; }
.adaptive__points b { display: block; font-size: 15px; margin-bottom: 5px; }
.adaptive__points small { display: block; line-height: 1.75; color: #9fbab2; }

.adaptive__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.adaptive__cta {
  background: linear-gradient(120deg, #ffd98f, var(--adx-gold) 55%, var(--adx-gold-deep));
  color: #22190a;
  box-shadow: 0 14px 34px rgba(224, 167, 60, .26);
}

.adaptive__cta:hover { background: linear-gradient(120deg, #ffe3a6, #f6d189 55%, #e8b14a); }

.adaptive__ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .26);
  color: #fff;
}

.adaptive__ghost:hover { border-color: var(--adx-gold); color: var(--adx-gold); }

.adaptive__join {
  display: block;
  margin-top: 18px;
  color: #a8c4bc;
  font-size: 13px;
}

.adaptive__join b { color: var(--adx-gold); font-weight: 800; }
.adaptive__join:hover b { text-decoration: underline; }

/* ---------- the profile card ---------- */

.adaptive__visual { position: relative; }

.adx-card {
  position: relative;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .11);
  background: linear-gradient(165deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .3);
}

.adx-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.adx-card__who { display: flex; align-items: center; gap: 12px; }

.adx-card__avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(140deg, #12a878, #0a6b4d);
  color: #fff;
  font-style: normal;
  font-weight: 800;
  font-size: 18px;
}

.adx-card__who b { display: block; font-size: 16px; }
.adx-card__who small { display: block; font-size: 12px; color: #9fbab2; margin-top: 3px; }

.adx-card__verified {
  flex-shrink: 0;
  padding: 6px 11px;
  border-radius: 30px;
  background: rgba(70, 211, 165, .14);
  border: 1px solid rgba(70, 211, 165, .3);
  color: #7ae2bb;
  font-size: 12px;
  font-weight: 800;
}

.adx-row + .adx-row { margin-top: 16px; }
.adx-row > small { display: block; font-size: 12px; font-weight: 700; color: #8fada5; margin-bottom: 9px; }
.adx-row p { margin: 0; font-size: 14px; line-height: 1.8; color: #dcebe6; }

.adx-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.adx-chips span {
  padding: 6px 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
  color: #e6f2ee;
}

.adx-row--class > div { display: flex; align-items: center; gap: 10px; }
.adx-row--class b { font-size: 20px; font-weight: 800; color: var(--adx-gold); letter-spacing: .5px; }

.adx-verify {
  padding: 5px 10px;
  border-radius: 30px;
  background: rgba(243, 201, 116, .13);
  border: 1px solid rgba(243, 201, 116, .3);
  color: var(--adx-gold);
  font-size: 11px;
  font-weight: 800;
}

.adx-card__note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12px;
  line-height: 1.75;
  color: #93afa8;
}

.adx-card__note i { font-style: normal; color: var(--adx-gold); }

/* ---------- the adapted-sports strip ---------- */

.adx-sports { margin-top: 22px; }
.adx-sports > small { display: block; font-size: 12px; font-weight: 700; color: #8fada5; margin-bottom: 10px; }
.adx-sports ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }

.adx-sports li {
  padding: 6px 12px;
  border-radius: 30px;
  border: 1px dashed rgba(243, 201, 116, .28);
  color: #d7e8e2;
  font-size: 12px;
}

/* ---------- responsive ---------- */

/* Stacked, the two columns become one, and the copy is capped to a readable measure rather than
   running the full width of a tablet. */
@media (max-width: 1000px) {
  .adaptive { padding: 72px 0; }
  .adaptive__grid { grid-template-columns: 1fr; gap: 40px; max-width: 760px; margin-inline: auto; }
  .adaptive__lead { max-width: none; }
}

@media (max-width: 620px) {
  .adaptive { padding: 56px 0; }
  .adaptive__rings { inset-block-start: -170px; inset-inline-start: -190px; }
  .adaptive h2 { margin: 14px 0 12px; }
  .adaptive__lead { font-size: 15px; line-height: 1.85; margin-bottom: 26px; }
  .adaptive__points { grid-template-columns: 1fr; gap: 14px; margin-bottom: 26px; }
  .adaptive__actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .adaptive__actions .btn { width: 100%; }
  .adx-card { padding: 20px; }
  .adx-card__head { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .adaptive::before,
  .adaptive__badge i { animation: none; }
}
