/* =========================================================
   RP GLASS – Cinematic Glass
   (Migrated from v2-glass.css)
========================================================= */

/* =========================================================
   RP GLASS – Cinematic Glass (V2 FINAL)
========================================================= */

.rp-glass {
  position: relative;

  background: rgba(255,255,255,0.055) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-radius: 22px !important;

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow:
    0 28px 90px rgba(0,0,0,0.65),
    0 0 0 1px rgba(41,255,38,0.11) inset;
}

/* Inner reflection */
.rp-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.12),
    transparent 35%,
    transparent 65%,
    rgba(41,255,38,0.08)
  );
  pointer-events: none;
  opacity: 0.9;
}

/* Neon edge */
.rp-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(41,255,38,0.18),
    rgba(255,255,255,0.06),
    rgba(0,180,255,0.12)
  );
  opacity: 0.22;
}