.axf-footer {
  position: relative;
  isolation: isolate;
  margin: 32px 0 12px;
  padding: clamp(16px, 2vw, 28px);
  border: 1px solid transparent;
  border-radius: 24px;
  color: #f4f2ff;
  font: 16px/1.6 Arial, Helvetica, sans-serif;
  background:
    linear-gradient(125deg,#071427f5,#100b25ed 62%,#1b0924f5) padding-box,
    linear-gradient(120deg,#49cfff,#8874ef 42%,#fa53d5) border-box;
  box-shadow: 0 18px 48px #03041485, 0 0 28px #7b57db22, inset 0 1px #e2f7ff20;
}
.axf-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 4% 0%,#138ed62e,transparent 45%),
    radial-gradient(ellipse at 100% 65%,#d63a9f23,transparent 40%),
    linear-gradient(90deg,#85cfff07 1px,transparent 1px),
    linear-gradient(0deg,#85cfff07 1px,transparent 1px);
  background-size: auto, auto, 42px 42px, 42px 42px;
}
.axf-footer *, .axf-footer *::before, .axf-footer *::after { box-sizing: border-box; }
.axf-footer h2 { color: #f7f5ff; font-family: inherit; text-shadow: none; letter-spacing: -.02em; }
.axf-footer p { color: #cbd6eb; font-size: 15px; text-shadow: none; }
.axf-footer a { text-decoration: none; text-shadow: none; }
.axf-footer a:focus-visible { outline: 3px solid #b0fbff; outline-offset: 4px; }
.axf-promos { text-align: center; padding: 2px 0 30px; }
.axf-promos h2 { margin: 0 0 22px; font-size: clamp(20px,2.2vw,27px); line-height: 1.3; }
.axf-promos h2 span { color: #9ef2ff; }
.axf-promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,156px);
  max-width: 678px;
  margin-inline: auto;
  justify-content: center;
  gap: 18px;
}
.axf-promo-frame {
  width: 156px;
  height: 156px;
  padding: 2px;
  border: 1px solid #89d8ff85;
  border-radius: 12px;
  background: #050919;
  box-shadow: 0 0 16px #55baff25;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.axf-promo-frame:hover, .axf-promo-frame:focus-within {
  transform: translateY(-3px);
  border-color: #acfbff;
  box-shadow: 0 0 22px #65b7ff50, 0 0 30px #da51b927;
}
.axf-promo-frame iframe { display: block; border: 0; width: 150px; height: 150px; border-radius: 8px; background: #070a19; }
.axf-cards { display: grid; grid-template-columns: .95fr 1.05fr 1.05fr; gap: 16px; }
.axf-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: clamp(16px,1.7vw,23px);
  border: 1px solid #91bff23b;
  border-radius: 17px;
  background: linear-gradient(150deg,#13223caa,#0a1025dc 68%);
  box-shadow: inset 0 1px #d5e7ff0f;
}
.axf-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg,transparent,#7ae9ff,transparent);
  opacity: .7;
  animation: axfRailGlow 6s ease-in-out infinite alternate;
}
.axf-support { background: linear-gradient(150deg,#29193b99,#100d25e6 68%); border-color: #e17bd341; }
.axf-support::after { background: linear-gradient(90deg,transparent,#f17de9,transparent); animation-delay: -3s; }
.axf-card h2 { margin: 0; font-size: clamp(23px,2.5vw,31px); font-weight: 700; line-height: 1.12; }
.axf-card-head { position: relative; min-height: 155px; display: flex; align-items: center; margin-top: -9px; }
.axf-card-head h2 { position: relative; z-index: 1; width: 45%; text-shadow: 0 2px 12px #070819; }
.axf-character {
  position: absolute;
  right: -14px;
  bottom: -2px;
  width: min(67%,180px);
  height: 175px;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  filter: drop-shadow(0 0 11px #5bceff25);
}
.axf-support .axf-character { filter: drop-shadow(0 0 11px #e953d32b); }
.axf-links { position: relative; display: grid; gap: 9px; margin-top: 13px; z-index: 1; }
.axf-links a {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  color: #e5edff;
  border: 1px solid #7795c54f;
  border-radius: 9px;
  background: #111d35;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.axf-links a.axf-primary {
  color: #082436;
  border-color: #a9fbff;
  background: linear-gradient(110deg,#affaff,#65d9f8);
  box-shadow: 0 3px 0 #126489;
}
.axf-links a.axf-support-link { background: linear-gradient(110deg,#3b2055,#212345); border-color: #d589db80; }
.axf-links a:hover { transform: translateY(-2px); border-color: #a9f8ff; box-shadow: 0 0 18px #68cfff32; }
.axf-links a span { font-size: 20px; line-height: 1; }
.axf-partner { display: block; align-self: center; max-width: 100%; margin: auto 0 0; padding-top: 24px; }
.axf-partner img { display: block; max-width: 100%; height: auto; }
.axf-network { padding-top: 16px; }
.axf-network img { width: 200px; }
.axf-owner h2 { font-size: clamp(23px,2.2vw,29px); line-height: 1.2; overflow-wrap: anywhere; }
.axf-owner-profile { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 27px; }
.axf-owner-photo { flex: 0 0 92px; width: 92px; height: 92px; object-fit: cover; border-radius: 50%; border: 2px solid #84efff; padding: 3px; box-shadow: 0 0 22px #52a6ec32; }
.axf-owner-profile p { margin: 0; }
.axf-owner-profile strong { color: #f6efff; }
.axf-copyright { margin: auto 0 0; padding-top: 30px; }
@keyframes axfRailGlow { from { opacity: .45; } to { opacity: 1; } }
@media (max-width: 1199px) {
  .axf-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .axf-owner { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 12px 24px; }
  .axf-owner-profile { grid-column: 2; grid-row: 1 / 3; margin-top: 0; justify-self: end; }
  .axf-copyright { padding-top: 0; margin: 0; }
}
@media (max-width: 575px) {
  .axf-cards { grid-template-columns: minmax(0,1fr); }
  .axf-owner { display: flex; gap: 0; }
  .axf-owner-profile { margin-top: 20px; }
  .axf-copyright { margin-top: 20px; }
  .axf-card-head { min-height: 155px; }
}
@media (max-width: 430px) {
  .axf-footer { padding: 14px; border-radius: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .axf-card::after { animation: none; }
  .axf-promo-frame, .axf-links a { transition: none; }
  .axf-promo-frame:hover, .axf-links a:hover { transform: none; }
}
