/* Demo bar — portfolio sub-sites (always visible) */

:root {
  --arsovia-bar-h: 58px;
}

/* Site headers sit directly under the demo bar */
body:has(.arsovia-bar) .header,
body:has(.arsovia-bar) .site-header,
body:has(.arsovia-bar) .topbar {
  top: var(--arsovia-bar-h) !important;
}

.arsovia-bar {
  position: sticky;
  top: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: var(--arsovia-bar-h);
  padding: 0 max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background:
    linear-gradient(90deg, #0c0c18 0%, #1e1040 35%, #2a1260 50%, #1e1040 65%, #0c0c18 100%);
  border-bottom: 2px solid rgba(176, 38, 255, 0.65);
  box-shadow:
    0 6px 28px rgba(0, 0, 0, 0.65),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  font-family: 'Inter', -apple-system, sans-serif;
}

.arsovia-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.25s ease, opacity 0.25s ease;
  white-space: nowrap;
}

.arsovia-bar__link:hover {
  color: #00d4ff;
}

.arsovia-bar__link strong {
  background: linear-gradient(90deg, #00d4ff, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.arsovia-bar__badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  padding: 7px 16px;
  border: 1px solid rgba(176, 38, 255, 0.55);
  border-radius: 50px;
  white-space: nowrap;
  background: rgba(176, 38, 255, 0.22);
  box-shadow: 0 0 16px rgba(176, 38, 255, 0.2);
}

@media (max-width: 575.98px) {
  :root {
    --arsovia-bar-h: 54px;
  }

  .arsovia-bar {
    padding-left: 14px;
    padding-right: 14px;
  }

  .arsovia-bar__link {
    font-size: 0.84rem;
  }

  .arsovia-bar__badge {
    font-size: 0.62rem;
    padding: 5px 10px;
  }
}

@media (max-width: 400px) {
  .arsovia-bar__badge {
    display: none;
  }
}
