/* Keep this file identical in outputs/ and dasakmeba.ge/: Coolify serves each
 * directory as a separate static root, so neither site can share a parent asset. */
.ainow-credit-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
}

/* Explicit themes match the footer background rather than the OS preference.
 * Preserve the approved 44px target, Solar artwork and reduced-motion behavior. */
.ainow-credit.ainow-credit {
  --an-ink: #17212c;
  --an-muted: #53616e;
  --an-surface: #fff;
  --an-line: #dce2e7;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 9px;
  box-sizing: border-box;
  min-height: 44px;
  padding: 9px 14px;
  overflow: hidden;
  border: 1px solid var(--an-line);
  border-radius: 999px;
  background: var(--an-surface);
  color: var(--an-ink);
  font: 400 11px/1.3 Arial, Helvetica, sans-serif;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  vertical-align: middle;
  box-shadow: 0 2px 3px #00000003, 0 5px 16px #00000004;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  -webkit-tap-highlight-color: transparent;
}

.ainow-credit[data-theme="dark"],
.dark .ainow-credit[data-theme="auto"] {
  --an-ink: #f4f7fa;
  --an-muted: #b2beca;
  --an-surface: #161d25;
  --an-line: #35414e;
}

.ainow-credit::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, transparent 15%, #ec489917 40%, #2563eb17 50%, #10b98117 60%, transparent 85%);
  transform: translateX(-130%);
  pointer-events: none;
}

.ainow-credit,
.ainow-credit * { font-family: Arial, Helvetica, sans-serif; }
.ainow-credit__label { color: var(--an-muted); }
.ainow-credit__brand { font-size: 15px; font-weight: 750; letter-spacing: -.65px; }
.ainow-credit__domain { color: var(--an-muted); font-weight: 400; letter-spacing: -.4px; }
.ainow-credit__mark { display: inline-flex; gap: 2px; margin: 0 2px 0 0; transform: skewX(-15deg); }
.ainow-credit__mark i { display: block; width: 3px; height: 12px; border-radius: 1px; background: #ec4899; transition: transform .35s; }
.ainow-credit__mark i:nth-child(2) { background: #2563eb; transition-delay: .04s; }
.ainow-credit__mark i:nth-child(3) { background: #10b981; transition-delay: .08s; }
.ainow-credit__arrow { flex-shrink: 0; color: var(--an-muted); margin-left: 1px; transition: transform .25s; }
.ainow-credit:is(:hover, :focus-visible) { border-color: #7d8e9e; box-shadow: 0 4px 20px #2563eb12; transform: translateY(-1px); }
.ainow-credit:is(:hover, :focus-visible)::before { animation: ainow-credit-shine .85s ease both; }
.ainow-credit:is(:hover, :focus-visible) .ainow-credit__arrow { transform: translate(1px, -1px); }
.ainow-credit:is(:hover, :focus-visible) .ainow-credit__mark i { transform: scaleY(1.25); }
.ainow-credit:focus-visible { outline: 2px solid #2563eb; outline-offset: 4px; }

@keyframes ainow-credit-shine { to { transform: translateX(130%); } }
@keyframes ainow-credit-touch-shine {
  0% { transform: translateX(-130%); }
  17%, 100% { transform: translateX(130%); }
}

/* Touch cannot hover. Repeat the short sweep after a pause so the footer credit
 * still animates when a visitor reaches it later in the page. */
@media (hover: none) and (pointer: coarse) {
  .ainow-credit.ainow-credit { border-color: #7d8e9e; box-shadow: 0 4px 20px #2563eb12; transform: translateY(-1px); }
  .ainow-credit.ainow-credit::before { animation: ainow-credit-touch-shine 5s ease infinite; }
  .ainow-credit.ainow-credit .ainow-credit__arrow { transform: translate(1px, -1px); }
  .ainow-credit.ainow-credit .ainow-credit__mark i { transform: scaleY(1.25); }
}

@media (prefers-reduced-motion: reduce) {
  .ainow-credit, .ainow-credit * { transition: none !important; }
  .ainow-credit::before { animation: none !important; }
  .ainow-credit.ainow-credit,
  .ainow-credit.ainow-credit .ainow-credit__arrow,
  .ainow-credit.ainow-credit .ainow-credit__mark i { transform: none; }
}
