/* ---------- Floating glass icons background (preview) ---------- */
.wall-old { background: radial-gradient(60% 45% at var(--gx, 72%) var(--gy, 54%), rgba(124, 77, 219, .10), transparent 70%), linear-gradient(180deg, #0B1028, #080C1E); }
.wall-old::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(70% 70% at 70% 50%, #000, transparent 75%); mask-image: radial-gradient(70% 70% at 70% 50%, #000, transparent 75%); }
.wall-new { opacity: var(--reno, 0); background: radial-gradient(38% 38% at var(--gx, 72%) var(--gy, 54%), rgba(185, 138, 240, .22), transparent 70%); }
@media (max-width: 899px) { .scene { --gx: 50%; --gy: 78%; } }

.glass-scene { position: absolute; inset: 0; pointer-events: none; }
.gl-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gl-broken { stroke: #FF7070; stroke-width: 1.5; stroke-dasharray: 3 7; opacity: 0; }
.gl-link { stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 9; opacity: 0; animation: glFlow 1.1s linear infinite; filter: drop-shadow(0 0 4px rgba(185, 138, 240, .7)); }
@keyframes glFlow { to { stroke-dashoffset: -22; } }

.gl-tile { position: absolute; left: 0; top: 0; width: var(--ts, 118px); will-change: transform, opacity; }
.gl-float { animation: glBob 7s ease-in-out infinite; animation-delay: var(--fd, 0s); }
@keyframes glBob { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -8px, 0); } }
.gl-tile.on .gl-float { animation-duration: 9s; }
.gl-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px 10px 14px; border-radius: 24px; color: #9AA3BF;
  background: linear-gradient(155deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .025) 60%);
  border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 24px 48px -22px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .14);
  filter: grayscale(1) brightness(.85);
  transition: filter .7s ease, border-color .6s ease, box-shadow .7s ease, color .6s ease;
}
.gl-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(120deg, rgba(255, 255, 255, .16), transparent 35%); pointer-events: none; }
.gl-ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: #9AA3BF; transition: background .6s, color .6s, border-color .6s; }
.gl-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gl-lb { font: 600 12.5px/1.25 var(--font); letter-spacing: -.005em; text-align: center; }
.gl-price { position: absolute; top: -11px; right: -10px; padding: 3px 9px; border-radius: 999px; font: 600 10.5px/1.4 var(--font); color: #FFB0B0; background: rgba(60, 14, 24, .85); border: 1px solid rgba(255, 112, 112, .5); opacity: var(--po, 0); }
.gl-ok { position: absolute; top: -10px; right: -10px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 700 12px/1 var(--font); color: #0A0F24; background: var(--c); box-shadow: 0 0 14px color-mix(in srgb, var(--c) 70%, transparent); transform: scale(0); transition: transform .55s cubic-bezier(.34, 1.6, .5, 1); }

.gl-tile.on .gl-card { filter: none; color: var(--ink, #EEF1FA); border-color: color-mix(in srgb, var(--c) 50%, rgba(255, 255, 255, .12)); box-shadow: 0 26px 60px -20px color-mix(in srgb, var(--c) 55%, transparent), 0 0 0 1px color-mix(in srgb, var(--c) 18%, transparent), inset 0 1px 0 rgba(255, 255, 255, .16); }
.gl-tile.on .gl-ic { color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); border-color: color-mix(in srgb, var(--c) 32%, transparent); }
.gl-tile.on .gl-ok { transform: scale(1); }

.gl-hub {
  position: absolute; left: 0; top: 0; width: var(--hs, 150px); height: var(--hs, 150px); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-align: center; opacity: 0;
  background: radial-gradient(circle at 32% 26%, rgba(185, 138, 240, .38), rgba(108, 63, 199, .14) 58%, rgba(10, 15, 36, .55));
  border: 1px solid rgba(185, 138, 240, .5);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 0 calc(24px + 70px * var(--g, 0)) rgba(185, 138, 240, calc(.18 + .4 * var(--g, 0))), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.gl-hub img { width: 46px; height: auto; filter: drop-shadow(0 0 10px rgba(185, 138, 240, .6)); margin-bottom: 2px; }
.gl-hub b { font: 600 14px/1.2 var(--font); color: #fff; }
.gl-hub small { font: 500 10.5px/1.3 var(--font); color: #C9C2E6; }
.gl-hub-ring { position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(185, 138, 240, .6); opacity: 0; }
.gl-hub.full .gl-hub-ring { animation: glPing 2.6s ease-out infinite; }
@keyframes glPing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }

@media (max-width: 899px) {
  .gl-card { padding: 10px 4px 8px; gap: 5px; border-radius: 16px; }
  .gl-ic { width: 30px; height: 30px; border-radius: 10px; }
  .gl-ic svg { width: 17px; height: 17px; }
  .gl-lb { font-size: 9.5px; }
  .gl-ok { width: 18px; height: 18px; font-size: 10px; top: -7px; right: -7px; }
  .gl-price { font-size: 9px; padding: 2px 6px; }
  .gl-hub img { width: 28px; }
  .gl-hub b { font-size: 11.5px; }
  .gl-hub small { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .gl-float, .gl-link, .gl-hub.full .gl-hub-ring { animation: none !important; }
}
