/* ==========================================================================
   APP FOOTER — cùng vibe với landing-page-header (gradient, viền, Orbitron)
   ========================================================================== */

.site-footer--arcesys {
  position: relative;
  z-index: 0;
  isolation: isolate;
  width: 100%;
  overflow-x: hidden;
  flex-shrink: 0;
  padding: 13px max(32px, env(safe-area-inset-right, 0px)) 17px
    max(32px, env(safe-area-inset-left, 0px));
  background:
    linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.04) 0%,
      transparent 38%,
      rgba(0, 0, 0, 0.14) 100%
    ),
    linear-gradient(
      284deg,
      rgba(120, 215, 250, 0.12) -20%,
      rgba(90, 185, 225, 0.05) 32%,
      transparent 58%
    ),
    linear-gradient(
      302deg,
      rgba(105, 205, 245, 0.22) -14%,
      rgba(68, 165, 215, 0.1) 12%,
      rgba(42, 105, 165, 0.08) 24%,
      rgba(28, 36, 48, 0.14) 42%,
      rgba(22, 26, 36, 0.16) 58%,
      rgba(18, 22, 32, 0.12) 74%,
      rgba(44, 52, 62, 0.1) 88%,
      rgba(14, 18, 24, 0.34) 96%,
      rgba(5, 7, 16, 0.44) 100%
    ),
    rgba(2, 5, 18, 0.91);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 -1px 0 0 rgba(255, 224, 170, 0.1),
    0 -6px 28px rgba(0, 0, 0, 0.4);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 2px 0 0;
  max-width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.site-footer__copyright {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: clamp(0.74rem, 1.4vw, 0.88rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.35;
}

.site-footer__name {
  background: linear-gradient(
    118deg,
    rgba(255, 252, 235, 0.98) 0%,
    rgba(255, 188, 58, 0.95) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 210, 95, 0.15));
}

.site-footer__legal {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 800px;
}

@media (max-width: 860px) {
  .site-footer--arcesys {
    padding: 11px max(20px, env(safe-area-inset-right, 0px)) 14px
      max(20px, env(safe-area-inset-left, 0px));
  }
}

@media (max-width: 560px) {
  .site-footer--arcesys {
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) 13px
      max(16px, env(safe-area-inset-left, 0px));
  }

  .site-footer__inner {
    gap: 7px;
  }
}

.site-footer__privacy-link {
  color: #4da6ff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.site-footer__privacy-link:hover {
  color: #fff;
  text-decoration: underline;
}
