
    #lienzoPintura {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1; /* Esto lo coloca detrás de todo el contenido */
      pointer-events: none; /* Importante: deja que los clics pasen al contenido de abajo */
    }

/* Estilos Base del Botón */
.btn-arte {
  position: relative;
  display: inline-block;
  padding: 15px 30px;
  background-color: #111; /* Fondo oscuro inicial */
  color: #fff;
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  font-size: 16px;
  overflow: hidden; /* Esconde la pintura que se sale del botón */
  border-radius: 8px;
  transition: color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Asegura que el texto flote por encima de la pintura */
.btn-text {
  position: relative;
  z-index: 2;
  pointer-events: none; /* Evita que interfiera con el mouse */
}

/* La Gota/Mancha de Pintura (Se crea dinámicamente con JS) */
.mancha-pintura {
  position: absolute;
  background: #ff4757; /* ¡Cambia este color por el de tu marca! */
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  z-index: 1;
  /* Animación para que parezca pintura orgánica salpicando */
  animation: salpicadura 0.6s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

/* Efecto de deformación de la gota de pintura */
@keyframes salpicadura {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; /* Forma irregular de gota */
  }
  50% {
    border-radius: 70% 30% 52% 48% / 60% 40% 60% 40%;
  }
  100% {
    /* Crece hasta cubrir el botón */
    width: 300px;
    height: 300px;
    opacity: 1;
    border-radius: 50%; /* Se estabiliza al final */
    transform: translate(-50%, -50%) scale(1.5);
  }
}

/* Cambio de color del texto al activarse la pintura */
.btn-arte:hover .btn-text {
  color: #ffffff; /* Ajusta según el color de tu mancha */
}

/* Sección de Dibujo */
.seccion-estudio {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
  font-family: 'Arial', sans-serif;
}

.contenedor-estudio h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #111;
}

/* Barra de Herramientas */
.herramientas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-bottom: 20px;
  background: white;
  padding: 15px 25px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  display: inline-flex;
}

/* Selectores de color circulares */
.color-picker {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}
.color-picker:hover { transform: scale(1.15); }
.color-picker.activo { border-color: #ddd; transform: scale(1.1); }

/* Contenedor del lienzo */
.contenedor-canvas {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  overflow: hidden;
  border: 1px solid #eaeaea;
}

#lienzoDibujo {
  display: block;
  cursor: crosshair; /* Cursor en forma de cruz de precisión */
  background: #ffffff;
}

/* Botones */
.btn-secundario, .btn-guardar {
  padding: 10px 20px;
  border-radius: 20px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secundario { background: #e0e0e0; color: #333; }
.btn-secundario:hover { background: #d0d0d0; }
.btn-guardar { background: #111; color: white; }
.btn-guardar:hover { background: #ff4757; transform: translateY(-2px); }