/* ─── ReviewSentinel shared styles — all secondary pages ─── */
/* index.html manages its own styles due to extra animations/components */

/* 1. Grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* 2. Subtle grid background */
.bg-grid-pattern {
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* 3. Standard glass card */
.glass-card {
  background: rgba(26, 29, 33, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 4. Premium glass card (install-success, uninstalled) */
.glass-card-premium {
  background: linear-gradient(160deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.04) 40%, rgba(11,15,26,0.80) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 24px 56px rgba(0, 0, 0, 0.45);
}

/* 5. Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(3px);
  transition:
    opacity 650ms cubic-bezier(0.32, 0.72, 0, 1),
    transform 650ms cubic-bezier(0.32, 0.72, 0, 1),
    filter 650ms cubic-bezier(0.32, 0.72, 0, 1);
}
.reveal-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* 6. Focus styles */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.85);
  outline-offset: 2px;
  border-radius: 0.5rem;
}

/* 7. Typography */
h1, h2, h3, h4 { text-wrap: balance; }

/* 8. Text gradient utility */
.text-gradient-blue {
  background: linear-gradient(to right, #bae6fd, #38bdf8, #0284c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 9. Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
