/* =====================================================================
   FOOTER — CTA card + "breaking through the wall" illustration
   ===================================================================== */
.fx-footer {
  --fx-dark: #111318;
  --fx-yellow: #ffd43b;
  --fx-ink: #111318;
  position: relative;
  margin-top: 60px;
  font-family: var(--font-sans);
}

/* ---------- Top row: CTA + art ---------- */
.fx-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.fx-cta {
  flex: 0 1 560px;
  background: var(--fx-yellow);
  color: var(--fx-ink);
  border-radius: 22px;
  padding: 44px 44px 40px;
  margin-bottom: 40px;
  box-shadow: 0 24px 50px rgba(17, 19, 24, 0.25);
  position: relative;
  overflow: hidden;
}
.fx-cta::after {               /* soft decorative circle */
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  inset-inline-end: -70px; top: -90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}
.fx-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  position: relative;
}
.fx-cta-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #3b3f47;
  max-width: 420px;
  margin-bottom: 26px;
  position: relative;
}
.fx-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
.fx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.fx-btn:hover { transform: translateY(-2px); }
.fx-btn-dark { background: var(--fx-ink); color: #fff; }
.fx-btn-dark:hover { background: #2a2e37; color: #fff; }
.fx-btn-ghost { border: 2px solid var(--fx-ink); color: var(--fx-ink); }
.fx-btn-ghost:hover { background: var(--fx-ink); color: var(--fx-yellow); }

/* ---------- Illustration ---------- */
.fx-art {
  position: relative;
  flex: 0 0 380px;
  height: 430px;
  margin-bottom: -70px;          /* dips into the dark area */
}
.fx-hole {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 360px;
}
.fx-hole polygon { fill: #ffffff; stroke: var(--fx-ink); stroke-width: 3; stroke-linejoin: round; }
.fx-hole .fx-crack { fill: none; stroke: #ffffff; stroke-width: 3; stroke-linecap: round; }
.fx-person {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 270px;
  max-width: none;
  transform: translateX(-46%) rotate(-4deg);
  transform-origin: bottom center;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.35));
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 96%);
          mask-image: linear-gradient(to bottom, #000 72%, transparent 96%);
  animation: fxPop 6s ease-in-out infinite;
}
@keyframes fxPop {
  0%, 100% { transform: translateX(-46%) rotate(-4deg) translateY(0); }
  50%      { transform: translateX(-46%) rotate(-2deg) translateY(-8px); }
}
.fx-rock {
  position: absolute;
  background: #fff;
  border: 3px solid var(--fx-ink);
  border-radius: 38% 62% 46% 54% / 50% 40% 60% 50%;
  animation: fxFloat 4s ease-in-out infinite;
}
.fx-rock.r1 { width: 34px; height: 30px; top: 30px;  left: 18px;  animation-delay: -0.4s; }
.fx-rock.r2 { width: 22px; height: 20px; top: 92px;  left: -4px;  animation-delay: -1.2s; }
.fx-rock.r3 { width: 26px; height: 24px; top: 70px;  right: 6px;  animation-delay: -2s; }
.fx-rock.r4 { width: 18px; height: 16px; top: 140px; right: -10px; animation-delay: -0.8s; }
.fx-rock.r5 { width: 30px; height: 26px; bottom: 40px; left: -14px; animation-delay: -2.6s; }
.fx-rock.r6 { width: 24px; height: 22px; bottom: 20px; right: 4px; animation-delay: -1.6s; }
.fx-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--fx-ink);
}
.fx-dot.d1 { top: 14px; right: 70px; }
.fx-dot.d2 { top: 190px; left: 6px; }
.fx-dot.d3 { bottom: 110px; right: -16px; }
@keyframes fxFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-7px) rotate(12deg); }
}

/* ---------- Dark area ---------- */
.fx-body {
  position: relative;
  z-index: 1;
  background: var(--fx-dark);
  color: #a3a9b6;
  border-radius: 32px 32px 0 0;
  margin-top: -130px;
  padding: 170px 0 84px;      /* bottom room for the floating ↑ / WhatsApp buttons */
}
.fx-brand-row {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  max-width: calc(100% - 420px);
}
.fx-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 1.5px;
  font-size: 1rem;
  text-decoration: none;
  width: fit-content;
}
.fx-logo img {
  width: 58px;
  height: 58px;
  border-radius: 14px;       /* app-icon style rounded square */
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.14), 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease;
}
.fx-logo:hover img { transform: translateY(-2px) rotate(-3deg); }

/* Animated GIF logo (icon → "anas abdiwahid" banner). The GIF canvas is
   900×245 with the icon centred, so it is shown wide; the GIF itself
   carries the name, no extra text needed. */
.fx-logo-anim img {
  width: 300px;
  height: auto;
  max-width: 100%;
  border-radius: 0;
  box-shadow: none;
  margin-inline-start: -12px;     /* the GIF has ~12px of empty space on its left at this size */
}
.fx-logo-anim:hover img { transform: none; }
@media (max-width: 900px) {
  .fx-logo-anim img { width: 280px; margin-inline-start: 0; }
}
.fx-accent { color: var(--fx-yellow); }
.fx-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.fx-links a {
  color: #d5d9e0;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  position: relative;
}
.fx-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--fx-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.fx-links a:hover { color: #fff; }
.fx-links a:hover::after { transform: scaleX(1); }
.fx-social { display: flex; flex-wrap: wrap; gap: 10px; }
.fx-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: #fff;
  color: var(--fx-ink);
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.fx-social a:hover { background: var(--fx-yellow); transform: translateY(-3px); }

.fx-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 22px;
  font-size: 0.82rem;
}
.fx-bottom strong { color: #fff; font-weight: 600; }
.fx-dates { margin-top: 6px; font-size: 0.78rem; color: #7c8494; }
.fx-dates i { margin-inline-end: 3px; }
.fx-place {
  color: #d5d9e0;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fx-place i { color: var(--fx-yellow); }

/* ---------- RTL ---------- */
[dir="rtl"] .fx-links a::after { transform-origin: right; }
[dir="rtl"] .fx-person { transform: translateX(-54%) rotate(4deg); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .fx-top { flex-direction: column; align-items: stretch; }
  .fx-cta { flex-basis: auto; margin-bottom: 0; padding: 32px 26px; }
  .fx-art { flex-basis: auto; width: 280px; height: 320px; margin: 10px auto -60px; }
  .fx-hole { height: 270px; }
  .fx-person { width: 200px; bottom: 22px; }
  .fx-body { margin-top: -110px; padding-top: 200px; border-radius: 24px 24px 0 0; }
  .fx-brand-row { max-width: none; align-items: center; text-align: center; }
  .fx-logo { margin-inline: auto; }
  .fx-links, .fx-social { justify-content: center; }
  .fx-bottom { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-person, .fx-rock { animation: none; }
}
