/**
 * Full-page content shield — blur + block casual copy / inspect / drag-save.
 * Contact form fields remain interactive via JS exceptions.
 */

html.imtheo-protected body {
  -webkit-user-select: none;
  user-select: none;
}

html.imtheo-protected .contact-section input,
html.imtheo-protected .contact-section textarea,
html.imtheo-protected .contact-section select,
html.imtheo-protected [data-allow-context],
html.imtheo-protected [data-allow-context] * {
  -webkit-user-select: text;
  user-select: text;
}

img,
video,
canvas,
picture img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}

[data-protect-media],
[data-protect-media] img,
[data-protect-media] video,
[data-protect-media] svg {
  -webkit-user-drag: none;
  user-drag: none;
}

/* Blur entire site when shield is active */
html.imtheo-shield-active body {
  overflow: hidden;
}

html.imtheo-shield-active body > *:not(#imtheo-content-shield):not(script):not(style) {
  filter: blur(22px) saturate(0.65);
  pointer-events: none;
  user-select: none;
}

.imtheo-content-shield {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
  background: rgba(245, 245, 245, 0.45);
  backdrop-filter: blur(28px) saturate(0.7);
  -webkit-backdrop-filter: blur(28px) saturate(0.7);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.imtheo-content-shield.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.imtheo-content-shield__panel {
  max-width: 22rem;
  width: 100%;
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
  text-align: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.imtheo-content-shield__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #050505;
}

.imtheo-content-shield__text {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
}

.imtheo-content-shield__btn {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  background: #050505;
  color: #fff;
  transition: opacity 0.2s ease;
}

.imtheo-content-shield__btn:hover {
  opacity: 0.88;
}

.imtheo-content-shield__btn:focus-visible {
  outline: 2px solid #050505;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .imtheo-content-shield {
    transition: none;
  }
}
