* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #000;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.scene path {
  transition: transform 0.5s ease, filter 0.5s ease;
  transform-origin: center;
}

.scene path:hover {
  fill: rgba(255, 153, 153, 0.15);
  filter:
    drop-shadow(0 0 18px rgba(164, 221, 230, 0.9))
    drop-shadow(0 0 40px rgba(164, 221, 230, 0.5))
    drop-shadow(0 0 80px rgba(70, 134, 198, 0.35));


  transform: scale(1.02);
}
.scene path {
  position: relative;
}

.scene path::after {
  content: "";
  position: absolute;
  inset: -6px;
  background:
    radial-gradient(circle, rgba(255,255,255,0.9) 1px, transparent 2px),
    radial-gradient(circle, rgba(255,255,255,0.6) 1px, transparent 2px);
  background-size: 14px 14px, 22px 22px;
  opacity: 0;
  pointer-events: none;
  filter: blur(0.6px);
}

.scene path:hover::after {
  opacity: 0.45;
  animation: glitterMove 1.2s linear infinite;
}
@keyframes glitterMove {
  from { background-position: 0 0, 10px 10px; }
  to   { background-position: 40px 60px, -30px -50px; }
}

/* MARCO */
.scene {
  position: relative;

  /* límites reales */
  max-width: 100vw;
  max-height: 100vh;

  /* esto es CLAVE */
  width: auto;
  height: auto;
}

/* IMAGEN MANDA */
.scene img {
  display: block;

  max-width: 100vw;
  max-height: 100vh;

  width: auto;
  height: auto;
}

/* SVG CALCA A LA IMAGEN */
.scene svg {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
}

.scene path {
  fill: transparent;
  cursor: pointer;
}
